• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/test/intltest/

Lines Matching +defs:def +defs:pos

160     FieldPosition pos;
162 test->format(bla, result, pos, status);
196 virtual UnicodeString& format(int64_t number,UnicodeString& appendTo,FieldPosition& pos) const {
197 return NumberFormat::format(number, appendTo, pos);
219 FieldPosition pos;
221 if (stub.format(num, agent, pos) != UnicodeString("agent3")){
389 ParsePosition pos(0);
391 fmt.parse(s, af, pos);
413 if (pos.getIndex() == s.length())
425 errln((UnicodeString)"FAIL: Partial parse (" + pos.getIndex() + " chars) -> " + a);
437 ParsePosition pos(0);
439 fmt.parse(s, af, pos);
444 if (pos.getIndex() == s.length())
451 errln((UnicodeString)"FAIL: Partial parse (" + pos.getIndex() + " chars) -> " + a);
1331 Locale def = Locale::getDefault();
1336 Locale::setDefault(def, status);
2482 FieldPosition pos;
2484 fmt.format(n, saw, pos, status);
2501 fmt.format(n2, saw2, pos, status);
2518 FieldPosition pos;
2520 fmt.format(n, saw, pos, status);
2539 fmt.format(n2, saw2, pos, status);
2616 int32_t pos) {
2617 expectPad(fmt, pat, pos, 0, (UnicodeString)"");
2620 int32_t pos, int32_t width, UChar pad) {
2621 expectPad(fmt, pat, pos, width, UnicodeString(pad));
2624 int32_t pos, int32_t width, const UnicodeString& pad) {
2638 if (apos == pos && awidth == width && apadStr == pad) {
2640 if (pos == ILLEGAL) {
2643 logln(UnicodeString("Ok \"") + pat + "\" pos=" + apos + infoStr);
2645 errln(UnicodeString("FAIL \"") + pat + "\" pos=" + apos +
2647 ", expected " + pos + " " + width + " " + pad);
6235 void NumberFormatTest::expectPosition(FieldPosition& pos, int32_t id, int32_t start, int32_t limit,
6238 assertTrue((UnicodeString)"id " + id + " == " + pos.getField(), id == pos.getField());
6239 assertTrue((UnicodeString)"begin " + start + " == " + pos.getBeginIndex(), start == pos.getBeginIndex());
6240 assertTrue((UnicodeString)"end " + limit + " == " + pos.getEndIndex(), limit == pos.getEndIndex());
6248 FieldPosition pos;
6264 iter1.next(pos);
6266 iter2.next(pos);
6473 FieldPosition pos(NumberFormat::FRACTION_FIELD);
6476 fmtr->format(dl, formattedResult, pos, status);
6479 ASSERT_EQUALS(4, pos.getBeginIndex());
6480 ASSERT_EQUALS(7, pos.getEndIndex());
6725 FieldPosition pos;
6726 df.format(long_number, result, pos);
6744 FieldPosition pos;
6745 df.format(long_number, result, pos);
6763 FieldPosition pos;
6764 df.format(long_number, result, pos);
6782 FieldPosition pos;
6783 df.format(long_number, result, pos);
6796 FieldPosition pos;
6797 df.format(long_number, result, pos);