Searched refs:cache (Results 151 - 175 of 1307) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/gpu/
H A DGrTextContext.cpp39 void GrTextContext::MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, argument
49 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
64 GrFontScaler* GrTextContext::GetGrFontScaler(SkGlyphCache* cache) { argument
68 if (cache->getAuxProcData(GlyphCacheAuxProc, &auxData)) {
72 scaler = SkNEW_ARGS(GrFontScaler, (cache));
73 cache->setAuxProc(GlyphCacheAuxProc, scaler);
/external/iproute2/lib/
H A Drt_names.c158 static char *cache = NULL; local
163 if (cache && strcmp(cache, arg) == 0) {
174 cache = rtnl_rtprot_tab[i];
225 static char *cache = NULL; local
230 if (cache && strcmp(cache, arg) == 0) {
241 cache = rtnl_rtscope_tab[i];
289 static char *cache = NULL; local
294 if (cache
360 static char *cache = NULL; local
426 static char *cache = NULL; local
474 static char *cache = NULL; local
[all...]
/external/skia/src/gpu/
H A DGrTextContext.cpp39 void GrTextContext::MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, argument
49 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
64 GrFontScaler* GrTextContext::GetGrFontScaler(SkGlyphCache* cache) { argument
68 if (cache->getAuxProcData(GlyphCacheAuxProc, &auxData)) {
72 scaler = SkNEW_ARGS(SkGrFontScaler, (cache));
73 cache->setAuxProc(GlyphCacheAuxProc, scaler);
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dremove_stale_cache_files.cc15 void RemoveStaleCacheFiles(FileCache* cache, argument
25 FileError error = cache->Remove(it->GetID());
27 << "Failed to remove a stale cache file. resource_id: "
/external/chromium_org/content/browser/appcache/
H A Dmock_appcache_storage.cc23 // Responses are never really removed from the in-memory disk cache.
57 AppCache* cache = working_set_.GetCache(id); local
58 if (ShouldCacheLoadAppearAsync(cache)) {
109 AppCache* cache, const GURL& url,
112 DCHECK(cache && cache->is_complete());
125 cache->FindResponseForRequest(
133 AppCache* cache = working_set_.GetCache(cache_id); local
134 if (cache) {
135 AppCacheEntry* entry = cache
108 FindResponseForSubRequest( AppCache* cache, const GURL& url, AppCacheEntry* found_entry, AppCacheEntry* found_fallback_entry, bool* found_network_namespace) argument
192 AppCache* cache = working_set_.GetCache(id); local
253 MaybeTakeNewNamespaceEntry( AppCacheNamespaceType namespace_type, const AppCacheEntry &entry, const GURL& namespace_url, bool cache_is_in_use, FoundCandidate* best_candidate, GURL* best_candidate_namespace, AppCache* cache, AppCacheGroup* group) argument
337 AppCache* cache = group->newest_complete_cache(); local
467 AddStoredCache(AppCache* cache) argument
475 RemoveStoredCache(AppCache* cache) argument
535 ShouldCacheLoadAppearAsync(const AppCache* cache) argument
[all...]
H A Dmock_appcache_storage_unittest.cc24 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE {
25 loaded_cache_ = cache;
85 // Attempt to load a cache that doesn't exist. Should
97 // Attempt to load a cache that is currently in use
102 // Setup some preconditions. Make an 'unstored' cache for
105 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
111 EXPECT_EQ(cache.get(), delegate.loaded_cache_.get());
160 // Attempt to load a cache that is not currently in use
167 // Setup some preconditions. Create a group and newest cache that
173 scoped_refptr<AppCache> cache(ne
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_bitmap.c76 * The bitmap cache attempts to accumulate multiple glBitmap calls in a
560 struct bitmap_cache *cache = st->bitmap.cache; local
562 /*memset(cache->buffer, 0xff, sizeof(cache->buffer));*/
563 cache->empty = GL_TRUE;
565 cache->xmin = 1000000;
566 cache->xmax = -1000000;
567 cache->ymin = 1000000;
568 cache
588 print_cache(const struct bitmap_cache *cache) argument
613 struct bitmap_cache *cache = st->bitmap.cache; local
639 struct bitmap_cache *cache = st->bitmap.cache; local
696 struct bitmap_cache *cache = st->bitmap.cache; local
869 struct bitmap_cache *cache = st->bitmap.cache; local
[all...]
/external/e2fsprogs/e2fsck/
H A Djfs_user.h55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length)
56 #define kmem_cache_free(cache,obj) free(obj)
58 #define kmem_cache_destroy(cache) do_cache_destroy(cache)
82 extern void do_cache_destroy(lkmem_cache_t *cache);
115 _INLINE_ void do_cache_destroy(lkmem_cache_t *cache) argument
117 free(cache);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_bitmap.c76 * The bitmap cache attempts to accumulate multiple glBitmap calls in a
560 struct bitmap_cache *cache = st->bitmap.cache; local
562 /*memset(cache->buffer, 0xff, sizeof(cache->buffer));*/
563 cache->empty = GL_TRUE;
565 cache->xmin = 1000000;
566 cache->xmax = -1000000;
567 cache->ymin = 1000000;
568 cache
588 print_cache(const struct bitmap_cache *cache) argument
613 struct bitmap_cache *cache = st->bitmap.cache; local
639 struct bitmap_cache *cache = st->bitmap.cache; local
696 struct bitmap_cache *cache = st->bitmap.cache; local
869 struct bitmap_cache *cache = st->bitmap.cache; local
[all...]
/external/wpa_supplicant_8/hs20/server/ca/
H A Docsp-update-cache.sh10 -respout ocsp-server-cache.der
/external/chromium_org/net/http/
H A Ddisk_based_cert_cache_unittest.cc39 // |key| is a cache key, and is equivalent to the key that will be
40 // used to store or retrieve certificates in the cache. |test_mode|
189 // Tests that a certificate can be stored in the cache.
194 DiskBasedCertCache cache(&backend);
200 cache.SetCertificate(cert->os_cert_handle(), set_callback.callback());
206 // Tests that a certificate can be retrieved from the cache.
213 DiskBasedCertCache cache(&backend);
216 cache.GetCertificate(kCert1.cache_key, get_callback.callback());
225 // Tests that the DiskBasedCertCache successfully writes to the cache
226 // if the cache act
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dunix_io.c5 * Implements a one-block write-through cache.
91 struct unix_cache cache[CACHE_SIZE]; member in struct:unix_private_data
114 struct unix_cache *cache, unsigned long long block);
299 * Here we implement the cache functions
302 /* Allocate the cache buffers */
307 struct unix_cache *cache; local
311 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) {
312 cache
333 struct unix_cache *cache; local
359 struct unix_cache *cache, *unused_cache, *oldest_cache; local
385 reuse_cache(io_channel channel, struct unix_private_data *data, struct unix_cache *cache, unsigned long long block) argument
405 struct unix_cache *cache; local
695 struct unix_cache *cache, *reuse[READ_DIRECT_SIZE]; local
782 struct unix_cache *cache, *reuse; local
[all...]
/external/chromium_org/components/nacl/loader/
H A Dnacl_validation_query.cc160 NaClValidationCache* cache = local
163 memset(cache, 0, sizeof(*cache));
164 cache->handle = new NaClValidationQueryContext(db, profile_key, nacl_version);
165 cache->CreateQuery = CreateQuery;
166 cache->AddData = AddData;
167 cache->QueryKnownToValidate = QueryKnownToValidate;
168 cache->SetKnownToValidate = SetKnownToValidate;
169 cache->DestroyQuery = DestroyQuery;
170 cache
[all...]
/external/chromium_org/extensions/browser/api/storage/
H A Dstorage_frontend.cc107 ValueStoreCache* cache = it->second; local
108 cache->ShutdownOnUI();
109 BrowserThread::DeleteSoon(BrowserThread::FILE, FROM_HERE, cache);
133 ValueStoreCache* cache = caches_[settings_namespace]; local
134 CHECK(cache);
139 base::Unretained(cache), callback, extension));
145 ValueStoreCache* cache = it->second; local
149 base::Unretained(cache),
163 ValueStoreCache* cache = it->second; local
164 cache
[all...]
/external/e2fsprogs/lib/blkid/
H A Dread.c2 * read.c - read the blkid cache from disk, to avoid scanning all devices
132 * Start parsing a new line from the cache.
184 static int parse_dev(blkid_cache cache, blkid_dev *dev, char **cp) argument
228 if (!(*dev = blkid_get_dev(cache, name, BLKID_DEV_CREATE))) {
304 static int parse_tag(blkid_cache cache, blkid_dev dev, char **cp) argument
310 if (!cache || !dev)
334 * Add the new device to the cache struct, if one was read.
343 static int blkid_parse_line(blkid_cache cache, blkid_dev *dev_p, char *cp) argument
348 if (!cache || !dev_p)
355 if ((ret = parse_dev(cache, dev_
380 blkid_read_cache(blkid_cache cache) argument
476 blkid_cache cache = NULL; local
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
H A DInsnList.java68 * A cache of the instructions of this list. This cache is used to improve
71 private AbstractInsnNode[] cache; field in class:InsnList
103 * Returns the instruction whose index is given. This method builds a cache
105 * time it is called. Once the cache is built, this method run in constant
106 * time. This cache is invalidated by all the methods that modify the list.
116 if (cache == null) {
117 cache = toArray();
119 return cache[index];
140 * builds a cache o
[all...]
/external/valgrind/main/cachegrind/
H A Dcg_arch.c2 /*--- Cachegrind: cache configuration. cg-arch.c ---*/
6 This file is part of Cachegrind, a Valgrind tool for cache
42 // Checks cache config is ok. Returns NULL if ok, or a pointer to an error
44 static const HChar* check_cache(cache_t* cache) argument
47 if ((cache->size % (cache->line_size * cache->assoc) != 0) ||
48 (-1 == VG_(log2)(cache->size/cache->line_size/cache
79 parse_cache_opt( cache_t* cache, const HChar* opt, const HChar* optval ) argument
[all...]
/external/guava/guava-tests/test/com/google/common/cache/
H A DLocalLoadingCacheTest.java17 package com.google.common.cache;
19 import static com.google.common.cache.CacheBuilder.EMPTY_STATS;
20 import static com.google.common.cache.LocalCacheTest.SMALL_MAX_SIZE;
21 import static com.google.common.cache.TestingCacheLoaders.identityLoader;
24 import com.google.common.cache.LocalCache.LocalLoadingCache;
25 import com.google.common.cache.LocalCache.Segment;
67 LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
68 assertSame(loader, cache.localCache.defaultLoader);
86 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader());
87 assertEquals(EMPTY_STATS, cache
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc80 SizeClassAllocatorLocalCache<Allocator> cache; local
81 memset(&cache, 0, sizeof(cache));
82 cache.Init(0);
100 char *x = (char*)cache.Allocate(a, class_id0);
124 cache.Deallocate(a, a->GetSizeClass(x), x);
161 SizeClassAllocatorLocalCache<Allocator> cache; local
162 memset(&cache, 0, sizeof(cache));
163 cache
204 SizeClassAllocatorLocalCache<Allocator> cache; local
254 SizeClassAllocatorLocalCache<Allocator64WithCallBack> cache; local
281 SizeClassAllocatorLocalCache<Allocator32WithCallBack> cache; local
313 SizeClassAllocatorLocalCache<Allocator> cache; local
418 AllocatorCache cache; local
492 AllocatorCache cache; local
659 SizeClassAllocatorLocalCache<Allocator> cache; local
783 SizeClassAllocatorLocalCache<SpecialAllocator64> cache; local
[all...]
/external/chromium_org/third_party/freetype/src/cache/
H A Dftcsbits.c66 FTC_Cache cache )
71 FT_Memory memory = cache->memory;
77 FTC_GNode_Done( FTC_GNODE( snode ), cache ); local
85 FTC_Cache cache )
87 ftc_snode_free( FTC_NODE( snode ), cache ); local
165 " glyph too large for small bitmap cache\n"));
210 FTC_Cache cache )
212 FT_Memory memory = cache->memory;
218 FTC_SFamilyClass clazz = FTC_CACHE__SFAMILY_CLASS( cache );
223 total = clazz->family_get_count( family, cache
[all...]
/external/freetype/src/cache/
H A Dftcsbits.c66 FTC_Cache cache )
71 FT_Memory memory = cache->memory;
77 FTC_GNode_Done( FTC_GNODE( snode ), cache ); local
85 FTC_Cache cache )
87 ftc_snode_free( FTC_NODE( snode ), cache ); local
165 " glyph too large for small bitmap cache\n"));
210 FTC_Cache cache )
212 FT_Memory memory = cache->memory;
218 FTC_SFamilyClass clazz = FTC_CACHE__SFAMILY_CLASS( cache );
223 total = clazz->family_get_count( family, cache
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstInteger.java28 private static final CstInteger[] cache = new CstInteger[511]; field in class:CstInteger
64 int idx = (value & 0x7fffffff) % cache.length;
65 CstInteger obj = cache[idx];
72 cache[idx] = obj;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DDiskCacheAdapter.java1 package com.bumptech.glide.load.engine.cache;
/external/libnl/include/netlink/fib_lookup/
H A Dlookup.h16 #include <netlink/cache.h>
/external/libnl/include/netlink/genl/
H A Dctrl.h16 #include <netlink/cache.h>

Completed in 655 milliseconds

1234567891011>>