Home
last modified time | relevance | path

Searched refs:keyOffset (Results 1 – 13 of 13) sorted by relevance

/external/guava/android/guava/src/com/google/common/collect/
DRegularImmutableBiMap.java35 private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K field in RegularImmutableBiMap
44 this.keyOffset = 0; in RegularImmutableBiMap()
53 this.keyOffset = 0; in RegularImmutableBiMap()
71 this.keyOffset = 1; in RegularImmutableBiMap()
90 RegularImmutableMap.get(keyHashTable, alternatingKeysAndValues, size, keyOffset, key); in get()
95 return new RegularImmutableMap.EntrySet<K, V>(this, alternatingKeysAndValues, keyOffset, size); in createEntrySet()
103 new RegularImmutableMap.KeysOrValuesAsList(alternatingKeysAndValues, keyOffset, size); in createKeySet()
DRegularImmutableMap.java90 Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) { in createHashTable() argument
94 alternatingKeysAndValues[keyOffset], alternatingKeysAndValues[keyOffset ^ 1]); in createHashTable()
109 int keyIndex = 2 * i + keyOffset; in createHashTable()
136 int keyIndex = 2 * i + keyOffset; in createHashTable()
160 int keyIndex = 2 * i + keyOffset; in createHashTable()
214 int keyOffset, in get() argument
219 return alternatingKeysAndValues[keyOffset].equals(key) in get()
220 ? alternatingKeysAndValues[keyOffset ^ 1] in get()
272 private final transient int keyOffset; field in RegularImmutableMap.EntrySet
275 EntrySet(ImmutableMap<K, V> map, Object[] alternatingKeysAndValues, int keyOffset, int size) { in EntrySet() argument
[all …]
/external/libese/apps/weaver/card/src/com/android/weaver/core/
DCoreSlots.java53 public void write(short rawSlotId, byte[] key, short keyOffset, in write() argument
56 mSlots[slotId].write(key, keyOffset, value, valueOffset); in write()
60 public byte read(short rawSlotId, byte[] key, short keyOffset, in read() argument
63 return mSlots[slotId].read(key, keyOffset, outValue, outOffset); in read()
107 byte[] keyBuffer, short keyOffset, byte[] valueBuffer, short valueOffset) { in write() argument
109 Util.arrayCopy(keyBuffer, keyOffset, mKey, (short) 0, Consts.SLOT_KEY_BYTES); in write()
145 public byte read(byte[] keyBuffer, short keyOffset, byte[] outBuffer, short outOffset) { in read() argument
157 keyBuffer, keyOffset, mKey, (short) 0, Consts.SLOT_KEY_BYTES) == 0) ? in read()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleReader.java448 private static String makeKeyStringFromBytes(byte[] keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument
451 while((b = keyBytes[keyOffset]) != 0) { in makeKeyStringFromBytes()
452 ++keyOffset; in makeKeyStringFromBytes()
457 private String getKey16String(int keyOffset) { in getKey16String() argument
458 if(keyOffset < localKeyLimit) { in getKey16String()
459 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey16String()
461 return makeKeyStringFromBytes(poolBundleReader.keyBytes, keyOffset - localKeyLimit); in getKey16String()
464 private String getKey32String(int keyOffset) { in getKey32String() argument
465 if(keyOffset >= 0) { in getKey32String()
466 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey32String()
[all …]
DUResource.java57 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
59 offset = keyOffset; in Key()
73 public Key setBytes(byte[] keyBytes, int keyOffset) { in setBytes() argument
75 offset = keyOffset; in setBytes()
76 for (length = 0; keyBytes[keyOffset + length] != 0; ++length) {} in setBytes()
DRelativeDateFormat.java262 int keyOffset; in put() local
264 keyOffset = Integer.parseInt(key.toString()); in put()
271 if (getStringForDay(keyOffset) == null) { in put()
272 URelativeString newDayInfo = new URelativeString(keyOffset, value.getString()); in put()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java446 private static String makeKeyStringFromBytes(byte[] keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument
449 while((b = keyBytes[keyOffset]) != 0) { in makeKeyStringFromBytes()
450 ++keyOffset; in makeKeyStringFromBytes()
455 private String getKey16String(int keyOffset) { in getKey16String() argument
456 if(keyOffset < localKeyLimit) { in getKey16String()
457 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey16String()
459 return makeKeyStringFromBytes(poolBundleReader.keyBytes, keyOffset - localKeyLimit); in getKey16String()
462 private String getKey32String(int keyOffset) { in getKey32String() argument
463 if(keyOffset >= 0) { in getKey32String()
464 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey32String()
[all …]
DUResource.java54 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
56 offset = keyOffset; in Key()
70 public Key setBytes(byte[] keyBytes, int keyOffset) { in setBytes() argument
72 offset = keyOffset; in setBytes()
73 for (length = 0; keyBytes[keyOffset + length] != 0; ++length) {} in setBytes()
DRelativeDateFormat.java259 int keyOffset; in put() local
261 keyOffset = Integer.parseInt(key.toString()); in put()
268 if (getStringForDay(keyOffset) == null) { in put()
269 URelativeString newDayInfo = new URelativeString(keyOffset, value.getString()); in put()
/external/libese/apps/weaver/card/src/com/android/weaver/
DSlots.java32 void write(short slotId, byte[] key, short keyOffset, byte[] value, short valueOffset); in write() argument
46 byte read(short slotId, byte[] key, short keyOffset, byte[] value, short valueOffset); in read() argument
/external/icu/icu4c/source/common/
Duresdata.cpp43 #define RES_GET_KEY16(pResData, keyOffset) \ argument
44 ((keyOffset)<(pResData)->localKeyLimit ? \
45 (const char *)(pResData)->pRoot+(keyOffset) : \
46 (pResData)->poolBundleKeys+(keyOffset)-(pResData)->localKeyLimit)
48 #define RES_GET_KEY32(pResData, keyOffset) \ argument
49 ((keyOffset)>=0 ? \
50 (const char *)(pResData)->pRoot+(keyOffset) : \
51 (pResData)->poolBundleKeys+((keyOffset)&0x7fffffff))
1181 int32_t keyOffset=ds->readUInt16(pKey16[i]); in ures_swapResource() local
1182 if(keyOffset<pTempTable->localKeyLimit) { in ures_swapResource()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp1393 int32_t keyOffset = static_cast<int32_t>(keys - fKeys); in compactKeys() local
1394 if (!fIsPoolBundle && keysInUse.count(keyOffset) == 0) { in compactKeys()
1399 map[i].oldpos = keyOffset; in compactKeys()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...