Home
last modified time | relevance | path

Searched refs:useFallback (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_ext.cpp173 TO_U_USE_FALLBACK(useFallback)) && in ucnv_extMatchToU()
212 TO_U_USE_FALLBACK(useFallback)) && in ucnv_extMatchToU()
294 cnv->useFallback, flush); in ucnv_extInitialMatchToU()
335 UBool useFallback) { in ucnv_extSimpleMatchToU() argument
348 useFallback, TRUE); in ucnv_extSimpleMatchToU()
381 cnv->useFallback, pArgs->flush); in ucnv_extContinueMatchToU()
454 extFromUUseMapping(UBool useFallback, uint32_t value, UChar32 firstCP) { in extFromUUseMapping() argument
457 FROM_U_USE_FALLBACK(useFallback, firstCP)) && in extFromUUseMapping()
536 UBool useFallback, UBool flush) { in ucnv_extMatchFromU() argument
595 if(value!=0 && extFromUUseMapping(useFallback, value, firstCP)) { in ucnv_extMatchFromU()
[all …]
Ducnv_cnv.h270 #define TO_U_USE_FALLBACK(useFallback) TRUE argument
275 #define FROM_U_USE_FALLBACK(useFallback, c) ((useFallback) || IS_PRIVATE_USE(c)) argument
276 #define UCNV_FROM_U_USE_FALLBACK(cnv, c) FROM_U_USE_FALLBACK((cnv)->useFallback, c)
Ducnv2022.cpp1126 UBool useFallback, in MBCS_FROM_UCHAR32_ISO2022() argument
1168 } else if(FROM_U_USE_FALLBACK(useFallback, c) && myValue!=0) { in MBCS_FROM_UCHAR32_ISO2022()
1181 return ucnv_extSimpleMatchFromU(cx, c, value, useFallback); in MBCS_FROM_UCHAR32_ISO2022()
1197 UBool useFallback) in MBCS_SINGLE_FROM_UCHAR32() argument
1213 } else if(useFallback ? value>=0x800 : value>=0xc00) { in MBCS_SINGLE_FROM_UCHAR32()
1685 UBool useFallback; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1800 useFallback = cnv->useFallback; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1857 useFallback = FALSE; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1865 useFallback, MBCS_OUTPUT_2); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1873 useFallback = FALSE; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnvmbcs.h498 UBool useFallback);
507 uint8_t b, UBool useFallback);
549 UBool useFallback);
560 UBool useFallback);
Ducnv_ext.h364 UBool useFallback);
384 UBool useFallback);
Ducnvmbcs.cpp923 UBool useFallback; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
927 useFallback=(UBool)(which==UCNV_ROUNDTRIP_AND_FALLBACK_SET); in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
965 } else if(useFallback) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
991 … if(((st3&1)!=0 || useFallback) && *((const uint16_t *)stage3)>=0x100) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1001 … if(((st3&1)!=0 || useFallback) && ((value=*stage3)==0x81 || value==0x82)) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1011 … if(((st3&1)!=0 || useFallback) && (value=*((const uint16_t *)stage3))>=0x8140 && value<=0xeffc) { in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1021 if( ((st3&1)!=0 || useFallback) && in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
1034 if( ((st3&1)!=0 || useFallback) && in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
3207 uint8_t b, UBool useFallback) {
3228 if(!TO_U_USE_FALLBACK(useFallback)) {
[all …]
Ducnv_ct.cpp343 UBool useFallback = cnv->useFallback; in UConverter_fromUnicode_CompoundText_OFFSETS() local
413 …gth = ucnv_MBCSFromUChar32(myConverterData->myConverterArray[i], sourceChar, &pValue, useFallback); in UConverter_fromUnicode_CompoundText_OFFSETS()
431 …MBCSFromUChar32(myConverterData->myConverterArray[currentState], sourceChar, &pValue, useFallback); in UConverter_fromUnicode_CompoundText_OFFSETS()
Ducnv_bld.h188 UBool useFallback; member
Ducnvhz.cpp272 tempBuf, 2, args->converter->useFallback); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
380 mySourceChar,&targetUniChar,args->converter->useFallback); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
Ducnv.cpp2683 cnv->useFallback = usesFallback; in ucnv_setFallback()
2689 return cnv->useFallback; in ucnv_usesFallback()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java48 boolean useFallback; field in CharsetEncoderICU
111 return useFallback; in isFallbackUsed()
121 useFallback = usesFallback; in setFallbackUsed()
129 return (useFallback) || isUnicodePrivateUse(c); in isFromUUseFallback()
DCharsetMBCS.java1961 private int simpleMatchToU(ByteBuffer source, boolean useFallback) { in simpleMatchToU() argument
1984 …ch = matchToU((byte) -1, sourceArray, sourcePosition, sourceLimit, null, value, useFallback, true); in simpleMatchToU()
2656 int simpleGetNextUChar(ByteBuffer source, boolean useFallback) { in simpleGetNextUChar() argument
2739 if (!isToUUseFallback(useFallback)) { in simpleGetNextUChar()
2746 if (!isToUUseFallback(useFallback)) { in simpleGetNextUChar()
2777 return simpleMatchToU(source, useFallback); in simpleGetNextUChar()
3530 …(preFromUFirstCP, preFromUArray, preFromUBegin, preFromULength, source, value, useFallback, flush); in continueMatchFromU()
3940 match = matchFromU(cp, null, 0, 0, source, value, useFallback, flush); in initialMatchFromU()
4010 if (useFallback) { in cnvMBCSSingleFromBMPWithOffsets()
4178 if (useFallback) { in cnvMBCSSingleFromUnicodeWithOffsets()
[all …]
DCharsetISO2022.java258 boolean useFallback) { in MBCSSimpleGetNextUChar() argument
262 returnValue = myConverterData.currentDecoder.simpleGetNextUChar(source, useFallback); in MBCSSimpleGetNextUChar()
272 … MBCSSingleFromUChar32(UConverterSharedData sharedData, int c, int[] retval, boolean useFallback) { in MBCSSingleFromUChar32() argument
287 } else if (useFallback ? value>=0x800 : value>=0xc00) { in MBCSSingleFromUChar32()
1860 usingFallback = useFallback; in encodeLoop()
2400 usingFallback = useFallback; in encodeLoop()
2681 usingFallback = useFallback; in encodeLoop()
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c362 const char *codepage, const int32_t *expectOffsets , UBool useFallback) in testConvertFromU() argument
397 if(useFallback){ in testConvertFromU()
398 ucnv_setFallback(conv,useFallback); in testConvertFromU()
519 … const char *codepage, const int32_t *expectOffsets, UBool useFallback) in testConvertToU() argument
556 if(useFallback){ in testConvertToU()
557 ucnv_setFallback(conv,useFallback); in testConvertToU()