Lines Matching refs:failure
118 CalendarRegressionTest::failure(UErrorCode status, const char* msg)
141 failure(status, "Calendar::createInstance(status)");
145 failure(status, "cal->getTime");
164 failure(status, "new GregorianCalendar");
169 failure(status, "cal->get");
171 failure(status, "cal->get");
187 failure(status, "new GregorianCalendar");
193 failure(status, "cal1->add");
215 failure(status, "new GregorianCalendar");
221 failure(status, "->add(UCAL_MONTH,8)");
228 failure(status, "equals");
237 failure(status, "cal->get");
239 failure(status, "cal->get");
242 failure(status, "cal->get");
261 failure(status, "new TimeZone");
271 failure(status, "cl->get(UCAL_HOUR, status)");
277 failure(status, "new GregorianCalendar");
498 failure(status, "fmt->parse");
500 failure(status, "cal->setTime");
865 dataerrln("Failure new GregorianCalendar: %s", u_errorName(status));
1238 failure(status, "Locale::setDefault");
2291 if (failure(ec, "getTime"))
2295 if (failure(ec, "getTime"))
2299 if (failure(ec, "setTime"))
2304 if (failure(ec, "fieldDifference"))
2316 if (failure(ec2, "fieldDifference(date, Calendar::DATE, ec)"))
2333 if (failure(ec, "setTime"))
2338 if (failure(ec, "add"))
2341 if (failure(ec, "getTime"))
2908 failure(status, "initializing GregorianCalendar");
2911 failure(status, "initializing SimpleDateFormat");
2921 if (!failure(status, "getTime for initial date")) {
2927 failure(status, "add 1 day");
2929 failure(status, "getTime after +1 day");
2937 failure(status, "subtract 1 day");
2939 failure(status, "getTime after -1 day");