HomeSort by relevance Sort by last modified time
    Searched full:cachesize (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/webkit/Source/JavaScriptCore/runtime/
NumericStrings.h 49 if (static_cast<unsigned>(i) < cacheSize)
61 if (i < cacheSize)
71 static const size_t cacheSize = 64;
79 CacheEntry<double>& lookup(double d) { return doubleCache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; }
80 CacheEntry<int>& lookup(int i) { return intCache[WTF::IntHash<int>::hash(i) & (cacheSize - 1)]; }
81 CacheEntry<unsigned>& lookup(unsigned i) { return unsignedCache[WTF::IntHash<unsigned>::hash(i) & (cacheSize - 1)]; }
84 ASSERT(i < cacheSize);
90 FixedArray<CacheEntry<double>, cacheSize> doubleCache;
91 FixedArray<CacheEntry<int>, cacheSize> intCache;
92 FixedArray<CacheEntry<unsigned>, cacheSize> unsignedCache
    [all...]
DateInstanceCache.h 64 for (size_t i = 0; i < cacheSize; ++i)
80 static const size_t cacheSize = 16;
87 CacheEntry& lookup(double d) { return m_cache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; }
89 FixedArray<CacheEntry, cacheSize> m_cache;
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageStatsTest.java 30 long cacheSize = 10240;
36 stats.cacheSize = codeSize;
37 stats.codeSize = cacheSize;
58 assertEquals(expected.cacheSize, actual.cacheSize);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LRUCache.java 29 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).
44 private int cacheSize;
49 * @param cacheSize
52 public LRUCache(int cacheSize) {
53 this.cacheSize = cacheSize;
54 int hashTableCapacity = (int) Math.ceil(cacheSize / LRUCache.hashTableLoadFactor) + 1;
62 return this.size() > LRUCache.this.cacheSize;
  /frameworks/base/core/java/android/content/pm/
PackageStats.java 40 public long cacheSize;
87 sb.append(",cacheSize=");
88 sb.append(cacheSize);
110 cacheSize = source.readLong();
122 cacheSize = pStats.cacheSize;
138 dest.writeLong(cacheSize);
  /external/webkit/Source/WebCore/platform/graphics/cg/
ColorCG.cpp 113 const size_t cacheSize = 32;
114 static RGBA32 cachedRGBAValues[cacheSize];
115 static RetainPtr<CGColorRef>* cachedCGColors = new RetainPtr<CGColorRef>[cacheSize];
117 for (size_t i = 0; i < cacheSize; ++i) {
127 if (++cursor == cacheSize)
  /external/webkit/Source/WebCore/platform/graphics/mac/
ColorMac.mm 87 const int cacheSize = 32;
88 static unsigned cachedRGBAValues[cacheSize];
89 static RetainPtr<NSColor>* cachedColors = new RetainPtr<NSColor>[cacheSize];
91 for (int i = 0; i != cacheSize; ++i) {
104 if (++cursor == cacheSize)
  /frameworks/base/core/tests/coretests/src/android/view/
BigCache.java 44 final int cacheSize = ViewConfiguration.getMaximumDrawingCacheSize();
58 final int height = 2 * (cacheSize / 2) / screenWidth;
  /external/dnsmasq/contrib/slackware-dnsmasq/
dnsmasq.leasedir.diff.gz 
  /frameworks/native/opengl/libs/EGL/
egl_cache.cpp 217 size_t cacheSize = mBlobCache->getFlattenedSize();
243 size_t fileSize = headerSize + cacheSize;
262 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize, NULL,
276 *crc = crc32c(buf + headerSize, cacheSize);
322 size_t cacheSize = fileSize - headerSize;
329 if (crc32c(buf + headerSize, cacheSize) != *crc) {
335 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL,
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityNodeInfoCache.java 233 final int cacheSize = mCacheImpl.size();
234 for (int i = 0; i < cacheSize; i++) {
250 final int cacheSize = mCacheImpl.size();
251 for (int i = 0; i < cacheSize; i++) {
329 final int cacheSize = mCacheImpl.size();
330 for (int i = 0; i < cacheSize; i++) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumSetDataLoader.java 78 public AlbumSetDataLoader(GalleryActivity activity, MediaSet albumSet, int cacheSize) {
80 mCoverItem = new MediaItem[cacheSize];
81 mData = new MediaSet[cacheSize];
82 mTotalCount = new int[cacheSize];
83 mItemVersion = new long[cacheSize];
84 mSetVersion = new long[cacheSize];
  /external/webkit/Source/WebKit/android/jni/
WebStorage.cpp 97 int64_t cacheSize = 0;
98 WebCore::cacheStorage().cacheGroupSize(manifestUrls[i].string(), &cacheSize);
99 usage += cacheSize;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 133 /** statement cache stats: hits/misses/cachesize */
137 int hits, int misses, int cachesize) {
142 this.cache = hits + "/" + misses + "/" + cachesize;
  /development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
DiskLruCache.java 56 private int cacheSize = 0;
138 cacheSize = mLinkedHashMap.size();
155 (cacheSize > maxCacheItemSize || cacheByteSize > maxCacheByteSize)) {
161 cacheSize = mLinkedHashMap.size();
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
ModelConverter.java 65 public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int minStripSize){
68 ts.setCacheSize(cacheSize);
  /packages/apps/Settings/src/com/android/settings/applications/
ApplicationsState.java 71 long cacheSize;
79 // this with cacheSize because currently the platform can't
689 sum += mAppEntries.get(i).cacheSize;
829 entry.cacheSize != stats.cacheSize ||
836 entry.cacheSize = stats.cacheSize;
    [all...]
InstalledAppDetails.java 695 long cacheSize = mAppEntry.cacheSize + mAppEntry.externalCacheSize;
696 if (mLastCacheSize != cacheSize) {
697 mLastCacheSize = cacheSize;
698 mCacheSize.setText(getSizeStr(cacheSize));
711 if (cacheSize <= 0) {
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
TriStrip.java 68 int cacheSize = CACHESIZE_GEFORCE1_2;
96 cacheSize = _cacheSize;
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces);
  /frameworks/base/cmds/installd/
installd.c 84 int64_t cachesize = 0; local
89 res = get_size(arg[0], arg[1], arg[2], arg[3], &codesize, &datasize, &cachesize, &asecsize);
96 codesize, datasize, cachesize, asecsize);
installd.h 156 const char *asecpath, int64_t *codesize, int64_t *datasize, int64_t *cachesize,
  /external/dnsmasq/src/
cache.c 81 bignames_left = daemon->cachesize/10;
83 if (daemon->cachesize > 0)
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec));
87 for (i=0; i < daemon->cachesize; i++, crecp++)
96 rehash(daemon->cachesize);
871 int i, total_size = daemon->cachesize;
901 if (daemon->cachesize > 0)
1131 daemon->cachesize, cache_live_freed, cache_inserted);
    [all...]
  /frameworks/base/docs/html/training/displaying-bitmaps/
cache-bitmap.jd 110 final int cacheSize = 1024 * 1024 * memClass / 8;
112 mMemoryCache = new LruCache<String, Bitmap>(cacheSize) {
304 mMemoryCache = new LruCache<String, Bitmap>(cacheSize) {
  /frameworks/base/core/java/android/util/
LruCache.java 39 * int cacheSize = 4 * 1024 * 1024; // 4MiB
40 * LruCache<String, Bitmap> bitmapCache = new LruCache<String, Bitmap>(cacheSize) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSlidingWindow.java 76 AlbumDataLoader source, int cacheSize) {
79 mData = new AlbumEntry[cacheSize];

Completed in 1114 milliseconds

1 2 3 4