Home
last modified time | relevance | path

Searched refs:formatsToAdopt (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1213 Format** formatsToAdopt; in testAdopt() local
1299 formatsToAdopt = new Format* [countCmp]; in testAdopt()
1300 if (!formatsToAdopt) { in testAdopt()
1307 formatsToAdopt[i] = NULL; in testAdopt()
1309 formatsToAdopt[i] = formatsCmp[i]->clone(); in testAdopt()
1310 if (!formatsToAdopt[i]) { in testAdopt()
1316 msg.adoptFormats( formatsToAdopt, countCmp ); // function to test in testAdopt()
1317 delete[] formatsToAdopt; in testAdopt()
1348 formatsToAdopt = new Format* [countCmp]; in testAdopt()
1349 if (!formatsToAdopt) { in testAdopt()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java615 Format[] formatsToAdopt = null; in TestAdopt() local
701 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
702 if (formatsToAdopt==null) { in TestAdopt()
709 formatsToAdopt[i] = null; in TestAdopt()
711 formatsToAdopt[i] = (Format) formatsCmp[i].clone(); in TestAdopt()
712 if (formatsToAdopt[i]==null) { in TestAdopt()
718 msg.setFormats( formatsToAdopt ); // function to test in TestAdopt()
749 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
750 if (formatsToAdopt==null) { in TestAdopt()
757 formatsToAdopt[i] = null; in TestAdopt()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java616 Format[] formatsToAdopt = null; in TestAdopt() local
702 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
703 if (formatsToAdopt==null) { in TestAdopt()
710 formatsToAdopt[i] = null; in TestAdopt()
712 formatsToAdopt[i] = (Format) formatsCmp[i].clone(); in TestAdopt()
713 if (formatsToAdopt[i]==null) { in TestAdopt()
719 msg.setFormats( formatsToAdopt ); // function to test in TestAdopt()
750 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
751 if (formatsToAdopt==null) { in TestAdopt()
758 formatsToAdopt[i] = null; in TestAdopt()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h510 virtual void adoptFormats(Format** formatsToAdopt, int32_t count);