Lines Matching full:converter
167 /*********** Compound Text Converter Protos ***********/
173 _CompoundTextClose(UConverter *converter);
176 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice);
305 _CompoundTextClose(UConverter *converter) {
306 UConverterDataCompoundText* myConverterData = (UConverterDataCompoundText*)(converter->extraInfo);
309 if (converter->extraInfo != NULL) {
310 /*close the array of converter pointers and free the memory*/
317 uprv_free(converter->extraInfo);
318 converter->extraInfo = NULL;
323 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) {
324 (void)converter;
336 UConverter *cnv = args->converter;
450 args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = tmpTargetBuffer[i];
476 UConverterDataCompoundText *myConverterData = (UConverterDataCompoundText *) args->converter->extraInfo;
496 if (args->converter->toULength > 0) {
497 mySourceChar = args->converter->toUBytes[0];
503 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err);
507 args->converter->toUBytes[args->converter->toULength++] = *mySource++;
512 if (args->converter->toULength == 0) {
523 sourceOffset = static_cast<int32_t>(uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength);
527 args->converter->toULength = 0;
550 savedSharedData = subArgs.converter->sharedData;
551 subArgs.converter->sharedData = myConverterData->myConverterArray[currentState];
555 subArgs.converter->sharedData = savedSharedData;
562 if(subArgs.converter->UCharErrorBufferLength > 0) {
563 uprv_memcpy(args->converter->UCharErrorBuffer, subArgs.converter->UCharErrorBuffer,
564 subArgs.converter->UCharErrorBufferLength);
566 args->converter->UCharErrorBufferLength=subArgs.converter->UCharErrorBufferLength;
567 subArgs.converter->UCharErrorBufferLength = 0;