Home | History | Annotate | Download | only in i18n

Lines Matching refs:parse

650  * performed on the result of the parse and the value passed in
651 * and returned as the result. The parse position is updated to
653 * @param text The string to parse
657 * @param baseValue A partial parse result that should be
658 * combined with the result of this parse
666 * formatter isn't in lenient-parse mode, but is also false
668 * lenient-parse mode.)
694 // use our rule set to parse the text. If that fails and
697 // be false even when the formatter's lenient-parse mode is
701 ruleSet->parse(text, parsePosition, upperBound, result);
706 fmt->parse(text, result, parsePosition);
711 // ...or use our DecimalFormat to parse the text
713 numberFormat->parse(text, result, parsePosition);
716 // if the parse was successful, we've already advanced the caller's
717 // parse position (this is the one function that doesn't have one
718 // of its own). Derive a parse result and return it as a Long,
724 // composeRuleValue() produces a full parse result from
725 // the partial parse result passed to this function from
729 // parse result) and the partial parse result obtained by
732 // text with RuleBasedNumberFormat.parse() ). How the two
733 // values are used to derive the full parse result depends
749 // if the parse was UNsuccessful, return 0
920 * @param text The string to parse
923 * @param baseValue The partial parse result prior to calling this
935 // inherited parse() routine to do the parsing
941 // do some of the other work of NFRuleSet.parse()
1078 * @param text The string to parse
1081 * @param baseValue The partial parse result prior to entering this
1087 * @return If the match was successful, the current partial parse
1105 // if we ARE in byDigits mode, parse the text one digit at a time
1121 getRuleSet()->parse(workText, workPos, 10, temp);
1138 fmt->parse(workText, temp, workPos);
1237 // and use that to adjust the parse result
1248 getRuleSet()->parse(workText, workPos, 1, temp); // parse zero or nothing at all
1269 // we've parsed off the zeros, now let's parse the rest from our current position