Home
last modified time | relevance | path

Searched refs:extraInfo (Results 1 – 7 of 7) sorted by relevance

/external/icu4c/common/
Ducnv_lmb.c574 …UConverterDataLMBCS * extraInfo = (UConverterDataLMBCS*)uprv_malloc (sizeof (UConverterDataLMBCS)); in _LMBCSOpenWorker() local
575 if(extraInfo != NULL) in _LMBCSOpenWorker()
579 uprv_memset(extraInfo, 0, sizeof(UConverterDataLMBCS)); in _LMBCSOpenWorker()
584extraInfo->OptGrpConverter[i] = ucnv_loadSharedData(OptGroupByteToCPName[i], NULL, err); in _LMBCSOpenWorker()
589 extraInfo->OptGroup = OptGroup; in _LMBCSOpenWorker()
590 extraInfo->localeConverterIndex = FindLMBCSLocale(locale); in _LMBCSOpenWorker()
594 if(extraInfo->OptGrpConverter[--i] != NULL) { in _LMBCSOpenWorker()
595 ucnv_unloadSharedDataIfReady(extraInfo->OptGrpConverter[i]); in _LMBCSOpenWorker()
596 extraInfo->OptGrpConverter[i] = NULL; in _LMBCSOpenWorker()
605 _this->extraInfo = extraInfo; in _LMBCSOpenWorker()
[all …]
Ducnvhz.c72 cnv->extraInfo = uprv_malloc(sizeof(UConverterDataHZ)); in _HZOpen()
73 if(cnv->extraInfo != NULL){ in _HZOpen()
74 uprv_memset(cnv->extraInfo, 0, sizeof(UConverterDataHZ)); in _HZOpen()
75 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = ucnv_open("GBK",errorCode); in _HZOpen()
85 if(cnv->extraInfo != NULL) { in _HZClose()
86 ucnv_close (((UConverterDataHZ *) (cnv->extraInfo))->gbConverter); in _HZClose()
88 uprv_free(cnv->extraInfo); in _HZClose()
90 cnv->extraInfo = NULL; in _HZClose()
99 if(cnv->extraInfo != NULL){ in _HZReset()
100 ((UConverterDataHZ*)cnv->extraInfo)->isStateDBCS = FALSE; in _HZReset()
[all …]
Ducnvisci.c147 cnv->extraInfo = uprv_malloc (sizeof (UConverterDataISCII)); in _ISCIIOpen()
149 if(cnv->extraInfo != NULL) { in _ISCIIOpen()
151 UConverterDataISCII *converterData=(UConverterDataISCII *) cnv->extraInfo; in _ISCIIOpen()
172 uprv_free(cnv->extraInfo); in _ISCIIOpen()
173 cnv->extraInfo = NULL; in _ISCIIOpen()
183 if(cnv->extraInfo!=NULL) { in _ISCIIClose()
185 uprv_free(cnv->extraInfo); in _ISCIIClose()
187 cnv->extraInfo=NULL; in _ISCIIClose()
193 if(cnv->extraInfo){ in _ISCIIgetName()
194 UConverterDataISCII* myData= (UConverterDataISCII*)cnv->extraInfo; in _ISCIIgetName()
[all …]
Ducnvscsu.c157 SCSUData *scsu=(SCSUData *)cnv->extraInfo; in _SCSUReset()
197 cnv->extraInfo=uprv_malloc(sizeof(SCSUData)); in _SCSUOpen()
198 if(cnv->extraInfo!=NULL) { in _SCSUOpen()
200 ((SCSUData *)cnv->extraInfo)->locale=l_ja; in _SCSUOpen()
202 ((SCSUData *)cnv->extraInfo)->locale=lGeneric; in _SCSUOpen()
216 if(cnv->extraInfo!=NULL) { in _SCSUClose()
218 uprv_free(cnv->extraInfo); in _SCSUClose()
220 cnv->extraInfo=NULL; in _SCSUClose()
245 scsu=(SCSUData *)cnv->extraInfo; in _SCSUToUnicodeWithOffsets()
596 scsu=(SCSUData *)cnv->extraInfo; in _SCSUToUnicode()
[all …]
Ducnv2022.c454 cnv->extraInfo = uprv_malloc (sizeof (UConverterDataISO2022)); in _ISO2022Open()
455 if(cnv->extraInfo != NULL) { in _ISO2022Open()
456 UConverterDataISO2022 *myConverterData=(UConverterDataISO2022 *) cnv->extraInfo; in _ISO2022Open()
599 UConverterDataISO2022* myData =(UConverterDataISO2022 *) (converter->extraInfo); in _ISO2022Close()
603 if (converter->extraInfo != NULL) { in _ISO2022Close()
614 uprv_free (converter->extraInfo); in _ISO2022Close()
615 converter->extraInfo = NULL; in _ISO2022Close()
622 UConverterDataISO2022 *myConverterData=(UConverterDataISO2022 *) (converter->extraInfo); in _ISO2022Reset()
666 if(cnv->extraInfo){ in _ISO2022getName()
667 UConverterDataISO2022* myData= (UConverterDataISO2022*)cnv->extraInfo; in _ISO2022getName()
[all …]
Ducnv_bld.h155 void *extraInfo; member
/external/skia/src/animator/
DSkBuildCondensedInfo.cpp126 const SkMemberInfo* extraInfo = in BuildCondensedInfo() local
128 AddInfo(SkType_Point, extraInfo, infoCount); in BuildCondensedInfo()
129 AddInfo(SkType_3D_Point, extraInfo, infoCount); in BuildCondensedInfo()