/external/libmtp/src/ |
D | mtpz.c | 772 int keyOffset = 0xB4 + 0xA0; in mtpz_encryption_decrypt_custom() local 781 unsigned int v14 = MTPZ_SWAP(u_seed[0]) ^ MTPZ_SWAP(u_expanded[(keyOffset ) / 4]); in mtpz_encryption_decrypt_custom() 782 unsigned int v15 = MTPZ_SWAP(u_seed[1]) ^ MTPZ_SWAP(u_expanded[(keyOffset + 4) / 4]); in mtpz_encryption_decrypt_custom() 783 unsigned int v16 = MTPZ_SWAP(u_seed[2]) ^ MTPZ_SWAP(u_expanded[(keyOffset + 8) / 4]); in mtpz_encryption_decrypt_custom() 784 unsigned int v17 = MTPZ_SWAP(u_seed[3]) ^ MTPZ_SWAP(u_expanded[(keyOffset + 12) / 4]); in mtpz_encryption_decrypt_custom() 791 keyOffset -= 16; in mtpz_encryption_decrypt_custom() 796 v14 = v18 ^ MTPZ_SWAP(u_expanded[(keyOffset ) / 4]); in mtpz_encryption_decrypt_custom() 797 v15 = v19 ^ MTPZ_SWAP(u_expanded[(keyOffset + 4) / 4]); in mtpz_encryption_decrypt_custom() 798 v16 = v20 ^ MTPZ_SWAP(u_expanded[(keyOffset + 8) / 4]); in mtpz_encryption_decrypt_custom() 799 v17 = v21 ^ MTPZ_SWAP(u_expanded[(keyOffset + 12) / 4]); in mtpz_encryption_decrypt_custom() [all …]
|
/external/libese/apps/weaver/card/src/com/android/weaver/core/ |
D | CoreSlots.java | 53 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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundleReader.java | 446 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 …]
|
D | UResource.java | 54 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()
|
D | RelativeDateFormat.java | 259 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/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUResourceBundleReader.java | 448 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 …]
|
D | UResource.java | 57 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()
|
D | RelativeDateFormat.java | 262 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/libese/apps/weaver/card/src/com/android/weaver/ |
D | Slots.java | 32 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/ |
D | uresdata.cpp | 42 #define RES_GET_KEY16(pResData, keyOffset) \ argument 43 ((keyOffset)<(pResData)->localKeyLimit ? \ 44 (const char *)(pResData)->pRoot+(keyOffset) : \ 45 (pResData)->poolBundleKeys+(keyOffset)-(pResData)->localKeyLimit) 47 #define RES_GET_KEY32(pResData, keyOffset) \ argument 48 ((keyOffset)>=0 ? \ 49 (const char *)(pResData)->pRoot+(keyOffset) : \ 50 (pResData)->poolBundleKeys+((keyOffset)&0x7fffffff)) 1145 int32_t keyOffset=ds->readUInt16(pKey16[i]); in ures_swapResource() local 1146 if(keyOffset<pTempTable->localKeyLimit) { in ures_swapResource() [all …]
|