Searched refs:mHashes (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | ArraySet.java | 79 int[] mHashes; field in ArraySet 95 int index = ContainerHelpers.binarySearch(mHashes, N, hash); in indexOf() 109 for (end = index + 1; end < N && mHashes[end] == hash; end++) { in indexOf() 114 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) { in indexOf() 134 int index = ContainerHelpers.binarySearch(mHashes, N, 0); in indexOfNull() 148 for (end = index + 1; end < N && mHashes[end] == 0; end++) { in indexOfNull() 153 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) { in indexOfNull() 173 mHashes = (int[]) array[1]; in allocArrays() 177 Log.d(TAG, "Retrieving 2x cache " + mHashes + " now have " in allocArrays() 198 mHashes = (int[]) array[1]; in allocArrays() [all …]
|
D | ArrayMap.java | 109 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 …]
|
D | HashedStringCache.java | 53 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()
|