Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/util/
DLruMap.java25 private int cacheSize; field in LruMap
28 public LruMap(int cacheSize) { in LruMap() argument
29 super(cacheSize, 1, true); in LruMap()
30 this.cacheSize = cacheSize; in LruMap()
32 …meMillis() + " " + getClass().getCanonicalName() + ": Instantiated LRUMap with size " + cacheSize); in LruMap()
38 boolean shouldRemove = (size() > this.cacheSize); in removeEldestEntry()
/external/skqp/bench/
DSkGlyphCacheBench.cpp43 explicit SkGlyphCacheBasic(size_t cacheSize) : fCacheSize(cacheSize) { } in SkGlyphCacheBasic() argument
77 explicit SkGlyphCacheStressTest(int cacheSize) : fCacheSize(cacheSize) { } in SkGlyphCacheStressTest() argument
/external/xz-java/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java29 long cacheSize; field in RangeEncoder
58 cacheSize = 1; in reset()
90 } while (--cacheSize != 0); in shiftLow()
95 ++cacheSize; in shiftLow()
DRangeEncoderToBuffer.java37 return bufPos + (int)cacheSize + 5 - 1; in getPendingSize()
/external/skia/bench/
DSkGlyphCacheBench.cpp44 explicit SkGlyphCacheBasic(size_t cacheSize) : fCacheSize(cacheSize) { } in SkGlyphCacheBasic() argument
78 explicit SkGlyphCacheStressTest(int cacheSize) : fCacheSize(cacheSize) { } in SkGlyphCacheStressTest() argument
/external/angle/src/tests/egl_tests/
DEGLProgramCacheControlTest.cpp134 EGLint cacheSize = eglProgramCacheGetAttribANGLE(display, EGL_PROGRAM_CACHE_SIZE_ANGLE); in TEST_P() local
135 ASSERT_EQ(1, cacheSize); in TEST_P()
199 EGLint cacheSize = eglProgramCacheGetAttribANGLE(display, EGL_PROGRAM_CACHE_SIZE_ANGLE); in TEST_P() local
200 EXPECT_EQ(1, cacheSize); in TEST_P()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCacheResponse.java29 int cacheSize = 10 * 1024 * 1024; // 10 MiB in CacheResponse() local
30 Cache cache = new Cache(cacheDirectory, cacheSize); in CacheResponse()
/external/swiftshader/src/Device/
DVertexProcessor.cpp70 void VertexProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
73 routineCache = new RoutineCacheType(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
DSetupProcessor.cpp119 void SetupProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
122 routineCache = new RoutineCacheType(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
DPixelProcessor.cpp87 void PixelProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
90 routineCache = new RoutineCacheType(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
DSetupProcessor.hpp80 void setRoutineCacheSize(int cacheSize);
DVertexProcessor.hpp101 void setRoutineCacheSize(int cacheSize);
/external/lzma/C/
DBcj2Enc.c39 p->cacheSize = 1; in Bcj2Enc_Init()
71 while (--p->cacheSize); in RangeEnc_ShiftLow()
75 p->cacheSize++; in RangeEnc_ShiftLow()
DBcj2.h109 UInt64 cacheSize; member
DLzmaEnc.c262 UInt64 cacheSize; member
539 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
540 …GetProcessed_sizet(p) ((size_t)(p)->processed + ((p)->buf - (p)->bufBase) + (size_t)(p)->cacheSize)
568 p->cacheSize = 0; in RangeEnc_Init()
602 if (p->cacheSize == 0) in RangeEnc_ShiftLow()
613 if (--p->cacheSize == 0) in RangeEnc_ShiftLow()
617 p->cacheSize++; in RangeEnc_ShiftLow()
/external/swiftshader/src/Renderer/
DSetupProcessor.cpp241 void SetupProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
244 routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
DSetupProcessor.hpp96 void setRoutineCacheSize(int cacheSize);
DVertexProcessor.hpp290 void setRoutineCacheSize(int cacheSize);
DVertexProcessor.cpp895 void VertexProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
898 routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
DPixelProcessor.cpp929 void PixelProcessor::setRoutineCacheSize(int cacheSize) in setRoutineCacheSize() argument
932 routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.h203 void SetCache(size_t cacheSize, size_t cachePos) in SetCache() argument
206 _cacheSize = cacheSize; in SetCache()
/external/OpenCL-CTS/test_conformance/api/
Dtest_queries.cpp422 cl_ulong cacheSize; in test_get_device_info()
423 …TEST_DEVICE_PARAM_MEM( deviceID, CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, cacheSize, "global mem cache siz… in test_get_device_info()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_wrapper.h539 VkResult getCacheData(VkDevice device, size_t *cacheSize, void *cacheData);
1500 size_t *cacheSize,
1511 return vkGetPipelineCacheData(device, mHandle, cacheSize, cacheData);
/external/skqp/src/gpu/
DSkGpuDevice.cpp742 size_t cacheSize; in shouldTileImageID() local
743 fContext->getResourceCacheLimits(nullptr, &cacheSize); in shouldTileImageID()
744 if (bmpSize < cacheSize / 2) { in shouldTileImageID()
/external/skia/src/gpu/
DSkGpuDevice.cpp731 size_t cacheSize = fContext->getResourceCacheLimit(); in shouldTileImageID() local
732 if (bmpSize < cacheSize / 2) { in shouldTileImageID()