Lines Matching refs:args

39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){    …  argument
42args->target[targetIndex] = (unsigned char) *strToAppend; …
43 …if(args->offsets!=NULL){ …
49args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) …
154 UConverter_toUnicode_HZ_OFFSETS_LOGIC(UConverterToUnicodeArgs *args, in UConverter_toUnicode_HZ_OFFSETS_LOGIC() argument
157 const char *mySource = ( char *) args->source; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
158 UChar *myTarget = args->target; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
159 const char *mySourceLimit = args->sourceLimit; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
174 if(myTarget < args->targetLimit){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
178 if(args->converter->mode == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
180 args->converter->mode=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
186 if(args->offsets) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
187args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
198 args->converter->toUCallbackReason = UCNV_IRREGULAR; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
199 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
200 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
201 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
203 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
220 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
226 args->converter->toULength = 1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
230 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
231 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
233 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
234 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
238 if(args->converter->toUnicodeStatus == 0x00){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
241 args->converter->mode = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
244 args->converter->toUnicodeStatus = (uint32_t) (mySourceChar | 0x100); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
252 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
270 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
281 args->converter->toUnicodeStatus =0x00; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
286 args->converter->mode = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
297 if(args->offsets) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
298args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS)… in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
311 args->converter->toUBytes[0] = (uint8_t)(mySourceChar >> 8); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
312 args->converter->toUBytes[1] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
313 args->converter->toULength=2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
316 args->converter->toUBytes[0] = (uint8_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
317 args->converter->toULength=1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
328 args->target = myTarget; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
329 args->source = mySource; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
334 UConverter_fromUnicode_HZ_OFFSETS_LOGIC (UConverterFromUnicodeArgs * args, in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() argument
336 const UChar *mySource = args->source; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
337 char *myTarget = args->target; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
338 int32_t* offsets = args->offsets; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
341 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
342 int32_t mySourceLength = (int32_t)(args->sourceLimit - args->source); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
345 UConverterDataHZ *myConverterData=(UConverterDataHZ*)args->converter->extraInfo; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
356 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
372 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
378 mySourceChar,&targetUniChar,args->converter->useFallback); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
396 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
402 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
420args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = (char) targetUniChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
424args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] =(char) (targetUniChar … in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
425args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = (char) targetUniChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
437args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = (char) targetUniChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
449 args->converter->fromUChar32=mySourceChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
454 UChar trail=(UChar) args->source[mySourceIndex]; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
457 … mySourceChar=U16_GET_SUPPLEMENTARY(args->converter->fromUChar32, trail); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
458 args->converter->fromUChar32=0x00; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
481 args->converter->fromUChar32=mySourceChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
492 args->target += myTargetIndex; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
493 args->source += mySourceIndex; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
498 _HZ_WriteSub(UConverterFromUnicodeArgs *args, int32_t offsetIndex, UErrorCode *err) { in _HZ_WriteSub() argument
499 UConverter *cnv = args->converter; in _HZ_WriteSub()
512 ucnv_cbFromUWriteBytes(args, in _HZ_WriteSub()