Searched refs:fmt_arr (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 1120 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse() local 1121 if (U_FAILURE(err) || (!fmt_arr)) { in testParse() 1128 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() 1129 && (fmt_arr[1].getType() == Formattable::kString) in testParse() 1130 && (fmt_arr[0].getString(tmp1) == "abc") in testParse() 1131 && (fmt_arr[1].getString(tmp2) == "def")) { in testParse() 1138 delete[] fmt_arr; in testParse() 1142 fmt_arr = msg.parse( source, pp, count ); in testParse() 1143 if ((pp == 0) || (!fmt_arr)) { in testParse() 1150 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TestMessageFormat.java | 533 Object[] fmt_arr = msg.parse(source); in TestParse() local 534 if (fmt_arr.length != 2) { in TestParse() 538 if (fmt_arr.length != 2) { in TestParse() 541 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 542 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 551 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 552 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 555 if (fmt_arr.length != 2) { in TestParse() 558 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 559 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 529 Object[] fmt_arr = msg.parse(source); in TestParse() local 530 if (fmt_arr.length != 2) { in TestParse() 534 if (fmt_arr.length != 2) { in TestParse() 537 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 538 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 547 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 548 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 551 if (fmt_arr.length != 2) { in TestParse() 554 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 555 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|