Home
last modified time | relevance | path

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

12345678910>>...16

/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.cpp398 if(U_SUCCESS(err)){ in TestIteration()
579 if(U_SUCCESS(err)) { in TestOtherAPI()
612 if(U_SUCCESS(err)){ in TestOtherAPI()
778 if (U_SUCCESS(status)) { in testTag()
801 if (U_SUCCESS(status)) in testTag()
846 if (U_SUCCESS(status)){ in testTag()
876 if (U_SUCCESS(status)) in testTag()
888 if(U_SUCCESS(status)){ in testTag()
923 if(U_SUCCESS(status)){ in testTag()
925 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.cpp148 if(U_SUCCESS(status)) { in getTestDataModule()
227 if(U_SUCCESS(status)) { in createTestData()
230 if(U_SUCCESS(status)) { in createTestData()
255 if(U_SUCCESS(status)) { in createTestData()
257 if(U_SUCCESS(status)) { in createTestData()
278 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.cpp71 if (iter && U_SUCCESS(status)) { in FieldPositionIteratorHandler()
93 if (vec && U_SUCCESS(status) && start < limit) { in addAttribute()
99 if (!U_SUCCESS(status)) { in addAttribute()
107 if (U_SUCCESS(status) && delta != 0) { in shiftLast()
120 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.cpp235 if(U_SUCCESS(status)) { in initAvailableLocaleList()
255 return U_SUCCESS(status); in isAvailableLocaleListInitialized()
468 if (U_SUCCESS(status)) { in makeInstance()
519 if(U_SUCCESS(status)) { in compare()
680 if (U_SUCCESS(status)) { in registerInstance()
703 if (U_SUCCESS(status)) { in CFactory()
729 if (U_SUCCESS(status)) { in getSupportedIDs()
776 if (U_SUCCESS(status)) { in registerFactory()
791 if (U_SUCCESS(status)) { in unregister()
927 if (U_SUCCESS(errorCode)) { in setMaxVariable()
[all …]
Djapancal.cpp130 U_ASSERT(U_SUCCESS(status)); in JapaneseCalendar()
160 U_ASSERT(U_SUCCESS(status)); in getDefaultMonthInYear()
178 U_ASSERT(U_SUCCESS(status)); in getDefaultDayInMonth()
206 U_ASSERT(U_SUCCESS(status)); in handleGetExtendedYear()
267 U_ASSERT(U_SUCCESS(status)); in handleGetLimit()
Ducal.cpp37 if (ec != NULL && U_SUCCESS(*ec)) { in _createTimeZone()
72 if (ec != NULL && U_SUCCESS(*ec)) { in ucal_getDefaultTimeZone()
97 if (ec != NULL && U_SUCCESS(*ec)) { in ucal_getHostTimeZone()
115 if (U_SUCCESS(*ec)) { in ucal_getDSTSavings()
576 if (U_SUCCESS(*status)) { in ucal_getLocaleByType()
607 if (U_SUCCESS(*status)) { in ucal_getCanonicalTimeZoneID()
713 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
715 if (U_SUCCESS(*status)) { in ucal_getKeywordValuesForLocale()
733 if (U_SUCCESS(*status) && !commonlyUsed) { in ucal_getKeywordValuesForLocale()
781 if (btz != NULL && U_SUCCESS(*status)) { in ucal_getTimeZoneTransitionDate()
[all …]
Dcurrpinf.cpp217 if (U_SUCCESS(status)) { in setPluralRules()
227 if (U_SUCCESS(status)) { in setCurrencyPluralPattern()
232 if (U_SUCCESS(status)) { in setCurrencyPluralPattern()
306 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
333 if (U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
335 while (((pluralCount = keywords->next(nullptr, ec)) != nullptr) && U_SUCCESS(ec)) { in setupCurrencyPluralPattern()
343 if (U_SUCCESS(err) && ptnLength > 0) { in setupCurrencyPluralPattern()
/external/icu/icu4c/source/common/
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()
Dbrkiter.cpp79 if (U_SUCCESS(status)) { in buildInstance()
88 if (U_SUCCESS(status)) { in buildInstance()
94 if (U_SUCCESS(status) && brkfname) { in buildInstance()
121 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()
436 …if (U_SUCCESS(kvStatus) && kLen > 0 && (uprv_strcmp(lbKeyValue,"strict")==0 || uprv_strcmp(lbKeyVa… in makeInstance()
454 if (U_SUCCESS(kvStatus) && kLen > 0 && uprv_strcmp(ssKeyValue,"standard")==0) { in makeInstance()
456 if (U_SUCCESS(kvStatus)) { in makeInstance()
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.cpp71 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
83 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayLanguage()
111 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
123 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayScript()
151 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
163 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayCountry()
191 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
203 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayVariant()
231 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
243 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); in getDisplayName()
[all …]
Dustr_cnv.cpp139 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrncpy()
169 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrcpy()
211 if(U_SUCCESS(err) && cnv != NULL) { in u_austrncpy()
241 if(U_SUCCESS(err) && cnv != NULL) { in u_austrcpy()
Dnormalizer2.cpp80 return U_SUCCESS(errorCode) && isNormalized(UnicodeString::fromUTF8(s), errorCode); in isNormalizedUTF8()
91 if(U_SUCCESS(errorCode)) { in normalize()
103 if(U_SUCCESS(errorCode)) { in normalizeUTF8()
121 if(U_SUCCESS(errorCode)) { in normalizeSecondAndAppend()
134 if(U_SUCCESS(errorCode)) { in append()
150 return U_SUCCESS(errorCode); in isNormalized()
154 return U_SUCCESS(errorCode); in isNormalizedUTF8()
554 if(U_SUCCESS(errorCode)) { in u_getCombiningClass()
565 if(U_SUCCESS(errorCode)) { in unorm_getFCD16()
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()
/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.c305 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
338 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
351 if(U_SUCCESS(status) && r != NULL) { in TestErrorCodes()
527 if(U_SUCCESS(status)){ in TestNewTypes()
543 if(U_SUCCESS(status)){ in TestNewTypes()
556 if(U_SUCCESS(status)){ in TestNewTypes()
570 if(U_SUCCESS(status)){ in TestNewTypes()
582 if(U_SUCCESS(status)){ in TestNewTypes()
595 if(U_SUCCESS(status)){ in TestNewTypes()
605 if(U_SUCCESS(status)){ in TestNewTypes()
[all …]
/external/libchrome/base/i18n/
Dicu_string_conversions.cc112 if (U_SUCCESS(status)) in ConvertFromUTF16()
151 if (!U_SUCCESS(status)) in UTF16ToCodepage()
166 if (!U_SUCCESS(status)) in CodepageToUTF16()
185 if (!U_SUCCESS(status)) { in CodepageToUTF16()
205 DCHECK(U_SUCCESS(status)); in ConvertToUtf8AndNormalize()
Dstring_search.cc27 if (U_SUCCESS(status)) { in FixedPatternStringSearchIgnoringCaseAndAccents()
49 if (!U_SUCCESS(status)) { in Search()
63 if (!U_SUCCESS(status) || index == USEARCH_DONE) in Search()
/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()
908 assert(U_SUCCESS(status)); in convsample_40()
946 assert(U_SUCCESS(status)); in convsample_40()
[all …]
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp302 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
310 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
318 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
326 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
334 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
342 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
350 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()
358 if(U_SUCCESS(errorCode)) { in demoCaseMapInC()

12345678910>>...16