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