/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
SandboxFactory.java | 15 /** The factor for cache size. See {@link #CACHE_SIZE} for details. */ 19 private static final int CACHE_SIZE = SdkConfig.getSupportedApis().size() * CACHE_SIZE_FACTOR; 25 return size() > CACHE_SIZE;
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutCache.java | 33 private static final int CACHE_SIZE = 30; // Max number shortcuts we cache. 40 mCachedShortcuts = new LruCache<>(CACHE_SIZE);
|
/external/icu/icu4c/source/common/ |
rbbi_cache.h | 181 static inline int32_t modChunkSize(int index) { return index & (CACHE_SIZE - 1); }; 183 static constexpr int32_t CACHE_SIZE = 128; 184 static_assert((CACHE_SIZE & (CACHE_SIZE-1)) == 0, "CACHE_SIZE must be power of two."); 193 int32_t fBoundaries[CACHE_SIZE]; 194 uint16_t fStatuses[CACHE_SIZE];
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
ThreadLocalCoders.java | 38 private static final int CACHE_SIZE = 3; 88 private static Cache decoderCache = new Cache(CACHE_SIZE) { 112 private static Cache encoderCache = new Cache(CACHE_SIZE) {
|
/frameworks/base/services/core/java/com/android/server/ |
AttributeCache.java | 38 private static final int CACHE_SIZE = 4; 44 private final LruCache<String, Package> mPackages = new LruCache<>(CACHE_SIZE);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
CursorObjectAdapter.java | 25 private static final int CACHE_SIZE = 100; 28 private final LruCache<Integer, Object> mItemCache = new LruCache<Integer, Object>(CACHE_SIZE);
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 41 private static final int CACHE_SIZE = 73; 42 private static Object[] sCache = new Object[CACHE_SIZE]; 117 int bucket = (kind.hashCode() & 0x7FFFFFFF) % CACHE_SIZE;
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
FontFamily_Delegate.java | 73 private static final int CACHE_SIZE = 10; 77 new LinkedHashMap<String, FontInfo>(CACHE_SIZE) { 80 return size() > CACHE_SIZE;
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
URICertStore.java | 98 private final static int CACHE_SIZE = 185; 188 certStoreCache = Cache.newSoftMemoryCache(CACHE_SIZE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
MediaSetSource.java | 124 private static final int CACHE_SIZE = 32; 130 private MediaItem mCache[] = new MediaItem[CACHE_SIZE]; 153 ArrayList<MediaItem> items = mSource.getMediaItem(mCacheStart, CACHE_SIZE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlotRenderer.java | 38 private static final int CACHE_SIZE = 96; 90 mDataWindow = new AlbumSlidingWindow(mActivity, model, CACHE_SIZE);
|
AlbumSetSlotRenderer.java | 36 private static final int CACHE_SIZE = 96; 110 mActivity, model, mLabelSpec, CACHE_SIZE);
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
CapabilitiesCache.java | 61 private static final int CACHE_SIZE = 100; 84 super(CACHE_SIZE);
|
/external/strace/ |
socketutils.c | 56 #define CACHE_SIZE 1024U 57 static cache_entry cache[CACHE_SIZE]; 58 #define CACHE_MASK (CACHE_SIZE - 1)
|
/frameworks/base/core/java/android/util/ |
ArraySet.java | 59 private static final int CACHE_SIZE = 10; 214 if (sTwiceBaseCacheSize < CACHE_SIZE) { 230 if (sBaseCacheSize < CACHE_SIZE) {
|
ArrayMap.java | 73 private static final int CACHE_SIZE = 10; 231 if (mTwiceBaseCacheSize < CACHE_SIZE) { 245 if (mBaseCacheSize < CACHE_SIZE) { [all...] |
/frameworks/support/collection/src/main/java/androidx/collection/ |
ArraySet.java | 65 private static final int CACHE_SIZE = 10; 203 if (sTwiceBaseCacheSize < CACHE_SIZE) { 219 if (sBaseCacheSize < CACHE_SIZE) {
|
SimpleArrayMap.java | 55 private static final int CACHE_SIZE = 10; 200 if (mTwiceBaseCacheSize < CACHE_SIZE) { 214 if (mBaseCacheSize < CACHE_SIZE) {
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 94 private final static int CACHE_SIZE = 1; 96 new BasicLruCache<String, ZoneInfo>(CACHE_SIZE) {
|
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 90 #define CACHE_SIZE 8 91 #define WRITE_DIRECT_SIZE 4 /* Must be smaller than CACHE_SIZE */ 92 #define READ_DIRECT_SIZE 4 /* Should be smaller than CACHE_SIZE */ 101 struct unix_cache cache[CACHE_SIZE]; 327 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) { 353 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) { 379 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) { 426 for (i=0, cache = data->cache; i < CACHE_SIZE; i++, cache++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 81 private static final int CACHE_SIZE = 16; 82 private static final int CACHE_SIZE_START_MOVE = CACHE_SIZE / 2; 83 private int[] mKey = new int[CACHE_SIZE]; 84 private V[] mValue = (V[]) new Object[CACHE_SIZE]; 90 if (mCount == CACHE_SIZE) { 91 V old = mValue[CACHE_SIZE - 1]; // remove the last item 92 mKey[CACHE_SIZE - 1] = key; 93 mValue[CACHE_SIZE - 1] = value;
|
/external/javassist/src/main/javassist/bytecode/ |
ConstPool.java | 42 private static final int CACHE_SIZE = 32; 45 * A hash function for CACHE_SIZE 131 constInfoCache = new ConstInfo[CACHE_SIZE]; 132 constInfoIndexCache = new int[CACHE_SIZE]; 144 constInfoCache = new ConstInfo[CACHE_SIZE]; 145 constInfoIndexCache = new int[CACHE_SIZE]; 155 constInfoCache = new ConstInfo[CACHE_SIZE]; 156 constInfoIndexCache = new int[CACHE_SIZE]; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RuleBasedBreakIterator.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RuleBasedBreakIterator.java | [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
Mmc.h | 285 UINT8 CACHE_SIZE[4]; // Cache size [252:249]
|