Home
last modified time | relevance | path

Searched refs:lru (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Ddxtory.c336 static inline uint8_t decode_sym(GetBitContext *gb, uint8_t lru[8]) in decode_sym()
343 memmove(lru + 1, lru, sizeof(*lru) * (8 - 1)); in decode_sym()
345 val = lru[c - 1]; in decode_sym()
346 memmove(lru + 1, lru, sizeof(*lru) * (c - 1)); in decode_sym()
348 lru[0] = val; in decode_sym()
403 static inline uint8_t decode_sym_565(GetBitContext *gb, uint8_t lru[8], in decode_sym_565()
411 memmove(lru + 1, lru, sizeof(*lru) * (6 - 1)); in decode_sym_565()
413 val = lru[c - 1]; in decode_sym_565()
414 memmove(lru + 1, lru, sizeof(*lru) * (c - 1)); in decode_sym_565()
416 lru[0] = val; in decode_sym_565()
[all …]
/third_party/node/test/cctest/
Dtest_sockaddr.cc79 SocketAddressLRU<FooLRUTraits> lru(2); in TEST() local
94 Foo* foo = lru.Upsert(addr1); in TEST()
102 foo = lru.Upsert(addr1); in TEST()
103 CHECK_NOT_NULL(lru.Peek(addr1)); in TEST()
104 CHECK_EQ(lru.Peek(addr1), lru.Peek(addr4)); in TEST()
105 CHECK_EQ(lru.Peek(addr1)->c, 1); in TEST()
106 CHECK_EQ(lru.Peek(addr1)->expired, false); in TEST()
107 CHECK_EQ(lru.size(), 1); in TEST()
109 foo = lru.Upsert(addr2); in TEST()
112 CHECK_NOT_NULL(lru.Peek(addr2)); in TEST()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_cache.c84 struct util_cache_entry lru; member
113 list_inithead(&cache->lru.list); in util_cache_create()
208 entry = list_last_entry(&cache->lru.list, struct util_cache_entry, list); in util_cache_set()
211 … util_cache_entry_destroy(cache, list_last_entry(&cache->lru.list, struct util_cache_entry, list)); in util_cache_set()
223 list_add(&cache->lru.list, &entry->list); in util_cache_set()
250 list_move_to(&cache->lru.list, &entry->list); in util_cache_get()
276 assert(list_is_empty(&cache->lru.list)); in util_cache_clear()
364 assert (list_is_empty(&cache->lru.list)); in ensure_sanity()
368 list_entry(&cache->lru, struct util_cache_entry, list); in ensure_sanity()
371 assert (!list_is_empty(&cache->lru.list)); in ensure_sanity()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dlayout_array_too_long.rs155 pub lru: ip_frag_pkt__bindgen_ty_1, field
240 unsafe { ::std::ptr::addr_of!((*ptr).lru) as usize - ptr as usize }, in bindgen_test_layout_ip_frag_pkt()
246 stringify!(lru) in bindgen_test_layout_ip_frag_pkt()
327 self.lru == other.lru && in eq()
Dlayout_large_align_field.rs185 pub lru: ip_frag_pkt__bindgen_ty_1, field
270 unsafe { ::std::ptr::addr_of!((*ptr).lru) as usize - ptr as usize }, in bindgen_test_layout_ip_frag_pkt()
276 stringify!(lru) in bindgen_test_layout_ip_frag_pkt()
542 pub lru: ip_pkt_list, field
659 unsafe { ::std::ptr::addr_of!((*ptr).lru) as usize - ptr as usize }, in bindgen_test_layout_rte_ip_frag_tbl()
665 stringify!(lru) in bindgen_test_layout_rte_ip_frag_tbl()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dlayout_large_align_field.h65 TAILQ_ENTRY(ip_frag_pkt) lru; /**< LRU list */
96 struct ip_pkt_list lru; /**< LRU list for table entries. */ member
Dlayout_array_too_long.h54 TAILQ_ENTRY(ip_frag_pkt) lru; /**< LRU list */
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_autotune.c77 list_last_entry(&at->lru, struct fd_batch_history, node); in get_history()
89 list_add(&history->node, &at->lru); in get_history()
253 list_inithead(&at->lru); in fd_autotune_init()
Dfreedreno_autotune.h83 struct list_head lru; member
Dfreedreno_gmem.h85 struct list_head lru; member
Dfreedreno_gmem.c570 list_last_entry(&cache->lru, struct fd_gmem_stateobj, node); in lookup_gmem_state()
581 list_add(&gmem->node, &cache->lru); in lookup_gmem_state()
823 list_inithead(&cache->lru); in fd_gmem_screen_init()
/third_party/elfutils/debuginfod/
Ddebuginfod.cxx1286 deque<fdcache_entry> lru; // @head: most recently used member in libarchive_fdcache
1298 for (auto i = lru.begin(); i < lru.end(); i++) in set_metrics()
1303 set_metric("fdcache_count", lru.size()); in set_metrics()
1313 for (auto i = lru.begin(); i < lru.end(); i++) in intern()
1318 lru.erase(i); in intern()
1339 lru.push_front(n); in intern()
1369 for (auto i = lru.begin(); i < lru.end(); i++) in lookup()
1374 lru.erase(i); // invalidates i, so no more iteration! in lookup()
1375 lru.push_front(n); in lookup()
1389 lru.push_front(n); in lookup()
[all …]
DChangeLog388 (set_metrics): Differentiate between lru and prefetch metrics.
392 finding in the prefetch cache move the element to the lru cache.
/third_party/libdrm/intel/
Dintel_bufmgr_fake.c137 struct block lru; member
442 DRMLISTADDTAIL(block, &bufmgr_fake->lru); in alloc_block()
542 DRMLISTFOREACHSAFE(block, tmp, &bufmgr_fake->lru) { in evict_lru()
569 DRMLISTFOREACHSAFEREVERSE(block, tmp, &bufmgr_fake->lru) { in evict_mru()
612 DRMLISTADDTAIL(block, &bufmgr_fake->lru); in clear_fenced()
790 DRMLISTFOREACHSAFE(block, tmp, &bufmgr_fake->lru) { in drm_intel_bufmgr_fake_contended_lock_take()
1558 DRMLISTFOREACHSAFE(block, tmp, &bufmgr_fake->lru) { in drm_intel_bufmgr_fake_evict_all()
1597 DRMINITLISTHEAD(&bufmgr_fake->lru); in drm_intel_bufmgr_fake_init()
/third_party/mesa3d/src/panfrost/lib/
Dpan_device.h230 struct list_head lru; member
Dpan_bo.c239 &dev->bo_cache.lru, lru_link) { in panfrost_bo_cache_evict_stale_bos()
285 list_addtail(&bo->lru_link, &dev->bo_cache.lru); in panfrost_bo_cache_put()
Dpan_props.c312 list_inithead(&dev->bo_cache.lru); in panfrost_open_device()
/third_party/elfutils/tests/
Drun-readelf-vmcoreinfo.sh83 OFFSET(page.lru)=40
/third_party/libfuse/lib/
Dfuse.c160 struct list_head lru; member
551 list_del(&lnode->lru); in remove_node_lru()
552 init_list_head(&lnode->lru); in remove_node_lru()
559 list_del(&lnode->lru); in set_forget_time()
560 list_add_tail(&lnode->lru, &f->lru_table); in set_forget_time()
895 init_list_head(&lnode->lru); in find_node()
4412 lnode = list_entry(curr, struct node_lru, lru); in fuse_clean_cache()
4993 init_list_head(&lnode->lru); in fuse_new_31()
/third_party/spirv-tools/tools/sva/
Dyarn.lock317 lru-cache "^4.0.1"
952 lru-cache@^4.0.1:
954 …resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab82…
/third_party/skia/third_party/externals/spirv-tools/tools/sva/
Dyarn.lock317 lru-cache "^4.0.1"
952 lru-cache@^4.0.1:
954 …resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab82…
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock317 lru-cache "^4.0.1"
952 lru-cache@^4.0.1:
954 …resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab82…
/third_party/skia/third_party/externals/icu/source/data/lang/
Dlv.txt712 phonebook{"tālruņu grāmatas kārtošanas secība"}
/third_party/icu/icu4c/source/data/lang/
Dlv.txt756 phonebook{"tālruņu grāmatas kārtošanas secība"}
/third_party/skia/
Dgo.sum980 github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
981 github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=
982 github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
983 github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
984 github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=

12