Lines Matching refs:ds

75 upname_swap(const UDataSwapper *ds,
79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
95 udata_printError(ds, "upname_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as pnames.icu\n",
110 udata_printError(ds, "upname_swap(): too few bytes (%d after header) for pnames.icu\n",
118 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]);
121 udata_printError(ds, "upname_swap(): too few bytes (%d after header, should be %d) "
129 udata_readInt32(ds, inIndexes[PropNameData::IX_BYTE_TRIES_OFFSET]);
132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode);
160 uprops_swap(const UDataSwapper *ds,
170 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
187 udata_printError(ds, "uprops_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not a Unicode properties file\n",
197 udata_printError(ds, "uprops_swap(): too few bytes (%d after header) for a Unicode properties file\n",
206 dataIndexes[i]=udata_readInt32(ds, inData32[i]);
225 udata_printError(ds, "uprops_swap(): too few bytes (%d after header) for a Unicode properties file\n",
239 ds->swapArray32(ds, inData32, 4*UPROPS_INDEX_COUNT, outData32, pErrorCode);
245 utrie2_swapAnyVersion(ds,
256 ds->swapArray32(ds,
266 ds->swapArray16(ds,
276 utrie2_swapAnyVersion(ds,
286 ds->swapArray32(ds,
294 ds->swapArray16(ds,
308 ucase_swap(const UDataSwapper *ds,
323 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
340 udata_printError(ds, "ucase_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as case mapping data\n",
356 udata_printError(ds, "ucase_swap(): too few bytes (%d after header) for case mapping data\n",
365 indexes[i]=udata_readInt32(ds, inIndexes[i]);
373 udata_printError(ds, "ucase_swap(): too few bytes (%d after header) for all of case mapping data\n",
388 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode);
393 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
398 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
410 ubidi_swap(const UDataSwapper *ds,
425 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
442 udata_printError(ds, "ubidi_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as bidi/shaping data\n",
458 udata_printError(ds, "ubidi_swap(): too few bytes (%d after header) for bidi/shaping data\n",
467 indexes[i]=udata_readInt32(ds, inIndexes[i]);
475 udata_printError(ds, "ubidi_swap(): too few bytes (%d after header) for all of bidi/shaping data\n",
490 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode);
495 utrie2_swapAnyVersion(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
500 ds->swapArray32(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
518 unorm_swap(const UDataSwapper *ds,
533 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
547 udata_printError(ds, "unorm_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as unorm.icu\n",
563 udata_printError(ds, "unorm_swap(): too few bytes (%d after header) for unorm.icu\n",
572 indexes[i]=udata_readInt32(ds, inIndexes[i]);
587 udata_printError(ds, "unorm_swap(): too few bytes (%d after header) for all of unorm.icu\n",
602 ds->swapArray32(ds, inBytes, count, outBytes, pErrorCode);
607 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
612 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
618 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
625 utrie_swap(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
631 ds->swapArray16(ds, inBytes+offset, count, outBytes+offset, pErrorCode);
642 test_swap(const UDataSwapper *ds,
654 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode);
656 udata_printError(ds, "test_swap(): data header swap failed %s\n", pErrorCode != NULL ? u_errorName(*pErrorCode) : "pErrorCode is NULL");
669 udata_printError(ds, "test_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as testdata\n",
686 udata_printError(ds, "test_swap(): too few bytes (%d after header, wanted %d) for all of testdata\n",
694 ds->swapArray16(ds, inBytes+offset, size16, outBytes+offset, pErrorCode);
696 ds->swapInvChars(ds, inBytes+offset, sizeStr, outBytes+offset, pErrorCode);
748 udata_swap(const UDataSwapper *ds,
766 udata_swapDataHeader(ds, inData, -1, NULL, pErrorCode);
795 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode);
798 udata_printError(ds, "udata_swap(): failure swapping data format %02x.%02x.%02x.%02x (\"%c%c%c%c\") - %s\n",
806 udata_printError(ds, "udata_swap() warning: swapped only %d out of %d bytes - data format %02x.%02x.%02x.%02x (\"%c%c%c%c\")\n",
820 udata_printError(ds, "udata_swap(): unknown data format %02x.%02x.%02x.%02x (\"%c%c%c%c\")\n",