Home
last modified time | relevance | path

Searched refs:keyIndex (Results 1 – 20 of 20) sorted by relevance

/external/guava/android/guava/src/com/google/common/collect/
DRegularImmutableMap.java109 int keyIndex = 2 * i + keyOffset; in createHashTable() local
110 Object key = alternatingKeysAndValues[keyIndex]; in createHashTable()
111 Object value = alternatingKeysAndValues[keyIndex ^ 1]; in createHashTable()
117 hashTable[h] = (byte) keyIndex; in createHashTable()
136 int keyIndex = 2 * i + keyOffset; in createHashTable() local
137 Object key = alternatingKeysAndValues[keyIndex]; in createHashTable()
138 Object value = alternatingKeysAndValues[keyIndex ^ 1]; in createHashTable()
144 hashTable[h] = (short) keyIndex; in createHashTable()
160 int keyIndex = 2 * i + keyOffset; in createHashTable() local
161 Object key = alternatingKeysAndValues[keyIndex]; in createHashTable()
[all …]
DDenseImmutableTable.java103 abstract V getValue(int keyIndex); in getValue() argument
117 Integer keyIndex = keyToIndex().get(key); in get() local
118 return (keyIndex == null) ? null : getValue(keyIndex); in get()
155 V getValue(int keyIndex) { in getValue() argument
156 return values[rowIndex][keyIndex]; in getValue()
179 V getValue(int keyIndex) { in getValue() argument
180 return values[keyIndex][columnIndex]; in getValue()
201 ImmutableMap<C, V> getValue(int keyIndex) { in getValue() argument
202 return new Row(keyIndex); in getValue()
223 ImmutableMap<R, V> getValue(int keyIndex) { in getValue() argument
[all …]
DArrayTable.java174 private final ImmutableMap<K, Integer> keyIndex; field in ArrayTable.ArrayMap
176 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { in ArrayMap() argument
177 this.keyIndex = keyIndex; in ArrayMap()
182 return keyIndex.keySet(); in keySet()
186 return keyIndex.keySet().asList().get(index); in getKey()
199 return keyIndex.size(); in size()
204 return keyIndex.isEmpty(); in isEmpty()
241 return keyIndex.containsKey(key);
246 Integer index = keyIndex.get(key);
256 Integer index = keyIndex.get(key);
[all …]
/external/guava/guava/src/com/google/common/collect/
DDenseImmutableTable.java102 abstract @Nullable V getValue(int keyIndex); in getValue() argument
116 Integer keyIndex = keyToIndex().get(key); in get() local
117 return (keyIndex == null) ? null : getValue(keyIndex); in get()
154 V getValue(int keyIndex) { in getValue() argument
155 return values[rowIndex][keyIndex]; in getValue()
178 V getValue(int keyIndex) { in getValue() argument
179 return values[keyIndex][columnIndex]; in getValue()
200 ImmutableMap<C, V> getValue(int keyIndex) { in getValue() argument
201 return new Row(keyIndex); in getValue()
222 ImmutableMap<R, V> getValue(int keyIndex) { in getValue() argument
[all …]
DArrayTable.java175 private final ImmutableMap<K, Integer> keyIndex; field in ArrayTable.ArrayMap
177 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { in ArrayMap() argument
178 this.keyIndex = keyIndex; in ArrayMap()
183 return keyIndex.keySet(); in keySet()
187 return keyIndex.keySet().asList().get(index); in getKey()
198 return keyIndex.size(); in size()
203 return keyIndex.isEmpty(); in isEmpty()
245 return keyIndex.containsKey(key);
250 Integer index = keyIndex.get(key);
260 Integer index = keyIndex.get(key);
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DPreFillQueue.java12 private int keyIndex; field in PreFillQueue
25 PreFillType result = keyList.get(keyIndex); in remove()
30 keyList.remove(keyIndex); in remove()
37 keyIndex = keyList.isEmpty() ? 0 : (keyIndex + 1) % keyList.size(); in remove()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java120 int keyIndex = random.nextInt(nKeys); in call() local
121 String key = keys.get(keyIndex); in call()
128 deltas[keyIndex] += delta; in call()
135 deltas[keyIndex] += (newValue - oldValue); in call()
143 deltas[keyIndex] += (newValue - oldValue); in call()
151 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
158 deltas[keyIndex] -= delta; in call()
/external/guava/android/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java120 int keyIndex = random.nextInt(nKeys); in call() local
121 String key = keys.get(keyIndex); in call()
128 deltas[keyIndex] += delta; in call()
135 deltas[keyIndex] += (newValue - oldValue); in call()
143 deltas[keyIndex] += (newValue - oldValue); in call()
151 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
158 deltas[keyIndex] -= delta; in call()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java458 int keyIndex = 0; in setKey() local
467 data = (data << 8) | (key[keyIndex++] & 0xff); in setKey()
470 if (keyIndex >= keyLength) in setKey()
472 keyIndex = 0; in setKey()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketProtocol.java90 int keyIndex = (int) (frameBytesRead % keyLength); in toggleMask() local
91 buffer[i] = (byte) (buffer[i] ^ key[keyIndex]); in toggleMask()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DBlowfishEngine.java460 int keyIndex = 0; in setKey() local
469 data = (data << 8) | (key[keyIndex++] & 0xff); in setKey()
472 if (keyIndex >= keyLength) in setKey()
474 keyIndex = 0; in setKey()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/
DBlowfishEngine.java460 int keyIndex = 0; in setKey() local
469 data = (data << 8) | (key[keyIndex++] & 0xff); in setKey()
472 if (keyIndex >= keyLength) in setKey()
474 keyIndex = 0; in setKey()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DPersistentHashArrayMappedTrie.java157 int keyIndex; in put() local
162 } else if ((keyIndex = indexOfKey(key)) != -1) { in put()
166 newKeys[keyIndex] = key; in put()
167 newValues[keyIndex] = value; in put()
/external/arm-trusted-firmware/include/drivers/arm/cryptocell/713/
Dbsv_api.h130 …CCSbPubKeyIndexType_t keyIndex, /*!< [in] Enumeration defining the key hash to retrieve: 128-b…
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMusicKeyboardView.java94 public void onKeyDown(int keyIndex); in onKeyDown() argument
97 public void onKeyUp(int keyIndex); in onKeyUp() argument
/external/icu/icu4c/source/common/
Duresdata.cpp1025 int32_t keyIndex, sortIndex; member
1031 return (int32_t)uprv_strcmp(keyChars+((const Row *)left)->keyIndex, in ures_compareRows()
1032 keyChars+((const Row *)right)->keyIndex); in ures_compareRows()
1222 pTempTable->rows[i].keyIndex=ds->readUInt16(pKey16[i]); in ures_swapResource()
1227 pTempTable->rows[i].keyIndex=udata_readInt32(ds, pKey32[i]); in ures_swapResource()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java583 int keyIndex = ilst.readInt() - 1; in parseMdtaFromMeta() local
584 if (keyIndex >= 0 && keyIndex < keyNames.length) { in parseMdtaFromMeta()
585 String key = keyNames[keyIndex]; in parseMdtaFromMeta()
593 Log.w(TAG, "Skipped metadata with unknown key index: " + keyIndex); in parseMdtaFromMeta()
/external/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp948 static Int32 FindCharset(const NCommandLineParser::CParser &parser, unsigned keyIndex, in FindCharset() argument
951 if (!parser[keyIndex].ThereIs) in FindCharset()
954 UString name (parser[keyIndex].PostStrings.Back()); in FindCharset()
/external/skqp/src/ports/
DSkFontHost_mac.cpp1900 CFIndex keyIndex = -1; in set_non_default_axes() local
1915 keyIndex = i; in set_non_default_axes()
1919 if (keyIndex == -1) { in set_non_default_axes()
1930 self->axisValue[keyIndex] = SkDoubleToFixed(valueDouble); in set_non_default_axes()
/external/skqp/tools/bookmaker/
DincludeParser.cpp2028 int keyIndex = publicIndex; in parseClass() local
2042 while (child->fParentIndex > keyIndex && iter != includeDef->fTokens.end()) { in parseClass()
2047 ++keyIndex; in parseClass()