Lines Matching refs:extraInfo
636 …UConverterDataLMBCS * extraInfo = (UConverterDataLMBCS*)uprv_malloc (sizeof (UConverterDataLMBCS)); in _LMBCSOpenWorker() local
637 _this->extraInfo = extraInfo; in _LMBCSOpenWorker()
638 if(extraInfo != NULL) in _LMBCSOpenWorker()
644 uprv_memset(extraInfo, 0, sizeof(UConverterDataLMBCS)); in _LMBCSOpenWorker()
651 …extraInfo->OptGrpConverter[i] = ucnv_loadSharedData(OptGroupByteToCPName[i], &stackPieces, &stackA… in _LMBCSOpenWorker()
659 extraInfo->OptGroup = OptGroup; in _LMBCSOpenWorker()
660 extraInfo->localeConverterIndex = FindLMBCSLocale(pArgs->locale); in _LMBCSOpenWorker()
672 if (_this->extraInfo != NULL) in _LMBCSClose()
675 UConverterDataLMBCS * extraInfo = (UConverterDataLMBCS *) _this->extraInfo; in _LMBCSClose() local
679 if (extraInfo->OptGrpConverter[Ix] != NULL) in _LMBCSClose()
680 ucnv_unloadSharedDataIfReady(extraInfo->OptGrpConverter[Ix]); in _LMBCSClose()
683 uprv_free (_this->extraInfo); in _LMBCSClose()
684 _this->extraInfo = NULL; in _LMBCSClose()
701 UConverterDataLMBCS *extraInfo; in _LMBCSSafeClone() local
709 extraInfo=(UConverterDataLMBCS *)cnv->extraInfo; in _LMBCSSafeClone()
714 uprv_memcpy(&newLMBCS->lmbcs, extraInfo, sizeof(UConverterDataLMBCS)); in _LMBCSSafeClone()
718 if(extraInfo->OptGrpConverter[i] != NULL) { in _LMBCSSafeClone()
719 ucnv_incrementRefCount(extraInfo->OptGrpConverter[i]); in _LMBCSSafeClone()
723 newLMBCS->cnv.extraInfo = &newLMBCS->lmbcs; in _LMBCSSafeClone()
748 UConverterDataLMBCS * extraInfo, /* subconverters, opt & locale groups */ in LMBCSConversionWorker() argument
757 UConverterSharedData * xcnv = extraInfo->OptGrpConverter[group]; in LMBCSConversionWorker()
785 if (group != ULMBCS_GRP_EXCEPT && extraInfo->OptGroup != group) in LMBCSConversionWorker()
861 UConverterDataLMBCS * extraInfo = (UConverterDataLMBCS *) args->converter->extraInfo; in _LMBCSFromUnicode() local
893 OldConverterIndex = extraInfo->localeConverterIndex; in _LMBCSFromUnicode()
912 extraInfo->localeConverterIndex = ULMBCS_GRP_L1; in _LMBCSFromUnicode()
954 extraInfo, group, pLMBCS, &uniChar, in _LMBCSFromUnicode()
962 if ((extraInfo->OptGroup != 1) && (ULMBCS_AMBIGUOUS_MATCH(group, extraInfo->OptGroup))) in _LMBCSFromUnicode()
967 if(extraInfo->localeConverterIndex < ULMBCS_DOUBLEOPTGROUP_START) in _LMBCSFromUnicode()
969 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
975 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
981 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
982 extraInfo->localeConverterIndex, pLMBCS, &uniChar, in _LMBCSFromUnicode()
988 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
989 extraInfo->localeConverterIndex, pLMBCS, &uniChar, in _LMBCSFromUnicode()
994 …if (!bytes_written && (extraInfo->localeConverterIndex) && (ULMBCS_AMBIGUOUS_MATCH(group, extraInf… in _LMBCSFromUnicode()
996 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
997 … extraInfo->localeConverterIndex, pLMBCS, &uniChar, &lastConverterIndex, groups_tried); in _LMBCSFromUnicode()
1002 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
1026 if (extraInfo->OptGrpConverter [grp_ix] && !groups_tried [grp_ix]) in _LMBCSFromUnicode()
1028 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
1037 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo, in _LMBCSFromUnicode()
1079 extraInfo->localeConverterIndex = OldConverterIndex; in _LMBCSFromUnicode()
1155 UConverterDataLMBCS * extraInfo; in _LMBCSGetNextUCharWorker() local
1177 extraInfo = (UConverterDataLMBCS *) args->converter->extraInfo; in _LMBCSGetNextUCharWorker()
1178 if (group > ULMBCS_GRP_LAST || (cnv = extraInfo->OptGrpConverter[group]) == NULL) in _LMBCSGetNextUCharWorker()
1215 extraInfo = (UConverterDataLMBCS *) args->converter->extraInfo; in _LMBCSGetNextUCharWorker()
1216 cnv = extraInfo->OptGrpConverter [ULMBCS_GRP_EXCEPT]; in _LMBCSGetNextUCharWorker()
1227 extraInfo = (UConverterDataLMBCS *) args->converter->extraInfo; in _LMBCSGetNextUCharWorker()
1228 group = extraInfo->OptGroup; in _LMBCSGetNextUCharWorker()
1229 cnv = extraInfo->OptGrpConverter[group]; in _LMBCSGetNextUCharWorker()