Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1210 Format** formatsToAdopt; in testAdopt() local
1296 formatsToAdopt = new Format* [countCmp]; in testAdopt()
1297 if (!formatsToAdopt) { in testAdopt()
1304 formatsToAdopt[i] = NULL; in testAdopt()
1306 formatsToAdopt[i] = formatsCmp[i]->clone(); in testAdopt()
1307 if (!formatsToAdopt[i]) { in testAdopt()
1313 msg.adoptFormats( formatsToAdopt, countCmp ); // function to test in testAdopt()
1314 delete[] formatsToAdopt; in testAdopt()
1345 formatsToAdopt = new Format* [countCmp]; in testAdopt()
1346 if (!formatsToAdopt) { in testAdopt()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java603 Format[] formatsToAdopt = null; in TestAdopt() local
689 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
690 if (formatsToAdopt==null) { in TestAdopt()
697 formatsToAdopt[i] = null; in TestAdopt()
699 formatsToAdopt[i] = (Format) formatsCmp[i].clone(); in TestAdopt()
700 if (formatsToAdopt[i]==null) { in TestAdopt()
706 msg.setFormats( formatsToAdopt ); // function to test in TestAdopt()
737 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
738 if (formatsToAdopt==null) { in TestAdopt()
745 formatsToAdopt[i] = null; in TestAdopt()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java599 Format[] formatsToAdopt = null; in TestAdopt() local
685 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
686 if (formatsToAdopt==null) { in TestAdopt()
693 formatsToAdopt[i] = null; in TestAdopt()
695 formatsToAdopt[i] = (Format) formatsCmp[i].clone(); in TestAdopt()
696 if (formatsToAdopt[i]==null) { in TestAdopt()
702 msg.setFormats( formatsToAdopt ); // function to test in TestAdopt()
733 formatsToAdopt = new Format[formatsCmp.length]; in TestAdopt()
734 if (formatsToAdopt==null) { in TestAdopt()
741 formatsToAdopt[i] = null; in TestAdopt()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h508 virtual void adoptFormats(Format** formatsToAdopt, int32_t count);