• Home
  • Raw
  • Download

Lines Matching refs:subStatus

130       UErrorCode subStatus = U_ZERO_ERROR;  in TestDateFormat()  local
132 any = udat_open(UDAT_SHORT, UDAT_SHORT, udat_getAvailable(i), NULL ,0, NULL, 0, &subStatus); in TestDateFormat()
133 if(U_FAILURE(subStatus)) { in TestDateFormat()
134 …%s (getAvailable(%d)) is not instantiable: %s\n", udat_getAvailable(i), i, u_errorName(subStatus)); in TestDateFormat()
1134 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1137 udat_set2DigitYearStart(icudf, aDate, &subStatus); in TestRelativeCrash()
1138 if(subStatus == expectStatus) { in TestRelativeCrash()
1139 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1141 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1146 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1150 oth = udat_clone(icudf, &subStatus); in TestRelativeCrash()
1151 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1152 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1155 …: didn't crash on %s, but got %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1159 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1162 udat_get2DigitYearStart(icudf, &subStatus); in TestRelativeCrash()
1163 if(subStatus == expectStatus) { in TestRelativeCrash()
1164 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1166 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1171 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1174 udat_toPattern(icudf, TRUE,NULL,0, &subStatus); in TestRelativeCrash()
1175 if(subStatus == expectStatus) { in TestRelativeCrash()
1176 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1178 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1182 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1186subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* what it should be, if this took an errorcode. */ in TestRelativeCrash()
1187 if(subStatus == expectStatus) { in TestRelativeCrash()
1188 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1190 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1195 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1198 udat_getSymbols(icudf, UDAT_ERAS,0,erabuf,sizeof(erabuf)/sizeof(erabuf[0]), &subStatus); in TestRelativeCrash()
1199 if(subStatus == U_ZERO_ERROR) { in TestRelativeCrash()
1200 log_verbose("Success: %s returned %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1202 …r("FAIL: didn't crash on %s, but got %s instead of U_ZERO_ERROR.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1206 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1210 udat_setSymbols(icudf, UDAT_ERAS,0,&symbolValue,1, &subStatus); /* bogus values */ in TestRelativeCrash()
1211 if(subStatus == expectStatus) { in TestRelativeCrash()
1212 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1214 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()
1218 UErrorCode subStatus = U_ZERO_ERROR; in TestRelativeCrash() local
1222 subStatus = U_ILLEGAL_ARGUMENT_ERROR; /* should have an errorcode. */ in TestRelativeCrash()
1223 if(subStatus == expectStatus) { in TestRelativeCrash()
1224 … log_verbose("Success: did not crash on %s, but got %s.\n", what, u_errorName(subStatus)); in TestRelativeCrash()
1226 …t crash on %s, but got success %s instead of %s. \n", what, u_errorName(subStatus), u_errorName(ex… in TestRelativeCrash()