Home
last modified time | relevance | path

Searched refs:cacheSize (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/JavaScriptCore/runtime/
DNumericStrings.h49 if (static_cast<unsigned>(i) < cacheSize) in add()
61 if (i < cacheSize) in add()
71 static const size_t cacheSize = 64;
79 …ouble>& lookup(double d) { return doubleCache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; } in lookup()
80 … CacheEntry<int>& lookup(int i) { return intCache[WTF::IntHash<int>::hash(i) & (cacheSize - 1)]; } in lookup()
81 …d>& lookup(unsigned i) { return unsignedCache[WTF::IntHash<unsigned>::hash(i) & (cacheSize - 1)]; } in lookup()
84 ASSERT(i < cacheSize); in lookupSmallString()
90 FixedArray<CacheEntry<double>, cacheSize> doubleCache;
91 FixedArray<CacheEntry<int>, cacheSize> intCache;
92 FixedArray<CacheEntry<unsigned>, cacheSize> unsignedCache;
[all …]
DDateInstanceCache.h64 for (size_t i = 0; i < cacheSize; ++i) in reset()
80 static const size_t cacheSize = 16;
87 …CacheEntry& lookup(double d) { return m_cache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; } in lookup()
89 FixedArray<CacheEntry, cacheSize> m_cache;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLRUCache.java44 private int cacheSize; field in LRUCache
52 public LRUCache(int cacheSize) { in LRUCache() argument
53 this.cacheSize = cacheSize; in LRUCache()
54 int hashTableCapacity = (int) Math.ceil(cacheSize / LRUCache.hashTableLoadFactor) + 1; in LRUCache()
62 return this.size() > LRUCache.this.cacheSize; in LRUCache()
/external/webkit/Source/WebCore/platform/graphics/cg/
DColorCG.cpp113 const size_t cacheSize = 32; in cachedCGColor() local
114 static RGBA32 cachedRGBAValues[cacheSize]; in cachedCGColor()
115 static RetainPtr<CGColorRef>* cachedCGColors = new RetainPtr<CGColorRef>[cacheSize]; in cachedCGColor()
117 for (size_t i = 0; i < cacheSize; ++i) { in cachedCGColor()
127 if (++cursor == cacheSize) in cachedCGColor()
/external/webkit/Source/WebCore/platform/graphics/mac/
DColorMac.mm87 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)
/external/webkit/Source/WebKit/android/jni/
DWebStorage.cpp97 int64_t cacheSize = 0; in GetUsageForOrigin() local
98 WebCore::cacheStorage().cacheGroupSize(manifestUrls[i].string(), &cacheSize); in GetUsageForOrigin()
99 usage += cacheSize; in GetUsageForOrigin()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DTriStrip.java68 int cacheSize = CACHESIZE_GEFORCE1_2; field in TriStrip
96 cacheSize = _cacheSize; in setCacheSize()
142 stripifier.stripify(tempIndices, cacheSize, minStripSize, maxIndex, tempStrips, tempFaces); in generateStrips()
DStripifier.java49 int cacheSize; field in Stripifier
748 VertexCache vcache = new VertexCache(cacheSize); in removeSmallStrips()
1079 int threshold = cacheSize; in splitUpStripsAndOptimize()
1213 VertexCache vcache = new VertexCache(cacheSize); in splitUpStripsAndOptimize()
1339 cacheSize = Math.max(1, in_cacheSize - CACHE_INEFFICIENCY); in stripify()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java65 …public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int … in generateStrips() argument
68 ts.setCacheSize(cacheSize); in generateStrips()
/external/valgrind/main/helgrind/
Dhg_wordset.h53 Word cacheSize );
Dhg_wordset.c359 Word cacheSize ) in HG_()
375 WCache_INIT(wsu->cache_addTo, cacheSize); in HG_()
376 WCache_INIT(wsu->cache_delFrom, cacheSize); in HG_()
377 WCache_INIT(wsu->cache_intersect, cacheSize); in HG_()
378 WCache_INIT(wsu->cache_minus, cacheSize); in HG_()
/external/skia/src/gpu/
DSkGpuDevice.cpp1285 size_t cacheSize; in shouldTileBitmap() local
1286 fContext->getTextureCacheLimits(NULL, &cacheSize); in shouldTileBitmap()
1287 if (bmpSize < cacheSize / 2) { in shouldTileBitmap()
/external/webkit/Source/WebCore/dom/
DElement.cpp1042 size_t cacheSize = pseudoStyleCache->size(); in pseudoStyleCacheIsInvalid() local
1043 for (size_t i = 0; i < cacheSize; ++i) { in pseudoStyleCacheIsInvalid()
/external/jmonkeyengine/
DNOTICE4754 * This cache has a fixed maximum number of elements (<code>cacheSize</code>).