Lines Matching refs:exp
1593 UnicodeString exp("AA*^#,##0.00ZZ", "");
1596 expectPat(fmt, exp);
2100 /*2*/ "f:", // <pattern or '-'> <number> <exp. string>
2101 /*3*/ "fp:", // <pattern or '-'> <number> <exp. string> <exp. number>
2102 /*4*/ "rt:", // <pattern or '-'> <(exp.) number> <(exp.) string>
2103 /*5*/ "p:", // <pattern or '-'> <string> <exp. number>
2105 /*7*/ "pat:", // <pattern or '-'> <exp. toPattern or '-' or 'err'>
2106 /*8*/ "fpc:", // <pattern or '-'> <curr.amt> <exp. string> <exp. curr.amt>
2203 // f: <pattern or '-'> <number> <exp. string>
2204 // fp: <pattern or '-'> <number> <exp. string> <exp. number>
2227 // p: <pattern or '-'> <string to parse> <exp. number>
2232 Formattable exp, n;
2233 ref->parse(expstr, exp, ec);
2238 exp, n);
2258 // fpc: <loc or '-'> <curr.amt> <exp. string> <exp. curr.amt>
2286 // pat: <pattern> <exp. toPattern, or '-' or 'err'>
2394 const UnicodeString& exp,
2399 expect2(*fmt, n, exp);
2443 const UnicodeString& exp, UBool rt) {
2449 if (saw == exp) {
2458 fmt.parse(exp, n2, status);
2460 errln(UnicodeString("FAIL: Parse failed for \"") + exp + "\"");
2466 if (saw2 != exp) {
2467 errln((UnicodeString)"FAIL \"" + exp + "\" => " + toString(n2) +
2474 escape(saw) + "\", expected \"" + exp + "\"");
2479 const UnicodeString& exp, UBool rt) {
2487 if (saw == exp) {
2496 fmt.parse(exp, n2, status);
2498 errln(UnicodeString("FAIL: Parse failed for \"") + exp + "\" - " + u_errorName(status));
2504 if (saw2 != exp) {
2505 errln((UnicodeString)"FAIL \"" + exp + "\" => " + toString(n2) +
2512 escape(saw) + "\", expected \"" + exp + "\"");
2517 const UnicodeString& exp,
2522 expect(*fmt, n, exp);
2568 void NumberFormatTest::expectPat(DecimalFormat& fmt, const UnicodeString& exp) {
2571 if (pat == exp) {
2574 errln(UnicodeString("FAIL \"") + pat + "\", expected \"" + exp + "\"");