• Home
  • Raw
  • Download

Lines Matching refs:subStatus

151       UErrorCode subStatus = U_ZERO_ERROR;  in TestDateFormat()  local
153 any = udat_open(UDAT_SHORT, UDAT_SHORT, udat_getAvailable(i), NULL ,0, NULL, 0, &subStatus); in TestDateFormat()
154 if(U_FAILURE(subStatus)) { in TestDateFormat()
155 …%s (getAvailable(%d)) is not instantiable: %s\n", udat_getAvailable(i), i, u_errorName(subStatus)); in TestDateFormat()
1356 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1359 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()
1360 if(subStatus == expectStatus) { in TestRelativeCrash()
1361 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1363 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1368 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1372 oth = udat_clone(icudf, &subStatus); in TestRelativeCrash()
1373 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1374 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1377 …: didn't crash on %s, but got %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1381 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1384 udat_get2DigitYearStart(icudf, &subStatus); in TestRelativeCrash()
1385 if(subStatus == expectStatus) { in TestRelativeCrash()
1386 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1388 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1393 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1396 udat_toPattern(icudf, true,NULL,0, &subStatus); in TestRelativeCrash()
1397 if(subStatus == expectStatus) { in TestRelativeCrash()
1398 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1400 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1404 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1408subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* what it should be, if this took an errorcode. */ in TestRelativeCrash()
1409 if(subStatus == expectStatus) { in TestRelativeCrash()
1410 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1412 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1417 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1420 udat_getSymbols(icudf, UDAT_ERAS,0,erabuf,UPRV_LENGTHOF(erabuf), &subStatus); in TestRelativeCrash()
1421 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1422 log_verbose("Success: %s returned %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1424 …r("FAIL: didn't crash on %s, but got %s instead of U_ZERO_ERROR.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1428 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1432 udat_setSymbols(icudf, UDAT_ERAS,0,&symbolValue,1, &subStatus); /* bogus values */ in TestRelativeCrash()
1433 if(subStatus == expectStatus) { in TestRelativeCrash()
1434 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1436 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1440 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1444 subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* should have an errorcode. */ in TestRelativeCrash()
1445 if(subStatus == expectStatus) { in TestRelativeCrash()
1446 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1448 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()