Home | History | Annotate | Download | only in common

Lines Matching refs:cnv

90     UConverter *cnv = args->converter;
95 unsigned char *toUBytes = cnv->toUBytes;
96 UBool isCESU8 = (UBool)(cnv->sharedData == &_CESU8Data);
101 if (cnv->toUnicodeStatus && myTarget < targetLimit)
103 inBytes = cnv->mode; /* restore # of bytes to consume */
104 i = cnv->toULength; /* restore # of bytes consumed */
105 cnv->toULength = 0;
107 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/
108 cnv->toUnicodeStatus = 0;
144 cnv->toUnicodeStatus = ch;
145 cnv->mode = inBytes;
146 cnv->toULength = (int8_t) i;
188 cnv->UCharErrorBuffer[0] = (UChar) ch;
189 cnv->UCharErrorBufferLength = 1;
197 cnv->toULength = (int8_t)i;
218 UConverter *cnv = args->converter;
225 unsigned char *toUBytes = cnv->toUBytes;
226 UBool isCESU8 = (UBool)(cnv->sharedData == &_CESU8Data);
231 if (cnv->toUnicodeStatus && myTarget < targetLimit)
233 inBytes = cnv->mode; /* restore # of bytes to consume */
234 i = cnv->toULength; /* restore # of bytes consumed */
235 cnv->toULength = 0;
237 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/
238 cnv->toUnicodeStatus = 0;
272 cnv->toUnicodeStatus = ch;
273 cnv->mode = inBytes;
274 cnv->toULength = (int8_t)i;
318 cnv->UCharErrorBuffer[0] = (UChar) ch;
319 cnv->UCharErrorBufferLength = 1;
327 cnv->toULength = (int8_t)i;
348 UConverter *cnv = args->converter;
357 UBool isNotCESU8 = (UBool)(cnv->sharedData != &_CESU8Data);
359 if (cnv->fromUChar32 && myTarget < targetLimit)
361 ch = cnv->fromUChar32;
362 cnv->fromUChar32 = 0;
383 cnv->charErrorBuffer[0] = (uint8_t) ((ch & 0x3f) | 0x80);
384 cnv->charErrorBufferLength = 1;
403 cnv->fromUChar32 = ch;
410 cnv->fromUChar32 = ch;
442 cnv->charErrorBuffer[cnv->charErrorBufferLength++] = *tempPtr;
462 UConverter *cnv = args->converter;
473 UBool isNotCESU8 = (UBool)(cnv->sharedData != &_CESU8Data);
475 if (cnv->fromUChar32 && myTarget < targetLimit)
477 ch = cnv->fromUChar32;
478 cnv->fromUChar32 = 0;
506 cnv->charErrorBuffer[0] = (uint8_t) ((ch & 0x3f) | 0x80);
507 cnv->charErrorBufferLength = 1;
530 cnv->fromUChar32 = ch;
537 cnv->fromUChar32 = ch;
579 cnv->charErrorBuffer[cnv->charErrorBufferLength++] = *tempPtr;
600 UConverter *cnv;
610 cnv = args->converter;
628 cnv->toUBytes[0] = myByte;
629 cnv->toULength = 1;
639 cnv->toUBytes[0] = myByte;
644 cnv->toUBytes[i++] = myByte;
652 cnv->toULength = i;
730 cnv->toUBytes[i] = *sourceInitial++;
732 cnv->toULength = i;
752 UConverter *utf8, *cnv;
765 cnv=pFromUArgs->converter;