/aosp_15_r20/external/squashfs-tools/squashfs-tools/ |
H A D | process_fragments.c | 60 static int checksum_sparse(struct file_buffer *file_buffer) in checksum_sparse() argument 62 unsigned char *b = (unsigned char *) file_buffer->data; in checksum_sparse() 64 int bytes = file_buffer->size, sparse = TRUE, value; in checksum_sparse() 75 file_buffer->checksum = chksum; in checksum_sparse() 100 static struct file_buffer *get_fragment(struct fragment *fragment, in get_fragment() 104 struct file_buffer *buffer, *compressed_buffer; in get_fragment() 219 struct file_buffer *get_fragment_cksum(struct file_info *file, in get_fragment_cksum() 222 struct file_buffer *frag_buffer; in get_fragment_cksum() 274 struct file_buffer *file_buffer = queue_get(to_process_frag); in frag_thrd() local 275 struct file_buffer *buffer; in frag_thrd() [all …]
|
H A D | caches-queues-lists.h | 58 void insert_##NAME##_hash_table(TYPE *container, struct file_buffer *entry) \ 71 void remove_##NAME##_hash_table(TYPE *container, struct file_buffer *entry) \ 89 struct file_buffer { struct 102 struct file_buffer *hash_next; argument 106 struct file_buffer *hash_prev; argument 110 struct file_buffer *free_next; argument 111 struct file_buffer *free_prev; 114 struct file_buffer *seq_next; 115 struct file_buffer *seq_prev; 149 struct file_buffer *hash_table[HASH_SIZE]; argument [all …]
|
H A D | caches-queues-lists.c | 169 void seq_queue_put(struct seq_queue *queue, struct file_buffer *entry) in seq_queue_put() 188 struct file_buffer *seq_queue_get(struct seq_queue *queue) in seq_queue_get() 195 struct file_buffer *entry; in seq_queue_get() 277 INSERT_LIST(free, struct file_buffer) in INSERT_LIST() argument 280 REMOVE_LIST(free, struct file_buffer) in INSERT_LIST() 322 memset(cache->hash_table, 0, sizeof(struct file_buffer *) * 65536); in INSERT_LIST() 331 struct file_buffer *cache_lookup(struct cache *cache, long long index) in cache_lookup() 336 struct file_buffer *entry; in cache_lookup() 362 static struct file_buffer *cache_freelist(struct cache *cache) in cache_freelist() 364 struct file_buffer *entry = cache->free_list; in cache_freelist() [all …]
|
H A D | mksquashfs.c | 332 struct file_buffer *file_buffer, int blocks, unsigned short checksum, 1456 static struct file_buffer *get_fragment(struct fragment *fragment) in get_fragment() 1459 struct file_buffer *buffer, *compressed_buffer; in get_fragment() 1579 struct file_buffer *frag_buffer; in get_fragment_checksum() 1634 struct file_buffer *write_buffer; in unlock_fragments() 1662 void add_pending_fragment(struct file_buffer *write_buffer, int c_byte, in add_pending_fragment() 1672 void write_fragment(struct file_buffer *fragment) in write_fragment() 1686 struct file_buffer *allocate_fragment() in allocate_fragment() 1688 struct file_buffer *fragment = cache_get(fragment_buffer, fragments); in allocate_fragment() 1720 struct fragment *get_and_fill_fragment(struct file_buffer *file_buffer, in get_and_fill_fragment() argument [all …]
|
H A D | action.c | 70 static struct file_buffer *def_fragment = NULL;
|
/aosp_15_r20/external/llvm-libc/test/src/__support/File/ |
H A D | file_test.cpp | 119 char file_buffer[FILE_BUFFER_SIZE]; in TEST() local 121 new_string_file(file_buffer, FILE_BUFFER_SIZE, _IOFBF, false, "w"); in TEST() 217 char file_buffer[FILE_BUFFER_SIZE]; in TEST() local 219 new_string_file(file_buffer, FILE_BUFFER_SIZE, _IONBF, false, "w"); in TEST() 232 char file_buffer[FILE_BUFFER_SIZE]; in TEST() local 234 new_string_file(file_buffer, FILE_BUFFER_SIZE, _IOFBF, false, "r"); in TEST() 243 EXPECT_STREQ(file_buffer, initial_content); in TEST() 244 EXPECT_STREQ(file_buffer, f->get_str()); in TEST() 285 char file_buffer[FILE_BUFFER_SIZE]; in TEST() local 287 new_string_file(file_buffer, FILE_BUFFER_SIZE, _IOFBF, false, "r"); in TEST() [all …]
|
/aosp_15_r20/prebuilts/module_sdk/art/current/sdk/include/external/fmtlib/include/fmt/ |
D | os.h | 372 class file_buffer final : public buffer<char> { 378 FMT_API file_buffer(cstring_view path, const ostream_params& params); 379 FMT_API file_buffer(file_buffer&& other); 380 FMT_API ~file_buffer(); 404 detail::file_buffer buffer_;
|
/aosp_15_r20/prebuilts/module_sdk/art/13/include/external/fmtlib/include/fmt/ |
D | os.h | 372 class file_buffer final : public buffer<char> { 378 FMT_API file_buffer(cstring_view path, const ostream_params& params); 379 FMT_API file_buffer(file_buffer&& other); 380 FMT_API ~file_buffer(); 404 detail::file_buffer buffer_;
|
/aosp_15_r20/prebuilts/module_sdk/art/13/common_os/include/external/fmtlib/include/fmt/ |
D | os.h | 372 class file_buffer final : public buffer<char> { 378 FMT_API file_buffer(cstring_view path, const ostream_params& params); 379 FMT_API file_buffer(file_buffer&& other); 380 FMT_API ~file_buffer(); 404 detail::file_buffer buffer_;
|
/aosp_15_r20/prebuilts/module_sdk/art/current/host-exports/include/external/fmtlib/include/fmt/ |
D | os.h | 372 class file_buffer final : public buffer<char> { 378 FMT_API file_buffer(cstring_view path, const ostream_params& params); 379 FMT_API file_buffer(file_buffer&& other); 380 FMT_API ~file_buffer(); 404 detail::file_buffer buffer_;
|
/aosp_15_r20/prebuilts/module_sdk/art/current/sdk/common_os/include/external/fmtlib/include/fmt/ |
D | os.h | 372 class file_buffer final : public buffer<char> { 378 FMT_API file_buffer(cstring_view path, const ostream_params& params); 379 FMT_API file_buffer(file_buffer&& other); 380 FMT_API ~file_buffer(); 404 detail::file_buffer buffer_;
|
/aosp_15_r20/external/vboot_reference/host/arch/x86/lib/ |
H A D | crossystem_arch.c | 300 char* file_buffer = NULL; in VbGetBuffer() local 330 file_buffer = malloc(fs.st_size + 1); in VbGetBuffer() 331 if (!file_buffer) in VbGetBuffer() 334 real_size = fread(file_buffer, 1, fs.st_size, f); in VbGetBuffer() 337 file_buffer[real_size] = '\0'; in VbGetBuffer() 351 base = file_buffer + i; in VbGetBuffer() 380 if (file_buffer) in VbGetBuffer() 381 free(file_buffer); in VbGetBuffer()
|
/aosp_15_r20/external/skia/experimental/tools/ |
H A D | mskp_parser.py | 52 file_buffer = src.read(8192) variable 53 if 0 == len(file_buffer): 55 o.write(file_buffer)
|
/aosp_15_r20/external/tflite-support/tensorflow_lite_support/cc/utils/ |
H A D | jni_utils.cc | 53 absl::string_view GetMappedFileBuffer(JNIEnv* env, const jobject& file_buffer) { in GetMappedFileBuffer() argument 55 static_cast<char*>(env->GetDirectBufferAddress(file_buffer)), in GetMappedFileBuffer() 56 static_cast<size_t>(env->GetDirectBufferCapacity(file_buffer))); in GetMappedFileBuffer()
|
H A D | jni_utils.h | 78 absl::string_view GetMappedFileBuffer(JNIEnv* env, const jobject& file_buffer);
|
/aosp_15_r20/device/google/trout/tools/tracing/client/ |
D | TracingClient.cpp | 113 tracing_vm_proto::TracingFileBuffer file_buffer; in GetTracingFile() local 115 while (grpc_reader->Read(&file_buffer)) { in GetTracingFile() 116 const auto& write_buffer = file_buffer.buffer(); in GetTracingFile()
|
/aosp_15_r20/external/skia/src/ports/fontations/src/ |
H A D | ffi.rs | 1927 let file_buffer = in test_palette_override() localVariable 1929 let font_ref = make_font_ref(&file_buffer, 0); in test_palette_override() 1981 let file_buffer = in test_default_palette_for_invalid_index() localVariable 1983 let font_ref = make_font_ref(&file_buffer, 0); in test_default_palette_for_invalid_index() 2017 let file_buffer = fs::read(TEST_CONDENSED_BOLD_ITALIC) in test_font_attributes() localVariable 2019 let font_ref = make_font_ref(&file_buffer, 0); in test_font_attributes() 2037 let file_buffer = in test_variable_font_attributes() localVariable 2039 let font_ref = make_font_ref(&file_buffer, 0); in test_variable_font_attributes() 2122 let file_buffer = in test_shifted_named_instance_index() localVariable 2124 let font_ref = make_font_ref(&file_buffer, 0); in test_shifted_named_instance_index()
|
/aosp_15_r20/external/python/oauth2client/oauth2client/ |
D | service_account.py | 338 def from_p12_keyfile_buffer(cls, service_account_email, file_buffer, argument 368 private_key_pkcs12 = file_buffer.read()
|