• Home
  • Raw
  • Download

Lines Matching refs:subStatus

146       UErrorCode subStatus = U_ZERO_ERROR;  in TestDateFormat()  local
148 any = udat_open(UDAT_SHORT, UDAT_SHORT, udat_getAvailable(i), NULL ,0, NULL, 0, &subStatus); in TestDateFormat()
149 if(U_FAILURE(subStatus)) { in TestDateFormat()
150 …%s (getAvailable(%d)) is not instantiable: %s\n", udat_getAvailable(i), i, u_errorName(subStatus)); in TestDateFormat()
1338 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1341 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()
1342 if(subStatus == expectStatus) { in TestRelativeCrash()
1343 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1345 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1350 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1354 oth = udat_clone(icudf, &subStatus); in TestRelativeCrash()
1355 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1356 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1359 …: didn't crash on %s, but got %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1363 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1366 udat_get2DigitYearStart(icudf, &subStatus); in TestRelativeCrash()
1367 if(subStatus == expectStatus) { in TestRelativeCrash()
1368 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1370 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1375 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1378 udat_toPattern(icudf, TRUE,NULL,0, &subStatus); in TestRelativeCrash()
1379 if(subStatus == expectStatus) { in TestRelativeCrash()
1380 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1382 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1386 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1390subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* what it should be, if this took an errorcode. */ in TestRelativeCrash()
1391 if(subStatus == expectStatus) { in TestRelativeCrash()
1392 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1394 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1399 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1402 udat_getSymbols(icudf, UDAT_ERAS,0,erabuf,UPRV_LENGTHOF(erabuf), &subStatus); in TestRelativeCrash()
1403 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1404 log_verbose("Success: %s returned %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1406 …r("FAIL: didn't crash on %s, but got %s instead of U_ZERO_ERROR.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1410 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1414 udat_setSymbols(icudf, UDAT_ERAS,0,&symbolValue,1, &subStatus); /* bogus values */ in TestRelativeCrash()
1415 if(subStatus == expectStatus) { in TestRelativeCrash()
1416 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1418 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1422 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1426 subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* should have an errorcode. */ in TestRelativeCrash()
1427 if(subStatus == expectStatus) { in TestRelativeCrash()
1428 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1430 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()