Home
last modified time | relevance | path

Searched refs:mHashes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DArraySet.java78 int[] mHashes; field in ArraySet
94 int index = ContainerHelpers.binarySearch(mHashes, N, hash); in indexOf()
108 for (end = index + 1; end < N && mHashes[end] == hash; end++) { in indexOf()
113 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) { in indexOf()
133 int index = ContainerHelpers.binarySearch(mHashes, N, 0); in indexOfNull()
147 for (end = index + 1; end < N && mHashes[end] == 0; end++) { in indexOfNull()
152 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) { in indexOfNull()
172 mHashes = (int[]) array[1]; in allocArrays()
176 Log.d(TAG, "Retrieving 2x cache " + mHashes + " now have " in allocArrays()
197 mHashes = (int[]) array[1]; in allocArrays()
[all …]
DArrayMap.java109 int[] mHashes; field in ArrayMap
137 int index = binarySearchHashes(mHashes, N, hash); in indexOf()
151 for (end = index + 1; end < N && mHashes[end] == hash; end++) { in indexOf()
156 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) { in indexOf()
176 int index = binarySearchHashes(mHashes, N, 0); in indexOfNull()
190 for (end = index + 1; end < N && mHashes[end] == 0; end++) { in indexOfNull()
195 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) { in indexOfNull()
208 if (mHashes == EMPTY_IMMUTABLE_INTS) { in allocArrays()
217 mHashes = (int[])array[1]; in allocArrays()
220 if (DEBUG) Log.d(TAG, "Retrieving 2x cache " + mHashes in allocArrays()
[all …]
DHashedStringCache.java53 private final LruCache<String, String> mHashes; field in HashedStringCache
65 mHashes = new LruCache<>(HASH_CACHE_SIZE); in HashedStringCache()
107 String hashText = mHashes.get(clearText); in hashString()
118 mHashes.put(clearText, hashText); in hashString()
158 mHashes.evictAll(); in populateSaltValues()