Home
last modified time | relevance | path

Searched refs:cache_entry (Results 1 – 25 of 27) sorted by relevance

12

/third_party/libcoap/src/
Dcoap_cache.c196 coap_cache_entry_t *cache_entry = NULL; in coap_cache_get_by_key() local
200 HASH_FIND(hh, ctx->cache, cache_key, sizeof(coap_cache_key_t), cache_entry); in coap_cache_get_by_key()
202 if (cache_entry && cache_entry->idle_timeout > 0) { in coap_cache_get_by_key()
203 coap_ticks(&cache_entry->expire_ticks); in coap_cache_get_by_key()
204 cache_entry->expire_ticks += cache_entry->idle_timeout * COAP_TICKS_PER_SECOND; in coap_cache_get_by_key()
206 return cache_entry; in coap_cache_get_by_key()
214 coap_cache_entry_t *cache_entry; in coap_cache_get_by_pdu() local
219 cache_entry = coap_cache_get_by_key(session->context, cache_key); in coap_cache_get_by_pdu()
221 if (cache_entry && cache_entry->idle_timeout > 0) { in coap_cache_get_by_pdu()
222 coap_ticks(&cache_entry->expire_ticks); in coap_cache_get_by_pdu()
[all …]
Dcoap_mem.c337 INIT_STORAGE(cache_entry, COAP_MAX_CACHE_ENTRIES); in coap_memory_init()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline_cache.c242 v3dv_pipeline_shared_data_write_to_blob(const struct v3dv_pipeline_shared_data *cache_entry,
271 struct v3dv_pipeline_shared_data *cache_entry = in v3dv_pipeline_cache_search_for_pipeline() local
273 assert(cache_entry); in v3dv_pipeline_cache_search_for_pipeline()
278 fprintf(stderr, "[v3dv cache] hit: %p\n", cache_entry); in v3dv_pipeline_cache_search_for_pipeline()
284 v3dv_pipeline_shared_data_ref(cache_entry); in v3dv_pipeline_cache_search_for_pipeline()
288 return cache_entry; in v3dv_pipeline_cache_search_for_pipeline()
693 struct v3dv_pipeline_shared_data *cache_entry = in pipeline_cache_load() local
695 if (!cache_entry) in pipeline_cache_load()
698 _mesa_hash_table_insert(cache->cache, cache_entry->sha1_key, cache_entry); in pipeline_cache_load()
759 struct v3dv_pipeline_shared_data *cache_entry = entry->data; in v3dv_pipeline_cache_finish() local
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c35 struct cache_entry { struct
120 entry_size(struct cache_entry *entry) in entry_size()
127 ret = align(ret, alignof(struct cache_entry)); in entry_size()
208 static struct cache_entry *
219 struct cache_entry *entry = cache->hash_table[index]; in radv_pipeline_cache_search_unlocked()
232 static struct cache_entry *
235 struct cache_entry *entry; in radv_pipeline_cache_search()
247 radv_pipeline_cache_set_entry(struct radv_pipeline_cache *cache, struct cache_entry *entry) in radv_pipeline_cache_set_entry()
273 struct cache_entry **table; in radv_pipeline_cache_grow()
274 struct cache_entry **old_table = cache->hash_table; in radv_pipeline_cache_grow()
[all …]
Dradv_private.h379 struct cache_entry;
390 struct cache_entry **hash_table;
/third_party/libcoap/include/coap3/
Dcoap_cache.h166 coap_cache_entry_t *cache_entry);
205 const coap_pdu_t *coap_cache_get_pdu(const coap_cache_entry_t *cache_entry);
218 void coap_cache_set_app_data(coap_cache_entry_t *cache_entry, void *data,
230 void *coap_cache_get_app_data(const coap_cache_entry_t *cache_entry);
/third_party/node/deps/v8/src/objects/
Dcompilation-cache-table.cc23 int SearchLiteralsMapEntry(CompilationCacheTable cache, int cache_entry, in SearchLiteralsMapEntry() argument
27 Object obj = cache.get(cache_entry); in SearchLiteralsMapEntry()
46 void AddToFeedbackCellsMap(Handle<CompilationCacheTable> cache, int cache_entry, in AddToFeedbackCellsMap() argument
55 Object obj = cache->get(cache_entry); in AddToFeedbackCellsMap()
66 entry = SearchLiteralsMapEntry(*cache, cache_entry, *native_context); in AddToFeedbackCellsMap()
109 Object old_literals_map = cache->get(cache_entry); in AddToFeedbackCellsMap()
111 cache->set(cache_entry, *new_literals_map); in AddToFeedbackCellsMap()
115 FeedbackCell SearchLiteralsMap(CompilationCacheTable cache, int cache_entry, in SearchLiteralsMap() argument
118 int entry = SearchLiteralsMapEntry(cache, cache_entry, native_context); in SearchLiteralsMap()
120 WeakFixedArray literals_map = WeakFixedArray::cast(cache.get(cache_entry)); in SearchLiteralsMap()
/third_party/libcoap/man/
Dcoap_cache.txt.in291 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session,
296 if (!cache_entry) {
302 cache_entry = coap_new_cache_entry(session, request,
307 data_so_far = coap_cache_get_app_data(cache_entry);
312 coap_cache_set_app_data(cache_entry, NULL, NULL);
315 if (!cache_entry) {
329 data_so_far = coap_cache_get_app_data(cache_entry);
333 coap_cache_set_app_data(cache_entry, data_so_far, cache_free_app_data);
337 data_so_far = coap_cache_get_app_data(cache_entry);
338 coap_cache_set_app_data(cache_entry, NULL, NULL);
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_cache.c56 struct pb_cache_entry cache_entry; member
119 pb_cache_add_buffer(&buf->cache_entry); in pb_cache_buffer_destroy()
245 pb_cache_init_entry(&mgr->cache, &buf->cache_entry, &buf->base, 0); in pb_cache_manager_create_buffer()
/third_party/libcoap/examples/
Dcoap-server.c534 coap_cache_entry_t *cache_entry = coap_cache_get_by_pdu(session, in hnd_put_example_data() local
539 if (!cache_entry) { in hnd_put_example_data()
545 cache_entry = coap_new_cache_entry(session, request, in hnd_put_example_data()
549 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data()
554 coap_cache_set_app_data(cache_entry, NULL, NULL); in hnd_put_example_data()
557 if (!cache_entry) { in hnd_put_example_data()
569 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data()
573 coap_cache_set_app_data(cache_entry, data_so_far, cache_free_app_data); in hnd_put_example_data()
577 data_so_far = coap_cache_get_app_data(cache_entry); in hnd_put_example_data()
578 coap_cache_set_app_data(cache_entry, NULL, NULL); in hnd_put_example_data()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.h39 struct cache_entry;
51 struct cache_entry **hash_table;
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h39 struct pb_cache_entry cache_entry; member
Dradeon_drm_bo.c426 pb_cache_add_buffer(&bo->u.real.cache_entry); in radeon_bo_destroy_or_cache()
680 pb_cache_init_entry(&rws->bo_cache, &bo->u.real.cache_entry, &bo->base, in radeon_create_bo()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.h46 struct virgl_resource_cache_entry cache_entry; member
Dvirgl_drm_winsys.c60 (struct virgl_hw_res*)((char*)ptr - offsetof(struct virgl_hw_res, cache_entry))
157 virgl_resource_cache_add(&qdws->cache, &old->cache_entry); in virgl_drm_resource_reference()
243 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_drm_winsys_resource_create_blob()
318 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_drm_winsys_resource_create()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h110 struct pb_cache_entry cache_entry[]; member
Damdgpu_bo.c235 pb_cache_add_buffer(bo->cache_entry); in amdgpu_bo_destroy_or_cache()
501 pb_cache_init_entry(&ws->bo_cache, bo->cache_entry, &bo->base, in amdgpu_create_bo()
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.h72 struct virgl_resource_cache_entry cache_entry; member
Dvirgl_vtest_winsys.c37 (struct virgl_hw_res*)((char*)ptr - offsetof(struct virgl_hw_res, cache_entry))
217 virgl_resource_cache_add(&vtws->cache, &old->cache_entry); in virgl_vtest_resource_reference()
319 virgl_resource_cache_entry_init(&res->cache_entry, params); in virgl_vtest_winsys_resource_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.h111 struct pb_cache_entry cache_entry[]; member
Dzink_program.c882 struct gfx_pipeline_cache_entry *cache_entry = entry->data; in zink_get_gfx_pipeline() local
883 state->pipeline = cache_entry->pipeline; in zink_get_gfx_pipeline()
924 struct compute_pipeline_cache_entry *cache_entry = entry->data; in zink_get_compute_pipeline() local
925 state->pipeline = cache_entry->pipeline; in zink_get_compute_pipeline()
Dzink_bo.c234 pb_cache_add_buffer(bo->cache_entry); in bo_destroy_or_cache()
294 pb_cache_init_entry(&screen->pb.bo_cache, bo->cache_entry, &bo->base, heap); in bo_create_internal()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.cc2859 base::HashMap::Entry* cache_entry = in GetStringId() local
2861 if (cache_entry->value == nullptr) { in GetStringId()
2862 cache_entry->value = reinterpret_cast<void*>(next_string_id_++); in GetStringId()
2864 return static_cast<int>(reinterpret_cast<intptr_t>(cache_entry->value)); in GetStringId()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction-selector.cc718 auto cache_entry = state_values_cache_.find(key); in AddInputsToFrameStateDescriptor() local
719 if (cache_entry != state_values_cache_.end()) { in AddInputsToFrameStateDescriptor()
721 return cache_entry->second->Emit(inputs, values); in AddInputsToFrameStateDescriptor()
/third_party/libabigail/tests/data/test-read-dwarf/
DPR25042-libgdbm-clang-dwarf5.so.6.0.0.abi403 …<var-decl name='cache_entry' type-id='type-id-13' visibility='default' filepath='./gdbmdefs.h' lin…

12