Home
last modified time | relevance | path

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

12345678910>>...24

/external/icu/icu4c/source/test/perf/convperf/
Dconvperf.cpp22 if(U_FAILURE(status)){ in main()
126 if(U_FAILURE(status)){ in TestICU_CleanOpenAllConverters()
135 if(U_FAILURE(status)){ in TestICU_OpenAllConverters()
144 if(U_FAILURE(status)){ in TestICU_UTF8_FromUnicode()
153 if(U_FAILURE(status)){ in TestICU_UTF8_ToUnicode()
163 if(U_FAILURE(status)){ in TestWinIML2_UTF8_FromUnicode()
172 if(U_FAILURE(status)){ in TestWinIML2_UTF8_ToUnicode()
181 if(U_FAILURE(status)){ in TestWinANSI_UTF8_FromUnicode()
190 if(U_FAILURE(status)){ in TestWinANSI_UTF8_ToUnicode()
201 if(U_FAILURE(status)){ in TestICU_Latin1_FromUnicode()
[all …]
/external/icu/icu4c/source/test/intltest/
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 …]
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) != CollationElementIterator::NULLORDER) { in TestOffset()
184 if (U_FAILURE(status) || iter->next(status) != CollationElementIterator::NULLORDER) { in TestOffset()
208 if (U_FAILURE(status)) in TestOffset()
225 if (U_FAILURE(status)) { in TestOffset()
[all …]
Dtzrulets.cpp156 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
177 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
186 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
190 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
200 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
207 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
211 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
221 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
228 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
232 if (U_FAILURE(status)) { in TestSimpleRuleBasedTimeZone()
[all …]
Ddadrfmt.cpp103 if (U_FAILURE(status)) { in testConvertDate()
132 if (U_FAILURE(status)) { in testConvertDate()
137 if (U_FAILURE(status)) { in testConvertDate()
142 if(U_FAILURE(status)) { in testConvertDate()
147 if(U_FAILURE(status)) { in testConvertDate()
152 if(U_FAILURE(status)) { in testConvertDate()
166 if(U_FAILURE(status)) { in testConvertDate()
171 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) { in testConvertDate()
183 if(U_FAILURE(status)) { in testConvertDate()
205 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 …]
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()
207 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()
334 if (U_FAILURE(status)) { in test4040996()
374 if(U_FAILURE(status)) { in test4051765()
383 if( ! U_FAILURE(status)) in test4051765()
[all …]
/external/icu/icu4c/source/common/
Dloclikely.cpp46 if (!U_FAILURE(*err)) { in findLikelySubtags()
54 if (U_FAILURE(tmpErr)) { in findLikelySubtags()
167 if (U_FAILURE(*err)) { in createTagStringWithAlternates()
220 if(U_FAILURE(*err) || in createTagStringWithAlternates()
264 if (U_FAILURE(*err) || in createTagStringWithAlternates()
298 if (U_FAILURE(*err) || in createTagStringWithAlternates()
476 if(U_FAILURE(*err) || in parseTagString()
495 if(U_FAILURE(*err)) { in parseTagString()
518 if(U_FAILURE(*err)) { in parseTagString()
543 if(U_FAILURE(*err)) { in parseTagString()
[all …]
Duloc_keytype.cpp97 if (U_FAILURE(sts)) { in initFromResourceBundle()
113 if (U_FAILURE(sts)) { in initFromResourceBundle()
122 if (U_FAILURE(sts)) { in initFromResourceBundle()
131 if (U_FAILURE(sts)) { in initFromResourceBundle()
140 if (U_FAILURE(sts)) { in initFromResourceBundle()
146 if (U_FAILURE(sts)) { in initFromResourceBundle()
161 if (U_FAILURE(sts)) { in initFromResourceBundle()
170 if (U_FAILURE(sts)) { in initFromResourceBundle()
181 if (U_FAILURE(tmpSts)) { in initFromResourceBundle()
188 if (U_FAILURE(tmpSts)) { in initFromResourceBundle()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcitertst.c80 if (U_FAILURE(status)) { in TestBug672()
91 if (U_FAILURE(status)) { in TestBug672()
99 if (U_FAILURE(status)) { in TestBug672()
115 if (U_FAILURE(status)) { in TestBug672()
156 if (U_FAILURE(status)) { in TestBug672Normalize()
167 if (U_FAILURE(status)) { in TestBug672Normalize()
175 if (U_FAILURE(status)) { in TestBug672Normalize()
191 if (U_FAILURE(status)) { in TestBug672Normalize()
226 if (U_FAILURE(status)){ in TestUnicodeChar()
251 if(U_FAILURE(status)){ in TestUnicodeChar()
[all …]
Dccaltst.c126 if(U_FAILURE(status)){ in TestCalendar()
169 if (U_FAILURE(status)) { in TestCalendar()
181 if (U_FAILURE(status)){ in TestCalendar()
187 if (U_FAILURE(status)){ in TestCalendar()
207 if (U_FAILURE(status)) { in TestCalendar()
214 if (U_FAILURE(status)) { in TestCalendar()
224 if (U_FAILURE(status)) { in TestCalendar()
229 if (U_FAILURE(status)) { in TestCalendar()
234 if (U_FAILURE(status)) { in TestCalendar()
250 if (U_FAILURE(status)) { in TestCalendar()
[all …]
Dcnumtst.c116 if(U_FAILURE(*status)) in TestInt64Parse()
128 if(!U_FAILURE(*status)) in TestInt64Parse()
181 if(U_FAILURE(status)) in TestNumberFormat()
189 if(U_FAILURE(status)) in TestNumberFormat()
196 if(U_FAILURE(status)) in TestNumberFormat()
202 if(U_FAILURE(status)) in TestNumberFormat()
209 if(U_FAILURE(status)) in TestNumberFormat()
214 if(U_FAILURE(status)) in TestNumberFormat()
220 if(U_FAILURE(status)) in TestNumberFormat()
227 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()
139 if(U_FAILURE(errorCode)) { in TestUsage()
145 if(U_FAILURE(errorCode)) { in TestUsage()
158 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
165 if(U_FAILURE(errorCode)) { in TestUsage()
177 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
184 if(U_FAILURE(errorCode)) { in TestUsage()
196 if(!U_FAILURE(errorCode)&&(length!=0) ) { in TestUsage()
[all …]
Dutransts.c165 if (U_FAILURE(status)) { in TestAPI()
191 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
197 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
204 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
218 if(U_FAILURE(errorCode)) { in TestUnicodeIDs()
232 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
236 if(U_FAILURE(errorCode) || count<1) { in TestUnicodeIDs()
276 if(t1 == NULL || U_FAILURE(status)){ in TestOpenInverse()
281 if(U_FAILURE(status)){ in TestOpenInverse()
304 if(U_FAILURE(status)){ in TestClone()
[all …]
/external/icu/icu4c/source/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.cpp49 if(status == NULL || U_FAILURE(*status)){ in removeText()
56 if(U_FAILURE(*status)){ in removeText()
90 if(status == NULL || U_FAILURE(*status)){ in getText()
98 if (U_FAILURE(*status)) { in getText()
104 if (U_FAILURE(*status)) { in getText()
125 if(status == NULL || U_FAILURE(*status)){ in getDescription()
133 if (U_FAILURE(*status)) { in getDescription()
149 if(status == NULL || U_FAILURE(*status)){ in getCount()
158 if (U_FAILURE(*status)) { in getCount()
165 if (U_FAILURE(*status)) { in getCount()
[all …]
/external/icu/icu4c/source/i18n/
Ducol_res.cpp81 if(U_FAILURE(errorCode)) { return; } in loadRootRules()
83 if(U_FAILURE(errorCode)) { return; } in loadRootRules()
85 if(U_FAILURE(errorCode)) { in loadRootRules()
105 if(U_FAILURE(errorCode)) { return; } in loadRules()
124 if(U_FAILURE(errorCode)) { return; } in loadRules()
146 if(U_FAILURE(errorCode)) { return NULL; } in loadTailoring()
171 if(U_FAILURE(errorCode)) { return; } in CollationLoader()
181 if(U_FAILURE(errorCode)) { in CollationLoader()
225 if(U_FAILURE(errorCode)) { return NULL; } in loadFromLocale()
237 if(U_FAILURE(errorCode)) { return NULL; } in loadFromLocale()
[all …]
Ducsdet.cpp34 if(U_FAILURE(*status)) { in ucsdet_open()
40 if (U_FAILURE(*status)) { in ucsdet_open()
58 if(U_FAILURE(*status)) { in ucsdet_setText()
68 if(U_FAILURE(*status)) { in ucsdet_getName()
78 if(U_FAILURE(*status)) { in ucsdet_getConfidence()
88 if(U_FAILURE(*status)) { in ucsdet_getLanguage()
98 if(U_FAILURE(*status)) { in ucsdet_detect()
108 if(U_FAILURE(*status)) { in ucsdet_setDeclaredEncoding()
119 if(U_FAILURE(*status)) { in ucsdet_detectAll()
177 if(U_FAILURE(*status)) { in ucsdet_getUChars()
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()
209 if (U_FAILURE(*status)) { in ucal_getTimeZoneID()
227 if(U_FAILURE(*status)) return -1; in ucal_getTimeZoneDisplayName()
263 if(U_FAILURE(*status)) return (UBool) -1; in ucal_inDaylightTime()
269 if(U_FAILURE(*pErrorCode)) { in ucal_setGregorianChange()
[all …]
Dulocdata.c54 if (U_FAILURE(*status)) { in ulocdata_open()
70 if (U_FAILURE(*status)) { in ulocdata_open()
112 if (U_FAILURE(*status)) in ulocdata_getExemplarSet()
124 if (U_FAILURE(*status)) in ulocdata_getExemplarSet()
154 if (U_FAILURE(*status)) in ulocdata_getDelimiter()
167 if (U_FAILURE(*status)){ in ulocdata_getDelimiter()
183 if (U_FAILURE(*status)){ in ulocdata_getDelimiter()
230 if(status == NULL || U_FAILURE(*status)){ in ulocdata_getMeasurementSystem()
249 if(status == NULL || U_FAILURE(*status)){ in ulocdata_getPaperSize()
287 if (U_FAILURE(*status)) in ulocdata_getLocaleDisplayPattern()
[all …]
Dmeasfmt.cpp189 if (U_FAILURE(status)) { in getString()
239 if (U_FAILURE(errorCode)) { return; } in put()
267 if (U_FAILURE(errorCode)) { return NULL; } in getOrCreateTableSink()
303 if (U_FAILURE(errorCode)) { return NULL; } in getOrCreateTableSink()
328 if (U_FAILURE(errorCode) || value.getType() != URES_ALIAS) { return; } in put()
419 if (U_FAILURE(status)) { in loadNumericDateFormatterPattern()
431 if (U_FAILURE(status)) { in loadNumericDateFormatterPattern()
450 if (U_FAILURE(status)) { in loadNumericDateFormatters()
458 if (U_FAILURE(status)) { in loadNumericDateFormatters()
473 if (U_FAILURE(status)) { in createObject()
[all …]
/external/icu/icu4c/source/test/perf/collperf2/
Dcollperf2.cpp83 if (U_FAILURE(*status)) return; in call()
143 if (U_FAILURE(*status)) return; in call()
195 if (U_FAILURE(*status)) return; in call()
255 if (U_FAILURE(*status)) return; in call()
306 if (U_FAILURE(*status)) return; in call()
364 if (U_FAILURE(*status)) return; in call()
431 if (U_FAILURE(*status)) return; in call()
494 if (U_FAILURE(*status)) return; in call()
553 if (U_FAILURE(*status)) return; in call()
604 if (U_FAILURE(*status)) return; in call()
[all …]

12345678910>>...24