Home
last modified time | relevance | path

Searched refs:adoptInstead (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/test/intltest/
Ditutil.cpp254 s.adoptInstead(new UnicodeString((UChar)0xfffc)); in TestLocalPointer()
264 s.adoptInstead(new UnicodeString()); in TestLocalPointer()
281 a.adoptInstead(new UnicodeString[4]); in TestLocalArray()
415 sel.adoptInstead(NULL); in TestLocalXyzPointerNull()
423 cal.adoptInstead(NULL); in TestLocalXyzPointerNull()
430 patgen.adoptInstead(NULL); in TestLocalXyzPointerNull()
438 msg.adoptInstead(NULL); in TestLocalXyzPointerNull()
450 regex.adoptInstead(NULL); in TestLocalXyzPointerNull()
463 trans.adoptInstead(NULL); in TestLocalXyzPointerNull()
Dstrcase.cpp489 … iter.adoptInstead(ubrk_open((UBreakIteratorType)type, cLocaleID, NULL, 0, &status)); in TestCasing()
495 … iter.adoptInstead(ubrk_openRules(rules, LENGTHOF(rules), NULL, 0, &parseError, &status)); in TestCasing()
524 iter.adoptInstead(NULL); in TestCasing()
Dplurults.cpp175 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI()
185 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI()
Dtscoll.cpp518 orders.adoptInstead(temp); in getOrders()
533 orders.adoptInstead(temp); in getOrders()
Dconvtest.cpp451 cnv.adoptInstead(cnv_open(charset, errorCode)); in TestGetUnicodeSet()
585 cnv.adoptInstead(cnv_open(cnvNames[i], errorCode)); in TestGetUnicodeSet2()
Dtsmthred.cpp798 … percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status)); in run()
Dssearch.cpp334 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
/external/icu4c/common/unicode/
Dlocalpointer.h142 void adoptInstead(T *p) { in adoptInstead() function
207 void adoptInstead(T *p) { in adoptInstead() function
253 void adoptInstead(T *p) { in adoptInstead() function
295 void adoptInstead(Type *p) { \
/external/icu4c/i18n/
Dnumfmt.cpp1239 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance()
1255 symbolsToAdopt.adoptInstead(new DecimalFormatSymbols(status)); in makeInstance()
1266 symbolsToAdopt.adoptInstead(new DecimalFormatSymbols(desiredLocale, status)); in makeInstance()
1276 ownedResource.adoptInstead(resource); in makeInstance()
Dalphaindex.cpp315 ownedItem.adoptInstead(new UnicodeString(*item, 0, itemLength - 1)); in initLabels()
/external/icu4c/test/iotest/
Diotest.cpp234 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf()
318 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "r", fileLocale, "UTF-8")); in DataDrivenPrintf()
/external/icu4c/common/
Dcmemory.h171 void adoptInstead(T *p) { in adoptInstead() function