Home
last modified time | relevance | path

Searched refs:getBooleanAttribute (Results 1 - 19 of 19) sorted by relevance

/third_party/icu/icu4c/source/i18n/
H A Dsmpdtfmt.cpp2448 if (! matchLiterals(fPattern, i, text, pos, getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status), getBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, status), isLenient())) { in parse()
2456 if (text.charAt(pos) == 0x2e && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in parse()
3190 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in subParse()
3326 if (gotNumber && (getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC,status) || value > fSymbols->fShortYearNamesCount)) { in subParse()
3375 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) && count>=3 && count <=4 && in subParse()
3383 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 4) { in subParse()
3389 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 3) { in subParse()
3393 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) && count>=3 && count <=4 && in subParse()
3401 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATC in subParse()
[all...]
H A Ddatefmt.cpp669 && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status) in isLenient()
670 && getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status); in isLenient()
743 DateFormat::getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &/*status*/) const { in getBooleanAttribute() function in DateFormat
H A Dudat.cpp433 return ((DateFormat*)fmt)->getBooleanAttribute(attr, *status); in udat_getBooleanAttribute()
/third_party/node/deps/icu-small/source/i18n/
H A Dsmpdtfmt.cpp2399 if (! matchLiterals(fPattern, i, text, pos, getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status), getBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, status), isLenient())) { in parse()
2407 if (text.charAt(pos) == 0x2e && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in parse()
3141 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in subParse()
3277 if (gotNumber && (getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC,status) || value > fSymbols->fShortYearNamesCount)) { in subParse()
3326 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) && count>=3 && count <=4 && in subParse()
3334 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 4) { in subParse()
3340 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 3) { in subParse()
3344 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) && count>=3 && count <=4 && in subParse()
3352 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATC in subParse()
[all...]
H A Ddatefmt.cpp668 && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status) in isLenient()
669 && getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status); in isLenient()
742 DateFormat::getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &/*status*/) const { in getBooleanAttribute() function in DateFormat
H A Dudat.cpp434 return ((DateFormat*)fmt)->getBooleanAttribute(attr, *status); in udat_getBooleanAttribute()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSimpleDateFormat.java2578 if (extra == '.' && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE) && items.length != 0) { in parse()
2856 if (ich == '.' && pos == originalPos && 0 < itemIndex && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE)) { in matchLiteral()
2865 } else if ((pch == ' ' || pch == '.') && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE)) { in matchLiteral()
2868 } else if (pos != originalPos && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)) { in matchLiteral()
2878 if (complete[0] == false && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE) && 0 < itemIndex && itemIndex < items.length - 1) { in matchLiteral()
3387 if ( number != null && (getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_NUMERIC) || formatData.shortYearNames == null || value > formatData.shortYearNames.length) ) { in subParse()
3394 if (count <= 2 || (number != null && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_NUMERIC))) { in subParse()
3420 if(getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH)&& count>=3 && count <=4 && !haveMonthPat) { in subParse()
3428 if(getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH) || count == 4) { in subParse()
3439 if(getBooleanAttribute(DateForma in subParse()
[all...]
H A DDateFormat.java1713 && getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC) in isLenient()
1714 && getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE); in isLenient()
1773 public boolean getBooleanAttribute(BooleanAttribute key) in getBooleanAttribute() method in DateFormat
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dsmpdtfmt.cpp2400 if (! matchLiterals(fPattern, i, text, pos, getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status), getBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, status), isLenient())) { in parse()
2408 if (text.charAt(pos) == 0x2e && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in parse()
3097 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)) { in subParse()
3233 if (gotNumber && (getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC,status) || value > fSymbols->fShortYearNamesCount)) { in subParse()
3282 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 4) { in subParse()
3288 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 3) { in subParse()
3292 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 4) { in subParse()
3298 if(getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status) || count == 3) { in subParse()
3302 if (newStart > 0 || !getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERI in subParse()
[all...]
H A Ddatefmt.cpp671 && getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status) in isLenient()
672 && getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status); in isLenient()
745 DateFormat::getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &/*status*/) const { in getBooleanAttribute() function in DateFormat
H A Dudat.cpp433 return ((DateFormat*)fmt)->getBooleanAttribute(attr, *status); in udat_getBooleanAttribute()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DSimpleDateFormat.java2555 if (extra == '.' && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE) && items.length != 0) { in parse()
2835 if (ich == '.' && pos == originalPos && 0 < itemIndex && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE)) { in matchLiteral()
2844 } else if ((pch == ' ' || pch == '.') && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE)) { in matchLiteral()
2847 } else if (pos != originalPos && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)) { in matchLiteral()
2857 if (complete[0] == false && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_WHITESPACE) && 0 < itemIndex && itemIndex < items.length - 1) { in matchLiteral()
3299 if ( number != null && (getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_NUMERIC) || formatData.shortYearNames == null || value > formatData.shortYearNames.length) ) { in subParse()
3306 if (count <= 2 || (number != null && getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_ALLOW_NUMERIC))) { in subParse()
3332 if(getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH) || count == 4) { in subParse()
3343 if(getBooleanAttribute(DateFormat.BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH) || count == 3) { in subParse()
3378 if(count <= 2 || (number != null && (getBooleanAttribute(DateForma in subParse()
[all...]
H A DDateFormat.java1596 && getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC) in isLenient()
1597 && getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE); in isLenient()
1652 public boolean getBooleanAttribute(BooleanAttribute key) in getBooleanAttribute() method in DateFormat
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Ddatefmt.h843 virtual UBool U_EXPORT2 getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &status) const;
/third_party/icu/icu4c/source/i18n/unicode/
H A Ddatefmt.h843 virtual UBool U_EXPORT2 getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &status) const;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Ddatefmt.h843 virtual UBool U_EXPORT2 getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &status) const;
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp4753 assertTrue("ALLOW_WHITESPACE default", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)); in TestParseLeniencyAPIs()
4754 assertTrue("ALLOW_NUMERIC default", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status)); in TestParseLeniencyAPIs()
4755 assertTrue("PARTIAL_MATCH default", fmt->getBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, status)); in TestParseLeniencyAPIs()
4756 assertTrue("MULTIPLE_PATTERNS default", fmt->getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATCH, status)); in TestParseLeniencyAPIs()
4763 assertTrue("ALLOW_WHITESPACE after setCalendarLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)); in TestParseLeniencyAPIs()
4764 assertTrue("ALLOW_NUMERIC after setCalendarLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status)); in TestParseLeniencyAPIs()
4771 assertFalse("ALLOW_WHITESPACE after setLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, status)); in TestParseLeniencyAPIs()
4772 assertFalse("ALLOW_NUMERIC after setLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status)); in TestParseLeniencyAPIs()
4774 assertTrue("PARTIAL_MATCH after setLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_PARTIAL_LITERAL_MATCH, status)); in TestParseLeniencyAPIs()
4775 assertTrue("MULTIPLE_PATTERNS after setLenient(false)", fmt->getBooleanAttribute(UDAT_PARSE_MULTIPLE_PATTERNS_FOR_MATC in TestParseLeniencyAPIs()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDateFormatTest.java4894 assertTrue("ALLOW_WHITESPACE default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
4895 assertTrue("ALLOW_NUMERIC default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
4896 assertTrue("PARTIAL_MATCH default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)); in TestParseLeniencyAPIs()
4897 assertTrue("MULTIPLE_PATTERNS default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH)); in TestParseLeniencyAPIs()
4904 assertTrue("ALLOW_WHITESPACE after setCalendarLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
4905 assertTrue("ALLOW_NUMERIC after setCalendarLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
4912 assertFalse("ALLOW_WHITESPACE after setLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
4913 assertFalse("ALLOW_NUMERIC after setLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
4915 assertTrue("PARTIAL_MATCH after setLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)); in TestParseLeniencyAPIs()
4916 assertTrue("MULTIPLE_PATTERNS after setLenient(FALSE)", fmt.getBooleanAttribute(BooleanAttribut in TestParseLeniencyAPIs()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java4991 assertTrue("ALLOW_WHITESPACE default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
4992 assertTrue("ALLOW_NUMERIC default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
4993 assertTrue("PARTIAL_MATCH default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)); in TestParseLeniencyAPIs()
4994 assertTrue("MULTIPLE_PATTERNS default", fmt.getBooleanAttribute(BooleanAttribute.PARSE_MULTIPLE_PATTERNS_FOR_MATCH)); in TestParseLeniencyAPIs()
5001 assertTrue("ALLOW_WHITESPACE after setCalendarLenient(false)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
5002 assertTrue("ALLOW_NUMERIC after setCalendarLenient(false)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
5009 assertFalse("ALLOW_WHITESPACE after setLenient(false)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE)); in TestParseLeniencyAPIs()
5010 assertFalse("ALLOW_NUMERIC after setLenient(false)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC)); in TestParseLeniencyAPIs()
5012 assertTrue("PARTIAL_MATCH after setLenient(false)", fmt.getBooleanAttribute(BooleanAttribute.PARSE_PARTIAL_LITERAL_MATCH)); in TestParseLeniencyAPIs()
5013 assertTrue("MULTIPLE_PATTERNS after setLenient(false)", fmt.getBooleanAttribute(BooleanAttribut in TestParseLeniencyAPIs()
[all...]

Completed in 75 milliseconds