Home
last modified time | relevance | path

Searched refs:cache_index (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/piex/src/binary_parse/
Dcached_paged_byte_array.cc38 size_t cache_index; in getPage() local
39 if (getFromCache(page_index, &cache_index)) { in getPage()
41 *begin = cached_pages_[cache_index].begin; in getPage()
42 *end = cached_pages_[cache_index].end; in getPage()
43 *page = cached_pages_[cache_index].page; in getPage()
47 static_cast<std::ptrdiff_t>(cache_index)); in getPage()
68 size_t* cache_index) const { in getFromCache()
71 *cache_index = i; in getFromCache()
Dcached_paged_byte_array.h62 bool getFromCache(size_t page_index, size_t* cache_index) const;
/third_party/skia/third_party/externals/piex/src/binary_parse/
Dcached_paged_byte_array.cc38 size_t cache_index; in getPage() local
39 if (getFromCache(page_index, &cache_index)) { in getPage()
41 *begin = cached_pages_[cache_index].begin; in getPage()
42 *end = cached_pages_[cache_index].end; in getPage()
43 *page = cached_pages_[cache_index].page; in getPage()
47 static_cast<std::ptrdiff_t>(cache_index)); in getPage()
68 size_t* cache_index) const { in getFromCache()
71 *cache_index = i; in getFromCache()
Dcached_paged_byte_array.h62 bool getFromCache(size_t page_index, size_t* cache_index) const;
/third_party/flutter/skia/third_party/externals/freetype/src/cache/
Dftcmanag.c485 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()
488 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()
490 node->cache_index )); in FTC_Manager_Check()
695 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
Dftccache.c281 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()
288 cache = manager->caches[node->cache_index]; in ftc_node_destroy()
421 node->cache_index = (FT_UInt16)cache->index; in ftc_cache_add()
Dftccache.h63 FT_UShort cache_index; /* index of cache the node belongs to */ member
/third_party/freetype/src/cache/
Dftcmanag.c484 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()
487 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()
489 node->cache_index )); in FTC_Manager_Check()
694 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
Dftccache.c280 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()
287 cache = manager->caches[node->cache_index]; in ftc_node_destroy()
420 node->cache_index = (FT_UInt16)cache->index; in ftc_cache_add()
Dftccache.h63 FT_UShort cache_index; /* index of cache the node belongs to */ member
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcmanag.c488 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()
491 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()
493 node->cache_index )); in FTC_Manager_Check()
698 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
Dftccache.c279 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()
286 cache = manager->caches[node->cache_index]; in ftc_node_destroy()
419 node->cache_index = (FT_UShort)cache->index; in ftc_cache_add()
Dftccache.h63 FT_UShort cache_index; /* index of cache the node belongs to */ member
/third_party/iptables/iptables/
Dnft-cache.c593 if (!h->cache_index) { in __nft_flush_cache()
594 h->cache_index++; in __nft_flush_cache()
595 h->cache = &h->__cache[h->cache_index]; in __nft_flush_cache()
742 while (h->cache_index) in nft_release_cache()
743 flush_cache(h, &h->__cache[h->cache_index--], NULL); in nft_release_cache()
Dnft.h101 unsigned int cache_index; member
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_server.h59 using cache_index = std::map<connection_id_type, std::unique_ptr<CacheService>>; variable
284 cache_index all_caches_;