Searched refs:cf_data (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/util/ |
D | disk_cache_os.c | 585 struct cache_entry_file_data cf_data; in disk_cache_load_item() local 586 size_t cf_data_size = sizeof(cf_data); in disk_cache_load_item() 587 ret = read_all(fd, &cf_data, cf_data_size); in disk_cache_load_item() 599 uncompressed_data = malloc(cf_data.uncompressed_size); in disk_cache_load_item() 601 cf_data.uncompressed_size)) in disk_cache_load_item() 605 if (cf_data.crc32 != util_hash_crc32(uncompressed_data, in disk_cache_load_item() 606 cf_data.uncompressed_size)) in disk_cache_load_item() 615 *size = cf_data.uncompressed_size; in disk_cache_load_item() 657 struct cache_entry_file_data *cf_data, in disk_cache_write_item_to_disk() argument 759 size_t cf_data_size = sizeof(*cf_data); in disk_cache_write_item_to_disk() [all …]
|
D | disk_cache.c | 320 struct cache_entry_file_data cf_data; in cache_put() local 321 cf_data.crc32 = util_hash_crc32(dc_job->data, dc_job->size); in cache_put() 322 cf_data.uncompressed_size = dc_job->size; in cache_put() 324 disk_cache_write_item_to_disk(dc_job, &cf_data, filename); in cache_put()
|
D | disk_cache_os.h | 114 struct cache_entry_file_data *cf_data,
|
/external/harfbuzz_ng/src/ |
D | hb-coretext.cc | 55 CFDataRef cf_data = reinterpret_cast<CFDataRef> (user_data); in release_table_data() local 56 CFRelease(cf_data); in release_table_data() 63 CFDataRef cf_data = CGFontCopyTableForTag (cg_font, tag); in _hb_cg_reference_table() local 64 if (unlikely (!cf_data)) in _hb_cg_reference_table() 67 const char *data = reinterpret_cast<const char*> (CFDataGetBytePtr (cf_data)); in _hb_cg_reference_table() 68 const size_t length = CFDataGetLength (cf_data); in _hb_cg_reference_table() 71 CFRelease (cf_data); in _hb_cg_reference_table() 76 reinterpret_cast<void *> (const_cast<__CFData *> (cf_data)), in _hb_cg_reference_table()
|