Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DDenseImmutableTable.java105 @Nullable abstract V getValue(int keyIndex); in getValue() argument
119 Integer keyIndex = keyToIndex().get(key); in get() local
120 return (keyIndex == null) ? null : getValue(keyIndex); in get()
166 V getValue(int keyIndex) {
167 return values[rowIndex][keyIndex];
190 V getValue(int keyIndex) {
191 return values[keyIndex][columnIndex];
211 Map<C, V> getValue(int keyIndex) {
212 return new Row(keyIndex);
232 Map<R, V> getValue(int keyIndex) {
[all …]
DArrayTable.java196 private final ImmutableMap<K, Integer> keyIndex; field in ArrayTable.ArrayMap
198 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { in ArrayMap() argument
199 this.keyIndex = keyIndex; in ArrayMap()
204 return keyIndex.keySet(); in keySet()
208 return keyIndex.keySet().asList().get(index); in getKey()
219 return keyIndex.size(); in size()
224 return keyIndex.isEmpty(); in isEmpty()
266 return keyIndex.containsKey(key);
271 Integer index = keyIndex.get(key);
281 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.java118 int keyIndex = random.nextInt(nKeys); in call() local
119 String key = keys.get(keyIndex); in call()
125 deltas[keyIndex] += delta; in call()
131 deltas[keyIndex] += (newValue - oldValue); in call()
138 deltas[keyIndex] += (newValue - oldValue); in call()
145 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
151 deltas[keyIndex] -= delta; in call()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DArrayTable.java194 private final ImmutableMap<K, Integer> keyIndex; field in ArrayTable.ArrayMap
196 private ArrayMap(ImmutableMap<K, Integer> keyIndex) { in ArrayMap() argument
197 this.keyIndex = keyIndex; in ArrayMap()
202 return keyIndex.keySet(); in keySet()
206 return keyIndex.keySet().asList().get(index); in getKey()
217 return keyIndex.size(); in size()
222 return keyIndex.isEmpty(); in isEmpty()
264 return keyIndex.containsKey(key);
269 Integer index = keyIndex.get(key);
279 Integer index = keyIndex.get(key);
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DBlowfishEngine.java457 int keyIndex = 0; in setKey() local
466 data = (data << 8) | (key[keyIndex++] & 0xff); in setKey()
469 if (keyIndex >= keyLength) in setKey()
471 keyIndex = 0; in setKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DBlowfishEngine.java459 int keyIndex = 0; in setKey() local
468 data = (data << 8) | (key[keyIndex++] & 0xff); in setKey()
471 if (keyIndex >= keyLength) in setKey()
473 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/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/icu/icu4c/source/common/
Duresdata.cpp989 int32_t keyIndex, sortIndex; member
995 return (int32_t)uprv_strcmp(keyChars+((const Row *)left)->keyIndex, in ures_compareRows()
996 keyChars+((const Row *)right)->keyIndex); in ures_compareRows()
1186 pTempTable->rows[i].keyIndex=ds->readUInt16(pKey16[i]); in ures_swapResource()
1191 pTempTable->rows[i].keyIndex=udata_readInt32(ds, pKey32[i]); in ures_swapResource()
/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/skia/src/ports/
DSkFontHost_mac.cpp1901 CFIndex keyIndex = -1; in set_non_default_axes() local
1916 keyIndex = i; in set_non_default_axes()
1920 if (keyIndex == -1) { in set_non_default_axes()
1931 self->axisValue[keyIndex] = SkDoubleToFixed(valueDouble); in set_non_default_axes()
/external/skia/tools/bookmaker/
DincludeParser.cpp2029 int keyIndex = publicIndex; in parseClass() local
2043 while (child->fParentIndex > keyIndex && iter != includeDef->fTokens.end()) { in parseClass()
2048 ++keyIndex; in parseClass()
/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()