Home
last modified time | relevance | path

Searched refs:U_FAILURE (Results 1 – 25 of 548) 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.cpp158 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
179 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
188 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
192 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
202 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
209 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
213 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
223 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
230 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
234 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
[all …]
Ddadrfmt.cpp103 if (U_FAILURE(status)) { in testConvertDate()
131 if (U_FAILURE(status)) { in testConvertDate()
136 if (U_FAILURE(status)) { in testConvertDate()
141 if(U_FAILURE(status)) { in testConvertDate()
146 if(U_FAILURE(status)) { in testConvertDate()
151 if(U_FAILURE(status)) { in testConvertDate()
165 if(U_FAILURE(status)) { in testConvertDate()
170 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) { in testConvertDate()
182 if(U_FAILURE(status)) { in testConvertDate()
204 if(fromSet.parseFrom(add, status)<0 || 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 …]
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 …]
Dcaltest.cpp26 #define TEST_CHECK_STATUS {if (U_FAILURE(status)) {errln("%s:%d: Test failure. status=%s", \
352 U_FAILURE(status)) errln("FAIL: equals/before/after failed"); in TestGenericAPI()
364 U_FAILURE(status)) errln("FAIL: equals/before/after failed after setTime(+1000)"); in TestGenericAPI()
376 U_FAILURE(status)) { in TestGenericAPI()
391 U_FAILURE(status)) errln("FAIL: equals/before/after failed after rollback to January"); in TestGenericAPI()
412 …if (cal->getFirstDayOfWeek(aStatus) != i || U_FAILURE(aStatus)) errln("FAIL: getFirstDayOfWeek(sta… in TestGenericAPI()
434 if (cal->getTime(status) != date(84, 5, 24) || U_FAILURE(status)) in TestGenericAPI()
439 if (cal->getTime(status) != date(85, 3, 2, 11, 49) || U_FAILURE(status)) in TestGenericAPI()
444 if (cal->getTime(status) != date(95, 9, 12, 1, 39, 55) || U_FAILURE(status)) in TestGenericAPI()
520 if (gc->getTime(status) != (d =date(98, 10, 14, 21, 43) )|| U_FAILURE(status)) in TestGenericAPI()
[all …]
Dcalregts.cpp120 if(U_FAILURE(status)) { in failure()
136 if(U_FAILURE(status)) { in test4100311()
159 if(U_FAILURE(status)) { in test4074758()
182 if(U_FAILURE(status)) { in test4028518()
211 if(U_FAILURE(status)) { in Test9019()
263 if (U_FAILURE(status)) { in test4031502()
280 if (cal->get(UCAL_HOUR, status) != 5 || U_FAILURE(status)) { in test4031502()
333 if (U_FAILURE(status)) { in test4040996()
373 if(U_FAILURE(status)) { in test4051765()
382 if( ! U_FAILURE(status)) in test4051765()
[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/test/cintltst/
Dcnumtst.c98 if(U_FAILURE(*status)) in TestInt64Parse()
109 if(!U_FAILURE(*status)) in TestInt64Parse()
162 if(U_FAILURE(status)) in TestNumberFormat()
170 if(U_FAILURE(status)) in TestNumberFormat()
177 if(U_FAILURE(status)) in TestNumberFormat()
183 if(U_FAILURE(status)) in TestNumberFormat()
190 if(U_FAILURE(status)) in TestNumberFormat()
195 if(U_FAILURE(status)) in TestNumberFormat()
201 if(U_FAILURE(status)) in TestNumberFormat()
208 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.c120 if(U_FAILURE(status)){ in TestCalendar()
163 if (U_FAILURE(status)) { in TestCalendar()
175 if (U_FAILURE(status)){ in TestCalendar()
181 if (U_FAILURE(status)){ in TestCalendar()
201 if (U_FAILURE(status)) { in TestCalendar()
208 if (U_FAILURE(status)) { in TestCalendar()
218 if (U_FAILURE(status)) { in TestCalendar()
223 if (U_FAILURE(status)) { in TestCalendar()
228 if (U_FAILURE(status)) { in TestCalendar()
244 if (U_FAILURE(status)) { in TestCalendar()
[all …]
Dcdattst.c84 if(U_FAILURE(status)) in TestDateFormat()
94 if(U_FAILURE(status)) in TestDateFormat()
101 if(U_FAILURE(status)) in TestDateFormat()
108 if(U_FAILURE(status)) in TestDateFormat()
116 if(U_FAILURE(status)) in TestDateFormat()
136 if(U_FAILURE(subStatus)) { in TestDateFormat()
145 if(U_FAILURE(status)){ in TestDateFormat()
168 if(U_FAILURE(status) || !result) in TestDateFormat()
222 if(U_FAILURE(status)) in TestDateFormat()
254 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 …]
/external/icu4c/tools/genrb/
Dustr.c42 if (U_FAILURE(*status)) return; in ustr_initChars()
50 if(U_FAILURE(*status)) return; in ustr_initChars()
84 if(U_FAILURE(*status) || dst == src) in ustr_cpy()
89 if(U_FAILURE(*status)) in ustr_cpy()
105 if(U_FAILURE(*status)) in ustr_setlen()
110 if(U_FAILURE(*status)) in ustr_setlen()
132 if(U_FAILURE(*status) || dst == src) in ustr_ncat()
137 if(U_FAILURE(*status)) in ustr_ncat()
152 if(U_FAILURE(*status)) in ustr_ucat()
157 if(U_FAILURE(*status)) in ustr_ucat()
[all …]
Dread.c72 if (U_FAILURE(*status)) { in getNextToken()
79 if (U_FAILURE(*status)) { in getNextToken()
136 if (U_FAILURE(*status)) { in getStringToken()
145 if (U_FAILURE(*status)) { in getStringToken()
154 if (U_FAILURE(*status)) { in getStringToken()
170 if (U_FAILURE(*status)) { in getStringToken()
206 if (U_FAILURE(*status)) { in getStringToken()
215 if (U_FAILURE(*status)) { in getStringToken()
253 if (U_FAILURE(*status)) { in getStringToken()
267 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()
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.cpp89 if (U_FAILURE(status)) { in parseAsciiDigits()
225 if (U_FAILURE(status)) { in parseDateTimeString()
258 if (U_FAILURE(status)) { in parseDateTimeString()
289 if (U_FAILURE(status)) { in offsetStrToMillis()
317 if (U_FAILURE(status)) { in offsetStrToMillis()
381 if (U_FAILURE(status)) { in parseRRULE()
426 if (U_FAILURE(status)) { in parseRRULE()
436 if (U_FAILURE(status) || month < 0 || month >= 12) { in parseRRULE()
460 if (U_FAILURE(status) || n == 0 || n > 4) { in parseRRULE()
495 if (U_FAILURE(status)) { in parseRRULE()
[all …]
Ducal.cpp108 if (U_FAILURE(*ec)) { in ucal_getDSTSavings()
138 if(U_FAILURE(*status)) return 0; in ucal_open()
143 if (U_FAILURE(*status)) { in ucal_open()
154 if (U_FAILURE(*status)) { in ucal_open()
173 if(U_FAILURE(*status)) return 0; in ucal_clone()
192 if(U_FAILURE(*status)) in ucal_setTimeZone()
212 if(U_FAILURE(*status)) return -1; in ucal_getTimeZoneDisplayName()
248 if(U_FAILURE(*status)) return (UBool) -1; in ucal_inDaylightTime()
254 if(U_FAILURE(*pErrorCode)) { in ucal_setGregorianChange()
277 if(U_FAILURE(*pErrorCode)) { in ucal_getGregorianChange()
[all …]

12345678910>>...22