Home
last modified time | relevance | path

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

/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/node/deps/v8/src/snapshot/
Dshared-heap-serializer.cc91 int cache_index = SerializeInObjectCache(obj); in SerializeUsingSharedHeapObjectCache() local
103 DCHECK_LT(base::checked_cast<size_t>(cache_index), existing_cache_size); in SerializeUsingSharedHeapObjectCache()
104 if (base::checked_cast<size_t>(cache_index) == existing_cache_size - 1) { in SerializeUsingSharedHeapObjectCache()
113 sink->PutInt(cache_index, "shared_heap_object_cache_index"); in SerializeUsingSharedHeapObjectCache()
217 int cache_index = SerializeInObjectCache(obj); in ReconstructSharedHeapObjectCacheForTesting() local
218 USE(cache_index); in ReconstructSharedHeapObjectCacheForTesting()
219 DCHECK_EQ(cache_index, i); in ReconstructSharedHeapObjectCacheForTesting()
Dread-only-serializer.cc130 int cache_index = SerializeInObjectCache(obj); in SerializeUsingReadOnlyObjectCache() local
134 sink->PutInt(cache_index, "read_only_object_cache_index"); in SerializeUsingReadOnlyObjectCache()
146 int cache_index = SerializeInObjectCache(obj); in ReconstructReadOnlyObjectCacheForTesting() local
147 USE(cache_index); in ReconstructReadOnlyObjectCacheForTesting()
148 DCHECK_EQ(cache_index, i); in ReconstructReadOnlyObjectCacheForTesting()
Dstartup-serializer.cc253 int cache_index = SerializeInObjectCache(obj); in SerializeUsingStartupObjectCache() local
255 sink->PutInt(cache_index, "startup_object_cache_index"); in SerializeUsingStartupObjectCache()
Ddeserializer.cc978 int cache_index = source_.GetInt(); in ReadSingleBytecodeData() local
982 main_thread_isolate()->startup_object_cache()->at(cache_index)); in ReadSingleBytecodeData()
989 int cache_index = source_.GetInt(); in ReadSingleBytecodeData() local
993 isolate()->read_only_heap()->cached_read_only_object(cache_index)); in ReadSingleBytecodeData()
1000 int cache_index = source_.GetInt(); in ReadSingleBytecodeData() local
1004 main_thread_isolate()->shared_heap_object_cache()->at(cache_index)); in ReadSingleBytecodeData()
/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