Home
last modified time | relevance | path

Searched refs:parsePosition (Results 1 – 16 of 16) sorted by relevance

/external/icu4c/i18n/
Dnfsubs.cpp159 ParsePosition& parsePosition,
227 ParsePosition& parsePosition,
300 ParsePosition& parsePosition,
703 ParsePosition& parsePosition, in doParse() argument
727 ruleSet->parse(text, parsePosition, upperBound, result); in doParse()
728 if (lenientParse && !ruleSet->isFractionRuleSet() && parsePosition.getIndex() == 0) { in doParse()
732 fmt->parse(text, result, parsePosition); in doParse()
739 numberFormat->parse(text, result, parsePosition); in doParse()
746 if (parsePosition.getIndex() != 0) { in doParse()
954 ParsePosition& parsePosition, in doParse() argument
[all …]
Dformat.cpp147 ParsePosition parsePosition(0); in parseObject() local
148 parseObject(source, result, parsePosition); in parseObject()
149 if (parsePosition.getIndex() == 0) { in parseObject()
Dnfrule.cpp755 ParsePosition& parsePosition, in doParse() argument
795 parsePosition.setErrorIndex(pp.getErrorIndex()); in doParse()
880 if (temp> parsePosition.getErrorIndex()) { in doParse()
881 parsePosition.setErrorIndex(temp); in doParse()
889 if (temp > parsePosition.getErrorIndex()) { in doParse()
890 parsePosition.setErrorIndex(temp); in doParse()
905 parsePosition.setIndex(highWaterMark); in doParse()
909 parsePosition.setErrorIndex(0); in doParse()
Ddecimfmt.cpp1854 ParsePosition& parsePosition) const { in parse()
1855 parse(text, result, parsePosition, NULL); in parse()
1892 ParsePosition& parsePosition, in parse() argument
1895 int32_t i = startIdx = backup = parsePosition.getIndex(); in parse()
1924 parsePosition.setIndex(i); in parse()
1931 parsePosition.setIndex(i); in parse()
1942 if (!parseForCurrency(text, parsePosition, *digits, in parse()
1951 parsePosition, *digits, status, currency)) { in parse()
1953 parsePosition.setIndex(startIdx); in parse()
1986 ParsePosition& parsePosition, in parseForCurrency() argument
[all …]
Dwinnmfmt.h97 …virtual void parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) c…
Dnfsubs.h187 ParsePosition& parsePosition,
Drbnf.cpp1147 ParsePosition& parsePosition) const in parse()
1150 parsePosition.setErrorIndex(0); in parse()
1154 UnicodeString workingText(text, parsePosition.getIndex()); in parse()
1178 int32_t startIndex = parsePosition.getIndex(); in parse()
1179 parsePosition.setIndex(startIndex + high_pp.getIndex()); in parse()
1181 parsePosition.setErrorIndex(-1); in parse()
1184 parsePosition.setErrorIndex(startIndex + errorIndex); in parse()
Dwinnmfmt.cpp217 …erFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const in parse()
223 nf->parse(text, result, parsePosition); in parse()
Dnumfmt.cpp660 ParsePosition parsePosition(0); in parse() local
661 parse(text, result, parsePosition); in parse()
662 if (parsePosition.getIndex() == 0) { in parse()
/external/smack/src/org/xbill/DNS/
DLOCRecord.java94 parsePosition(Tokenizer st, String type) throws IOException { in parsePosition() method in LOCRecord
162 latitude = parsePosition(st, "latitude"); in rdataFromString()
163 longitude = parsePosition(st, "longitude"); in rdataFromString()
/external/icu4c/i18n/unicode/
Ddecimfmt.h1196 ParsePosition& parsePosition) const;
2062 ParsePosition& parsePosition,
2072 ParsePosition& parsePosition,
Dchoicfmt.h501 ParsePosition& parsePosition) const;
Drbnf.h872 ParsePosition& parsePosition) const;
Dnumfmt.h604 ParsePosition& parsePosition) const = 0;
/external/icu4c/test/intltest/
Ddtfmttst.cpp1060 ParsePosition parsePosition(0); in TestBadInput135a() local
1067 parsePosition.setIndex(0); in TestBadInput135a()
1068 date = dateParse->parse(s, parsePosition); in TestBadInput135a()
1069 if (parsePosition.getIndex() != 0) { in TestBadInput135a()
1071 s.extract(0, parsePosition.getIndex(), s1); in TestBadInput135a()
1072 s.extract(parsePosition.getIndex(), s.length(), s2); in TestBadInput135a()
1076 "\" pos=" + parsePosition.getIndex() + " " + in TestBadInput135a()
4168 ParsePosition parsePosition; in showParse() local
4169 UDate parsed = format.parse(formattedString, parsePosition); in showParse()
4170 UBool ok = TEST_DATE == parsed && parsePosition.getIndex() == formattedString.length(); in showParse()
Dnumfmtst.cpp2984 ParsePosition parsePosition(0); in TestSpaceParsing() local
2990 foo->parse(stringToBeParsed, result, parsePosition); in TestSpaceParsing()
2991 if (parsePosition.getIndex() != parsedPosition || in TestSpaceParsing()
2992 parsePosition.getErrorIndex() != errorIndex) { in TestSpaceParsing()
2993 … + parsedPosition + ", " + errorIndex + "); got (" + parsePosition.getIndex() + ", " + parsePositi… in TestSpaceParsing()
2995 if (parsePosition.getErrorIndex() == -1 && in TestSpaceParsing()