Lines Matching full:args
35 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args,
46 args->converter,
48 &args->target, args->targetLimit,
49 &args->offsets, offsetIndex,
54 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args,
79 oldTarget = args->target;
81 ucnv_fromUnicode(args->converter,
82 &args->target,
83 args->targetLimit,
90 if(args->offsets)
92 while (args->target != oldTarget) /* if it moved at all.. */
94 *(args->offsets)++ = offsetIndex;
104 /* && (*source < sourceLimit && args->target >= args->targetLimit)
115 errBuffLen = args->converter->charErrorBufferLength;
118 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen);
120 newTargetLimit = (char *)(args->converter->charErrorBuffer +
121 sizeof(args->converter->charErrorBuffer));
134 args->converter->charErrorBufferLength = 0;
136 ucnv_fromUnicode(args->converter,
148 args->converter->charErrorBufferLength = (int8_t)(
149 newTarget - (char*)args->converter->charErrorBuffer);
175 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args,
185 converter = args->converter;
202 ucnv_cbFromUWriteUChars(args, &source, source - length, offsetIndex, err);
207 converter->sharedData->impl->writeSub(args, offsetIndex, err);
214 ucnv_cbFromUWriteBytes(args,
219 ucnv_cbFromUWriteBytes(args,
226 ucnv_cbToUWriteUChars (UConverterToUnicodeArgs *args,
237 args->converter,
239 &args->target, args->targetLimit,
240 &args->offsets, offsetIndex,
245 ucnv_cbToUWriteSub (UConverterToUnicodeArgs *args,
252 if(args->converter->invalidCharLength == 1 && args->converter->subChar1 != 0) {
253 ucnv_cbToUWriteUChars(args, &kSubstituteChar1, 1, offsetIndex, err);
255 ucnv_cbToUWriteUChars(args, &kSubstituteChar, 1, offsetIndex, err);