Lines Matching refs:ds

76 upname_swap(const UDataSwapper *ds,  in upname_swap()  argument
80 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in upname_swap()
96 …udata_printError(ds, "upname_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not … in upname_swap()
111 udata_printError(ds, "upname_swap(): too few bytes (%d after header) for pnames.icu\n", in upname_swap()
119 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); in upname_swap()
122 udata_printError(ds, "upname_swap(): too few bytes (%d after header, should be %d) " in upname_swap()
130 udata_readInt32(ds, inIndexes[PropNameData::IX_BYTE_TRIES_OFFSET]); in upname_swap()
133 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); in upname_swap()
161 uprops_swap(const UDataSwapper *ds, in uprops_swap() argument
171 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in uprops_swap()
188 …udata_printError(ds, "uprops_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not … in uprops_swap()
198 …udata_printError(ds, "uprops_swap(): too few bytes (%d after header) for a Unicode properties file… in uprops_swap()
207 dataIndexes[i]=udata_readInt32(ds, inData32[i]); in uprops_swap()
226 …udata_printError(ds, "uprops_swap(): too few bytes (%d after header) for a Unicode properties file… in uprops_swap()
240 ds->swapArray32(ds, inData32, 4*UPROPS_INDEX_COUNT, outData32, pErrorCode); in uprops_swap()
246 utrie_swapAnyVersion(ds, in uprops_swap()
257 ds->swapArray32(ds, in uprops_swap()
267 ds->swapArray16(ds, in uprops_swap()
277 utrie_swapAnyVersion(ds, in uprops_swap()
287 ds->swapArray32(ds, in uprops_swap()
295 ds->swapArray16(ds, in uprops_swap()
309 ucase_swap(const UDataSwapper *ds, in ucase_swap() argument
324 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucase_swap()
341 …udata_printError(ds, "ucase_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not r… in ucase_swap()
357 … udata_printError(ds, "ucase_swap(): too few bytes (%d after header) for case mapping data\n", in ucase_swap()
366 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ucase_swap()
374 …udata_printError(ds, "ucase_swap(): too few bytes (%d after header) for all of case mapping data\n… in ucase_swap()
389 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ucase_swap()
394 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
399 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ucase_swap()
411 ubidi_swap(const UDataSwapper *ds, in ubidi_swap() argument
426 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ubidi_swap()
443 …udata_printError(ds, "ubidi_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not r… in ubidi_swap()
459 … udata_printError(ds, "ubidi_swap(): too few bytes (%d after header) for bidi/shaping data\n", in ubidi_swap()
468 indexes[i]=udata_readInt32(ds, inIndexes[i]); in ubidi_swap()
476 …udata_printError(ds, "ubidi_swap(): too few bytes (%d after header) for all of bidi/shaping data\n… in ubidi_swap()
491 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in ubidi_swap()
496 utrie_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
501 ds->swapArray32(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in ubidi_swap()
521 unorm_swap(const UDataSwapper *ds, in unorm_swap() argument
536 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in unorm_swap()
550 …udata_printError(ds, "unorm_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not r… in unorm_swap()
566 udata_printError(ds, "unorm_swap(): too few bytes (%d after header) for unorm.icu\n", in unorm_swap()
575 indexes[i]=udata_readInt32(ds, inIndexes[i]); in unorm_swap()
590 … udata_printError(ds, "unorm_swap(): too few bytes (%d after header) for all of unorm.icu\n", in unorm_swap()
605 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode); in unorm_swap()
610 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
615 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
621 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
628 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
634 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode); in unorm_swap()
645 test_swap(const UDataSwapper *ds, in test_swap() argument
657 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in test_swap()
659 …udata_printError(ds, "test_swap(): data header swap failed %s\n", pErrorCode != NULL ? u_errorName… in test_swap()
672 …udata_printError(ds, "test_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not re… in test_swap()
689 …udata_printError(ds, "test_swap(): too few bytes (%d after header, wanted %d) for all of testdata\… in test_swap()
697 ds->swapArray16(ds, inBytes+offset, size16, outBytes+offset, pErrorCode); in test_swap()
699 ds->swapInvChars(ds, inBytes+offset, sizeStr, outBytes+offset, pErrorCode); in test_swap()
751 udata_swap(const UDataSwapper *ds, in udata_swap() argument
769 udata_swapDataHeader(ds, inData, -1, NULL, pErrorCode); in udata_swap()
798 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
801 …udata_printError(ds, "udata_swap(): failure swapping data format %02x.%02x.%02x.%02x (\"%c%c%c%c\"… in udata_swap()
809 …udata_printError(ds, "udata_swap() warning: swapped only %d out of %d bytes - data format %02x.%02… in udata_swap()
823 udata_printError(ds, "udata_swap(): unknown data format %02x.%02x.%02x.%02x (\"%c%c%c%c\")\n", in udata_swap()