/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationDataReader.java | 99 static void read(CollationTailoring base, ByteBuffer inBytes, in read() argument 101 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in read() 106 int inLength = inBytes.remaining(); in read() 110 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in read() 117 inIndexes[i] = inBytes.getInt(); in read() 123 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4); in read() 160 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3); in read() 176 ICUBinary.skipBytes(inBytes, length); in read() 191 inBytes.get(reorderTable); in read() 197 ICUBinary.skipBytes(inBytes, length); in read() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationDataReader.java | 100 static void read(CollationTailoring base, ByteBuffer inBytes, in read() argument 102 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in read() 107 int inLength = inBytes.remaining(); in read() 111 int indexesLength = inBytes.getInt(); // inIndexes[IX_INDEXES_LENGTH] in read() 118 inIndexes[i] = inBytes.getInt(); in read() 124 ICUBinary.skipBytes(inBytes, (indexesLength - inIndexes.length) * 4); in read() 161 reorderCodes = ICUBinary.getInts(inBytes, reorderCodesLength, length & 3); in read() 177 ICUBinary.skipBytes(inBytes, length); in read() 192 inBytes.get(reorderTable); in read() 198 ICUBinary.skipBytes(inBytes, length); in read() [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 103 const uint8_t *inBytes=static_cast<const uint8_t *>(inData)+headerSize; in upname_swap() local 117 const int32_t *inIndexes=reinterpret_cast<const int32_t *>(inBytes); in upname_swap() 132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap() 135 if(inBytes!=outBytes) { in upname_swap() 137 inBytes+numBytesIndexesAndValueMaps, in upname_swap() 314 const uint8_t *inBytes; in ucase_swap() local 348 inBytes=(const uint8_t *)inData+headerSize; in ucase_swap() 351 inIndexes=(const int32_t *)inBytes; in ucase_swap() 380 if(inBytes!=outBytes) { in ucase_swap() 381 uprv_memcpy(outBytes, inBytes, size); in ucase_swap() [all …]
|
D | pkgitems.cpp | 369 const uint8_t *inBytes, int32_t length, in ures_enumDependencies() argument 375 res_read(&resData, pInfo, inBytes, length, pErrorCode); in ures_enumDependencies() 447 const uint8_t *inBytes, int32_t length, in ucnv_enumDependencies() argument 468 inStaticData=(const UConverterStaticData *)inBytes; in ucnv_enumDependencies() 479 inBytes+=staticDataSize; in ucnv_enumDependencies() 488 inMBCSHeader=(const _MBCSHeader *)inBytes; in ucnv_enumDependencies() 531 const char *inBaseName=(const char *)inBytes+mbcsHeaderLength*4; in ucnv_enumDependencies() 617 const uint8_t *inBytes=pItem->data+itemHeaderLength; in enumDependencies() local 620 … ucnv_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode); in enumDependencies()
|
/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 168 const uint8_t *inBytes; in swapFormatVersion3() local 186 inBytes=(const uint8_t *)inData; in swapFormatVersion3() 230 if(inBytes!=outBytes) { in swapFormatVersion3() 231 uprv_memcpy(outBytes, inBytes, header.size); in swapFormatVersion3() 263 ds->swapArray32(ds, inBytes+header.options, header.expansion-header.options, in swapFormatVersion3() 276 ds->swapArray32(ds, inBytes+header.expansion, (int32_t)count, in swapFormatVersion3() 283 ds->swapArray16(ds, inBytes+header.contractionIndex, header.contractionSize*2, in swapFormatVersion3() 287 ds->swapArray32(ds, inBytes+header.contractionCEs, header.contractionSize*4, in swapFormatVersion3() 294 utrie_swap(ds, inBytes+header.mappingPosition, (int32_t)count, in swapFormatVersion3() 300 ds->swapArray32(ds, inBytes+header.endExpansionCE, header.endExpansionCECount*4, in swapFormatVersion3() [all …]
|
D | rbbidata.cpp | 352 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in ubrk_swap() local 353 RBBIDataHeader *rbbiDH = (RBBIDataHeader *)inBytes; in ubrk_swap() 399 if (inBytes != outBytes) { in ubrk_swap() 414 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 416 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 425 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 427 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 436 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 438 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 447 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() [all …]
|
D | ucnv_bld.cpp | 1327 const uint8_t *inBytes; in ucnv_swap() local 1373 inBytes=(const uint8_t *)inData+headerSize; in ucnv_swap() 1377 inStaticData=(const UConverterStaticData *)inBytes; in ucnv_swap() 1413 inBytes+=staticDataSize; in ucnv_swap() 1422 inMBCSHeader=(const _MBCSHeader *)inBytes; in ucnv_swap() 1517 inExtIndexes=(const int32_t *)(inBytes+extOffset); in ucnv_swap() 1530 if(inBytes!=outBytes) { in ucnv_swap() 1531 uprv_memcpy(outBytes, inBytes, size); in ucnv_swap() 1546 const char *inBaseName=(const char *)inBytes+count; in ucnv_swap() 1556 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap() [all …]
|
D | dictionarydata.cpp | 166 const uint8_t *inBytes; in udict_swap() local 186 inBytes = (const uint8_t *)inData + headerSize; in udict_swap() 189 inIndexes = (const int32_t *)inBytes; in udict_swap() 212 if (inBytes != outBytes) { in udict_swap() 213 uprv_memcpy(outBytes, inBytes, size); in udict_swap() 217 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode); in udict_swap() 223 … ds->swapArray16(ds, inBytes + offset, nextOffset - offset, outBytes + offset, pErrorCode); in udict_swap()
|
D | ucnv_u8.c | 112 int32_t i, inBytes; in ucnv_toUnicode_UTF8() local 117 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8() 138 inBytes = bytesFromUTF8[ch]; /* lookup current sequence length */ in ucnv_toUnicode_UTF8() 142 while (i < inBytes) in ucnv_toUnicode_UTF8() 159 cnv->mode = inBytes; in ucnv_toUnicode_UTF8() 166 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8() 180 if (i == inBytes && ch <= MAXIMUM_UTF && ch >= utf8_minChar32[i] && in ucnv_toUnicode_UTF8() 242 int32_t i, inBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local 247 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() 267 inBytes = bytesFromUTF8[ch]; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() [all …]
|
D | unames.cpp | 1835 const uint8_t *inBytes; in uchar_swapNames() local 1867 inBytes=(const uint8_t *)inData+headerSize; in uchar_swapNames() 1870 algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3]); in uchar_swapNames() 1874 (uint32_t)length<(algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3])) in uchar_swapNames() 1886 count=ds->readUInt32(*((const uint32_t *)(inBytes+offset))); in uchar_swapNames() 1890 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames() 1904 if(inBytes!=outBytes) { in uchar_swapNames() 1905 uprv_memcpy(outBytes, inBytes, length); in uchar_swapNames() 1909 tokenStringOffset=ds->readUInt32(((const uint32_t *)inBytes)[0]); in uchar_swapNames() 1910 groupsOffset=ds->readUInt32(((const uint32_t *)inBytes)[1]); in uchar_swapNames() [all …]
|
D | loadednormalizer2impl.cpp | 84 const uint8_t *inBytes=(const uint8_t *)udata_getMemory(memory); in load() local 85 const int32_t *inIndexes=(const int32_t *)inBytes; in load() 95 inBytes+offset, nextOffset-offset, NULL, in load() 103 const uint16_t *inExtraData=(const uint16_t *)(inBytes+offset); in load() 107 const uint8_t *inSmallFCD=inBytes+offset; in load()
|
D | usprep.cpp | 783 const uint8_t *inBytes; in usprep_swap() local 814 inBytes=(const uint8_t *)inData+headerSize; in usprep_swap() 817 inIndexes=(const int32_t *)inBytes; in usprep_swap() 849 if(inBytes!=outBytes) { in usprep_swap() 850 uprv_memcpy(outBytes, inBytes, size); in usprep_swap() 857 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in usprep_swap() 862 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap() 867 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap()
|
D | ucnvsel.cpp | 409 const uint8_t *inBytes = (const uint8_t *)inData + headerSize; in ucnvsel_swap() local 413 const int32_t *inIndexes = (const int32_t *)inBytes; in ucnvsel_swap() 431 if(inBytes != outBytes) { in ucnvsel_swap() 432 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap() 439 ds->swapArray32(ds, inBytes, count, outBytes, status); in ucnvsel_swap() 444 utrie2_swap(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap() 449 ds->swapArray32(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap() 454 ds->swapInvChars(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap()
|
/external/icu/icu4c/source/i18n/ |
D | collationdatareader.cpp | 47 CollationDataReader::read(const CollationTailoring *base, const uint8_t *inBytes, int32_t inLength, in read() argument 51 if(inBytes == NULL || (0 <= inLength && inLength < 24)) { in read() 55 const DataHeader *header = reinterpret_cast<const DataHeader *>(inBytes); in read() 66 inBytes += headerLength; in read() 72 if(inBytes == NULL || (0 <= inLength && inLength < 8)) { in read() 76 const int32_t *inIndexes = reinterpret_cast<const int32_t *>(inBytes); in read() 120 reorderCodes = reinterpret_cast<const int32_t *>(inBytes + offset); in read() 150 reorderTable = inBytes + offset; in read() 171 UTRIE2_32_VALUE_BITS, inBytes + offset, length, NULL, in read() 190 data->ces = reinterpret_cast<const int64_t *>(inBytes + offset); in read() [all …]
|
D | collationroot.cpp | 62 const uint8_t *inBytes = static_cast<const uint8_t *>(udata_getMemory(t->memory)); in load() local 63 CollationDataReader::read(NULL, inBytes, udata_getLength(t->memory), *t, errorCode); in load()
|
D | uspoof_impl.cpp | 858 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in uspoof_swap() local 859 SpoofDataHeader *spoofDH = (SpoofDataHeader *)inBytes; in uspoof_swap() 904 if (inBytes != outBytes) { in uspoof_swap() 911 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 916 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 921 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
|
/external/icu/icu4c/source/tools/icuswap/ |
D | icuswap.cpp | 343 const uint8_t *inBytes; in udata_swapPackage() local 409 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage() 410 inEntries=(const UDataOffsetTOCEntry *)(inBytes+4); in udata_swapPackage() 414 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage() 422 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode); in udata_swapPackage() 437 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage() 458 ds->swapArray32(ds, inBytes, 4, outBytes, pErrorCode); in udata_swapPackage() 468 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode); in udata_swapPackage() 492 entryName=(char *)inBytes+ds->readUInt32(inEntries[i].nameOffset); in udata_swapPackage() 529 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage() [all …]
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
D | VersionStorage.java | 92 public boolean restore(byte[] inBytes, short inBytesOffset, short inBytesLength) { in restore() argument 97 if (inBytes[0] != EXPORT_VERSION) { in restore() 101 Util.arrayCopy(inBytes, inBytesOffset, storage, (short) 0, inBytesLength); in restore()
|
D | BasicLock.java | 82 public boolean restore(byte[] inBytes, short inBytesOffset, in restore() argument 87 Util.arrayCopy(inBytes, inBytesOffset, in restore()
|
D | BackupInterface.java | 27 boolean restore(byte[] inBytes, short inBytesOffset, short inBytesLength); in restore() argument
|
D | OsBackupInterface.java | 51 boolean restore(byte[] inBytes, short inBytesOffset); in restore() argument
|
D | DefaultOsBackupImpl.java | 54 public boolean restore(byte[] inBytes, short inBytesOffset) { in restore() argument
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 217 static unsigned inBytes(unsigned Bits) { in inBytes() function 262 unsigned PointerMemSize = inBytes(getInt(Tok)); in parseSpecifier() 271 unsigned PointerABIAlign = inBytes(getInt(Tok)); in parseSpecifier() 280 PointerPrefAlign = inBytes(getInt(Tok)); in parseSpecifier() 315 unsigned ABIAlign = inBytes(getInt(Tok)); in parseSpecifier() 324 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier() 344 StackNaturalAlign = inBytes(getInt(Tok)); in parseSpecifier()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUResourceBundleReader.java | 187 ByteBuffer inBytes; in createInstance() local 190 inBytes = ICUBinary.getData(loader, fullName, itemPath); in createInstance() 191 if (inBytes == null) { in createInstance() 200 inBytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(stream); in createInstance() 202 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance() 215 private ICUResourceBundleReader(ByteBuffer inBytes, in ICUResourceBundleReader() argument 218 init(inBytes); in ICUResourceBundleReader() 242 private void init(ByteBuffer inBytes) throws IOException { in init() argument 243 dataVersion = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in init() 244 int majorFormatVersion = inBytes.get(16); in init() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundleReader.java | 185 ByteBuffer inBytes; in createInstance() local 188 inBytes = ICUBinary.getData(loader, fullName, itemPath); in createInstance() 189 if (inBytes == null) { in createInstance() 198 inBytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(stream); in createInstance() 200 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance() 213 private ICUResourceBundleReader(ByteBuffer inBytes, in ICUResourceBundleReader() argument 216 init(inBytes); in ICUResourceBundleReader() 240 private void init(ByteBuffer inBytes) throws IOException { in init() argument 241 dataVersion = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in init() 242 int majorFormatVersion = inBytes.get(16); in init() [all …]
|