Home
last modified time | relevance | path

Searched refs:staticData (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/tools/makeconv/
Dmakeconv.cpp46 UConverterStaticData staticData; member
53 data->staticData.structSize=sizeof(UConverterStaticData); in initConvData()
54 data->sharedData.staticData=&data->staticData; in initConvData()
150 udata_writeBlock(mem, &data->staticData, sizeof(UConverterStaticData)); in writeConverterData()
154 size += data->cnvData->write(data->cnvData, &data->staticData, mem, tableType); in writeConverterData()
157 size += data->extData->write(data->extData, &data->staticData, mem, tableType); in writeConverterData()
373 if(uprv_stricmp(p,data.staticData.name) && !QUIET) in main()
377 data.staticData.name); in main()
380 uprv_strcpy((char*)data.staticData.name, cnvName); in main()
382 if(!uprv_isInvariantString((char*)data.staticData.name, -1)) { in main()
[all …]
Dmakeconv.h55 …_CALLCONV_FPTR addTable)(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
58 (*U_CALLCONV_FPTR write)(NewConverter *cnvData, const UConverterStaticData *staticData,
Dgenmbcs.cpp98 MBCSPostprocess(MBCSData *mbcsData, const UConverterStaticData *staticData);
101 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
104 MBCSWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
949 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in MBCSAddTable() argument
957 staticData->unicodeMask=table->unicodeMask; in MBCSAddTable()
958 if(staticData->unicodeMask==3) { in MBCSAddTable()
963 staticData->conversionType=UCNV_MBCS; in MBCSAddTable()
991 staticData->hasFromUnicodeFallback=FALSE; in MBCSAddTable()
992 staticData->hasToUnicodeFallback=FALSE; in MBCSAddTable()
1044 staticData->hasFromUnicodeFallback=TRUE; in MBCSAddTable()
[all …]
Dgencnvex.c40 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
43 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
118 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData, in CnvExtWrite() argument
120 (void) staticData; // suppress compiler warnings about unused variable in CnvExtWrite()
1061 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in CnvExtAddTable() argument
1069 staticData->conversionType=UCNV_MBCS; in CnvExtAddTable()
/third_party/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp46 UConverterStaticData staticData; member
53 data->staticData.structSize=sizeof(UConverterStaticData); in initConvData()
54 data->sharedData.staticData=&data->staticData; in initConvData()
150 udata_writeBlock(mem, &data->staticData, sizeof(UConverterStaticData)); in writeConverterData()
154 size += data->cnvData->write(data->cnvData, &data->staticData, mem, tableType); in writeConverterData()
157 size += data->extData->write(data->extData, &data->staticData, mem, tableType); in writeConverterData()
373 if(uprv_stricmp(p,data.staticData.name) && !QUIET) in main()
377 data.staticData.name); in main()
380 uprv_strcpy((char*)data.staticData.name, cnvName); in main()
382 if(!uprv_isInvariantString((char*)data.staticData.name, -1)) { in main()
[all …]
Dmakeconv.h55 …_CALLCONV_FPTR addTable)(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
58 (*U_CALLCONV_FPTR write)(NewConverter *cnvData, const UConverterStaticData *staticData,
Dgenmbcs.cpp98 MBCSPostprocess(MBCSData *mbcsData, const UConverterStaticData *staticData);
101 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
104 MBCSWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
949 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in MBCSAddTable() argument
957 staticData->unicodeMask=table->unicodeMask; in MBCSAddTable()
958 if(staticData->unicodeMask==3) { in MBCSAddTable()
963 staticData->conversionType=UCNV_MBCS; in MBCSAddTable()
991 staticData->hasFromUnicodeFallback=false; in MBCSAddTable()
992 staticData->hasToUnicodeFallback=false; in MBCSAddTable()
1044 staticData->hasFromUnicodeFallback=true; in MBCSAddTable()
[all …]
Dgencnvex.c41 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
44 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
119 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData, in CnvExtWrite() argument
121 (void) staticData; // suppress compiler warnings about unused variable in CnvExtWrite()
1062 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in CnvExtAddTable() argument
1070 staticData->conversionType=UCNV_MBCS; in CnvExtAddTable()
/third_party/node/deps/icu-small/source/common/
Ducnvdisp.cpp62 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName()
73 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); in ucnv_getDisplayName()
74 …u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapaci… in ucnv_getDisplayName()
Ducnv_bld.cpp319 data->staticData = source; in ucnv_data_unFlattenClone()
468 (void*) data->staticData->name, /* Okay to cast away const as long as in ucnv_shareConverterData()
472 UCNV_DEBUG_LOG("put", data->staticData->name,data); in ucnv_shareConverterData()
515 …RACE_OPEN_CLOSE, "unload converter %s shared data %p", deadSharedData->staticData->name, deadShare… in ucnv_deleteSharedConverterData()
1008 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
1009 myUConverter->subChar1 = mySharedConverterData->staticData->subChar1; in ucnv_createConverterFromSharedData()
1010 myUConverter->subCharLen = mySharedConverterData->staticData->subCharLen; in ucnv_createConverterFromSharedData()
1012 …uprv_memcpy(myUConverter->subChars, mySharedConverterData->staticData->subChar, myUConverter->subC… in ucnv_createConverterFromSharedData()
1083 UCNV_DEBUG_LOG("del",mySharedData->staticData->name,mySharedData); in ucnv_flushCache()
Ducnv.cpp460 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
461 || (len < converter->sharedData->staticData->minBytesPerChar)) in ucnv_setSubstChars()
504 || (cnv->sharedData->staticData->conversionType == UCNV_MBCS && in ucnv_setSubstString()
662 return converter->sharedData->staticData->minBytesPerChar; in ucnv_getMinCharSize()
676 return converter->sharedData->staticData->name; in ucnv_getName()
687 ccsid = converter->sharedData->staticData->codepage; in ucnv_getCCSID()
710 return (UConverterPlatform)converter->sharedData->staticData->platform; in ucnv_getPlatform()
2142 if( sourceCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2146 } else if( targetCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2614 int8_t type = converter->sharedData->staticData->conversionType; in ucnv_getType()
Ducnv_bld.h102 const UConverterStaticData *staticData; /* pointer to the static (non changing) data. */ member
Ducnvmbcs.cpp1382 uprv_strcpy(name, sharedData->staticData->name); in _EBCDICSwapLFNL()
1610 if(0==uprv_strcmp(baseName, sharedData->staticData->name)) { in ucnv_MBCSLoad()
1628 if( baseSharedData->staticData->conversionType!=UCNV_MBCS || in ucnv_MBCSLoad()
1674 if( sharedData->staticData->conversionType==UCNV_DBCS || in ucnv_MBCSLoad()
1675 (sharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1676 sharedData->staticData->minBytesPerChar>=2) in ucnv_MBCSLoad()
1693 baseSharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1694 baseSharedData->staticData->minBytesPerChar==1 && in ucnv_MBCSLoad()
1695 baseSharedData->staticData->maxBytesPerChar==2 && in ucnv_MBCSLoad()
1787 mbcsTable->unicodeMask=(uint8_t)(sharedData->staticData->unicodeMask&3); in ucnv_MBCSLoad()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnvdisp.cpp62 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName()
73 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); in ucnv_getDisplayName()
74 …u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapaci… in ucnv_getDisplayName()
Ducnv_bld.cpp319 data->staticData = source; in ucnv_data_unFlattenClone()
468 (void*) data->staticData->name, /* Okay to cast away const as long as in ucnv_shareConverterData()
472 UCNV_DEBUG_LOG("put", data->staticData->name,data); in ucnv_shareConverterData()
515 …RACE_OPEN_CLOSE, "unload converter %s shared data %p", deadSharedData->staticData->name, deadShare… in ucnv_deleteSharedConverterData()
1008 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
1009 myUConverter->subChar1 = mySharedConverterData->staticData->subChar1; in ucnv_createConverterFromSharedData()
1010 myUConverter->subCharLen = mySharedConverterData->staticData->subCharLen; in ucnv_createConverterFromSharedData()
1012 …uprv_memcpy(myUConverter->subChars, mySharedConverterData->staticData->subChar, myUConverter->subC… in ucnv_createConverterFromSharedData()
1083 UCNV_DEBUG_LOG("del",mySharedData->staticData->name,mySharedData); in ucnv_flushCache()
Ducnv.cpp453 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
454 || (len < converter->sharedData->staticData->minBytesPerChar)) in ucnv_setSubstChars()
497 || (cnv->sharedData->staticData->conversionType == UCNV_MBCS && in ucnv_setSubstString()
655 return converter->sharedData->staticData->minBytesPerChar; in ucnv_getMinCharSize()
669 return converter->sharedData->staticData->name; in ucnv_getName()
680 ccsid = converter->sharedData->staticData->codepage; in ucnv_getCCSID()
703 return (UConverterPlatform)converter->sharedData->staticData->platform; in ucnv_getPlatform()
2135 if( sourceCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2139 } else if( targetCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2602 int8_t type = converter->sharedData->staticData->conversionType; in ucnv_getType()
Ducnv_bld.h102 const UConverterStaticData *staticData; /* pointer to the static (non changing) data. */ member
Ducnvmbcs.cpp1382 uprv_strcpy(name, sharedData->staticData->name); in _EBCDICSwapLFNL()
1610 if(0==uprv_strcmp(baseName, sharedData->staticData->name)) { in ucnv_MBCSLoad()
1628 if( baseSharedData->staticData->conversionType!=UCNV_MBCS || in ucnv_MBCSLoad()
1674 if( sharedData->staticData->conversionType==UCNV_DBCS || in ucnv_MBCSLoad()
1675 (sharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1676 sharedData->staticData->minBytesPerChar>=2) in ucnv_MBCSLoad()
1693 baseSharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1694 baseSharedData->staticData->minBytesPerChar==1 && in ucnv_MBCSLoad()
1695 baseSharedData->staticData->maxBytesPerChar==2 && in ucnv_MBCSLoad()
1787 mbcsTable->unicodeMask=(uint8_t)(sharedData->staticData->unicodeMask&3); in ucnv_MBCSLoad()
[all …]
/third_party/icu/icu4c/source/common/
Ducnvdisp.cpp62 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName()
73 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); in ucnv_getDisplayName()
74 …u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapaci… in ucnv_getDisplayName()
Ducnv_bld.cpp319 data->staticData = source; in ucnv_data_unFlattenClone()
468 (void*) data->staticData->name, /* Okay to cast away const as long as in ucnv_shareConverterData()
472 UCNV_DEBUG_LOG("put", data->staticData->name,data); in ucnv_shareConverterData()
515 …RACE_OPEN_CLOSE, "unload converter %s shared data %p", deadSharedData->staticData->name, deadShare… in ucnv_deleteSharedConverterData()
1008 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
1009 myUConverter->subChar1 = mySharedConverterData->staticData->subChar1; in ucnv_createConverterFromSharedData()
1010 myUConverter->subCharLen = mySharedConverterData->staticData->subCharLen; in ucnv_createConverterFromSharedData()
1012 …uprv_memcpy(myUConverter->subChars, mySharedConverterData->staticData->subChar, myUConverter->subC… in ucnv_createConverterFromSharedData()
1083 UCNV_DEBUG_LOG("del",mySharedData->staticData->name,mySharedData); in ucnv_flushCache()
Ducnv.cpp460 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
461 || (len < converter->sharedData->staticData->minBytesPerChar)) in ucnv_setSubstChars()
504 || (cnv->sharedData->staticData->conversionType == UCNV_MBCS && in ucnv_setSubstString()
662 return converter->sharedData->staticData->minBytesPerChar; in ucnv_getMinCharSize()
676 return converter->sharedData->staticData->name; in ucnv_getName()
687 ccsid = converter->sharedData->staticData->codepage; in ucnv_getCCSID()
710 return (UConverterPlatform)converter->sharedData->staticData->platform; in ucnv_getPlatform()
2142 if( sourceCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2146 } else if( targetCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2609 int8_t type = converter->sharedData->staticData->conversionType; in ucnv_getType()
Ducnv_bld.h102 const UConverterStaticData *staticData; /* pointer to the static (non changing) data. */ member
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterSharedData.java24 final UConverterStaticData staticData; field in UConverterSharedData
47 staticData = staticData_; in UConverterSharedData()
DCharsetMBCS.java183 maxBytesPerChar = sharedData.staticData.maxBytesPerChar; in CharsetMBCS()
184 minBytesPerChar = sharedData.staticData.minBytesPerChar; in CharsetMBCS()
186 fromUSubstitution = sharedData.staticData.subChar; in CharsetMBCS()
187 subChar = sharedData.staticData.subChar; in CharsetMBCS()
188 subCharLen = sharedData.staticData.subCharLen; in CharsetMBCS()
189 subChar1 = sharedData.staticData.subChar1; in CharsetMBCS()
190 fromUSubstitution = new byte[sharedData.staticData.subCharLen]; in CharsetMBCS()
191 …System.arraycopy(sharedData.staticData.subChar, 0, fromUSubstitution, 0, sharedData.staticData.sub… in CharsetMBCS()
205 UConverterStaticData staticData = new UConverterStaticData(); in loadConverter() local
224 reader.readStaticData(staticData); in loadConverter()
[all …]
DCharsetICU.java428 …if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.st… in isFixedWidth()

12