Lines Matching refs:converter
170 _CompoundTextClose(UConverter *converter);
173 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice);
302 _CompoundTextClose(UConverter *converter) { in _CompoundTextClose() argument
303 … UConverterDataCompoundText* myConverterData = (UConverterDataCompoundText*)(converter->extraInfo); in _CompoundTextClose()
306 if (converter->extraInfo != NULL) { in _CompoundTextClose()
314 uprv_free(converter->extraInfo); in _CompoundTextClose()
319 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { in _CompoundTextReset() argument
329 UConverter *cnv = args->converter; in UConverter_fromUnicode_CompoundText_OFFSETS()
443 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = tmpTargetBuffer[i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
469 …UConverterDataCompoundText *myConverterData = (UConverterDataCompoundText *) args->converter->extr… in UConverter_toUnicode_CompoundText_OFFSETS()
489 if (args->converter->toULength > 0) { in UConverter_toUnicode_CompoundText_OFFSETS()
490 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
496 …tate = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->to… in UConverter_toUnicode_CompoundText_OFFSETS()
500 args->converter->toUBytes[args->converter->toULength++] = *mySource++; in UConverter_toUnicode_CompoundText_OFFSETS()
505 if (args->converter->toULength == 0) { in UConverter_toUnicode_CompoundText_OFFSETS()
516 … sourceOffset = uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength; in UConverter_toUnicode_CompoundText_OFFSETS()
520 args->converter->toULength = 0; in UConverter_toUnicode_CompoundText_OFFSETS()
543 savedSharedData = subArgs.converter->sharedData; in UConverter_toUnicode_CompoundText_OFFSETS()
544 subArgs.converter->sharedData = myConverterData->myConverterArray[currentState]; in UConverter_toUnicode_CompoundText_OFFSETS()
548 subArgs.converter->sharedData = savedSharedData; in UConverter_toUnicode_CompoundText_OFFSETS()
555 if(subArgs.converter->UCharErrorBufferLength > 0) { in UConverter_toUnicode_CompoundText_OFFSETS()
556 … uprv_memcpy(args->converter->UCharErrorBuffer, subArgs.converter->UCharErrorBuffer, in UConverter_toUnicode_CompoundText_OFFSETS()
557 subArgs.converter->UCharErrorBufferLength); in UConverter_toUnicode_CompoundText_OFFSETS()
559 … args->converter->UCharErrorBufferLength=subArgs.converter->UCharErrorBufferLength; in UConverter_toUnicode_CompoundText_OFFSETS()
560 subArgs.converter->UCharErrorBufferLength = 0; in UConverter_toUnicode_CompoundText_OFFSETS()