Home
last modified time | relevance | path

Searched refs:U_FAILURE (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/external/icu4c/test/perf/convperf/
Dconvperf.cpp21 if(U_FAILURE(status)){ in main()
125 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
134 if(U_FAILURE(status)){ in TestICU_OpenAllConverters()
143 if(U_FAILURE(status)){ in TestICU_UTF8_FromUnicode()
152 if(U_FAILURE(status)){ in TestICU_UTF8_ToUnicode()
162 if(U_FAILURE(status)){ in TestWinIML2_UTF8_FromUnicode()
171 if(U_FAILURE(status)){ in TestWinIML2_UTF8_ToUnicode()
180 if(U_FAILURE(status)){ in TestWinANSI_UTF8_FromUnicode()
189 if(U_FAILURE(status)){ in TestWinANSI_UTF8_ToUnicode()
200 if(U_FAILURE(status)){ in TestICU_Latin1_FromUnicode()
[all …]
/external/icu4c/test/intltest/
Ditercoll.cpp30 if(U_FAILURE(status)) { in CollationIteratorTest()
99 if (c1 == NULL || U_FAILURE(status)) in TestPrevious()
116 if (c2 == NULL || U_FAILURE(status)) in TestPrevious()
133 if (c3 == NULL || U_FAILURE(status)) in TestPrevious()
150 if(U_FAILURE(status)){ in TestPrevious()
162 if(U_FAILURE(status)){ in TestPrevious()
179 if (U_FAILURE(status) || iter->previous(status) != UCOL_NULLORDER) { in TestOffset()
184 if (U_FAILURE(status) || iter->next(status) != UCOL_NULLORDER) { in TestOffset()
208 if (U_FAILURE(status)) in TestOffset()
239 if (U_FAILURE(status)) in TestSetText()
[all …]
Dsdtfmtts.cpp31 if(U_FAILURE(status)) { in runIndexedTest()
55 if(U_FAILURE(status)) { in testAPI()
66 if(U_FAILURE(status)) { in testAPI()
72 if(U_FAILURE(status)) { in testAPI()
78 if(U_FAILURE(status)) { in testAPI()
84 if(U_FAILURE(status)) { in testAPI()
91 if(U_FAILURE(status)) { in testAPI()
98 if(U_FAILURE(status)) { in testAPI()
104 if(U_FAILURE(status)) { in testAPI()
152 if(U_FAILURE(status)) { in testAPI()
[all …]
Ddadrcal.cpp90 if (U_FAILURE(status)) { in testOps()
112 if (U_FAILURE(status)) { in testOps()
119 if (U_FAILURE(status)) { in testOps()
129 if (U_FAILURE(status)) { in testOps()
139 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps()
149 if (U_FAILURE(status)) { in testOps()
154 if (U_FAILURE(status)) { in testOps()
165 if (U_FAILURE(status)) { in testOps()
171 if (U_FAILURE(status)) { in testOps()
181 if (U_FAILURE(status)) { in testOps()
[all …]
Dtzrulets.cpp157 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
178 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
187 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
191 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
201 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
208 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
212 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
222 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
229 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
233 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
[all …]
Ddadrfmt.cpp101 if (U_FAILURE(status)) { in testConvertDate()
129 if (U_FAILURE(status)) { in testConvertDate()
134 if(U_FAILURE(status)) { in testConvertDate()
139 if(U_FAILURE(status)) { in testConvertDate()
144 if(U_FAILURE(status)) { in testConvertDate()
158 if(U_FAILURE(status)) { in testConvertDate()
163 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) { in testConvertDate()
175 if(U_FAILURE(status)) { in testConvertDate()
190 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate()
206 if(U_FAILURE(status)) { in testConvertDate()
[all …]
Ditrbnfrt.cpp67 if (U_FAILURE(status)) { in TestEnglishSpelloutRT()
85 if (U_FAILURE(status)) { in TestDurationsRT()
103 if (U_FAILURE(status)) { in TestSpanishSpelloutRT()
121 if (U_FAILURE(status)) { in TestFrenchSpelloutRT()
139 if (U_FAILURE(status)) { in TestSwissFrenchSpelloutRT()
157 if (U_FAILURE(status)) { in TestItalianSpelloutRT()
175 if (U_FAILURE(status)) { in TestGermanSpelloutRT()
193 if (U_FAILURE(status)) { in TestSwedishSpelloutRT()
211 if (U_FAILURE(status)) { in TestDutchSpelloutRT()
229 if (U_FAILURE(status)) { in TestJapaneseSpelloutRT()
[all …]
Dcaltest.cpp317 U_FAILURE(status)) errln("FAIL: equals/before/after failed"); in TestGenericAPI()
329 U_FAILURE(status)) errln("FAIL: equals/before/after failed after setTime(+1000)"); in TestGenericAPI()
341 U_FAILURE(status)) { in TestGenericAPI()
356 U_FAILURE(status)) errln("FAIL: equals/before/after failed after rollback to January"); in TestGenericAPI()
377 …if (cal->getFirstDayOfWeek(aStatus) != i || U_FAILURE(aStatus)) errln("FAIL: getFirstDayOfWeek(sta… in TestGenericAPI()
399 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) in TestGenericAPI()
404 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) in TestGenericAPI()
409 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) in TestGenericAPI()
485 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) in TestGenericAPI()
492 if (gc->getTime(status) != (d=date(98, 10, 14, 21, 43, 55)) || U_FAILURE(status)) in TestGenericAPI()
[all …]
Ddcfmapts.cpp32 if(U_FAILURE(status)) { in runIndexedTest()
74 if(U_FAILURE(status)) { in testAPI()
82 if(U_FAILURE(status)) { in testAPI()
89 if(U_FAILURE(status)) { in testAPI()
96 if(U_FAILURE(status)) { in testAPI()
102 if(U_FAILURE(status)) { in testAPI()
147 if(U_FAILURE(status)) { in testAPI()
154 if(U_FAILURE(status)) { in testAPI()
169 if(U_FAILURE(status)) { in testAPI()
180 if(U_FAILURE(status)) { in testAPI()
[all …]
/external/icu4c/test/cintltst/
Dcnumtst.c118 if(U_FAILURE(*status)) in TestInt64Parse()
129 if(!U_FAILURE(*status)) in TestInt64Parse()
182 if(U_FAILURE(status)) in TestNumberFormat()
190 if(U_FAILURE(status)) in TestNumberFormat()
197 if(U_FAILURE(status)) in TestNumberFormat()
203 if(U_FAILURE(status)) in TestNumberFormat()
210 if(U_FAILURE(status)) in TestNumberFormat()
215 if(U_FAILURE(status)) in TestNumberFormat()
221 if(U_FAILURE(status)) in TestNumberFormat()
228 if(U_FAILURE(status)) in TestNumberFormat()
[all …]
Dusrchtst.c59 if(U_FAILURE(*status)) { in open()
96 if (U_FAILURE(status)) { in TestStart()
245 if (U_FAILURE(status) || result == NULL) { in TestOpenClose()
252 if (U_FAILURE(status)) { in TestOpenClose()
259 if (U_FAILURE(status) || result == NULL) { in TestOpenClose()
275 if (U_FAILURE(status) || result == NULL) { in TestOpenClose()
284 if (U_FAILURE(status) || result == NULL) { in TestOpenClose()
311 if (U_FAILURE(status)) { in TestInitialization()
317 if (U_FAILURE(status)) { in TestInitialization()
329 if (U_FAILURE(status)) { in TestInitialization()
[all …]
Dudatpg_test.c80 if(U_FAILURE(errorCode)) { in TestOpenClose()
88 if(U_FAILURE(errorCode)) { in TestOpenClose()
98 if(U_FAILURE(errorCode) || dtpg2==NULL) { in TestOpenClose()
124 if(U_FAILURE(errorCode)) { in TestUsage()
130 if(U_FAILURE(errorCode)) { in TestUsage()
143 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
150 if(U_FAILURE(errorCode)) { in TestUsage()
162 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
169 if(U_FAILURE(errorCode)) { in TestUsage()
181 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
[all …]
Dccaltst.c115 if(U_FAILURE(status)){ in TestCalendar()
158 if (U_FAILURE(status)) { in TestCalendar()
170 if (U_FAILURE(status)){ in TestCalendar()
176 if (U_FAILURE(status)){ in TestCalendar()
196 if (U_FAILURE(status)) { in TestCalendar()
203 if (U_FAILURE(status)) { in TestCalendar()
213 if (U_FAILURE(status)) { in TestCalendar()
218 if (U_FAILURE(status)) { in TestCalendar()
223 if (U_FAILURE(status)) { in TestCalendar()
239 if (U_FAILURE(status)) { in TestCalendar()
[all …]
Dcdattst.c81 if(U_FAILURE(status)) in TestDateFormat()
91 if(U_FAILURE(status)) in TestDateFormat()
98 if(U_FAILURE(status)) in TestDateFormat()
105 if(U_FAILURE(status)) in TestDateFormat()
113 if(U_FAILURE(status)) in TestDateFormat()
133 if(U_FAILURE(subStatus)) { in TestDateFormat()
142 if(U_FAILURE(status)){ in TestDateFormat()
165 if(U_FAILURE(status) || !result) in TestDateFormat()
219 if(U_FAILURE(status)) in TestDateFormat()
251 if(U_FAILURE(status)) in TestDateFormat()
[all …]
Dcitertst.c85 if (U_FAILURE(status)) { in TestBug672()
96 if (U_FAILURE(status)) { in TestBug672()
104 if (U_FAILURE(status)) { in TestBug672()
120 if (U_FAILURE(status)) { in TestBug672()
161 if (U_FAILURE(status)) { in TestBug672Normalize()
172 if (U_FAILURE(status)) { in TestBug672Normalize()
180 if (U_FAILURE(status)) { in TestBug672Normalize()
196 if (U_FAILURE(status)) { in TestBug672Normalize()
231 if (U_FAILURE(status)){ in TestUnicodeChar()
256 if(U_FAILURE(status)){ in TestUnicodeChar()
[all …]
Dutransts.c162 if (U_FAILURE(status)) { in TestAPI()
188 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
194 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
201 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
215 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
229 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
233 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
273 if(t1 == NULL || U_FAILURE(status)){ in TestOpenInverse()
278 if(U_FAILURE(status)){ in TestOpenInverse()
301 if(U_FAILURE(status)){ in TestClone()
[all …]
Dcrestst.c121 if(U_FAILURE(status)) { in TestAliasConflict()
126 if(U_FAILURE(status) || result == NULL) { in TestAliasConflict()
137 if(U_FAILURE(status)) { in TestResourceBundles()
169 if(U_FAILURE(err)) in TestConstruction1()
176 if(U_FAILURE(err)) in TestConstruction1()
184 if(U_FAILURE(err)) in TestConstruction1()
193 if (U_FAILURE(err)) { in TestConstruction1()
272 if(U_FAILURE(status)) in testTag()
430 if(U_FAILURE(status)) in TestFallback()
482 if(U_FAILURE(errorCode)) { in TestOpenDirect()
[all …]
/external/icu4c/common/
Dloclikely.cpp44 if (!U_FAILURE(*err)) { in findLikelySubtags()
52 if (U_FAILURE(tmpErr)) { in findLikelySubtags()
165 if (U_FAILURE(*err)) { in createTagStringWithAlternates()
218 if(U_FAILURE(*err) || in createTagStringWithAlternates()
262 if (U_FAILURE(*err) || in createTagStringWithAlternates()
296 if (U_FAILURE(*err) || in createTagStringWithAlternates()
474 if(U_FAILURE(*err) || in parseTagString()
493 if(U_FAILURE(*err)) { in parseTagString()
516 if(U_FAILURE(*err)) { in parseTagString()
541 if(U_FAILURE(*err)) { in parseTagString()
[all …]
/external/icu4c/tools/genrb/
Dustr.c41 if (U_FAILURE(*status)) return; in ustr_initChars()
49 if(U_FAILURE(*status)) return; in ustr_initChars()
83 if(U_FAILURE(*status) || dst == src) in ustr_cpy()
88 if(U_FAILURE(*status)) in ustr_cpy()
104 if(U_FAILURE(*status)) in ustr_setlen()
109 if(U_FAILURE(*status)) in ustr_setlen()
131 if(U_FAILURE(*status) || dst == src) in ustr_ncat()
136 if(U_FAILURE(*status)) in ustr_ncat()
151 if(U_FAILURE(*status)) in ustr_ucat()
156 if(U_FAILURE(*status)) in ustr_ucat()
[all …]
Dread.c70 if (U_FAILURE(*status)) { in getNextToken()
77 if (U_FAILURE(*status)) { in getNextToken()
134 if (U_FAILURE(*status)) { in getStringToken()
143 if (U_FAILURE(*status)) { in getStringToken()
152 if (U_FAILURE(*status)) { in getStringToken()
168 if (U_FAILURE(*status)) { in getStringToken()
204 if (U_FAILURE(*status)) { in getStringToken()
213 if (U_FAILURE(*status)) { in getStringToken()
251 if (U_FAILURE(*status)) { in getStringToken()
265 if (U_FAILURE(*status)) { in getStringToken()
[all …]
Dprscmnts.cpp39 if(status == NULL || U_FAILURE(*status)){ in removeText()
46 if(U_FAILURE(*status)){ in removeText()
80 if(status == NULL || U_FAILURE(*status)){ in getText()
88 if (U_FAILURE(*status)) { in getText()
94 if (U_FAILURE(*status)) { in getText()
115 if(status == NULL || U_FAILURE(*status)){ in getDescription()
123 if (U_FAILURE(*status)) { in getDescription()
139 if(status == NULL || U_FAILURE(*status)){ in getCount()
148 if (U_FAILURE(*status)) { in getCount()
154 if (U_FAILURE(*status)) { in getCount()
[all …]
/external/icu4c/i18n/
Ducsdet.cpp29 if(U_FAILURE(*status)) { in ucsdet_open()
35 if (U_FAILURE(*status)) { in ucsdet_open()
53 if(U_FAILURE(*status)) { in ucsdet_setText()
63 if(U_FAILURE(*status)) { in ucsdet_getName()
73 if(U_FAILURE(*status)) { in ucsdet_getConfidence()
83 if(U_FAILURE(*status)) { in ucsdet_getLanguage()
93 if(U_FAILURE(*status)) { in ucsdet_detect()
103 if(U_FAILURE(*status)) { in ucsdet_setDeclaredEncoding()
114 if(U_FAILURE(*status)) { in ucsdet_detectAll()
172 if(U_FAILURE(*status)) { in ucsdet_getUChars()
Ducal.cpp107 if (U_FAILURE(*ec)) { in ucal_getDSTSavings()
137 if(U_FAILURE(*status)) return 0; in ucal_open()
142 if (U_FAILURE(*status)) { in ucal_open()
153 if (U_FAILURE(*status)) { in ucal_open()
172 if(U_FAILURE(*status)) return 0; in ucal_clone()
191 if(U_FAILURE(*status)) in ucal_setTimeZone()
211 if(U_FAILURE(*status)) return -1; in ucal_getTimeZoneDisplayName()
247 if(U_FAILURE(*status)) return (UBool) -1; in ucal_inDaylightTime()
253 if(U_FAILURE(*pErrorCode)) { in ucal_setGregorianChange()
279 if(U_FAILURE(*pErrorCode)) { in ucal_getGregorianChange()
[all …]
Dulocdata.c53 if (U_FAILURE(*status)) { in ulocdata_open()
69 if (U_FAILURE(*status)) { in ulocdata_open()
110 if (U_FAILURE(*status)) in ulocdata_getExemplarSet()
122 if (U_FAILURE(*status)) in ulocdata_getExemplarSet()
152 if (U_FAILURE(*status)) in ulocdata_getDelimiter()
165 if (U_FAILURE(*status)){ in ulocdata_getDelimiter()
181 if (U_FAILURE(*status)){ in ulocdata_getDelimiter()
196 if(status == NULL || U_FAILURE(*status)){ in ulocdata_getMeasurementSystem()
220 if(status == NULL || U_FAILURE(*status)){ in ulocdata_getPaperSize()
260 if (U_FAILURE(*status)) in ulocdata_getLocaleDisplayPattern()
[all …]
Dvtzone.cpp90 if (U_FAILURE(status)) { in parseAsciiDigits()
226 if (U_FAILURE(status)) { in parseDateTimeString()
259 if (U_FAILURE(status)) { in parseDateTimeString()
290 if (U_FAILURE(status)) { in offsetStrToMillis()
318 if (U_FAILURE(status)) { in offsetStrToMillis()
382 if (U_FAILURE(status)) { in parseRRULE()
427 if (U_FAILURE(status)) { in parseRRULE()
437 if (U_FAILURE(status) || month < 0 || month >= 12) { in parseRRULE()
461 if (U_FAILURE(status) || n == 0 || n > 4) { in parseRRULE()
496 if (U_FAILURE(status)) { in parseRRULE()
[all …]

12345678910>>...22