/external/icu/icu4c/source/common/ |
ucnv_set.c | 44 if(cnv->sharedData->impl->getUnicodeSet==NULL) { 64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
|
ucnvdisp.c | 60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); 71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); 72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
|
ucnvmbcs.h | 494 ucnv_MBCSSimpleGetNextUChar(UConverterSharedData *sharedData, 504 ucnv_MBCSSingleSimpleGetNextUChar(UConverterSharedData *sharedData, 513 #define _MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(sharedData, b) \ 514 (UChar)MBCS_ENTRY_FINAL_VALUE_16((sharedData)->mbcs.stateTable[0][(uint8_t)(b)]) 521 ucnv_MBCSIsLeadByte(UConverterSharedData *sharedData, char byte); 524 #define _MBCS_IS_LEAD_BYTE(sharedData, byte) \ 525 (UBool)MBCS_ENTRY_IS_TRANSITION((sharedData)->mbcs.stateTable[0][(uint8_t)(byte)]) 545 ucnv_MBCSFromUChar32(UConverterSharedData *sharedData, 556 ucnv_MBCSSingleFromUChar32(UConverterSharedData *sharedData, 583 ucnv_MBCSGetUnicodeSetForUnicode(const UConverterSharedData *sharedData, [all...] |
ucnvmbcs.cpp | 379 ucnv_MBCSLoad(UConverterSharedData *sharedData, 385 ucnv_MBCSUnload(UConverterSharedData *sharedData); 849 ucnv_MBCSGetFilteredUnicodeSetForUnicode(const UConverterSharedData *sharedData, 863 mbcsTable=&sharedData->mbcs; [all...] |
ucnv_imp.h | 120 ucnv_unloadSharedDataIfReady(UConverterSharedData *sharedData); 126 ucnv_incrementRefCount(UConverterSharedData *sharedData);
|
ucnv.c | 198 if (cnv->sharedData->impl->safeClone != NULL) { 201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 283 if (cnv->sharedData->impl->safeClone != NULL) { 285 localConverter = cnv->sharedData->impl->safeClone(cnv, localConverter, pBufferSize, status); 298 if (cnv->sharedData->isReferenceCounted) { 299 ucnv_incrementRefCount(cnv->sharedData); 375 if (converter->sharedData->impl->close != NULL) { 376 converter->sharedData->impl->close(converter); 383 if (converter->sharedData->isReferenceCounted) { 384 ucnv_unloadSharedDataIfReady(converter->sharedData); [all...] |
ucnv_bld.cpp | 336 UConverterSharedData *sharedData; 354 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); 369 UTRACE_EXIT_PTR_STATUS(sharedData, *err); 370 return sharedData; 575 * It must be sharedData->isReferenceCounted 579 ucnv_unload(UConverterSharedData *sharedData) { 580 if(sharedData != NULL) { 581 if (sharedData->referenceCounter > 0) { 582 sharedData->referenceCounter--; 585 if((sharedData->referenceCounter <= 0)&&(sharedData->sharedDataCached == FALSE)) [all...] |
ucnv_bld.h | 96 uint32_t referenceCounter; /* used to count number of clients, unused for static/immutable SharedData */ 178 UConverterSharedData *sharedData; /* Pointer to the shared immutable part of the converter object */ 274 * It must be sharedData->isReferenceCounted 278 ucnv_unload(UConverterSharedData *sharedData);
|
ucnv_ext.cpp | 269 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \ 270 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1) 374 match=ucnv_extMatchToU(cnv->sharedData->mbcs.extIndexes, (int8_t)UCNV_SISO_STATE(cnv), 392 ucnv_extWriteToU(cnv, cnv->sharedData->mbcs.extIndexes, 764 cnv->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY) 867 match=ucnv_extMatchFromU(cnv->sharedData->mbcs.extIndexes, 891 ucnv_extWriteFromU(cnv, cnv->sharedData->mbcs.extIndexes, [all...] |
ucnv_cb.c | 206 if(converter->sharedData->impl->writeSub!=NULL) { 207 converter->sharedData->impl->writeSub(args, offsetIndex, err);
|
ucnv_cnv.h | 62 typedef void (*UConverterLoad) (UConverterSharedData *sharedData, 65 typedef void (*UConverterUnload) (UConverterSharedData *sharedData);
|
ucnv2022.cpp | 548 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); 601 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; 630 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; 655 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; 666 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; [all...] |
ucnvhz.c | 269 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->gbConverter->sharedData, 377 int32_t length= ucnv_MBCSFromUChar32(myConverterData->gbConverter->sharedData, 579 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter->sharedData,
|
ucnv_ext.h | 399 ucnv_extGetUnicodeSet(const UConverterSharedData *sharedData,
|
ucnv_u16.c | [all...] |
ucnv_ct.c | 543 savedSharedData = subArgs.converter->sharedData; 544 subArgs.converter->sharedData = myConverterData->myConverterArray[currentState]; 548 subArgs.converter->sharedData = savedSharedData;
|
ucnvlat1.c | 154 if(cnv->sharedData==&_Latin1Data) {
|
ucnv_u8.c | 95 return (UBool)(cnv->sharedData == &_CESU8Data); [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetMBCS.java | 36 UConverterSharedData sharedData = null; 182 sharedData = loadConverter(1, icuCanonicalName, classPath, loader); 184 maxBytesPerChar = sharedData.staticData.maxBytesPerChar; 185 minBytesPerChar = sharedData.staticData.minBytesPerChar; 187 fromUSubstitution = sharedData.staticData.subChar; 188 subChar = sharedData.staticData.subChar; 189 subCharLen = sharedData.staticData.subCharLen; 190 subChar1 = sharedData.staticData.subChar1; 191 fromUSubstitution = new byte[sharedData.staticData.subCharLen]; 192 System.arraycopy(sharedData.staticData.subChar, 0, fromUSubstitution, 0, sharedData.staticData.subCharLen) [all...] |
CharsetISO2022.java | 124 myConverterData.myConverterArray[ISO8859_7] = ((CharsetMBCS)CharsetICU.forNameICU("ISO8859_7")).sharedData; 126 // myConverterData.myConverterArray[JISX201] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-201")).sharedData; 127 myConverterData.myConverterArray[JISX208] = ((CharsetMBCS)CharsetICU.forNameICU("Shift-JIS")).sharedData; 129 myConverterData.myConverterArray[JISX212] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-212")).sharedData; 132 myConverterData.myConverterArray[GB2312] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; 135 myConverterData.myConverterArray[KSC5601] = ((CharsetMBCS)CharsetICU.forNameICU("ksc_5601")).sharedData; 149 myConverterData.myConverterArray[GB2312_1] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).sharedData; 151 myConverterData.myConverterArray[ISO_IR_165] = ((CharsetMBCS)CharsetICU.forNameICU("iso-ir-165")).sharedData; 153 myConverterData.myConverterArray[CNS_11643] = ((CharsetMBCS)CharsetICU.forNameICU("cns-11643-1992")).sharedData; 254 private int MBCSSimpleGetNextUChar(UConverterSharedData sharedData, [all...] |
CharsetICU.java | 425 if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.staticData.minBytesPerChar) {
|
CharsetHZ.java | 387 gbCharset.MBCSGetFilteredUnicodeSetForUnicode(gbCharset.sharedData, setFillIn, which, CharsetMBCS.UCNV_SET_FILTER_HZ);
|
CharsetLMBCS.java | 554 extraInfo.OptGrpConverter[i] = ((CharsetMBCS)CharsetICU.forNameICU(OptGroupByteToCPName[i])).sharedData; 592 extraInfo.charset.sharedData = cnv; [all...] |
CharsetCompoundText.java | 614 myConverterArray[i].MBCSGetFilteredUnicodeSetForUnicode(myConverterArray[i].sharedData, setFillIn, which, CharsetMBCS.UCNV_SET_FILTER_NONE);
|
/external/icu/icu4c/source/tools/makeconv/ |
makeconv.cpp | 43 UConverterSharedData sharedData; 50 data->sharedData.structSize=sizeof(UConverterSharedData); 52 data->sharedData.staticData=&data->staticData;
|