Home
last modified time | relevance | path

Searched refs:outBytes (Results 1 – 25 of 28) sorted by relevance

12

/external/icu4c/tools/toolutil/
Dswapimpl.cpp104 uint8_t *outBytes=static_cast<uint8_t *>(outData)+headerSize; in upname_swap() local
132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap()
135 if(inBytes!=outBytes) { in upname_swap()
136 uprv_memcpy(outBytes+numBytesIndexesAndValueMaps, in upname_swap()
315 uint8_t *outBytes; in ucase_swap() local
349 outBytes=(uint8_t *)outData+headerSize; in ucase_swap()
380 if(inBytes!=outBytes) { in ucase_swap()
381 uprv_memcpy(outBytes, inBytes, size); in ucase_swap()
388 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
393 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
[all …]
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dswapimpl.cpp229 uint8_t *outBytes; in ucase_swap() local
263 outBytes=(uint8_t *)outData+headerSize; in ucase_swap()
294 if(inBytes!=outBytes) { in ucase_swap()
295 uprv_memcpy(outBytes, inBytes, size); in ucase_swap()
302 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
307 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
312 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
331 uint8_t *outBytes; in ubidi_swap() local
365 outBytes=(uint8_t *)outData+headerSize; in ubidi_swap()
396 if(inBytes!=outBytes) { in ubidi_swap()
[all …]
/external/icu4c/common/
Drbbidata.cpp358 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ubrk_swap() local
359 RBBIDataHeader *outputDH = (RBBIDataHeader *)outBytes; in ubrk_swap()
369 if (inBytes != outBytes) { in ubrk_swap()
370 uprv_memset(outBytes, 0, breakDataLength); in ubrk_swap()
385 outBytes+tableStartOffset, status); in ubrk_swap()
387 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
396 outBytes+tableStartOffset, status); in ubrk_swap()
398 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
407 outBytes+tableStartOffset, status); in ubrk_swap()
409 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
[all …]
Ducol_swp.cpp153 uint8_t *outBytes; in ucol_swapBinary() local
171 outBytes=(uint8_t *)outData; in ucol_swapBinary()
214 if(inBytes!=outBytes) { in ucol_swapBinary()
215 uprv_memcpy(outBytes, inBytes, header.size); in ucol_swapBinary()
248 outBytes+header.options, pErrorCode); in ucol_swapBinary()
261 outBytes+header.expansion, pErrorCode); in ucol_swapBinary()
268 outBytes+header.contractionIndex, pErrorCode); in ucol_swapBinary()
272 outBytes+header.contractionCEs, pErrorCode); in ucol_swapBinary()
279 outBytes+header.mappingPosition, pErrorCode); in ucol_swapBinary()
285 outBytes+header.endExpansionCE, pErrorCode); in ucol_swapBinary()
[all …]
Ducnv_bld.cpp1350 uint8_t *outBytes; in ucnv_swap() local
1396 outBytes=(uint8_t *)outData+headerSize; in ucnv_swap()
1400 outStaticData=(UConverterStaticData *)outBytes; in ucnv_swap()
1436 outBytes+=staticDataSize; in ucnv_swap()
1445 outMBCSHeader=(_MBCSHeader *)outBytes; in ucnv_swap()
1552 if(inBytes!=outBytes) { in ucnv_swap()
1553 uprv_memcpy(outBytes, inBytes, size); in ucnv_swap()
1569 char *outBaseName=(char *)outBytes+count; in ucnv_swap()
1579 outBytes+offset, pErrorCode); in ucnv_swap()
1585 outBytes+offset, pErrorCode); in ucnv_swap()
[all …]
Ddictionarydata.cpp153 uint8_t *outBytes; in udict_swap() local
173 outBytes = (uint8_t *)outData + headerSize; in udict_swap()
198 if (inBytes != outBytes) { in udict_swap()
199 uprv_memcpy(outBytes, inBytes, size); in udict_swap()
203 ds->swapArray32(ds, inBytes, sizeof(indexes), outBytes, pErrorCode); in udict_swap()
209 … ds->swapArray16(ds, inBytes + offset, nextOffset - offset, outBytes + offset, pErrorCode); in udict_swap()
Ducnvsel.cpp408 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ucnvsel_swap() local
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()
Dusprep.cpp828 uint8_t *outBytes; in usprep_swap() local
859 outBytes=(uint8_t *)outData+headerSize; in usprep_swap()
893 if(inBytes!=outBytes) { in usprep_swap()
894 uprv_memcpy(outBytes, inBytes, size); in usprep_swap()
901 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in usprep_swap()
906 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap()
911 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in usprep_swap()
Dunames.cpp1854 uint8_t *outBytes; in uchar_swapNames() local
1886 outBytes=(uint8_t *)outData+headerSize; in uchar_swapNames()
1922 if(inBytes!=outBytes) { in uchar_swapNames()
1923 uprv_memcpy(outBytes, inBytes, length); in uchar_swapNames()
1930 ds->swapArray32(ds, inBytes, 16, outBytes, pErrorCode); in uchar_swapNames()
1937 q=(uint16_t *)(outBytes+16); in uchar_swapNames()
1994 outBytes+tokenStringOffset, pErrorCode); in uchar_swapNames()
2003 outBytes+groupsOffset, pErrorCode); in uchar_swapNames()
2018 outStrings=outBytes+groupStringOffset; in uchar_swapNames()
2052 ds->swapArray32(ds, inBytes+offset, 4, outBytes+offset, pErrorCode); in uchar_swapNames()
[all …]
/external/chromium_org/third_party/icu/source/common/
Drbbidata.cpp358 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ubrk_swap() local
359 RBBIDataHeader *outputDH = (RBBIDataHeader *)outBytes; in ubrk_swap()
369 if (inBytes != outBytes) { in ubrk_swap()
370 uprv_memset(outBytes, 0, breakDataLength); in ubrk_swap()
385 outBytes+tableStartOffset, status); in ubrk_swap()
387 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
396 outBytes+tableStartOffset, status); in ubrk_swap()
398 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
407 outBytes+tableStartOffset, status); in ubrk_swap()
409 outBytes+tableStartOffset+topSize, status); in ubrk_swap()
[all …]
Ducol_swp.cpp155 uint8_t *outBytes; in ucol_swapBinary() local
173 outBytes=(uint8_t *)outData; in ucol_swapBinary()
216 if(inBytes!=outBytes) { in ucol_swapBinary()
217 uprv_memcpy(outBytes, inBytes, header.size); in ucol_swapBinary()
250 outBytes+header.options, pErrorCode); in ucol_swapBinary()
263 outBytes+header.expansion, pErrorCode); in ucol_swapBinary()
270 outBytes+header.contractionIndex, pErrorCode); in ucol_swapBinary()
274 outBytes+header.contractionCEs, pErrorCode); in ucol_swapBinary()
281 outBytes+header.mappingPosition, pErrorCode); in ucol_swapBinary()
287 outBytes+header.endExpansionCE, pErrorCode); in ucol_swapBinary()
[all …]
Dpropname.cpp334 const uint8_t *inBytes, int32_t length, uint8_t *outBytes, in swap() argument
349 outMap=(EnumToOffset *)(outBytes+pos); in swap()
379 const uint8_t *inBytes, int32_t length, uint8_t *outBytes, in swap() argument
394 outMap=(NonContiguousEnumToOffset *)(outBytes+pos); in swap()
418 outBytes+pos, pErrorCode); in swap()
446 const uint8_t *inBytes, int32_t length, uint8_t *outBytes, in swap() argument
471 outMap=(NameToEnum *)(outBytes+pos); in swap()
522 cmp.chars=(const char *)outBytes; in swap()
591 const uint8_t *inBytes, int32_t length, uint8_t *outBytes, in swap() argument
604 outAliases=(PropertyAliases *)outBytes; in swap()
[all …]
Ducnv_bld.c1341 uint8_t *outBytes; in ucnv_swap() local
1387 outBytes=(uint8_t *)outData+headerSize; in ucnv_swap()
1391 outStaticData=(UConverterStaticData *)outBytes; in ucnv_swap()
1427 outBytes+=staticDataSize; in ucnv_swap()
1436 outMBCSHeader=(_MBCSHeader *)outBytes; in ucnv_swap()
1543 if(inBytes!=outBytes) { in ucnv_swap()
1544 uprv_memcpy(outBytes, inBytes, size); in ucnv_swap()
1560 char *outBaseName=(char *)outBytes+count; in ucnv_swap()
1570 outBytes+offset, pErrorCode); in ucnv_swap()
1576 outBytes+offset, pErrorCode); in ucnv_swap()
[all …]
Dpropname.h215 const uint8_t *inBytes, int32_t length, uint8_t *outBytes,
266 const uint8_t *inBytes, int32_t length, uint8_t *outBytes,
330 const uint8_t *inBytes, int32_t length, uint8_t *outBytes,
397 const uint8_t *inBytes, int32_t length, uint8_t *outBytes,
Ducnvsel.cpp406 uint8_t *outBytes = (uint8_t *)outData + headerSize; in ucnvsel_swap() local
427 if(inBytes != outBytes) { in ucnvsel_swap()
428 uprv_memcpy(outBytes, inBytes, size); in ucnvsel_swap()
435 ds->swapArray32(ds, inBytes, count, outBytes, status); in ucnvsel_swap()
440 utrie2_swap(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap()
445 ds->swapArray32(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap()
450 ds->swapInvChars(ds, inBytes + offset, count, outBytes + offset, status); in ucnvsel_swap()
Dusprep.cpp831 uint8_t *outBytes; in usprep_swap() local
862 outBytes=(uint8_t *)outData+headerSize; 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()
Dunames.c1848 uint8_t *outBytes; in uchar_swapNames() local
1880 outBytes=(uint8_t *)outData+headerSize; in uchar_swapNames()
1916 if(inBytes!=outBytes) { in uchar_swapNames()
1917 uprv_memcpy(outBytes, inBytes, length); in uchar_swapNames()
1924 ds->swapArray32(ds, inBytes, 16, outBytes, pErrorCode); in uchar_swapNames()
1931 q=(uint16_t *)(outBytes+16); in uchar_swapNames()
1988 outBytes+tokenStringOffset, pErrorCode); in uchar_swapNames()
1997 outBytes+groupsOffset, pErrorCode); in uchar_swapNames()
2012 outStrings=outBytes+groupStringOffset; in uchar_swapNames()
2046 ds->swapArray32(ds, inBytes+offset, 4, outBytes+offset, pErrorCode); in uchar_swapNames()
[all …]
Dtriedict.cpp1841 uint8_t *outBytes = (uint8_t *)outData + headerSize; in triedict_swap() local
1842 CompactTrieHeader *outputHeader = (CompactTrieHeader *)outBytes; in triedict_swap()
1848 if (inBytes != outBytes) { in triedict_swap()
1849 uprv_memset(outBytes, 0, totalSize); in triedict_swap()
1866 CompactTrieNode *outNode = (CompactTrieNode *)(outBytes + nodeOff); in triedict_swap()
1884 outBytes+nodeOff+offsetof(CompactTrieVerticalNode,chars), status); in triedict_swap()
1886 ds->writeUInt16(outBytes+nodeOff+offsetof(CompactTrieVerticalNode,equal)); in triedict_swap()
1947 ds->swapArray16(ds, inBytes+nodesOff, totalSize-nodesOff, outBytes+nodesOff, status); in triedict_swap()
1952 outBytes+offsetPos, status); in triedict_swap()
Dnormalizer2impl.cpp1922 uint8_t *outBytes; in unorm2_swap() local
1953 outBytes=(uint8_t *)outData+headerSize; in unorm2_swap()
1984 if(inBytes!=outBytes) { in unorm2_swap()
1985 uprv_memcpy(outBytes, inBytes, size); in unorm2_swap()
1992 ds->swapArray32(ds, inBytes, nextOffset-offset, outBytes, pErrorCode); in unorm2_swap()
1997 utrie2_swap(ds, inBytes+offset, nextOffset-offset, outBytes+offset, pErrorCode); in unorm2_swap()
2002 ds->swapArray16(ds, inBytes+offset, nextOffset-offset, outBytes+offset, pErrorCode); in unorm2_swap()
/external/chromium_org/third_party/icu/source/tools/icuswap/
Dicuswap.cpp343 uint8_t *outBytes; in udata_swapPackage() local
454 outBytes=(uint8_t *)outData+headerSize; 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()
525 outBytes=(uint8_t *)(table+itemCount); in udata_swapPackage()
528 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage()
529 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
542 outEntries=(UDataOffsetTOCEntry *)(outBytes+4); in udata_swapPackage()
583 compareToCEntries, outBytes, FALSE, pErrorCode); in udata_swapPackage()
606 uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage()
[all …]
/external/icu4c/tools/icuswap/
Dicuswap.cpp343 uint8_t *outBytes; in udata_swapPackage() local
454 outBytes=(uint8_t *)outData+headerSize; 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()
525 outBytes=(uint8_t *)(table+itemCount); in udata_swapPackage()
528 uprv_memcpy(outBytes, inBytes, 4); in udata_swapPackage()
529 uprv_memcpy(outBytes+offset, inBytes+offset, itemLength); in udata_swapPackage()
542 outEntries=(UDataOffsetTOCEntry *)(outBytes+4); in udata_swapPackage()
583 compareToCEntries, outBytes, FALSE, pErrorCode); in udata_swapPackage()
606 uprv_memcpy(outBytes+table[i].outOffset, inBytes+table[i].inOffset, table[i].length); in udata_swapPackage()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S2ParametersGenerator.java84 byte[] outBytes = new byte[l * hLen]; in generateDerivedKey()
100 F(salt, iterationCount, iBuf, outBytes, outPos); in generateDerivedKey()
104 return outBytes; in generateDerivedKey()
/external/icu4c/i18n/
Duspoof_impl.cpp776 uint8_t *outBytes = (uint8_t *)outData + headerSize; in uspoof_swap() local
777 SpoofDataHeader *outputDH = (SpoofDataHeader *)outBytes; in uspoof_swap()
787 if (inBytes != outBytes) { in uspoof_swap()
788 uprv_memset(outBytes, 0, spoofDataLength); in uspoof_swap()
794 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
799 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
804 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
809 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
814 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
819 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Duspoof_impl.cpp898 uint8_t *outBytes = (uint8_t *)outData + headerSize; in uspoof_swap() local
899 SpoofDataHeader *outputDH = (SpoofDataHeader *)outBytes; in uspoof_swap()
909 if (inBytes != outBytes) { in uspoof_swap()
910 uprv_memset(outBytes, 0, spoofDataLength); in uspoof_swap()
916 ds->swapArray32(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
921 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
926 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
931 ds->swapArray16(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
936 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
941 utrie2_swap(ds, inBytes+sectionStart, sectionLength, outBytes+sectionStart, status); in uspoof_swap()
[all …]
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java100 byte[] outBytes = bytesOut.toByteArray(); in readAndWriteFrames()
116 end = outBytes.length; in readAndWriteFrames()
121 out.write(outBytes, start, length); in readAndWriteFrames()

12