Home
last modified time | relevance | path

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

12345678910>>...14

/external/icu/icu4c/source/test/intltest/
Dtrnserr.cpp91 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
98 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
109 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
121 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
131 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
137 if(t1!=0 || U_SUCCESS(status)){ in TestTransliteratorErrors()
143 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
145 if (U_SUCCESS(status)) { in TestTransliteratorErrors()
154 if (t4 != NULL || U_SUCCESS(status)) { in TestTransliteratorErrors()
177 if (U_SUCCESS(status)) { in TestUnicodeSetErrors()
[all …]
Drestsnew.cpp353 if(U_SUCCESS(err)){ in TestIteration()
532 if(U_SUCCESS(err)) { in TestOtherAPI()
565 if(U_SUCCESS(err)){ in TestOtherAPI()
717 if (U_SUCCESS(status)) { in testTag()
740 if (U_SUCCESS(status)) in testTag()
785 if (U_SUCCESS(status)){ in testTag()
815 if (U_SUCCESS(status)) in testTag()
827 if(U_SUCCESS(status)){ in testTag()
862 if(U_SUCCESS(status)){ in testTag()
864 if(U_SUCCESS(status)) { in testTag()
[all …]
Ditrbnfp.cpp127 if (U_SUCCESS(status)) { in TestParse()
149 if (U_SUCCESS(status)) { in testfmt()
162 if (U_SUCCESS(status)) { in testfmt()
/external/icu/icu4c/source/tools/ctestfw/
Ddatamap.cpp119 if(U_SUCCESS(status)) { in getString()
130 if(U_SUCCESS(status)) { in getInt28()
141 if(U_SUCCESS(status)) { in getUInt28()
151 if(U_SUCCESS(status)) { in getIntVector()
161 if(U_SUCCESS(status)) { in getBinary()
171 if(U_SUCCESS(status)) { in getInt()
181 if(U_SUCCESS(status)) { in getStringArray()
202 if(U_SUCCESS(status)) { in getIntArray()
Dtstdtmod.cpp83 if(U_SUCCESS(status)) { in getTestDataModule()
162 if(U_SUCCESS(status)) { in createTestData()
165 if(U_SUCCESS(status)) { in createTestData()
190 if(U_SUCCESS(status)) { in createTestData()
192 if(U_SUCCESS(status)) { in createTestData()
213 if(U_SUCCESS(status)) { in getTestBundle()
/external/icu/icu4c/source/i18n/
Dfphdlimp.cpp73 if (iter && U_SUCCESS(status)) { in FieldPositionIteratorHandler()
89 if (iter && U_SUCCESS(status) && start < limit) { in addAttribute()
94 if (!U_SUCCESS(status)) { in addAttribute()
102 if (U_SUCCESS(status) && delta != 0) { in shiftLast()
115 return U_SUCCESS(status); in isRecording()
Dstsearch.cpp44 if (U_SUCCESS(status)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
76 if (U_SUCCESS(status)) { in StringSearch()
101 if (U_SUCCESS(status)) { in StringSearch()
133 if (U_SUCCESS(status)) { in StringSearch()
162 if (U_SUCCESS(status)) { in StringSearch()
234 if (U_SUCCESS(status)) { in setText()
242 if (U_SUCCESS(status)) { in setText()
256 if (U_SUCCESS(status)) { in setCollator()
264 if (U_SUCCESS(status)) { in setPattern()
309 if (U_SUCCESS(status)) { in handleNext()
[all …]
Dzonemeta.cpp164 for (idx = 0; idx <= 3 && U_SUCCESS(status); idx++) { in parseDate()
173 for (idx = 5; idx <= 6 && U_SUCCESS(status); idx++) { in parseDate()
182 for (idx = 8; idx <= 9 && U_SUCCESS(status); idx++) { in parseDate()
192 for (idx = 11; idx <= 12 && U_SUCCESS(status); idx++) { in parseDate()
201 for (idx = 14; idx <= 15 && U_SUCCESS(status); idx++) { in parseDate()
211 if (U_SUCCESS(status)) { in parseDate()
284 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
297 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
325 if (U_SUCCESS(tmpStatus)) { in getCanonicalCLDRID()
338 if (U_SUCCESS(status)) { in getCanonicalCLDRID()
[all …]
Ddcfmtsym.cpp236 if (U_SUCCESS(status) && ns->getRadix() == 10 && !ns->isAlgorithmic()) { in initialize()
285 if ( U_SUCCESS(localStatus) ) { in initialize()
315 if (U_SUCCESS(internalStatus)) { in initialize()
334 if(U_SUCCESS(localStatus) && uccLen > 0) { in initialize()
342 …if(U_SUCCESS(localStatus) && ures_getSize(currency.getAlias())>2) { // the length is 3 if more dat… in initialize()
351 if(U_SUCCESS(localStatus)){ in initialize()
370 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
378 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
388 if (localStatus == U_USING_FALLBACK_WARNING || U_SUCCESS(localStatus)) { in initialize()
Dcoll.cpp232 if(U_SUCCESS(status)) { in initAvailableLocaleList()
253 return U_SUCCESS(status); in isAvailableLocaleListInitialized()
459 if (U_SUCCESS(status)) { in makeInstance()
510 if(U_SUCCESS(status)) { in compare()
671 if (U_SUCCESS(status)) { in registerInstance()
694 if (U_SUCCESS(status)) { in CFactory()
720 if (U_SUCCESS(status)) { in getSupportedIDs()
767 if (U_SUCCESS(status)) { in registerFactory()
782 if (U_SUCCESS(status)) { in unregister()
918 if (U_SUCCESS(errorCode)) { in setMaxVariable()
[all …]
Ducol_res.cpp97 if(U_SUCCESS(errorCode)) { in appendRootRules()
269 if(U_SUCCESS(internalErrorCode) && 0 < length && length < UPRV_LENGTHOF(defaultType)) { in loadFromBundle()
402 if(U_SUCCESS(internalErrorCode)) { in loadFromData()
427 if(U_SUCCESS(internalErrorCode) && length < UPRV_LENGTHOF(defaultType)) { in loadFromData()
511 if(U_SUCCESS(*status)) { in ucol_open()
587 if (U_SUCCESS(*status)) { in ucol_getKeywords()
657 while (U_SUCCESS(*status)) { in ucol_getKeywordValuesForLocale()
660 while (U_SUCCESS(*status) && ures_hasNext(&collations)) { in ucol_getKeywordValuesForLocale()
678 if(U_SUCCESS(*status)) { in ucol_getKeywordValuesForLocale()
709 if (U_SUCCESS(*status)) { in ucol_getKeywordValuesForLocale()
Dtmutfmt.cpp116 if (U_SUCCESS(status)) { in TimeUnitFormat()
159 if (U_SUCCESS(status)) { in operator =()
275 if (U_SUCCESS(status)) { in parseObject()
375 if (U_SUCCESS(status)) { in readFromCurrentLocale()
433 if ( U_SUCCESS(err) ) { in readFromCurrentLocale()
444 if (U_SUCCESS(err)) { in readFromCurrentLocale()
495 if (U_SUCCESS(err)) { in checkConsistency()
498 if ( U_SUCCESS(err) ) { in checkConsistency()
565 if (U_SUCCESS(status)) { in searchInLocaleChain()
568 if (U_SUCCESS(err)) { in searchInLocaleChain()
[all …]
Ddatefmt.cpp270 if (U_SUCCESS(status)) { in format()
286 if (U_SUCCESS(ec)) { in format()
304 if (U_SUCCESS(status)) { in format()
482 return U_SUCCESS(status) ? df.orphan() : NULL; in createInstanceForSkeleton()
507 if (U_SUCCESS(status)) { in create()
518 if(U_SUCCESS(status)) return r; in create()
525 if (U_SUCCESS(status)) return f; in create()
532 if (U_SUCCESS(status)) return f; in create()
Dtznames.cpp134 if (U_SUCCESS(status)) { in TimeZoneNamesDelegate()
159 if (U_SUCCESS(status)) { in TimeZoneNamesDelegate()
167 if (U_SUCCESS(status)) { in TimeZoneNamesDelegate()
295 if (U_SUCCESS(status)) { in createInstance()
297 if (instance == NULL && U_SUCCESS(status)) { in createInstance()
307 if (U_SUCCESS(status)) { in createTZDBInstance()
309 if (instance == NULL && U_SUCCESS(status)) { in createTZDBInstance()
Dcurrpinf.cpp189 if (U_SUCCESS(status)) { in setPluralRules()
202 if (U_SUCCESS(status)) { in setCurrencyPluralPattern()
264 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
291 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
294 if ( U_SUCCESS(ec) ) { in setupCurrencyPluralPattern()
299 if (U_SUCCESS(err) && ptnLen > 0) { in setupCurrencyPluralPattern()
Ducal.cpp34 if (ec!=NULL && U_SUCCESS(*ec)) { in _createTimeZone()
69 if (ec!=NULL && U_SUCCESS(*ec)) { in ucal_getDefaultTimeZone()
95 if (U_SUCCESS(*ec)) { in ucal_getDSTSavings()
549 if (U_SUCCESS(*status)) { in ucal_getLocaleByType()
580 if (U_SUCCESS(*status)) { in ucal_getCanonicalTimeZoneID()
693 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
695 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
713 if (U_SUCCESS(*status) && !commonlyUsed) { in ucal_getKeywordValuesForLocale()
761 if (btz != NULL && U_SUCCESS(*status)) { in ucal_getTimeZoneTransitionDate()
785 if (U_SUCCESS(*status) && resultWinID.length() > 0) { in ucal_getWindowsTimeZoneID()
[all …]
/external/icu/icu4c/source/common/
Dbrkiter.cpp76 if (U_SUCCESS(status)) { in buildInstance()
85 if (U_SUCCESS(status)) { in buildInstance()
91 if (U_SUCCESS(status) && brkfname) { in buildInstance()
118 if (U_SUCCESS(status) && result != NULL) { in buildInstance()
134 if (U_SUCCESS(status)) { in buildInstance()
328 if (U_SUCCESS(status)) { in unregister()
373 if (U_SUCCESS(status) && (result != NULL) && *actualLoc.getName() != 0) { in createInstance()
412 …if (U_SUCCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyVa… in makeInstance()
425 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
427 if (U_SUCCESS(kvStatus)) { in makeInstance()
Dnormlzr.cpp126 if(U_SUCCESS(status)) { in normalize()
140 if(U_SUCCESS(status)) { in normalize()
148 if(dest==&localDest && U_SUCCESS(status)) { in normalize()
175 if(U_SUCCESS(status)) { in quickCheck()
192 if(U_SUCCESS(status)) { in isNormalized()
211 if(U_SUCCESS(errorCode)) { in concatenate()
226 if(U_SUCCESS(errorCode)) { in concatenate()
234 if(dest==&localDest && U_SUCCESS(errorCode)) { in concatenate()
493 return U_SUCCESS(errorCode) && !buffer.isEmpty(); in nextNormalize()
516 return U_SUCCESS(errorCode) && !buffer.isEmpty(); in previousNormalize()
Dustrenum.cpp44 if(U_SUCCESS(status) && s!=NULL) { in next()
47 if(U_SUCCESS(status)) { in next()
62 if(U_SUCCESS(status) && s!=NULL) { in unext()
82 if(U_SUCCESS(status) && capacity>charsCapacity) { in ensureCharsCapacity()
103 if(U_SUCCESS(status) && s!=NULL) { in setChars()
263 if (U_SUCCESS(*ec) && adopted != NULL) { in uenum_openFromStringEnumeration()
361 if (U_SUCCESS(*ec) && count >= 0 && (count == 0 || strings != 0)) { in uenum_openCharStringsEnumeration()
380 if (U_SUCCESS(*ec) && count >= 0 && (count == 0 || strings != 0)) { in uenum_openUCharStringsEnumeration()
Dlocdispnames.cpp66 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
78 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
106 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
118 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
146 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
158 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
186 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
198 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
226 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
238 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
[all …]
Dustr_cnv.cpp136 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrncpy()
166 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrcpy()
208 if(U_SUCCESS(err) && cnv != NULL) { in u_austrncpy()
238 if(U_SUCCESS(err) && cnv != NULL) { in u_austrcpy()
/external/icu/icu4c/source/test/cintltst/
Duregiontest.c364 if ( U_SUCCESS(status) ) { in TestKnownRegions()
391 if ( U_SUCCESS(status) ) { in TestGetContainedRegions()
399 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegions()
420 if ( U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
428 … while ((crID = uenum_next(containedRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetContainedRegionsWithType()
449 if ( U_SUCCESS(status) ) { in TestGetContainingRegion()
473 if ( U_SUCCESS(status) ) { in TestGetContainingRegionWithType()
515 if ( U_SUCCESS(status) ) { in TestGetPreferredValues()
517 if ( U_SUCCESS(status) ) { in TestGetPreferredValues()
524 … while ((check = uenum_next(preferredRegions, NULL, &status)) != NULL && U_SUCCESS(status) ) { in TestGetPreferredValues()
[all …]
Dcreststn.c272 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
305 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
318 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
494 if(U_SUCCESS(status)){ in TestNewTypes()
510 if(U_SUCCESS(status)){ in TestNewTypes()
523 if(U_SUCCESS(status)){ in TestNewTypes()
537 if(U_SUCCESS(status)){ in TestNewTypes()
549 if(U_SUCCESS(status)){ in TestNewTypes()
562 if(U_SUCCESS(status)){ in TestNewTypes()
572 if(U_SUCCESS(status)){ in TestNewTypes()
[all …]
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp49 …sh(stdout);fflush(stderr); fprintf(stderr, #x " == %s\n", u_errorName(x)); assert(U_SUCCESS(x)); }}
63 if(U_SUCCESS(status) && (o>0) ) { in prettyPrintUChar()
211 assert(U_SUCCESS(status)); in convsample_02()
215 assert(U_SUCCESS(status)); in convsample_02()
313 assert(U_SUCCESS(status)); in convsample_05()
349 assert(U_SUCCESS(status)); in convsample_05()
430 assert(U_SUCCESS(status)); in convsample_06()
534 assert(U_SUCCESS(status)); in convsample_12()
900 assert(U_SUCCESS(status)); in convsample_40()
938 assert(U_SUCCESS(status)); in convsample_40()
[all …]
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp287 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
295 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
303 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
311 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
319 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
327 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
335 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
343 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()

12345678910>>...14