Searched refs:file_buffer (Results 1 – 10 of 10) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
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 …]
|
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 …]
|
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 …]
|
D | mksquashfs.c | 330 struct file_buffer *file_buffer, int blocks, unsigned short checksum, 1454 static struct file_buffer *get_fragment(struct fragment *fragment) in get_fragment() 1457 struct file_buffer *buffer, *compressed_buffer; in get_fragment() 1577 struct file_buffer *frag_buffer; in get_fragment_checksum() 1632 struct file_buffer *write_buffer; in unlock_fragments() 1660 void add_pending_fragment(struct file_buffer *write_buffer, int c_byte, in add_pending_fragment() 1670 void write_fragment(struct file_buffer *fragment) in write_fragment() 1684 struct file_buffer *allocate_fragment() in allocate_fragment() 1686 struct file_buffer *fragment = cache_get(fragment_buffer, fragments); in allocate_fragment() 1718 struct fragment *get_and_fill_fragment(struct file_buffer *file_buffer, in get_and_fill_fragment() argument [all …]
|
D | action.c | 70 static struct file_buffer *def_fragment = NULL;
|
/external/skia/experimental/tools/ |
D | mskp_parser.py | 52 file_buffer = src.read(8192) variable 53 if 0 == len(file_buffer): 55 o.write(file_buffer)
|
/external/skqp/experimental/tools/ |
D | mskp_parser.py | 52 file_buffer = src.read(8192) variable 53 if 0 == len(file_buffer): 55 o.write(file_buffer)
|
/external/vboot_reference/host/arch/x86_64/lib/ |
D | crossystem_arch.c | 229 char* file_buffer = NULL; in VbGetBuffer() local 251 file_buffer = malloc(fs.st_size + 1); in VbGetBuffer() 252 if (!file_buffer) in VbGetBuffer() 255 real_size = fread(file_buffer, 1, fs.st_size, f); in VbGetBuffer() 258 file_buffer[real_size] = '\0'; in VbGetBuffer() 272 base = file_buffer + i; in VbGetBuffer() 299 if (file_buffer) in VbGetBuffer() 300 free(file_buffer); in VbGetBuffer()
|
/external/vboot_reference/host/arch/x86/lib/ |
D | crossystem_arch.c | 229 char* file_buffer = NULL; in VbGetBuffer() local 251 file_buffer = malloc(fs.st_size + 1); in VbGetBuffer() 252 if (!file_buffer) in VbGetBuffer() 255 real_size = fread(file_buffer, 1, fs.st_size, f); in VbGetBuffer() 258 file_buffer[real_size] = '\0'; in VbGetBuffer() 272 base = file_buffer + i; in VbGetBuffer() 299 if (file_buffer) in VbGetBuffer() 300 free(file_buffer); in VbGetBuffer()
|
/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()
|