Lines Matching refs:pArgs
1039 UConverterLoadArgs *pArgs, in _UTF32Open() argument
1041 (void)pArgs; in _UTF32Open()
1049 _UTF32ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF32ToUnicodeWithOffsets() argument
1051 UConverter *cnv=pArgs->converter; in _UTF32ToUnicodeWithOffsets()
1052 const char *source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1053 const char *sourceLimit=pArgs->sourceLimit; in _UTF32ToUnicodeWithOffsets()
1054 int32_t *offsets=pArgs->offsets; in _UTF32ToUnicodeWithOffsets()
1093 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets()
1096 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets()
1100 … int32_t count=(int32_t)(source-pArgs->source); /* number of bytes from this buffer */ in _UTF32ToUnicodeWithOffsets()
1103 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1108 UBool oldFlush=pArgs->flush; in _UTF32ToUnicodeWithOffsets()
1111 pArgs->source=utf32BOM+(state&4); /* select the correct BOM */ in _UTF32ToUnicodeWithOffsets()
1112 pArgs->sourceLimit=pArgs->source+((state&3)-count); /* replay previous bytes */ in _UTF32ToUnicodeWithOffsets()
1113 pArgs->flush=FALSE; /* this sourceLimit is not the real source stream limit */ in _UTF32ToUnicodeWithOffsets()
1116 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1119 pArgs->sourceLimit=sourceLimit; in _UTF32ToUnicodeWithOffsets()
1120 pArgs->flush=oldFlush; in _UTF32ToUnicodeWithOffsets()
1128 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1130 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1132 T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1134 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1138 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1140 T_UConverter_toUnicode_UTF32_LE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1142 T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1144 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1153 int32_t *offsetsLimit=pArgs->offsets; in _UTF32ToUnicodeWithOffsets()
1159 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1161 if(source==sourceLimit && pArgs->flush) { in _UTF32ToUnicodeWithOffsets()
1167 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1170 T_UConverter_toUnicode_UTF32_LE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1174 pArgs->source=utf32BOM+(state&4); /* select the correct BOM */ in _UTF32ToUnicodeWithOffsets()
1175 pArgs->sourceLimit=pArgs->source+(state&3); /* replay bytes */ in _UTF32ToUnicodeWithOffsets()
1178 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1179 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1180 pArgs->sourceLimit=sourceLimit; in _UTF32ToUnicodeWithOffsets()
1190 _UTF32GetNextUChar(UConverterToUnicodeArgs *pArgs, in _UTF32GetNextUChar() argument
1192 switch(pArgs->converter->mode) { in _UTF32GetNextUChar()
1194 return T_UConverter_getNextUChar_UTF32_BE(pArgs, pErrorCode); in _UTF32GetNextUChar()
1196 return T_UConverter_getNextUChar_UTF32_LE(pArgs, pErrorCode); in _UTF32GetNextUChar()