Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DArraySet.java90 int[] mHashes; field in ArraySet
115 int index = binarySearch(mHashes, hash); in indexOf()
129 for (end = index + 1; end < N && mHashes[end] == hash; end++) { in indexOf()
134 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) { in indexOf()
154 int index = binarySearch(mHashes, 0); in indexOfNull()
168 for (end = index + 1; end < N && mHashes[end] == 0; end++) { in indexOfNull()
173 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) { in indexOfNull()
193 mHashes = (int[]) array[1]; in allocArrays()
194 if (mHashes != null) { in allocArrays()
198 Log.d(TAG, "Retrieving 2x cache " + Arrays.toString(mHashes) in allocArrays()
[all …]
DArrayMap.java121 int[] mHashes; field in ArrayMap
149 int index = binarySearchHashes(mHashes, N, hash); in indexOf()
163 for (end = index + 1; end < N && mHashes[end] == hash; end++) { in indexOf()
168 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) { in indexOf()
188 int index = binarySearchHashes(mHashes, N, 0); in indexOfNull()
202 for (end = index + 1; end < N && mHashes[end] == 0; end++) { in indexOfNull()
207 for (int i = index - 1; i >= 0 && mHashes[i] == 0; i--) { in indexOfNull()
220 if (mHashes == EMPTY_IMMUTABLE_INTS) { in allocArrays()
230 mHashes = (int[]) array[1]; in allocArrays()
231 if (mHashes != null) { 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()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h152 : mReader(reader), mToStrings(toStrings), mEquals(equals), mHashes(hashes) {}
176 mHash = mHashes(mValue);
210 const Hashes mHashes;