Home
last modified time | relevance | path

Searched refs:object_cache (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/vulkan/runtime/
Dvk_pipeline_cache.c165 _mesa_set_search_pre_hashed(cache->object_cache, hash, object); in vk_pipeline_cache_remove_object()
170 _mesa_set_remove(cache->object_cache, entry); in vk_pipeline_cache_remove_object()
189 _mesa_set_search_pre_hashed(cache->object_cache, hash, search); in vk_pipeline_cache_replace_object()
204 _mesa_set_add_pre_hashed(cache->object_cache, hash, replace); in vk_pipeline_cache_replace_object()
325 if (cache != NULL && cache->object_cache != NULL) { in vk_pipeline_cache_lookup_object()
328 _mesa_set_search_pre_hashed(cache->object_cache, hash, &key); in vk_pipeline_cache_lookup_object()
340 if (disk_cache != NULL && cache->object_cache != NULL) { in vk_pipeline_cache_lookup_object()
395 if (cache->object_cache == NULL) in vk_pipeline_cache_add_object()
403 _mesa_set_search_or_add_pre_hashed(cache->object_cache, in vk_pipeline_cache_add_object()
610 cache->object_cache = _mesa_set_create(NULL, object_key_hash, in vk_pipeline_cache_create()
[all …]
Dvk_pipeline_cache.h166 struct set *object_cache; member
/third_party/protobuf/php/ext/google/protobuf/
Dprotobuf.c73 HashTable object_cache; variable
169 zend_hash_init(&PROTOBUF_G(object_cache), 64, NULL, NULL, 0); in PHP_RINIT_FUNCTION()
189 zend_hash_destroy(&PROTOBUF_G(object_cache)); in PHP_RSHUTDOWN_FUNCTION()
230 zend_hash_index_add_ptr(&PROTOBUF_G(object_cache), k, php_obj); in ZEND_END_ARG_INFO()
236 int ret = zend_hash_index_del(&PROTOBUF_G(object_cache), k); in ObjCache_Delete()
243 zend_object *obj = zend_hash_index_find_ptr(&PROTOBUF_G(object_cache), k); in ObjCache_Get()