Lines Matching refs:ds
357 * @param ds pointer to data swapper containing swapping info
367 ucnvsel_swap(const UDataSwapper *ds,
371 int32_t headerSize = udata_swapDataHeader(ds, inData, length, outData, status);
384 udata_printError(ds, "ucnvsel_swap(): data format %02x.%02x.%02x.%02x is not recognized as UConverterSelector data\n",
391 udata_printError(ds, "ucnvsel_swap(): format version %02x is not supported\n",
400 udata_printError(ds, "ucnvsel_swap(): too few bytes (%d after header) for UConverterSelector data\n",
415 indexes[i] = udata_readInt32(ds, inIndexes[i]);
422 udata_printError(ds, "ucnvsel_swap(): too few bytes (%d after header) for all of UConverterSelector data\n",
437 ds->swapArray32(ds, inBytes, count, outBytes, status);
442 utrie2_swap(ds, inBytes + offset, count, outBytes + offset, status);
447 ds->swapArray32(ds, inBytes + offset, count, outBytes + offset, status);
452 ds->swapInvChars(ds, inBytes + offset, count, outBytes + offset, status);
504 UDataSwapper *ds =
506 int32_t totalSize = ucnvsel_swap(ds, p, -1, NULL, status);
508 udata_closeSwapper(ds);
512 udata_closeSwapper(ds);
518 udata_closeSwapper(ds);
522 ucnvsel_swap(ds, p, length, swapped, status);
523 udata_closeSwapper(ds);