Searched refs:adoptInstead (Results 1 – 12 of 12) sorted by relevance
/external/icu4c/test/intltest/ |
D | itutil.cpp | 254 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()
|
D | strcase.cpp | 489 … 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()
|
D | plurults.cpp | 175 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI() 185 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI()
|
D | tscoll.cpp | 518 orders.adoptInstead(temp); in getOrders() 533 orders.adoptInstead(temp); in getOrders()
|
D | convtest.cpp | 451 cnv.adoptInstead(cnv_open(charset, errorCode)); in TestGetUnicodeSet() 585 cnv.adoptInstead(cnv_open(cnvNames[i], errorCode)); in TestGetUnicodeSet2()
|
D | tsmthred.cpp | 798 … percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status)); in run()
|
D | ssearch.cpp | 334 uss.adoptInstead(usearch_openFromCollator(pattern.getBuffer(), pattern.length(), in searchTest()
|
/external/icu4c/common/unicode/ |
D | localpointer.h | 142 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/ |
D | numfmt.cpp | 1239 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()
|
D | alphaindex.cpp | 315 ownedItem.adoptInstead(new UnicodeString(*item, 0, itemLength - 1)); in initLabels()
|
/external/icu4c/test/iotest/ |
D | iotest.cpp | 234 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/ |
D | cmemory.h | 171 void adoptInstead(T *p) { in adoptInstead() function
|