• Home
  • Raw
  • Download

Lines Matching refs:cnv

72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){  in _HZOpen()  argument
82 cnv->toUnicodeStatus = 0; in _HZOpen()
83 cnv->fromUnicodeStatus= 0; in _HZOpen()
84 cnv->mode=0; in _HZOpen()
85 cnv->fromUChar32=0x0000; in _HZOpen()
86 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ)); in _HZOpen()
87 if(cnv->extraInfo != NULL){ in _HZOpen()
88 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter; in _HZOpen()
98 _HZClose(UConverter *cnv){ in _HZClose() argument
99 if(cnv->extraInfo != NULL) { in _HZClose()
100 ucnv_close (((UConverterDataHZ *) (cnv->extraInfo))->gbConverter); in _HZClose()
101 if(!cnv->isExtraLocal) { in _HZClose()
102 uprv_free(cnv->extraInfo); in _HZClose()
104 cnv->extraInfo = NULL; in _HZClose()
109 _HZReset(UConverter *cnv, UConverterResetChoice choice){ in _HZReset() argument
111 cnv->toUnicodeStatus = 0; in _HZReset()
112 cnv->mode=0; in _HZReset()
113 if(cnv->extraInfo != NULL){ in _HZReset()
114 ((UConverterDataHZ*)cnv->extraInfo)->isStateDBCS = FALSE; in _HZReset()
115 ((UConverterDataHZ*)cnv->extraInfo)->isEmptySegment = FALSE; in _HZReset()
119 cnv->fromUnicodeStatus= 0; in _HZReset()
120 cnv->fromUChar32=0x0000; in _HZReset()
121 if(cnv->extraInfo != NULL){ in _HZReset()
122 ((UConverterDataHZ*)cnv->extraInfo)->isEscapeAppended = FALSE; in _HZReset()
123 ((UConverterDataHZ*)cnv->extraInfo)->targetIndex = 0; in _HZReset()
124 ((UConverterDataHZ*)cnv->extraInfo)->sourceIndex = 0; in _HZReset()
125 ((UConverterDataHZ*)cnv->extraInfo)->isTargetUCharDBCS = FALSE; in _HZReset()
501 UConverter *cnv = args->converter; in _HZ_WriteSub() local
502 UConverterDataHZ *convData=(UConverterDataHZ *) cnv->extraInfo; in _HZ_WriteSub()
512 *p++= (char)cnv->subChars[0]; in _HZ_WriteSub()
531 UConverter cnv; member
539 _HZ_SafeClone(const UConverter *cnv, in _HZ_SafeClone() argument
559 uprv_memcpy(&localClone->mydata, cnv->extraInfo, sizeof(UConverterDataHZ)); in _HZ_SafeClone()
560 localClone->cnv.extraInfo = &localClone->mydata; in _HZ_SafeClone()
561 localClone->cnv.isExtraLocal = TRUE; in _HZ_SafeClone()
565 ((UConverterDataHZ*)localClone->cnv.extraInfo)->gbConverter = in _HZ_SafeClone()
566 …ucnv_safeClone(((UConverterDataHZ*)cnv->extraInfo)->gbConverter, &localClone->subCnv, &size, statu… in _HZ_SafeClone()
568 return &localClone->cnv; in _HZ_SafeClone()
572 _HZ_GetUnicodeSet(const UConverter *cnv, in _HZ_GetUnicodeSet() argument
581 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter->sharedData, in _HZ_GetUnicodeSet()