Home
last modified time | relevance | path

Searched refs:negSuffixMatch (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp2972 int32_t posSuffixMatch = -1, negSuffixMatch = -1;
2979negSuffixMatch = compareAffix(text, position, TRUE, FALSE, negSuffix, complexCurrencyParsing, type…
2981 if (posSuffixMatch >= 0 && negSuffixMatch >= 0) {
2982 if (posSuffixMatch > negSuffixMatch) {
2983 negSuffixMatch = -1;
2984 } else if (negSuffixMatch > posSuffixMatch) {
2990 if (strictParse && ((posSuffixMatch >= 0) == (negSuffixMatch >= 0))) {
2996 position += (posSuffixMatch >= 0 ? posSuffixMatch : (negSuffixMatch >= 0 ? negSuffixMatch : 0));
3005 …parsedNum.data()[0] = (posSuffixMatch >= 0 || (!strictParse && negMatch < 0 && negSuffixMatch < 0)…
/external/chromium_org/third_party/icu/source/i18n/
Ddecimfmt.cpp2883 int32_t posSuffixMatch = -1, negSuffixMatch = -1; in subparse() local
2890negSuffixMatch = compareAffix(text, position, TRUE, FALSE, negSuffix, complexCurrencyParsing, type… in subparse()
2892 if (posSuffixMatch >= 0 && negSuffixMatch >= 0) { in subparse()
2893 if (posSuffixMatch > negSuffixMatch) { in subparse()
2894 negSuffixMatch = -1; in subparse()
2895 } else if (negSuffixMatch > posSuffixMatch) { in subparse()
2901 if (strictParse && ((posSuffixMatch >= 0) == (negSuffixMatch >= 0))) { in subparse()
2907 position += (posSuffixMatch >= 0 ? posSuffixMatch : (negSuffixMatch >= 0 ? negSuffixMatch : 0)); in subparse()
2916 …parsedNum.data()[0] = (posSuffixMatch >= 0 || (!strictParse && negMatch < 0 && negSuffixMatch < 0)… in subparse()