/external/skia/experimental/tools/ |
mskp_parser.py | 52 file_buffer = src.read(8192) variable 53 if 0 == len(file_buffer): 55 o.write(file_buffer)
|
/external/squashfs-tools/squashfs-tools/ |
process_fragments.c | 60 static int checksum_sparse(struct file_buffer *file_buffer) 62 unsigned char *b = (unsigned char *) file_buffer->data; 64 int bytes = file_buffer->size, sparse = TRUE, value; 75 file_buffer->checksum = chksum; 100 static struct file_buffer *get_fragment(struct fragment *fragment, 104 struct file_buffer *buffer, *compressed_buffer; 219 struct file_buffer *get_fragment_cksum(struct file_info *file, 222 struct file_buffer *frag_buffer; 274 struct file_buffer *file_buffer = queue_get(to_process_frag) local [all...] |
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; 106 struct file_buffer *hash_prev; 110 struct file_buffer *free_next; 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] [all...] |
mksquashfs.c | 318 struct file_buffer *file_buffer, int blocks, unsigned short checksum, 2186 struct file_buffer *prev_buffer = NULL, *file_buffer; local 2268 struct file_buffer *file_buffer; local 2420 struct file_buffer *file_buffer = queue_get(to_writer); local 2484 struct file_buffer *file_buffer = queue_get(to_deflate); local 2522 struct file_buffer *file_buffer = queue_get(to_frag); local 2556 struct file_buffer *file_buffer = seq_queue_get(to_main); local [all...] |
/external/vboot_reference/host/arch/x86/lib/ |
crossystem_arch.c | 229 char* file_buffer = NULL; local 251 file_buffer = malloc(fs.st_size + 1); 252 if (!file_buffer) 255 real_size = fread(file_buffer, 1, fs.st_size, f); 258 file_buffer[real_size] = '\0'; 272 base = file_buffer + i; 299 if (file_buffer) 300 free(file_buffer);
|