Lines Matching defs:errorCode
145 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
172 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status));
212 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status));
262 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status));
360 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
379 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
657 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status));
669 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
673 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
686 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
690 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], type, myErrorName(status));
701 log_err("FAIL: udata_openChoice() did not fail as expected. name=%s, type=%s, \n errorcode=%s\n", name[3], type, myErrorName(status));
707 log_err("FAIL: udata_openChoice() did not fail as expected. name=%s, type=%s, \n errorcode=%s\n", name[3], type, myErrorName(status));
815 log_data_err("FAIL: udata_open() failed for path = NULL, name=%s, type=%s, \n errorcode=%s\n", name, type, myErrorName(status));
839 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
882 log_data_err("FAIL: udata_openChoice() failed for name=%s, type=%s, \n errorcode=%s\n", name, type, myErrorName(status));
897 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
942 log_data_err("FAIL: udata_open() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode !=U_ZERO_ERROR\n", testPath, name, type);
946 log_verbose("PASS: udata_open with errorCode != U_ZERO_ERROR failed as expected\n");
955 log_err("FAIL: udata_open() with name=NULL should return NULL and errocode U_ILLEGAL_ARGUMENT_ERROR, GOT: errorcode=%s\n", myErrorName(status));
957 log_verbose("PASS: udata_open with name=NULL failed as expected and errorcode = %s as expected\n", myErrorName(status));
960 log_err("FAIL: udata_open() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
970 log_err("FAIL: udata_openChoice() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode != U_ZERO_ERROR\n", testPath, name, type);
973 log_verbose("PASS: udata_openChoice() with errorCode != U_ZERO_ERROR failed as expected\n");
982 log_err("FAIL: udata_openChoice() with name=NULL should return NULL and errocode U_ILLEGAL_ARGUMENT_ERROR, GOT: errorcode=%s\n", myErrorName(status));
984 log_verbose("PASS: udata_openChoice with name=NULL failed as expected and errorcode = %s as expected\n", myErrorName(status));
987 log_err("FAIL: udata_openChoice() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
1401 UErrorCode errorCode;
1408 errorCode = U_UNSUPPORTED_ERROR;
1409 length = swapFn(NULL, NULL, 0, buffer, &errorCode);
1410 if (length != 0 || errorCode != U_UNSUPPORTED_ERROR) {
1411 log_err("%s() did not fail as expected - %s\n", name, u_errorName(errorCode));
1413 errorCode = U_ZERO_ERROR;
1414 length = swapFn(NULL, NULL, 0, buffer, &errorCode);
1415 if (length != 0 || errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1416 log_err("%s() did not fail as expected with bad arguments - %s\n", name, u_errorName(errorCode));
1421 errorCode = U_ZERO_ERROR;
1438 errorCode=U_ZERO_ERROR;
1440 !U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode);
1441 if(U_FAILURE(errorCode)) {
1443 name, u_errorName(errorCode));
1456 ds=udata_openSwapper(inEndian, inCharset, oppositeEndian, inCharset, &errorCode);
1457 if(U_FAILURE(errorCode)) {
1459 name, u_errorName(errorCode));
1472 name, u_errorName(errorCode));
1481 length=swapFn(ds, inHeader, -1, NULL, &errorCode);
1482 if(U_FAILURE(errorCode)) {
1484 name, u_errorName(errorCode));
1498 length2=swapFn(ds, inHeader, length, buffer, &errorCode);
1500 if(U_FAILURE(errorCode)) {
1502 name, u_errorName(errorCode));
1516 &errorCode);
1517 if(U_FAILURE(errorCode)) {
1519 name, u_errorName(errorCode));
1525 length2=swapFn(ds, buffer, length, buffer, &errorCode);
1527 if(U_FAILURE(errorCode)) {
1529 name, u_errorName(errorCode));
1543 &errorCode);
1544 if(U_FAILURE(errorCode)) {
1546 name, u_errorName(errorCode));
1552 length2=swapFn(ds, buffer, length, buffer2, &errorCode);
1554 if(U_FAILURE(errorCode)) {
1556 name, u_errorName(errorCode));
1625 UErrorCode errorCode = U_ZERO_ERROR;
1634 testPath=loadTestData(&errorCode);
1635 if(U_FAILURE(errorCode)) {
1636 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode));
1640 errorCode=U_USELESS_COLLATOR_ERROR;
1643 &errorCode);
1644 if (ds != NULL || errorCode != U_USELESS_COLLATOR_ERROR) {
1647 errorCode=U_ZERO_ERROR;
1650 &errorCode);
1658 errorCode = U_USELESS_COLLATOR_ERROR;
1661 &errorCode);
1662 if (ds != NULL || errorCode != U_USELESS_COLLATOR_ERROR) {
1665 errorCode=U_ZERO_ERROR;
1668 &errorCode);
1669 if (ds != NULL || errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1672 errorCode=U_ZERO_ERROR;
1676 &errorCode);
1677 if (ds != NULL || errorCode != U_UNSUPPORTED_ERROR) {
1680 errorCode=U_ZERO_ERROR;
1684 ucol_swap(NULL, NULL, -1, NULL, &errorCode);
1685 if (errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1688 errorCode=U_ZERO_ERROR;
1693 errorCode=U_ZERO_ERROR;
1720 pData=udata_open(pkg, swapCases[i].type, nm, &errorCode);
1722 if(U_SUCCESS(errorCode)) {
1727 name, u_errorName(errorCode));