Lines Matching refs:pArgs
1037 UConverterLoadArgs *pArgs, in _UTF32Open() argument
1045 _UTF32ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF32ToUnicodeWithOffsets() argument
1047 UConverter *cnv=pArgs->converter; in _UTF32ToUnicodeWithOffsets()
1048 const char *source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1049 const char *sourceLimit=pArgs->sourceLimit; in _UTF32ToUnicodeWithOffsets()
1050 int32_t *offsets=pArgs->offsets; in _UTF32ToUnicodeWithOffsets()
1089 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets()
1092 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets()
1096 … int32_t count=(int32_t)(source-pArgs->source); /* number of bytes from this buffer */ in _UTF32ToUnicodeWithOffsets()
1099 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1104 UBool oldFlush=pArgs->flush; in _UTF32ToUnicodeWithOffsets()
1107 pArgs->source=utf32BOM+(state&4); /* select the correct BOM */ in _UTF32ToUnicodeWithOffsets()
1108 pArgs->sourceLimit=pArgs->source+((state&3)-count); /* replay previous bytes */ in _UTF32ToUnicodeWithOffsets()
1109 pArgs->flush=FALSE; /* this sourceLimit is not the real source stream limit */ in _UTF32ToUnicodeWithOffsets()
1112 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1115 pArgs->sourceLimit=sourceLimit; in _UTF32ToUnicodeWithOffsets()
1116 pArgs->flush=oldFlush; in _UTF32ToUnicodeWithOffsets()
1124 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1126 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1128 T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1130 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1134 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1136 T_UConverter_toUnicode_UTF32_LE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1138 T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1140 source=pArgs->source; in _UTF32ToUnicodeWithOffsets()
1149 int32_t *offsetsLimit=pArgs->offsets; in _UTF32ToUnicodeWithOffsets()
1155 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1157 if(source==sourceLimit && pArgs->flush) { in _UTF32ToUnicodeWithOffsets()
1163 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1166 T_UConverter_toUnicode_UTF32_LE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1170 pArgs->source=utf32BOM+(state&4); /* select the correct BOM */ in _UTF32ToUnicodeWithOffsets()
1171 pArgs->sourceLimit=pArgs->source+(state&3); /* replay bytes */ in _UTF32ToUnicodeWithOffsets()
1174 T_UConverter_toUnicode_UTF32_BE(pArgs, pErrorCode); in _UTF32ToUnicodeWithOffsets()
1175 pArgs->source=source; in _UTF32ToUnicodeWithOffsets()
1176 pArgs->sourceLimit=sourceLimit; in _UTF32ToUnicodeWithOffsets()
1186 _UTF32GetNextUChar(UConverterToUnicodeArgs *pArgs, in _UTF32GetNextUChar() argument
1188 switch(pArgs->converter->mode) { in _UTF32GetNextUChar()
1190 return T_UConverter_getNextUChar_UTF32_BE(pArgs, pErrorCode); in _UTF32GetNextUChar()
1192 return T_UConverter_getNextUChar_UTF32_LE(pArgs, pErrorCode); in _UTF32GetNextUChar()