Searched refs:fmt_arr (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | tmsgfmt.cpp | 1127 Formattable* fmt_arr = msg.parse( source, count, err ); in testParse() local 1128 if (U_FAILURE(err) || (!fmt_arr)) { in testParse() 1135 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() 1136 && (fmt_arr[1].getType() == Formattable::kString) in testParse() 1137 && (fmt_arr[0].getString(tmp1) == "abc") in testParse() 1138 && (fmt_arr[1].getString(tmp2) == "def")) { in testParse() 1145 delete[] fmt_arr; in testParse() 1149 fmt_arr = msg.parse( source, pp, count ); in testParse() 1150 if ((pp == 0) || (!fmt_arr)) { in testParse() 1157 if ((fmt_arr[0].getType() == Formattable::kString) in testParse() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TestMessageFormat.java | 549 Object[] fmt_arr = msg.parse(source); in TestParse() local 550 if (fmt_arr.length != 2) { in TestParse() 554 if (fmt_arr.length != 2) { in TestParse() 557 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 558 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 567 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 568 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 571 if (fmt_arr.length != 2) { in TestParse() 574 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 575 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TestMessageFormat.java | 552 Object[] fmt_arr = msg.parse(source); in TestParse() local 553 if (fmt_arr.length != 2) { in TestParse() 557 if (fmt_arr.length != 2) { in TestParse() 560 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 561 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() 570 Object[] fmt_arr = msg.parse(source, pp); in TestParse() local 571 if (pp.getIndex()==0 || fmt_arr==null) { in TestParse() 574 if (fmt_arr.length != 2) { in TestParse() 577 assertEquals("parse()[0]", "abc", fmt_arr[0]); in TestParse() 578 assertEquals("parse()[1]", "def", fmt_arr[1]); in TestParse() [all …]
|