Lines Matching refs:ds
1326 ucnv_swap(const UDataSwapper *ds, in ucnv_swap() argument
1355 headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); in ucnv_swap()
1370 …udata_printError(ds, "ucnv_swap(): data format %02x.%02x.%02x.%02x (format version %02x.%02x) is n… in ucnv_swap()
1386 staticDataSize=ds->readUInt32(inStaticData->structSize); in ucnv_swap()
1390 (uint32_t)length<(staticDataSize=ds->readUInt32(inStaticData->structSize)) in ucnv_swap()
1392 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after header) for an ICU .cnv conversion tabl… in ucnv_swap()
1405 ds->swapArray32(ds, &inStaticData->structSize, 4, in ucnv_swap()
1407 ds->swapArray32(ds, &inStaticData->codepage, 4, in ucnv_swap()
1410 ds->swapInvChars(ds, inStaticData->name, (int32_t)uprv_strlen(inStaticData->name), in ucnv_swap()
1413 udata_printError(ds, "ucnv_swap(): error swapping converter name\n"); in ucnv_swap()
1431 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after headers) for an ICU MBCS .cnv conversio… in ucnv_swap()
1439 ((mbcsHeader.options=ds->readUInt32(inMBCSHeader->options))& in ucnv_swap()
1445 udata_printError(ds, "ucnv_swap(): unsupported _MBCSHeader.version %d.%d\n", in ucnv_swap()
1452 mbcsHeader.countStates= ds->readUInt32(inMBCSHeader->countStates); in ucnv_swap()
1453 mbcsHeader.countToUFallbacks= ds->readUInt32(inMBCSHeader->countToUFallbacks); in ucnv_swap()
1454 mbcsHeader.offsetToUCodeUnits= ds->readUInt32(inMBCSHeader->offsetToUCodeUnits); in ucnv_swap()
1455 mbcsHeader.offsetFromUTable= ds->readUInt32(inMBCSHeader->offsetFromUTable); in ucnv_swap()
1456 mbcsHeader.offsetFromUBytes= ds->readUInt32(inMBCSHeader->offsetFromUBytes); in ucnv_swap()
1457 mbcsHeader.flags= ds->readUInt32(inMBCSHeader->flags); in ucnv_swap()
1458 mbcsHeader.fromUBytesLength= ds->readUInt32(inMBCSHeader->fromUBytesLength); in ucnv_swap()
1464 … udata_printError(ds, "ucnv_swap(): unsupported combination of makeconv --small with SBCS\n"); in ucnv_swap()
1482 udata_printError(ds, "ucnv_swap(): unsupported MBCS output type 0x%x\n", in ucnv_swap()
1516 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after headers) for an ICU MBCS .cnv conversio… in ucnv_swap()
1523 size=extOffset+udata_readInt32(ds, inExtIndexes[UCNV_EXT_SIZE]); in ucnv_swap()
1528 …udata_printError(ds, "ucnv_swap(): too few bytes (%d after headers) for an ICU MBCS .cnv conversio… in ucnv_swap()
1541 ds->swapArray32(ds, &inMBCSHeader->countStates, count-4, in ucnv_swap()
1553 ds->swapInvChars(ds, inBaseName, (int32_t)uprv_strlen(inBaseName), in ucnv_swap()
1561 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1567 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1573 ds->swapArray16(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1582 ds->swapArray16(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1593 ds->swapArray16(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1599 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1609 ds->swapArray16(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1613 ds->swapArray32(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1624 ds->swapArray16(ds, inBytes+offset, (int32_t)count, in ucnv_swap()
1636 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_TO_U_INDEX]); in ucnv_swap()
1637 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_TO_U_LENGTH]); in ucnv_swap()
1638 ds->swapArray32(ds, inBytes+offset, length*4, outBytes+offset, pErrorCode); in ucnv_swap()
1641 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_TO_U_UCHARS_INDEX]); in ucnv_swap()
1642 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_TO_U_UCHARS_LENGTH]); in ucnv_swap()
1643 ds->swapArray16(ds, inBytes+offset, length*2, outBytes+offset, pErrorCode); in ucnv_swap()
1646 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_UCHARS_INDEX]); in ucnv_swap()
1647 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_LENGTH]); in ucnv_swap()
1648 ds->swapArray16(ds, inBytes+offset, length*2, outBytes+offset, pErrorCode); in ucnv_swap()
1651 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_VALUES_INDEX]); in ucnv_swap()
1653 ds->swapArray32(ds, inBytes+offset, length*4, outBytes+offset, pErrorCode); in ucnv_swap()
1658 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_12_INDEX]); in ucnv_swap()
1659 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_12_LENGTH]); in ucnv_swap()
1660 ds->swapArray16(ds, inBytes+offset, length*2, outBytes+offset, pErrorCode); in ucnv_swap()
1663 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_3_INDEX]); in ucnv_swap()
1664 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_3_LENGTH]); in ucnv_swap()
1665 ds->swapArray16(ds, inBytes+offset, length*2, outBytes+offset, pErrorCode); in ucnv_swap()
1668 offset=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_3B_INDEX]); in ucnv_swap()
1669 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_FROM_U_STAGE_3B_LENGTH]); in ucnv_swap()
1670 ds->swapArray32(ds, inBytes+offset, length*4, outBytes+offset, pErrorCode); in ucnv_swap()
1673 length=udata_readInt32(ds, inExtIndexes[UCNV_EXT_INDEXES_LENGTH]); in ucnv_swap()
1674 ds->swapArray32(ds, inBytes, length*4, outBytes, pErrorCode); in ucnv_swap()
1678 udata_printError(ds, "ucnv_swap(): unknown conversionType=%d!=UCNV_MBCS\n", in ucnv_swap()