Home
last modified time | relevance | path

Searched refs:sharedData (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/common/
Ducnvmbcs.cpp382 ucnv_MBCSLoad(UConverterSharedData *sharedData,
388 ucnv_MBCSUnload(UConverterSharedData *sharedData);
853 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, in ucnv_MBCSGetFilteredUnicodeSetForUnicode() argument
867 mbcsTable=&sharedData->mbcs; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1058 ucnv_extGetUnicodeSet(sharedData, sa, which, filter, pErrorCode); in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1062 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, in ucnv_MBCSGetUnicodeSetForUnicode() argument
1067 sharedData, sa, which, in ucnv_MBCSGetUnicodeSetForUnicode()
1068 sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? in ucnv_MBCSGetUnicodeSetForUnicode()
1083 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); in ucnv_MBCSGetUnicodeSet()
1105 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, in _extFromU() argument
[all …]
Ducnvmbcs.h496 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData,
506 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData,
515 #define _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(sharedData, b) \ argument
516 (UChar)MBCS_ENTRY_FINAL_VALUE_16((sharedData)->mbcs.stateTable[0][(uint8_t)(b)])
523 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte);
526 #define _MBCS_IS_LEAD_BYTE(sharedData, byte) \ argument
527 (UBool)MBCS_ENTRY_IS_TRANSITION((sharedData)->mbcs.stateTable[0][(uint8_t)(byte)])
547 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData,
558 ucnv_MBCSSingleFromUChar32(UConverterSharedData *sharedData,
585 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData,
[all …]
Ducnv.cpp200 if (cnv->sharedData->impl->safeClone != NULL) { in ucnv_safeClone()
203 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
285 if (cnv->sharedData->impl->safeClone != NULL) { in ucnv_safeClone()
287 localConverter = cnv->sharedData->impl->safeClone(cnv, localConverter, pBufferSize, status); in ucnv_safeClone()
300 if (cnv->sharedData->isReferenceCounted) { in ucnv_safeClone()
301 ucnv_incrementRefCount(cnv->sharedData); in ucnv_safeClone()
377 if (converter->sharedData->impl->close != NULL) { in ucnv_close()
378 converter->sharedData->impl->close(converter); in ucnv_close()
385 if (converter->sharedData->isReferenceCounted) { in ucnv_close()
386 ucnv_unloadSharedDataIfReady(converter->sharedData); in ucnv_close()
[all …]
Ducnv_bld.cpp343 UConverterSharedData *sharedData; in createConverterFromFile() local
361 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); in createConverterFromFile()
376 UTRACE_EXIT_PTR_STATUS(sharedData, *err); in createConverterFromFile()
377 return sharedData; in createConverterFromFile()
586 ucnv_unload(UConverterSharedData *sharedData) { in ucnv_unload() argument
587 if(sharedData != NULL) { in ucnv_unload()
588 if (sharedData->referenceCounter > 0) { in ucnv_unload()
589 sharedData->referenceCounter--; in ucnv_unload()
592 if((sharedData->referenceCounter <= 0)&&(sharedData->sharedDataCached == FALSE)) { in ucnv_unload()
593 ucnv_deleteSharedConverterData(sharedData); in ucnv_unload()
[all …]
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_ext.cpp272 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
273 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
377 match=ucnv_extMatchToU(cnv->sharedData->mbcs.extIndexes, (int8_t)UCNV_SISO_STATE(cnv), in ucnv_extContinueMatchToU()
395 ucnv_extWriteToU(cnv, cnv->sharedData->mbcs.extIndexes, in ucnv_extContinueMatchToU()
770 cnv->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY) in ucnv_extInitialMatchFromU()
873 match=ucnv_extMatchFromU(cnv->sharedData->mbcs.extIndexes, in ucnv_extContinueMatchFromU()
897 ucnv_extWriteFromU(cnv, cnv->sharedData->mbcs.extIndexes, in ucnv_extContinueMatchFromU()
978 ucnv_extGetUnicodeSetString(const UConverterSharedData *sharedData, in ucnv_extGetUnicodeSetString() argument
1019 sharedData, cx, sa, which, minLength, in ucnv_extGetUnicodeSetString()
1030 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData, in ucnv_extGetUnicodeSet() argument
[all …]
Ducnv_set.cpp46 if(cnv->sharedData->impl->getUnicodeSet==NULL) { in ucnv_getUnicodeSet()
66 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode); in ucnv_getUnicodeSet()
Ducnv_imp.h122 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData);
128 ucnv_incrementRefCount(UConverterSharedData *sharedData);
Ducnv2022.cpp533 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); in _ISO2022Open()
586 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; in _ISO2022Open()
615 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; in _ISO2022Open()
640 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; in _ISO2022Open()
651 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; in _ISO2022Open()
1123 MBCS_FROM_UCHAR32_ISO2022(UConverterSharedData* sharedData, in MBCS_FROM_UCHAR32_ISO2022() argument
1141 if(c<0x10000 || (sharedData->mbcs.unicodeMask&UCNV_HAS_SUPPLEMENTARY)) { in MBCS_FROM_UCHAR32_ISO2022()
1142 table=sharedData->mbcs.fromUnicodeTable; in MBCS_FROM_UCHAR32_ISO2022()
1146 myValue=MBCS_VALUE_2_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in MBCS_FROM_UCHAR32_ISO2022()
1153 p=MBCS_POINTER_3_FROM_STAGE_2(sharedData->mbcs.fromUnicodeBytes, stage2Entry, c); in MBCS_FROM_UCHAR32_ISO2022()
[all …]
Ducnv_bld.h180 …UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter objec… member
280 ucnv_unload(UConverterSharedData *sharedData);
Ducnv_cb.cpp208 if(converter->sharedData->impl->writeSub!=NULL) { in ucnv_cbFromUWriteSub()
209 converter->sharedData->impl->writeSub(args, offsetIndex, err); in ucnv_cbFromUWriteSub()
Ducnv_cnv.h64 typedef void (*UConverterLoad) (UConverterSharedData *sharedData,
67 typedef void (*UConverterUnload) (UConverterSharedData *sharedData);
Ducnvhz.cpp271 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->gbConverter->sharedData, in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
379 int32_t length= ucnv_MBCSFromUChar32(myConverterData->gbConverter->sharedData, in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
581 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter->sharedData, in _HZ_GetUnicodeSet()
Ducnv_u16.cpp1304 cnv->sharedData=(UConverterSharedData*)&_UTF16v2Data; in _UTF16Open()
1327 return ((cnv)->sharedData == &_UTF16BEData); in IS_UTF16BE()
1331 return ((cnv)->sharedData == &_UTF16LEData); in IS_UTF16LE()
1335 return ((cnv)->sharedData==&_UTF16Data) || ((cnv)->sharedData == &_UTF16v2Data); in IS_UTF16()
Ducnv_ct.cpp550 savedSharedData = subArgs.converter->sharedData; in UConverter_toUnicode_CompoundText_OFFSETS()
551 subArgs.converter->sharedData = myConverterData->myConverterArray[currentState]; in UConverter_toUnicode_CompoundText_OFFSETS()
555 subArgs.converter->sharedData = savedSharedData; in UConverter_toUnicode_CompoundText_OFFSETS()
Ducnv_ext.h401 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData,
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java35 UConverterSharedData sharedData = null; field in CharsetMBCS
181 sharedData = loadConverter(1, icuCanonicalName, classPath, loader); in CharsetMBCS()
183 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()
[all …]
DCharsetISO2022.java126 …terData.myConverterArray[ISO8859_7] = ((CharsetMBCS)CharsetICU.forNameICU("ISO8859_7")).sharedData; in ISO2022InitJP()
129 …erterData.myConverterArray[JISX208] = ((CharsetMBCS)CharsetICU.forNameICU("Shift-JIS")).sharedData; in ISO2022InitJP()
131 …verterData.myConverterArray[JISX212] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-212")).sharedData; in ISO2022InitJP()
134 …nverterData.myConverterArray[GB2312] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; in ISO2022InitJP()
137 …verterData.myConverterArray[KSC5601] = ((CharsetMBCS)CharsetICU.forNameICU("ksc_5601")).sharedData; in ISO2022InitJP()
151 …erterData.myConverterArray[GB2312_1] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; in ISO2022InitCN()
153 …rData.myConverterArray[ISO_IR_165] = ((CharsetMBCS)CharsetICU.forNameICU("iso-ir-165")).sharedData; in ISO2022InitCN()
155 …ta.myConverterArray[CNS_11643] = ((CharsetMBCS)CharsetICU.forNameICU("cns-11643-1992")).sharedData; in ISO2022InitCN()
256 private int MBCSSimpleGetNextUChar(UConverterSharedData sharedData, in MBCSSimpleGetNextUChar() argument
260 UConverterSharedData tempSharedData = myConverterData.currentConverter.sharedData; in MBCSSimpleGetNextUChar()
[all …]
DCharsetICU.java428 …if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.st… in isFixedWidth()
DCharsetLMBCS.java556 …Info.OptGrpConverter[i] = ((CharsetMBCS)CharsetICU.forNameICU(OptGroupByteToCPName[i])).sharedData; in CharsetLMBCS()
595 extraInfo.charset.sharedData = cnv; in LMBCS_SimpleGetNextUChar()
865 extraInfo.charset.sharedData = xcnv; in LMBCSConversionWorker()
DCharsetHZ.java396 …gbCharset.MBCSGetFilteredUnicodeSetForUnicode(gbCharset.sharedData, setFillIn, which, CharsetMBCS.… in getUnicodeSetImpl()
DCharsetCompoundText.java623 …myConverterArray[i].MBCSGetFilteredUnicodeSetForUnicode(myConverterArray[i].sharedData, setFillIn,… in getUnicodeSetImpl()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWorkgroupStorageTests.cpp322 std::vector<tcu::IVec4> sharedData(m_params.sharedMemorySize); in calculateRef() local
324sharedData[dataIdx] = reference.getPixelInt(dataIdx % reference.getWidth(), dataIdx / reference.ge… in calculateRef()
331 reference.setPixel(sharedData[idx], x, y); in calculateRef()
/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp45 UConverterSharedData sharedData; member
52 data->sharedData.structSize=sizeof(UConverterSharedData); in initConvData()
54 data->sharedData.staticData=&data->staticData; in initConvData()
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py521 sharedTuple, sharedData, usesSharedPoints = v.compile(
523 …if useSharedPoints and (len(sharedTuple) + len(sharedData)) < (len(privateTuple) + len(privateData…
525 data.append(sharedData)

12