Searched refs:cache_item (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/mesa/program/ |
D | prog_cache.c | 38 struct cache_item struct 44 struct cache_item *next; argument 49 struct cache_item **items; 50 struct cache_item *last; 86 struct cache_item **items; in rehash() 87 struct cache_item *c, *next; in rehash() 113 struct cache_item *c, *next; in clear_cache() 147 calloc(cache->size, sizeof(struct cache_item *)); in _mesa_new_program_cache() 186 struct cache_item *c; in _mesa_search_program_cache() 210 struct cache_item *c = CALLOC_STRUCT(cache_item); in _mesa_program_cache_insert() [all …]
|
/third_party/glib/gio/ |
D | gregistrysettingsbackend.c | 676 RegistryCacheItem *cache_item; in registry_cache_update_node() local 681 cache_item = cache_node->data; in registry_cache_update_node() 683 if (registry_value.type != cache_item->value.type) in registry_cache_update_node() 690 cache_item->value = registry_value; in registry_cache_update_node() 698 if (cache_item->value.dword == registry_value.dword) in registry_cache_update_node() 702 cache_item->value.dword = registry_value.dword; in registry_cache_update_node() 709 cache_item->value.ptr != NULL, FALSE); in registry_cache_update_node() 711 if (memcmp (registry_value.ptr, cache_item->value.ptr, 8)==0) in registry_cache_update_node() 718 g_free (cache_item->value.ptr); in registry_cache_update_node() 719 cache_item->value.ptr = registry_value.ptr; in registry_cache_update_node() [all …]
|
/third_party/mesa3d/src/util/ |
D | disk_cache_os.c | 458 parse_and_validate_cache_item(struct disk_cache *cache, void *cache_item, in parse_and_validate_cache_item() argument 464 blob_reader_init(&ci_blob_reader, cache_item, cache_item_size); in parse_and_validate_cache_item() 876 void *cache_item = foz_read_entry(&cache->foz_db, key, &cache_tem_size); in disk_cache_load_item_foz() local 877 if (!cache_item) in disk_cache_load_item_foz() 881 parse_and_validate_cache_item(cache, cache_item, cache_tem_size, size); in disk_cache_load_item_foz() 882 free(cache_item); in disk_cache_load_item_foz()
|