HomeSort by relevance Sort by last modified time
    Searched refs:cache (Results 101 - 125 of 3014) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/skia/src/core/
SkGlyphCache_Globals.h 42 SkGlyphCache* cache = fHead; local
43 while (cache) {
44 SkGlyphCache* next = cache->fNext;
45 delete cache;
46 cache = next;
  /external/skqp/src/core/
SkGlyphCache_Globals.h 42 SkGlyphCache* cache = fHead; local
43 while (cache) {
44 SkGlyphCache* next = cache->fNext;
45 delete cache;
46 cache = next;
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/
cache.d 2 #name: MIPS CACHE instruction
5 # Check MIPS CACHE instruction assembly.
10 [0-9a-f]+ <[^>]*> bc4507ff cache 0x5,2047\(v0\)
11 [0-9a-f]+ <[^>]*> bc65f800 cache 0x5,-2048\(v1\)
12 [0-9a-f]+ <[^>]*> bc850800 cache 0x5,2048\(a0\)
13 [0-9a-f]+ <[^>]*> bca5f7ff cache 0x5,-2049\(a1\)
14 [0-9a-f]+ <[^>]*> bcc57fff cache 0x5,32767\(a2\)
15 [0-9a-f]+ <[^>]*> bce58000 cache 0x5,-32768\(a3\)
18 [0-9a-f]+ <[^>]*> bc258000 cache 0x5,-32768\(at\)
21 [0-9a-f]+ <[^>]*> bc257fff cache 0x5,32767\(at\
    [all...]
  /external/valgrind/drd/
drd_bitmap.h 348 * Rotate elements cache[0..n-1] such that the element at position n-1 is
349 * moved to position 0. This allows to speed up future cache lookups.
352 void bm_cache_rotate(struct bm_cache_elem cache[], const int n)
359 t = cache[0];
361 cache[0] = cache[1];
363 cache[1] = cache[2];
365 cache[2] = cache[3]
    [all...]
  /external/toybox/lib/
llist.c 103 // Find num in cache
104 struct num_cache *get_num_cache(struct num_cache *cache, long long num)
106 while (cache) {
107 if (num==cache->num) return cache;
108 cache = cache->next;
114 // Uniquely add num+data to cache. Updates *cache, returns pointer to existing
116 struct num_cache *add_num_cache(struct num_cache **cache, long long num
    [all...]
  /external/skia/tests/
ResourceCacheTest.cpp 62 // Set the cache limits so we can fit 10 "src" images and the
357 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); local
358 cache->purgeAllUnlocked();
359 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());
362 GrResourceCache* cache() { return fContext->contextPriv().getResourceCache(); } function in class:Mock
373 GrResourceCache* cache = mock.cache(); local
387 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount());
389 d->gpuMemorySize() == cache->getResourceBytes())
431 GrResourceCache* cache = mock.cache(); local
499 GrResourceCache* cache = mock.cache(); local
596 GrResourceCache* cache = mock.cache(); local
671 GrResourceCache* cache = mock.cache(); local
735 GrResourceCache* cache = mock.cache(); local
783 GrResourceCache* cache = mock.cache(); local
843 GrResourceCache* cache = mock.cache(); local
903 GrResourceCache* cache = mock.cache(); local
999 GrResourceCache* cache = mock.cache(); local
1068 GrResourceCache* cache = mock.cache(); local
1111 GrResourceCache* cache = mock.cache(); local
1141 GrResourceCache* cache = mock.cache(); local
1181 GrResourceCache* cache = mock.cache(); local
1238 GrResourceCache* cache = mock.cache(); local
1336 GrResourceCache* cache = mock.cache(); local
1439 GrResourceCache* cache = mock.cache(); local
1553 GrResourceCache* cache = mock.cache(); local
1659 GrResourceCache* cache = mock.cache(); local
    [all...]
GpuLayerCacheTest.cpp 30 static GrTexture* GetBackingTexture(GrLayerCache* cache) {
31 return cache->fAtlas->getTextureOrNull();
34 static int NumLayers(GrLayerCache* cache) {
35 return cache->numLayers();
37 static void Purge(GrLayerCache* cache, uint32_t pictureID) {
38 cache->purge(pictureID);
43 static GrCachedLayer* Find(GrLayerCache* cache, uint32_t pictureID,
46 return cache->findLayer(pictureID, initialMat, key, keySize);
50 // Add several layers to the cache
52 GrLayerCache* cache,
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
NullCacheTest.java 15 package com.google.common.cache;
17 import static com.google.common.cache.CacheTesting.checkEmpty;
18 import static com.google.common.cache.TestingCacheLoaders.constantLoader;
19 import static com.google.common.cache.TestingCacheLoaders.exceptionLoader;
20 import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
23 import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
24 import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
44 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local
50 assertSame(computed, cache.getUnchecked(key));
56 checkEmpty(cache);
61 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local
78 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local
94 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local
    [all...]
CacheTesting.java 15 package com.google.common.cache;
27 import com.google.common.cache.LocalCache.LocalLoadingCache;
28 import com.google.common.cache.LocalCache.ReferenceEntry;
29 import com.google.common.cache.LocalCache.Segment;
30 import com.google.common.cache.LocalCache.ValueReference;
52 * A collection of utilities for {@link Cache} testing.
59 * Poke into the Cache internals to simulate garbage collection of the value associated with the
65 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
66 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key)
    [all...]
  /external/skqp/tests/
ResourceCacheTest.cpp 62 // Set the cache limits so we can fit 10 "src" images and the
355 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); local
356 cache->purgeAllUnlocked();
357 SkASSERT(0 == cache->getResourceCount() && 0 == cache->getResourceBytes());
360 GrResourceCache* cache() { return fContext->contextPriv().getResourceCache(); } function in class:Mock
371 GrResourceCache* cache = mock.cache(); local
385 REPORTER_ASSERT(reporter, 4 == cache->getResourceCount());
387 d->gpuMemorySize() == cache->getResourceBytes())
429 GrResourceCache* cache = mock.cache(); local
526 GrResourceCache* cache = mock.cache(); local
601 GrResourceCache* cache = mock.cache(); local
665 GrResourceCache* cache = mock.cache(); local
713 GrResourceCache* cache = mock.cache(); local
773 GrResourceCache* cache = mock.cache(); local
833 GrResourceCache* cache = mock.cache(); local
929 GrResourceCache* cache = mock.cache(); local
998 GrResourceCache* cache = mock.cache(); local
1041 GrResourceCache* cache = mock.cache(); local
1071 GrResourceCache* cache = mock.cache(); local
1111 GrResourceCache* cache = mock.cache(); local
1168 GrResourceCache* cache = mock.cache(); local
1266 GrResourceCache* cache = mock.cache(); local
1369 GrResourceCache* cache = mock.cache(); local
1483 GrResourceCache* cache = mock.cache(); local
1589 GrResourceCache* cache = mock.cache(); local
    [all...]
GpuLayerCacheTest.cpp 30 static GrTexture* GetBackingTexture(GrLayerCache* cache) {
31 return cache->fAtlas->getTextureOrNull();
34 static int NumLayers(GrLayerCache* cache) {
35 return cache->numLayers();
37 static void Purge(GrLayerCache* cache, uint32_t pictureID) {
38 cache->purge(pictureID);
43 static GrCachedLayer* Find(GrLayerCache* cache, uint32_t pictureID,
46 return cache->findLayer(pictureID, initialMat, key, keySize);
50 // Add several layers to the cache
52 GrLayerCache* cache,
    [all...]
  /external/elfutils/libdw/
cie.c 54 intern_new_cie (Dwarf_CFI *cache, Dwarf_Off offset, const Dwarf_CIE *info)
94 += encoded_value_size (&cache->data->d, cache->e_ident,
104 data += encoded_value_size (&cache->data->d, cache->e_ident,
125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
147 if (tsearch (cie, &cache->cie_tree, &compare_cie) == NULL)
160 __libdw_find_cie (Dwarf_CFI *cache, Dwarf_Off offset)
163 struct dwarf_cie **found = tfind (&cie_key, &cache->cie_tree, &compare_cie);
170 int result = INTUSE(dwarf_next_cfi) (cache->e_ident
    [all...]
dwarf_frame_cfa.c 61 (NULL, fs->cache->other_byte_order,
62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
63 &fs->cache->expr_tree, &fs->cfa_data.expr, false, false,
  /external/guava/guava-tests/benchmark/com/google/common/cache/
SegmentBenchmark.java 17 package com.google.common.cache;
24 import com.google.common.cache.LocalCache.ReferenceEntry;
25 import com.google.common.cache.LocalCache.Segment;
42 LocalCache<Object, Object> cache = new LocalCache<Object, Object>( local
46 checkState(cache.segments.length == 1);
47 segment = cache.segments[0];
50 cache.put(new Object(), new Object());
  /external/v8/src/runtime/
runtime-maths.cc 29 // The index is decremented before used to access the cache.
32 Handle<FixedDoubleArray> cache; local
36 cache = Handle<FixedDoubleArray>(
38 state0 = double_to_uint64(cache->get_scalar(kState0Offset));
39 state1 = double_to_uint64(cache->get_scalar(kState1Offset));
41 cache = Handle<FixedDoubleArray>::cast(
43 native_context->set_math_random_cache(*cache);
52 FixedDoubleArray* raw_cache = *cache;
  /frameworks/base/libs/hwui/tests/unit/
TextDropShadowCacheTests.cpp 37 TextDropShadowCache cache(MB(5));
38 cache.setFontRenderer(fontRenderer);
48 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data());
52 ASSERT_EQ((uint32_t)texture->objectSize(), cache.getSize());
53 ASSERT_TRUE(cache.getSize());
54 cache.clear();
55 ASSERT_EQ(cache.getSize(), 0u);
  /external/freetype/src/cache/
ftcimage.c 5 /* FreeType Image cache (body). */
32 FTC_Cache cache )
35 FT_Memory memory = cache->memory;
44 FTC_GNode_Done( FTC_GNODE( inode ), cache ); local
51 FTC_Cache cache )
53 ftc_inode_free( FTC_NODE( inode ), cache ); local
61 FTC_Cache cache )
63 FT_Memory memory = cache->memory;
73 FTC_IFamilyClass clazz = FTC_CACHE_IFAMILY_CLASS( cache );
80 error = clazz->family_load_glyph( family, gindex, cache,
    [all...]
ftccache.h 5 /* FreeType internal cache interface (specification). */
30 /* handle to cache object */
33 /* handle to cache class */
40 /***** CACHE NODE DEFINITIONS *****/
47 /* Each cache controls one or more cache nodes. Each node is part of */
52 /* the cache. It can be an individual glyph image, a set of bitmaps */
63 FT_UShort cache_index; /* index of cache the node belongs to */
76 #define FTC_NODE_TOP_FOR_HASH( cache, hash ) \
77 ( ( cache )->buckets +
167 FTC_Cache_Init( FTC_Cache cache ); variable
171 FTC_Cache_Done( FTC_Cache cache ); variable
    [all...]
  /external/mesa3d/src/util/
disk_cache.c 47 /* Number of bits to mask off from a cache key to get an index. */
57 /* The path to the cache directory. */
60 /* A pointer to the mmapped index file within the cache directory. */
64 /* Pointer to total size of all objects in cache (within index_mmap) */
91 fprintf(stderr, "Cannot use %s for shader cache (not a directory)"
101 fprintf(stderr, "Failed to create %s for shader cache (%s)---disabling.\n",
138 struct disk_cache *cache = NULL; local
150 /* At user request, disable shader cache entirely. */
154 /* Determine path for cache based on the first defined name as follows:
158 * <pwd.pw_dir>/.cache/mes
    [all...]
  /external/skia/src/gpu/text/
GrGlyphCache.h 34 SkGlyphCache* cache) {
37 glyph = this->generateGlyph(skGlyph, packed, cache);
48 SkGlyphCache* cache) {
52 // potentially little benefit(ie, if the glyph is not in our font cache, then its not
54 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed);
55 glyph = this->generateGlyph(skGlyph, packed, cache);
76 // If a TextStrike is abandoned by the cache, then the caller must get a new strike
93 static const SkGlyph& GrToSkGlyph(SkGlyphCache* cache, GrGlyph::PackedID id) {
94 return cache->getGlyphIDMetrics(GrGlyph::UnpackID(id),
118 // The user of the cache may hold a long-lived ref to the returned strike. However, actions b
    [all...]
  /cts/tests/tests/net/src/android/net/http/cts/
HttpResponseCacheTest.java 50 // Make the cache directory read / writable.
102 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
103 initializeCache(cache);
105 cache.close();
107 cache.flush();
114 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
115 cache.close();
120 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); local
121 cache.delete();
130 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024) local
    [all...]
  /external/mesa3d/src/intel/vulkan/
anv_pipeline_cache.c 168 anv_pipeline_cache_init(struct anv_pipeline_cache *cache,
172 cache->device = device;
173 pthread_mutex_init(&cache->mutex, NULL);
176 cache->cache = _mesa_hash_table_create(NULL, shader_bin_key_hash_func,
179 cache->cache = NULL;
184 anv_pipeline_cache_finish(struct anv_pipeline_cache *cache)
186 pthread_mutex_destroy(&cache->mutex);
188 if (cache->cache)
425 struct anv_pipeline_cache *cache; local
    [all...]
  /hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
IPACM_Conntrack_NATApp.cpp 42 cache = NULL;
73 cache = (nat_table_entry *)malloc(size);
74 if(cache == NULL)
76 IPACMERR("Unable to allocate memory for cache\n");
79 IPACMDBG("Allocated %d bytes for config manager nat cache\n", size);
80 memset(cache, 0, size);
109 free(cache);
139 /* Not reset the cache wait it timeout by destroy event */
143 IPACMDBG("Reset the cache because NAT-ipv4 different\n");
144 memset(cache, 0, sizeof(nat_table_entry) * max_entries)
    [all...]
  /system/extras/simpleperf/
CallChainJoiner_test.cpp 26 static bool JoinCallChain(LRUCache& cache, uint32_t tid,
33 cache.AddCallChain(tid, tmp_ip, tmp_sp);
38 LRUCache cache(sizeof(CacheNode) * 2, 1);
39 ASSERT_EQ(cache.Stat().max_node_count, 2u);
43 ASSERT_TRUE(JoinCallChain(cache, 0, ip, sp, ip, sp));
44 ASSERT_TRUE(JoinCallChain(cache, 1, ip, sp, ip, sp));
45 ASSERT_EQ(cache.Stat().used_node_count, 2u);
46 ASSERT_EQ(cache.Stat().recycled_node_count, 0u);
47 ASSERT_NE(cache.FindNode(0, ip[0], sp[0]), nullptr);
48 ASSERT_NE(cache.FindNode(1, ip[0], sp[0]), nullptr)
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_allocator_internal.h 48 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
51 InternalAllocatorCache *cache = nullptr);
53 InternalAllocatorCache *cache = nullptr);
54 void InternalFree(void *p, InternalAllocatorCache *cache = nullptr);

Completed in 403 milliseconds

1 2 3 45 6 7 8 91011>>