Searched defs:cache (Results 76 - 100 of 612) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXSlider.cpp86 AXObjectCache* cache = m_renderer->document().axObjectCache(); local
88 AXSliderThumb* thumb = static_cast<AXSliderThumb*>(cache->getOrCreate(SliderThumbRole));
94 cache->remove(thumb->axObjectID());
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DDocumentXPathEvaluator.cpp41 DocumentXPathEvaluator* cache = static_cast<DocumentXPathEvaluator*>(DocumentSupplement::from(document, supplementName())); local
42 if (!cache) {
43 cache = new DocumentXPathEvaluator();
44 DocumentSupplement::provideTo(document, supplementName(), adoptPtrWillBeNoop(cache));
46 return *cache;
/external/chromium_org/third_party/skia/tests/
H A DGpuLayerCacheTest.cpp18 static int NumLayers(GrLayerCache* cache) { argument
19 return cache->numLayers();
21 static void Purge(GrLayerCache* cache, uint32_t pictureID) { argument
22 cache->purge(pictureID);
26 // Add several layers to the cache
28 GrLayerCache* cache,
34 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
40 GrCachedLayer* temp = cache->findLayer(picture.uniqueID(), idOffset+i+1, idOffset+i+2,
44 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(cache) == idOffset + i + 1);
55 cache
27 create_layers(skiatest::Reporter* reporter, GrLayerCache* cache, const SkPicture& picture, int numToAdd, int idOffset) argument
58 lock_layer(skiatest::Reporter* reporter, GrLayerCache* cache, GrCachedLayer* layer) argument
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dstring-slices.js105 var cache = []; variable
109 cache.push(z);
117 var cache = []; variable
121 cache.push(z);
125 var cache = []; variable
131 cache.push(z);
135 var z = cache.pop();
/external/e2fsprogs/lib/blkid/
H A Dsave.c2 * save.c - write the cache struct to disk
55 * Write out the cache struct to the cache file on disk.
57 int blkid_flush_cache(blkid_cache cache) argument
67 if (!cache)
70 if (list_empty(&cache->bic_devs) ||
71 !(cache->bic_flags & BLKID_BIC_FL_CHANGED)) {
72 DBG(DEBUG_SAVE, printf("skipping cache file write\n"));
76 filename = cache->bic_filename ? cache
163 blkid_cache cache = NULL; local
[all...]
/external/elfutils/0.153/libdw/
H A Dcie.c75 intern_new_cie (Dwarf_CFI *cache, Dwarf_Off offset, const Dwarf_CIE *info) argument
115 += encoded_value_size (&cache->data->d, cache->e_ident,
125 data += encoded_value_size (&cache->data->d, cache->e_ident,
146 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
168 if (tsearch (cie, &cache->cie_tree, &compare_cie) == NULL)
181 __libdw_find_cie (Dwarf_CFI *cache, Dwarf_Off offset) argument
184 struct dwarf_cie **found = tfind (&cie_key, &cache->cie_tree, &compare_cie);
191 int result = INTUSE(dwarf_next_cfi) (cache
210 __libdw_intern_cie(Dwarf_CFI *cache, Dwarf_Off offset, const Dwarf_CIE *info) argument
[all...]
H A Dencoded-value.h93 __libdw_cfi_read_address_inc (const Dwarf_CFI *cache, argument
97 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
99 if (cache->dbg != NULL)
100 return __libdw_read_address_inc (cache->dbg, IDX_debug_frame,
107 *ret = read_4ubyte_unaligned_inc (cache, *addrp);
109 *ret = read_8ubyte_unaligned_inc (cache, *addrp);
114 read_encoded_value (const Dwarf_CFI *cache, uint8_t encoding, const uint8_t **p, argument
123 *result = (cache->frame_vaddr
124 + (*p - (const uint8_t *) cache->data->d.d_buf));
128 *result = cache
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemoryCacheAdapter.java1 package com.bumptech.glide.load.engine.cache;
/external/guava/guava/src/com/google/common/cache/
H A DRemovalNotification.java17 package com.google.common.cache;
33 * strong references to the key and value, regardless of the type of references the cache may be
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheLoader.java17 package com.google.common.cache;
/external/guava/guava-tests/test/com/google/common/cache/
H A DForwardingCacheTest.java17 package 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...]
H A DTestingRemovalListeners.java15 package com.google.common.cache;
/external/libnl/tests/
H A Dtest-cache-mngr.c6 static void change_cb(struct nl_cache *cache, struct nl_object *obj, argument
41 fatal(err, "Unable to allocate cache manager: %s",
45 fatal(err, "Unable to add cache route/link: %s",
49 fatal(err, "Unable to add cache route/neigh: %s",
53 fatal(err, "Unable to add cache route/addr: %s",
57 fatal(err, "Unable to add cache route/route: %s",
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DRegexCache.java29 private LRUCache<String, Pattern> cache; field in class:RegexCache
32 cache = new LRUCache<String, Pattern>(size);
36 Pattern pattern = cache.get(regex);
39 cache.put(regex, pattern);
46 return cache.containsKey(regex);
50 // LinkedHashMap offers a straightforward implementation of LRU cache.
/external/smack/src/org/jivesoftware/smack/util/
H A DDNSUtil.java42 * Create a cache to hold the 100 most recently accessed DNS lookups for a period of
45 private static Map<String, List<HostAddress>> cache = new Cache<String, List<HostAddress>>(100, 1000*60*10); field in class:DNSUtil
112 // Return item from cache if it exists.
113 if (cache.containsKey(key)) {
114 List<HostAddress> addresses = cache.get(key);
142 // Add item to cache.
143 cache.put(key, addresses);
/external/valgrind/main/drd/
H A Dpub_drd_bitmap.h71 struct bm_cache_elem cache[DRD_BITMAP_N_CACHE_ELEM]; member in struct:bitmap
/external/zopfli/src/zopfli/
H A Dcache.c20 #include "cache.h"
36 that this cache value is not filled in yet. */
54 unsigned char* cache; local
60 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3];
64 cache[j * 3] = i - 3;
65 cache[j * 3 + 1] = sublen[i] % 256;
66 cache[j * 3 + 2] = (sublen[i] >> 8) % 256;
74 cache[(ZOPFLI_CACHE_LENGTH - 1) * 3] = bestlength - 3;
87 unsigned char* cache; local
92 cache
109 unsigned char* cache; local
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DInterval.java34 static Interval[] cache = new Interval[INTERVAL_POOL_MAX_VALUE+1]; field in class:Interval
54 // cache just a..a
58 if ( cache[a]==null ) {
59 cache[a] = new Interval(a,a);
61 return cache[a];
/external/apache-http/src/org/apache/http/impl/io/
H A DChunkedOutputStream.java60 private byte[] cache; field in class:ChunkedOutputStream
79 this.cache = new byte[bufferSize];
97 * Writes the cache out onto the underlying stream
103 this.out.write(this.cache, 0, this.cachePosition);
110 * Writes the cache and bufferToAppend to the underlying stream
119 this.out.write(this.cache, 0, this.cachePosition);
133 * Must be called to ensure the internal cache is flushed and the closing chunk is written.
149 this.cache[this.cachePosition] = (byte) b;
151 if (this.cachePosition == this.cache.length) flushCache();
168 if (len >= this.cache
[all...]
/external/chromium_org/chrome/browser/apps/
H A Dapp_window_browsertest.cc21 // geometry cache registry for a specific window in a specific extension.
24 GeometryCacheChangeHelper(AppWindowGeometryCache* cache, argument
28 : cache_(cache),
37 // This method will block until the app window geometry cache registry will
195 // test will check if the geometry cache entry for the test window has
234 // These calls will block until the app window geometry cache will change.
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dget_file_for_saving_operation.cc28 internal::FileCache* cache,
32 FileError error = cache->OpenForWrite(local_id, file_closer);
46 internal::FileCache* cache,
56 cache,
62 cache_(cache),
26 OpenCacheFileForWrite( internal::ResourceMetadata* metadata, internal::FileCache* cache, const std::string& local_id, scoped_ptr<base::ScopedClosureRunner>* file_closer, ResourceEntry* entry) argument
40 GetFileForSavingOperation( EventLogger* logger, base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument
H A Dopen_file_operation.cc33 internal::FileCache* cache,
37 cache_(cache),
42 metadata, cache, temporary_file_directory)),
28 OpenFileOperation( base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument
H A Dremove_operation.cc23 // Removes cache file and moves the metadata entry to the trash.
25 internal::FileCache* cache,
49 error = cache->Remove(*local_id);
66 internal::FileCache* cache)
70 cache_(cache),
24 UpdateLocalState(internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& path, bool is_recursive, std::string* local_id, ResourceEntry* entry, base::FilePath* changed_path) argument
62 RemoveOperation( base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, internal::ResourceMetadata* metadata, internal::FileCache* cache) argument
H A Dtruncate_operation.cc30 // then marks the resource is dirty on |cache|.
32 internal::FileCache* cache,
37 DCHECK(cache);
40 FileError error = cache->OpenForWrite(local_id, &file_closer);
62 internal::FileCache* cache,
67 cache_(cache),
72 cache,
31 TruncateOnBlockingPool(internal::ResourceMetadata* metadata, internal::FileCache* cache, const std::string& local_id, const base::FilePath& local_cache_path, int64 length) argument
57 TruncateOperation( base::SequencedTaskRunner* blocking_task_runner, OperationDelegate* delegate, JobScheduler* scheduler, internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory) argument

Completed in 5132 milliseconds

1234567891011>>