/external/icu4c/tools/toolutil/ |
D | swapimpl.cpp | 102 const uint8_t *inBytes=reinterpret_cast<const uint8_t *>(inData)+headerSize; in upname_swap() local 116 const int32_t *inIndexes=reinterpret_cast<const int32_t *>(inBytes); in upname_swap() 131 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap() 134 if(inBytes!=outBytes) { in upname_swap() 136 inBytes+numBytesIndexesAndValueMaps, in upname_swap() 313 const uint8_t *inBytes; in ucase_swap() local 347 inBytes=(const uint8_t *)inData+headerSize; in ucase_swap() 350 inIndexes=(const int32_t *)inBytes; in ucase_swap() 379 if(inBytes!=outBytes) { in ucase_swap() 380 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() 445 const uint8_t *inBytes, int32_t length, in ucnv_enumDependencies() argument 466 inStaticData=(const UConverterStaticData *)inBytes; in ucnv_enumDependencies() 477 inBytes+=staticDataSize; in ucnv_enumDependencies() 486 inMBCSHeader=(const _MBCSHeader *)inBytes; in ucnv_enumDependencies() 529 const char *inBaseName=(const char *)inBytes+mbcsHeaderLength*4; in ucnv_enumDependencies() 615 const uint8_t *inBytes=pItem->data+itemHeaderLength; in enumDependencies() local 618 … ucnv_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode); in enumDependencies()
|
D | package.cpp | 441 const uint8_t *inBytes; in readPackage() local 498 inBytes=(const uint8_t *)inData+headerLength; in readPackage() 499 inEntries=(const UDataOffsetTOCEntry *)(inBytes+4); in readPackage() 507 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes); in readPackage() 541 while(itemLength>0 && inBytes[stringsOffset+itemLength-1]!=0) { in readPackage() 551 ds->swapInvChars(ds, inBytes+stringsOffset, itemLength, inItemStrings, &errorCode); in readPackage() 602 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); in readPackage()
|
/external/icu4c/common/ |
D | ucol_swp.cpp | 109 const uint8_t *inBytes; in ucol_looksLikeCollationBinary() local 117 inBytes=(const uint8_t *)inData; in ucol_looksLikeCollationBinary() 154 const uint8_t *inBytes; in ucol_swapBinary() local 172 inBytes=(const uint8_t *)inData; in ucol_swapBinary() 216 if(inBytes!=outBytes) { in ucol_swapBinary() 217 uprv_memcpy(outBytes, inBytes, header.size); in ucol_swapBinary() 249 ds->swapArray32(ds, inBytes+header.options, header.expansion-header.options, in ucol_swapBinary() 262 ds->swapArray32(ds, inBytes+header.expansion, (int32_t)count, in ucol_swapBinary() 269 ds->swapArray16(ds, inBytes+header.contractionIndex, header.contractionSize*2, in ucol_swapBinary() 273 ds->swapArray32(ds, inBytes+header.contractionCEs, header.contractionSize*4, in ucol_swapBinary() [all …]
|
D | rbbidata.cpp | 322 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in ubrk_swap() local 323 RBBIDataHeader *rbbiDH = (RBBIDataHeader *)inBytes; in ubrk_swap() 369 if (inBytes != outBytes) { in ubrk_swap() 384 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 386 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 395 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 397 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 406 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() 408 ds->swapArray16(ds, inBytes+tableStartOffset+topSize, tableLength-topSize, in ubrk_swap() 417 ds->swapArray32(ds, inBytes+tableStartOffset, topSize, in ubrk_swap() [all …]
|
D | ucnv_bld.c | 1342 const uint8_t *inBytes; in ucnv_swap() local 1388 inBytes=(const uint8_t *)inData+headerSize; in ucnv_swap() 1392 inStaticData=(const UConverterStaticData *)inBytes; in ucnv_swap() 1428 inBytes+=staticDataSize; in ucnv_swap() 1437 inMBCSHeader=(const _MBCSHeader *)inBytes; in ucnv_swap() 1532 inExtIndexes=(const int32_t *)(inBytes+extOffset); in ucnv_swap() 1545 if(inBytes!=outBytes) { in ucnv_swap() 1546 uprv_memcpy(outBytes, inBytes, size); in ucnv_swap() 1561 const char *inBaseName=(const char *)inBytes+count; in ucnv_swap() 1571 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap() [all …]
|
D | ucnv_u8.c | 98 int32_t i, inBytes; in ucnv_toUnicode_UTF8() local 103 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8() 124 inBytes = bytesFromUTF8[ch]; /* lookup current sequence length */ in ucnv_toUnicode_UTF8() 128 while (i < inBytes) in ucnv_toUnicode_UTF8() 145 cnv->mode = inBytes; in ucnv_toUnicode_UTF8() 152 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8() 166 if (i == inBytes && ch <= MAXIMUM_UTF && ch >= utf8_minChar32[i] && in ucnv_toUnicode_UTF8() 228 int32_t i, inBytes; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local 233 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() 253 inBytes = bytesFromUTF8[ch]; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() [all …]
|
D | unames.c | 1847 const uint8_t *inBytes; in uchar_swapNames() local 1879 inBytes=(const uint8_t *)inData+headerSize; in uchar_swapNames() 1882 algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3]); in uchar_swapNames() 1886 (uint32_t)length<(algNamesOffset=ds->readUInt32(((const uint32_t *)inBytes)[3])) in uchar_swapNames() 1898 count=ds->readUInt32(*((const uint32_t *)(inBytes+offset))); in uchar_swapNames() 1902 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames() 1916 if(inBytes!=outBytes) { in uchar_swapNames() 1917 uprv_memcpy(outBytes, inBytes, length); in uchar_swapNames() 1921 tokenStringOffset=ds->readUInt32(((const uint32_t *)inBytes)[0]); in uchar_swapNames() 1922 groupsOffset=ds->readUInt32(((const uint32_t *)inBytes)[1]); in uchar_swapNames() [all …]
|
D | ucnvsel.cpp | 407 const uint8_t *inBytes = (const uint8_t *)inData + headerSize; in ucnvsel_swap() local 411 const int32_t *inIndexes = (const int32_t *)inBytes; in ucnvsel_swap() 429 if(inBytes != outBytes) { in ucnvsel_swap() 430 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap() 437 ds->swapArray32(ds, inBytes, count, outBytes, status); in ucnvsel_swap() 442 utrie2_swap(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap() 447 ds->swapArray32(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap() 452 ds->swapInvChars(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap()
|
D | usprep.cpp | 830 const uint8_t *inBytes; in usprep_swap() local 861 inBytes=(const uint8_t *)inData+headerSize; in usprep_swap() 864 inIndexes=(const int32_t *)inBytes; in usprep_swap() 896 if(inBytes!=outBytes) { in usprep_swap() 897 uprv_memcpy(outBytes, inBytes, size); in usprep_swap() 904 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in usprep_swap() 909 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap() 914 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap()
|
D | normalizer2impl.cpp | 292 const uint8_t *inBytes=(const uint8_t *)udata_getMemory(memory); in load() local 293 const int32_t *inIndexes=(const int32_t *)inBytes; in load() 311 inBytes+offset, nextOffset-offset, NULL, in load() 318 maybeYesCompositions=(const uint16_t *)(inBytes+offset); in load() 1936 const uint8_t *inBytes; in unorm2_swap() local 1967 inBytes=(const uint8_t *)inData+headerSize; in unorm2_swap() 1970 inIndexes=(const int32_t *)inBytes; in unorm2_swap() 1999 if(inBytes!=outBytes) { in unorm2_swap() 2000 uprv_memcpy(outBytes, inBytes, size); in unorm2_swap() 2007 ds->swapArray32(ds, inBytes, nextOffset-offset, outBytes, pErrorCode); in unorm2_swap() [all …]
|
D | triedict.cpp | 1312 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in triedict_swap() local 1313 const CompactTrieHeader *header = (const CompactTrieHeader *)inBytes; in triedict_swap() 1353 if (inBytes != outBytes) { in triedict_swap() 1362 const CompactTrieNode *inNode = (const CompactTrieNode *)(inBytes + nodeOff); in triedict_swap() 1369 ds->swapArray16(ds, inBytes+nodeOff+offsetof(CompactTrieVerticalNode,chars), in triedict_swap() 1372 … uint16_t equal = ds->readUInt16(inBytes+nodeOff+offsetof(CompactTrieVerticalNode,equal); in triedict_swap() 1392 ds->swapArray16(ds, inBytes+nodesOff, totalSize-nodesOff, outBytes+nodesOff, status); in triedict_swap() 1401 ds->swapArray32(ds, inBytes+offsetof(CompactTrieHeader,offsets), in triedict_swap()
|
D | uresdata.h | 325 const UDataInfo *pInfo, const void *inBytes, int32_t length,
|
D | uresdata.c | 152 UVersionInfo formatVersion, const void *inBytes, int32_t length, in res_init() argument 157 pResData->pRoot=(const int32_t *)inBytes; in res_init() 227 const UDataInfo *pInfo, const void *inBytes, int32_t length, in res_read() argument 239 res_init(pResData, formatVersion, inBytes, length, errorCode); in res_read()
|
/external/icu4c/tools/icuswap/ |
D | icuswap.cpp | 342 const uint8_t *inBytes; in udata_swapPackage() local 408 inBytes=(const uint8_t *)inData+headerSize; in udata_swapPackage() 409 inEntries=(const UDataOffsetTOCEntry *)(inBytes+4); in udata_swapPackage() 413 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage() 421 itemLength=udata_swap(ds, inBytes+offset, -1, NULL, pErrorCode); in udata_swapPackage() 436 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage() 457 ds->swapArray32(ds, inBytes, 4, outBytes, pErrorCode); in udata_swapPackage() 467 udata_swapInvStringBlock(ds, inBytes+offset, itemLength, outBytes+offset, pErrorCode); in udata_swapPackage() 491 entryName=(char *)inBytes+ds->readUInt32(inEntries[i].nameOffset); in udata_swapPackage() 528 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage() [all …]
|
/external/icu4c/i18n/ |
D | uspoof_impl.cpp | 872 const uint8_t *inBytes =(const uint8_t *)inData+headerSize; in uspoof_swap() local 873 SpoofDataHeader *spoofDH = (SpoofDataHeader *)inBytes; in uspoof_swap() 918 if (inBytes != outBytes) { in uspoof_swap() 925 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 930 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 935 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 940 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 945 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 950 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap() 955 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
|
/external/arduino/libraries/Wire/ |
D | Wire.cpp | 207 void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes) in onReceiveService() argument 222 rxBuffer[i] = inBytes[i]; in onReceiveService()
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebNSURLExtras.mm | 369 const UInt8 *inBytes = static_cast<const UInt8 *>([userTypedData bytes]); 380 UInt8 c = inBytes[i];
|
/external/icu4c/test/cintltst/ |
D | nucnvtst.c | 1471 static const char inBytes[3]={ 0x61, 0x5B, 0x5c }; in TestAmbiguousConverter() local 1481 s=inBytes; in TestAmbiguousConverter()
|