Home | History | Annotate | Download | only in i18n

Lines Matching refs:parsePosition

22 *   07/09/97    helena      Made ParsePosition into a class.
2183 ParsePosition& parsePosition) const {
2184 parse(text, result, parsePosition, NULL);
2188 ParsePosition& pos) const {
2209 * @param parsePosition input-output position; on input, the
2221 ParsePosition& parsePosition,
2224 int32_t i = startIdx = backup = parsePosition.getIndex();
2258 parsePosition.setIndex(i);
2265 parsePosition.setIndex(i);
2276 if (!parseForCurrency(text, parsePosition, *digits,
2285 parsePosition, *digits, status, currency)) {
2287 parsePosition.setIndex(startIdx);
2336 ParsePosition& parsePosition,
2340 int origPos = parsePosition.getIndex();
2348 ParsePosition tmpPos(origPos);
2383 ParsePosition tmpPos(origPos);
2427 ParsePosition tmpPos_2(origPos);
2452 //parsePosition.setIndex(origPos);
2453 parsePosition.setErrorIndex(maxErrorPos);
2455 parsePosition.setIndex(maxPosIndex);
2456 parsePosition.setErrorIndex(-1);
2464 * parsePosition, until an unparseable character is seen.
2472 * @param parsePosition The position at which to being parsing. Upon
2489 ParsePosition& parsePosition,
2500 int32_t position = parsePosition.getIndex();
2614 parsePosition.setIndex(position=j);
2663 parsePosition.setErrorIndex(position);
2944 parsePosition.setIndex(oldStart);
2945 parsePosition.setErrorIndex(position);
2961 parsePosition.setIndex(oldStart);
2962 parsePosition.setErrorIndex(oldStart);
2991 parsePosition.setErrorIndex(position);
3003 parsePosition.setIndex(position);
3007 printf("PP -> %d, SLOW = [%s]! pp=%d, os=%d, err=%s\n", position, parsedNum.data(), parsePosition.getIndex(),oldStart,u_errorName(err));
3010 if(parsePosition.getIndex() == oldStart)
3015 parsePosition.setErrorIndex(position);
3019 else if (fParseAllInput==UNUM_YES&&parsePosition.getIndex()!=textLength)
3024 parsePosition.setErrorIndex(position);
3040 parsePosition.setErrorIndex(position);
3419 ParsePosition ppos(pos);