Lines Matching refs:converter
54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE()
58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE()
60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE()
62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE()
79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE()
80 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE()
101 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE()
102 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE()
109 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_BE()
134 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
139 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
140 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
141 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
143 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
144 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
160 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
161 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
185 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
186 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
193 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
230 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_BE()
232 ucnv_fromUWriteBytes(args->converter, in T_UConverter_fromUnicode_UTF32_BE()
237 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_BE()
243 if (args->converter->fromUChar32) { in T_UConverter_fromUnicode_UTF32_BE()
244 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_BE()
245 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_BE()
264 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE()
271 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE()
283 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE()
299 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
333 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
335 ucnv_fromUWriteBytes(args->converter, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
340 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
347 if (args->converter->fromUChar32) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
348 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
349 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
368 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
375 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
387 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
404 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
440 uprv_memcpy(args->converter->toUBytes, mySource, length); in T_UConverter_getNextUChar_UTF32_BE()
441 args->converter->toULength = (int8_t)length; in T_UConverter_getNextUChar_UTF32_BE()
458 uprv_memcpy(args->converter->toUBytes, mySource, 4); in T_UConverter_getNextUChar_UTF32_BE()
459 args->converter->toULength = 4; in T_UConverter_getNextUChar_UTF32_BE()
516 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE()
520 if (args->converter->toULength > 0 && myTarget < targetLimit) in T_UConverter_toUnicode_UTF32_LE()
522 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_LE()
523 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_LE()
526 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE()
527 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_LE()
547 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_LE()
548 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_LE()
568 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_LE()
569 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_LE()
576 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_LE()
602 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
607 if (args->converter->toULength > 0 && myTarget < targetLimit) in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
609 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
610 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
613 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
614 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
634 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
635 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
662 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
663 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
671 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
708 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_LE()
710 ucnv_fromUWriteBytes(args->converter, in T_UConverter_fromUnicode_UTF32_LE()
715 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_LE()
721 if (args->converter->fromUChar32) in T_UConverter_fromUnicode_UTF32_LE()
723 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_LE()
724 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_LE()
746 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE()
753 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE()
765 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE()
784 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_LE()
819 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
821 ucnv_fromUWriteBytes(args->converter, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
826 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
833 if (args->converter->fromUChar32) in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
835 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
836 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
859 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
866 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
878 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
898 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
935 uprv_memcpy(args->converter->toUBytes, mySource, length); in T_UConverter_getNextUChar_UTF32_LE()
936 args->converter->toULength = (int8_t)length; in T_UConverter_getNextUChar_UTF32_LE()
953 uprv_memcpy(args->converter->toUBytes, mySource, 4); in T_UConverter_getNextUChar_UTF32_LE()
954 args->converter->toULength = 4; in T_UConverter_getNextUChar_UTF32_LE()
1051 UConverter *cnv=pArgs->converter; in _UTF32ToUnicodeWithOffsets()
1192 switch(pArgs->converter->mode) { in _UTF32GetNextUChar()