Lines Matching defs:cnv
188 static void _ISCIIOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode) {
193 cnv->extraInfo = uprv_malloc(sizeof(UConverterDataISCII));
195 if (cnv->extraInfo != NULL) {
198 (UConverterDataISCII *) cnv->extraInfo;
200 cnv->toUnicodeStatus = missingCharMarker;
222 uprv_free(cnv->extraInfo);
223 cnv->extraInfo = NULL;
232 static void _ISCIIClose(UConverter *cnv) {
233 if (cnv->extraInfo!=NULL) {
234 if (!cnv->isExtraLocal) {
235 uprv_free(cnv->extraInfo);
237 cnv->extraInfo=NULL;
241 static const char* _ISCIIgetName(const UConverter* cnv) {
242 if (cnv->extraInfo) {
243 UConverterDataISCII* myData= (UConverterDataISCII*)cnv->extraInfo;
249 static void _ISCIIReset(UConverter *cnv, UConverterResetChoice choice) {
250 UConverterDataISCII* data =(UConverterDataISCII *) (cnv->extraInfo);
252 cnv->toUnicodeStatus = missingCharMarker;
253 cnv->mode=0;
260 cnv->fromUChar32=0x0000;
1493 UConverter *cnv = args->converter;
1497 cnv->toUBytes[0] = (uint8_t)*contextCharToUnicode;
1498 cnv->toULength = 1;
1503 cnv->toULength = 0;
1519 UConverter cnv;
1524 _ISCII_SafeClone(const UConverter *cnv,
1544 uprv_memcpy(&localClone->mydata, cnv->extraInfo, sizeof(UConverterDataISCII));
1545 localClone->cnv.extraInfo = &localClone->mydata;
1546 localClone->cnv.isExtraLocal = TRUE;
1548 return &localClone->cnv;
1552 _ISCIIGetUnicodeSet(const UConverter *cnv,