/external/icu/icu4c/source/common/ |
ucnv_set.c | 46 if(cnv->sharedData->impl->getUnicodeSet==NULL) { 66 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
|
ucnvdisp.c | 62 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); 73 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); 74 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
|
ucnvmbcs.h | 496 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, 506 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData, 515 #define _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(sharedData, b) \ 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) \ 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...] |
ucnvmbcs.cpp | 381 ucnv_MBCSLoad(UConverterSharedData *sharedData, 387 ucnv_MBCSUnload(UConverterSharedData *sharedData); 852 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, [all...] |
ucnv_imp.h | 122 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData); 128 ucnv_incrementRefCount(UConverterSharedData *sharedData);
|
ucnv.c | 200 if (cnv->sharedData->impl->safeClone != NULL) { 203 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 285 if (cnv->sharedData->impl->safeClone != NULL) { 287 localConverter = cnv->sharedData->impl->safeClone(cnv, localConverter, pBufferSize, status); 300 if (cnv->sharedData->isReferenceCounted) { 301 ucnv_incrementRefCount(cnv->sharedData); 377 if (converter->sharedData->impl->close != NULL) { 378 converter->sharedData->impl->close(converter); 385 if (converter->sharedData->isReferenceCounted) { 386 ucnv_unloadSharedDataIfReady(converter->sharedData); [all...] |
ucnv_bld.cpp | 338 UConverterSharedData *sharedData; 356 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); 371 UTRACE_EXIT_PTR_STATUS(sharedData, *err); 372 return sharedData; 577 * It must be sharedData->isReferenceCounted 581 ucnv_unload(UConverterSharedData *sharedData) { 582 if(sharedData != NULL) { 583 if (sharedData->referenceCounter > 0) { 584 sharedData->referenceCounter--; 587 if((sharedData->referenceCounter <= 0)&&(sharedData->sharedDataCached == FALSE)) [all...] |
ucnv_bld.h | 98 uint32_t referenceCounter; /* used to count number of clients, unused for static/immutable SharedData */ 180 UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter object */ 276 * It must be sharedData->isReferenceCounted 280 ucnv_unload(UConverterSharedData *sharedData);
|
ucnv_ext.cpp | 271 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \ 272 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1) 376 match=ucnv_extMatchToU(cnv->sharedData->mbcs.extIndexes, (int8_t)UCNV_SISO_STATE(cnv), 394 ucnv_extWriteToU(cnv, cnv->sharedData->mbcs.extIndexes, 769 cnv->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY) 872 match=ucnv_extMatchFromU(cnv->sharedData->mbcs.extIndexes, 896 ucnv_extWriteFromU(cnv, cnv->sharedData->mbcs.extIndexes, [all...] |
ucnv_cb.c | 208 if(converter->sharedData->impl->writeSub!=NULL) { 209 converter->sharedData->impl->writeSub(args, offsetIndex, err);
|
ucnv_cnv.h | 64 typedef void (*UConverterLoad) (UConverterSharedData *sharedData, 67 typedef void (*UConverterUnload) (UConverterSharedData *sharedData);
|
ucnv2022.cpp | 533 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); 586 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; 615 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; 640 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; 651 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; [all...] |
ucnvhz.c | 271 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->gbConverter->sharedData, 379 int32_t length= ucnv_MBCSFromUChar32(myConverterData->gbConverter->sharedData, 581 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter->sharedData,
|
ucnv_ext.h | 401 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData,
|
ucnv_u16.c | [all...] |
ucnv_ct.c | 545 savedSharedData = subArgs.converter->sharedData; 546 subArgs.converter->sharedData = myConverterData->myConverterArray[currentState]; 550 subArgs.converter->sharedData = savedSharedData;
|
ucnvlat1.c | 156 if(cnv->sharedData==&_Latin1Data) {
|
ucnv_u8.c | 97 return (UBool)(cnv->sharedData == &_CESU8Data); [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetMBCS.java | 35 UConverterSharedData sharedData = null; 181 sharedData = loadConverter(1, icuCanonicalName, classPath, loader); 183 maxBytesPerChar = sharedData.staticData.maxBytesPerChar; 184 minBytesPerChar = sharedData.staticData.minBytesPerChar; 186 fromUSubstitution = sharedData.staticData.subChar; 187 subChar = sharedData.staticData.subChar; 188 subCharLen = sharedData.staticData.subCharLen; 189 subChar1 = sharedData.staticData.subChar1; 190 fromUSubstitution = new byte[sharedData.staticData.subCharLen]; 191 System.arraycopy(sharedData.staticData.subChar, 0, fromUSubstitution, 0, sharedData.staticData.subCharLen) [all...] |
CharsetISO2022.java | 126 myConverterData.myConverterArray[ISO8859_7] = ((CharsetMBCS)CharsetICU.forNameICU("ISO8859_7")).sharedData; 128 // myConverterData.myConverterArray[JISX201] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-201")).sharedData; 129 myConverterData.myConverterArray[JISX208] = ((CharsetMBCS)CharsetICU.forNameICU("Shift-JIS")).sharedData; 131 myConverterData.myConverterArray[JISX212] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-212")).sharedData; 134 myConverterData.myConverterArray[GB2312] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; 137 myConverterData.myConverterArray[KSC5601] = ((CharsetMBCS)CharsetICU.forNameICU("ksc_5601")).sharedData; 151 myConverterData.myConverterArray[GB2312_1] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; 153 myConverterData.myConverterArray[ISO_IR_165] = ((CharsetMBCS)CharsetICU.forNameICU("iso-ir-165")).sharedData; 155 myConverterData.myConverterArray[CNS_11643] = ((CharsetMBCS)CharsetICU.forNameICU("cns-11643-1992")).sharedData; 256 private int MBCSSimpleGetNextUChar(UConverterSharedData sharedData, [all...] |
CharsetICU.java | 428 if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.staticData.minBytesPerChar) {
|
CharsetHZ.java | 396 gbCharset.MBCSGetFilteredUnicodeSetForUnicode(gbCharset.sharedData, setFillIn, which, CharsetMBCS.UCNV_SET_FILTER_HZ);
|
CharsetLMBCS.java | 556 extraInfo.OptGrpConverter[i] = ((CharsetMBCS)CharsetICU.forNameICU(OptGroupByteToCPName[i])).sharedData; 595 extraInfo.charset.sharedData = cnv; [all...] |
CharsetCompoundText.java | 623 myConverterArray[i].MBCSGetFilteredUnicodeSetForUnicode(myConverterArray[i].sharedData, setFillIn, which, CharsetMBCS.UCNV_SET_FILTER_NONE);
|
/external/icu/icu4c/source/tools/makeconv/ |
makeconv.cpp | 45 UConverterSharedData sharedData; 52 data->sharedData.structSize=sizeof(UConverterSharedData); 54 data->sharedData.staticData=&data->staticData;
|