Searched refs:cache (Results 1 - 7 of 7) sorted by relevance

/system/core/libutils/tests/
H A DLruCache_test.cpp122 LruCache<SimpleKey, StringValue> cache(100);
124 EXPECT_EQ(NULL, cache.get(0));
125 EXPECT_EQ(0u, cache.size());
129 LruCache<SimpleKey, StringValue> cache(100);
131 cache.put(1, "one");
132 cache.put(2, "two");
133 cache.put(3, "three");
134 EXPECT_STREQ("one", cache.get(1));
135 EXPECT_STREQ("two", cache.get(2));
136 EXPECT_STREQ("three", cache
[all...]
/system/core/liblog/
H A Dlog_is_loggable.c26 struct cache { struct
32 static void refresh_cache(struct cache *cache, const char *key) argument
37 if (!cache->pinfo) {
38 cache->pinfo = __system_property_find(key);
39 if (!cache->pinfo) {
43 serial = __system_property_serial(cache->pinfo);
44 if (serial == cache->serial) {
47 cache->serial = serial;
48 __system_property_read(cache
[all...]
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h82 // pretty simple cache API...
88 int cache( const AssemblyKeyBase& key,
H A DCodeCache.cpp50 // A dlmalloc mspace is used to manage the code cache over a mmaped region.
84 int fd = ashmem_create_region("CodeFlinger code cache",
87 "Creating code cache, ashmem_create_region "
93 "Creating code cache, mmap failed with error "
145 "Failed to resize Assembly to %zd in code cache "
178 int CodeCache::cache( const AssemblyKeyBase& keyBase, function in class:android::CodeCache
/system/core/include/utils/
H A DLruCache.h55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) { argument
/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh32 CACHE="/dev/block/platform/omap/omap_hsmmc.0/by-name/cache"
38 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/cache"
65 CACHE="/dev/block/platform/dw_mmc.0/by-name/cache"
71 CACHE="dev/block/platform/msm_sdcc.1/by-name/cache"
103 adb shell umount /cache >/dev/null 2>&1
231 # (and with a read-ahead of 128K), we quickly fill the buffer cache with 100
236 # have and it should keep the cache from being poluted with entries from
279 # Make a new empty /cache filesystem
/system/core/libpixelflinger/
H A Dscanline.cpp417 // finally, cache this assembly
418 err = gCodeCache.cache(a->key(), a) < 0;
1924 // (and i-cache pressure).

Completed in 153 milliseconds