Home
last modified time | relevance | path

Searched refs:U_SUCCESS (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/external/icu/icu4c/source/test/intltest/
Dtrnserr.cpp93 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
100 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
111 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
123 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
133 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
139 if(t1!=0 || U_SUCCESS(status)){ in TestTransliteratorErrors()
145 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
147 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
156 if (t4 != NULL || U_SUCCESS(status)) { in TestTransliteratorErrors()
179 if (U_SUCCESS(status)) { in TestUnicodeSetErrors()
[all …]
Drestsnew.cpp356 if(U_SUCCESS(err)){ in TestIteration()
535 if(U_SUCCESS(err)) { in TestOtherAPI()
568 if(U_SUCCESS(err)){ in TestOtherAPI()
734 if (U_SUCCESS(status)) { in testTag()
757 if (U_SUCCESS(status)) in testTag()
802 if (U_SUCCESS(status)){ in testTag()
832 if (U_SUCCESS(status)) in testTag()
844 if(U_SUCCESS(status)){ in testTag()
879 if(U_SUCCESS(status)){ in testTag()
881 if(U_SUCCESS(status)) { in testTag()
[all …]
Ditrbnfp.cpp129 if (U_SUCCESS(status)) { in TestParse()
151 if (U_SUCCESS(status)) { in testfmt()
164 if (U_SUCCESS(status)) { in testfmt()
/external/icu/icu4c/source/tools/ctestfw/
Ddatamap.cpp122 if(U_SUCCESS(status)) { in getString()
133 if(U_SUCCESS(status)) { in getInt28()
144 if(U_SUCCESS(status)) { in getUInt28()
154 if(U_SUCCESS(status)) { in getIntVector()
164 if(U_SUCCESS(status)) { in getBinary()
174 if(U_SUCCESS(status)) { in getInt()
184 if(U_SUCCESS(status)) { in getStringArray()
205 if(U_SUCCESS(status)) { in getIntArray()
Dtstdtmod.cpp85 if(U_SUCCESS(status)) { in getTestDataModule()
164 if(U_SUCCESS(status)) { in createTestData()
167 if(U_SUCCESS(status)) { in createTestData()
192 if(U_SUCCESS(status)) { in createTestData()
194 if(U_SUCCESS(status)) { in createTestData()
215 if(U_SUCCESS(status)) { in getTestBundle()
/external/icu/icu4c/source/i18n/
Dstsearch.cpp46 if (U_SUCCESS(status)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
78 if (U_SUCCESS(status)) { in StringSearch()
103 if (U_SUCCESS(status)) { in StringSearch()
135 if (U_SUCCESS(status)) { in StringSearch()
164 if (U_SUCCESS(status)) { in StringSearch()
236 if (U_SUCCESS(status)) { in setText()
244 if (U_SUCCESS(status)) { in setText()
258 if (U_SUCCESS(status)) { in setCollator()
266 if (U_SUCCESS(status)) { in setPattern()
311 if (U_SUCCESS(status)) { in handleNext()
[all …]
Dfphdlimp.cpp75 if (iter && U_SUCCESS(status)) { in FieldPositionIteratorHandler()
91 if (iter && U_SUCCESS(status) && start < limit) { in addAttribute()
96 if (!U_SUCCESS(status)) { in addAttribute()
104 if (U_SUCCESS(status) && delta != 0) { in shiftLast()
117 return U_SUCCESS(status); in isRecording()
Dzonemeta.cpp167 for (idx = 0; idx <= 3 && U_SUCCESS(status); idx++) { in parseDate()
176 for (idx = 5; idx <= 6 && U_SUCCESS(status); idx++) { in parseDate()
185 for (idx = 8; idx <= 9 && U_SUCCESS(status); idx++) { in parseDate()
195 for (idx = 11; idx <= 12 && U_SUCCESS(status); idx++) { in parseDate()
204 for (idx = 14; idx <= 15 && U_SUCCESS(status); idx++) { in parseDate()
214 if (U_SUCCESS(status)) { in parseDate()
293 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
306 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
334 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
347 if (U_SUCCESS(status)) { in getCanonicalCLDRID()
[all …]
Dcoll.cpp236 if(U_SUCCESS(status)) { in initAvailableLocaleList()
257 return U_SUCCESS(status); in isAvailableLocaleListInitialized()
463 if (U_SUCCESS(status)) { in makeInstance()
514 if(U_SUCCESS(status)) { in compare()
675 if (U_SUCCESS(status)) { in registerInstance()
698 if (U_SUCCESS(status)) { in CFactory()
724 if (U_SUCCESS(status)) { in getSupportedIDs()
771 if (U_SUCCESS(status)) { in registerFactory()
786 if (U_SUCCESS(status)) { in unregister()
922 if (U_SUCCESS(errorCode)) { in setMaxVariable()
[all …]
Ducal.cpp37 if (ec!=NULL && U_SUCCESS(*ec)) { in _createTimeZone()
72 if (ec!=NULL && U_SUCCESS(*ec)) { in ucal_getDefaultTimeZone()
98 if (U_SUCCESS(*ec)) { in ucal_getDSTSavings()
552 if (U_SUCCESS(*status)) { in ucal_getLocaleByType()
583 if (U_SUCCESS(*status)) { in ucal_getCanonicalTimeZoneID()
689 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
691 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
709 if (U_SUCCESS(*status) && !commonlyUsed) { in ucal_getKeywordValuesForLocale()
757 if (btz != NULL && U_SUCCESS(*status)) { in ucal_getTimeZoneTransitionDate()
781 if (U_SUCCESS(*status) && resultWinID.length() > 0) { in ucal_getWindowsTimeZoneID()
[all …]
Dcurrpinf.cpp192 if (U_SUCCESS(status)) { in setPluralRules()
205 if (U_SUCCESS(status)) { in setCurrencyPluralPattern()
267 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
294 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
297 if ( U_SUCCESS(ec) ) { in setupCurrencyPluralPattern()
302 if (U_SUCCESS(err) && ptnLen > 0) { in setupCurrencyPluralPattern()
Ddatefmt.cpp272 if (U_SUCCESS(status)) { in format()
288 if (U_SUCCESS(ec)) { in format()
306 if (U_SUCCESS(status)) { in format()
484 return U_SUCCESS(status) ? df.orphan() : NULL; in createInstanceForSkeleton()
509 if (U_SUCCESS(status)) { in create()
520 if(U_SUCCESS(status)) return r; in create()
527 if (U_SUCCESS(status)) return f; in create()
534 if (U_SUCCESS(status)) return f; in create()
/external/icu/icu4c/source/common/
Dbrkiter.cpp78 if (U_SUCCESS(status)) { in buildInstance()
87 if (U_SUCCESS(status)) { in buildInstance()
93 if (U_SUCCESS(status) && brkfname) { in buildInstance()
120 if (U_SUCCESS(status) && result != NULL) { in buildInstance()
136 if (U_SUCCESS(status)) { in buildInstance()
343 if (U_SUCCESS(status)) { in unregister()
388 if (U_SUCCESS(status) && (result != NULL) && *actualLoc.getName() != 0) { in createInstance()
427 …if (U_SUCCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyVa… in makeInstance()
441 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
443 if (U_SUCCESS(kvStatus)) { in makeInstance()
Dnormlzr.cpp134 if(U_SUCCESS(status)) { in normalize()
148 if(U_SUCCESS(status)) { in normalize()
156 if(dest==&localDest && U_SUCCESS(status)) { in normalize()
183 if(U_SUCCESS(status)) { in quickCheck()
200 if(U_SUCCESS(status)) { in isNormalized()
219 if(U_SUCCESS(errorCode)) { in concatenate()
234 if(U_SUCCESS(errorCode)) { in concatenate()
242 if(dest==&localDest && U_SUCCESS(errorCode)) { in concatenate()
501 return U_SUCCESS(errorCode) && !buffer.isEmpty(); in nextNormalize()
524 return U_SUCCESS(errorCode) && !buffer.isEmpty(); in previousNormalize()
Dustrenum.cpp46 if(U_SUCCESS(status) && s!=NULL) { in next()
49 if(U_SUCCESS(status)) { in next()
64 if(U_SUCCESS(status) && s!=NULL) { in unext()
84 if(U_SUCCESS(status) && capacity>charsCapacity) { in ensureCharsCapacity()
105 if(U_SUCCESS(status) && s!=NULL) { in setChars()
265 if (U_SUCCESS(*ec) && adopted != NULL) { in uenum_openFromStringEnumeration()
363 if (U_SUCCESS(*ec) && count >= 0 && (count == 0 || strings != 0)) { in uenum_openCharStringsEnumeration()
382 if (U_SUCCESS(*ec) && count >= 0 && (count == 0 || strings != 0)) { in uenum_openUCharStringsEnumeration()
Dlocdispnames.cpp68 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
80 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
108 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
120 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
148 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
160 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
188 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
200 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
228 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
240 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
[all …]
Dnormalizer2.cpp78 return U_SUCCESS(errorCode) && isNormalized(UnicodeString::fromUTF8(s), errorCode); in isNormalizedUTF8()
89 if(U_SUCCESS(errorCode)) { in normalize()
101 if(U_SUCCESS(errorCode)) { in normalizeUTF8()
119 if(U_SUCCESS(errorCode)) { in normalizeSecondAndAppend()
132 if(U_SUCCESS(errorCode)) { in append()
148 return U_SUCCESS(errorCode); in isNormalized()
152 return U_SUCCESS(errorCode); in isNormalizedUTF8()
548 if(U_SUCCESS(errorCode)) { in u_getCombiningClass()
559 if(U_SUCCESS(errorCode)) { in unorm_getFCD16()
Dustr_cnv.cpp138 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrncpy()
168 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrcpy()
210 if(U_SUCCESS(err) && cnv != NULL) { in u_austrncpy()
240 if(U_SUCCESS(err) && cnv != NULL) { in u_austrcpy()
Dicuplug.cpp291 if(U_SUCCESS(plug->pluginStatus)) { in uplug_unloadPlug()
304 if(U_SUCCESS(*status)) { in uplug_queryPlug()
326 if(!U_SUCCESS(*status)) { in uplug_loadPlug()
397 if(U_SUCCESS(*status) && U_FAILURE(subStatus)) { in uplug_deallocatePlug()
401 if(U_SUCCESS(*status)) { in uplug_deallocatePlug()
537 if(U_SUCCESS(*status)) { in uplug_initPlugFromEntrypointAndLibrary()
592 if(lib!=NULL && U_SUCCESS(*status)) { in uplug_initPlugFromLibrary()
596 if(entrypoint!=NULL&&U_SUCCESS(*status)) { in uplug_initPlugFromLibrary()
598 if(plug!=NULL&&U_SUCCESS(*status)) { in uplug_initPlugFromLibrary()
857 if(U_FAILURE(subStatus) && U_SUCCESS(*status)) { in uplug_init()
Ducurr.cpp310 if (U_SUCCESS(ec)) { in _findMetaData()
347 if (U_SUCCESS(ec)) { in _findMetaData()
426 if (status && U_SUCCESS(*status) && _iso && _id) { in reg()
496 if (status && U_SUCCESS(*status)) { in ucurr_register()
509 if (status && U_SUCCESS(*status)) { in ucurr_unregister()
560 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency, resLen)) { in ucurr_forLocale()
610 if (U_SUCCESS(localStatus)) { in ucurr_forLocale()
634 if (U_SUCCESS(*ec)) { in ucurr_forLocale()
746 if (U_SUCCESS(ec2)) { in ucurr_getName()
756 if (U_SUCCESS(ec2)) { in ucurr_getName()
[all …]
/external/icu/icu4c/source/test/cintltst/
Duregiontest.c366 if ( U_SUCCESS(status) ) { in TestKnownRegions()
393 if ( U_SUCCESS(status) ) { in TestGetContainedRegions()
401 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegions()
422 if ( U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
430 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
451 if ( U_SUCCESS(status) ) { in TestGetContainingRegion()
475 if ( U_SUCCESS(status) ) { in TestGetContainingRegionWithType()
517 if ( U_SUCCESS(status) ) { in TestGetPreferredValues()
519 if ( U_SUCCESS(status) ) { in TestGetPreferredValues()
526 … while ((check = uenum_next(preferredRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetPreferredValues()
[all …]
Dcreststn.c277 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
310 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
323 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
499 if(U_SUCCESS(status)){ in TestNewTypes()
515 if(U_SUCCESS(status)){ in TestNewTypes()
528 if(U_SUCCESS(status)){ in TestNewTypes()
542 if(U_SUCCESS(status)){ in TestNewTypes()
554 if(U_SUCCESS(status)){ in TestNewTypes()
567 if(U_SUCCESS(status)){ in TestNewTypes()
577 if(U_SUCCESS(status)){ in TestNewTypes()
[all …]
Dcpluralrulestest.c78 if ( U_SUCCESS(status) ) { in TestPluralRules()
86 if ( U_SUCCESS(status) ) { in TestPluralRules()
100 if ( U_SUCCESS(status) ) { in TestPluralRules()
105 if ( U_SUCCESS(status) ) { in TestPluralRules()
229 … while ((keyword = uenum_next(uenum, &keywordLen, &status)) != NULL && U_SUCCESS(status)) { in TestGetKeywords()
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp58 …sh(stdout);fflush(stderr); fprintf(stderr, #x " == %s\n", u_errorName(x)); assert(U_SUCCESS(x)); }}
72 if(U_SUCCESS(status) && (o>0) ) { in prettyPrintUChar()
220 assert(U_SUCCESS(status)); in convsample_02()
224 assert(U_SUCCESS(status)); in convsample_02()
322 assert(U_SUCCESS(status)); in convsample_05()
358 assert(U_SUCCESS(status)); in convsample_05()
439 assert(U_SUCCESS(status)); in convsample_06()
543 assert(U_SUCCESS(status)); in convsample_12()
909 assert(U_SUCCESS(status)); in convsample_40()
947 assert(U_SUCCESS(status)); in convsample_40()
[all …]
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp297 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
305 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
313 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
321 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
329 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
337 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
345 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
353 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()

12345678910>>...14