Lines Matching refs:errorCode
151 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
178 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));
218 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));
268 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));
366 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
385 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
663 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[0], type, myErrorName(status));
675 log_data_err("FAIL: udata_openChoice() failed name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
679 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[1], type, myErrorName(status));
692 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
696 log_err("FAIL: udata_openChoice() unexpectedly passed. name=%s, type=%s, \n errorcode=%s\n", name[2], 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));
713 log_err("FAIL: udata_openChoice() did not fail as expected. name=%s, type=%s, \n errorcode=%s\n", name[3], type, myErrorName(status));
821 log_data_err("FAIL: udata_open() failed for path = NULL, name=%s, type=%s, \n errorcode=%s\n", name, type, myErrorName(status));
845 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
888 log_data_err("FAIL: udata_openChoice() failed for name=%s, type=%s, \n errorcode=%s\n", name, type, myErrorName(status));
903 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
948 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);
952 log_verbose("PASS: udata_open with errorCode != U_ZERO_ERROR failed as expected\n");
961 log_err("FAIL: udata_open() with name=NULL should return NULL and errocode U_ILLEGAL_ARGUMENT_ERROR, GOT: errorcode=%s\n", myErrorName(status));
963 log_verbose("PASS: udata_open with name=NULL failed as expected and errorcode = %s as expected\n", myErrorName(status));
966 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);
976 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);
979 log_verbose("PASS: udata_openChoice() with errorCode != U_ZERO_ERROR failed as expected\n");
988 log_err("FAIL: udata_openChoice() with name=NULL should return NULL and errocode U_ILLEGAL_ARGUMENT_ERROR, GOT: errorcode=%s\n", myErrorName(status));
990 log_verbose("PASS: udata_openChoice with name=NULL failed as expected and errorcode = %s as expected\n", myErrorName(status));
993 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);
1410 UErrorCode errorCode;
1417 errorCode = U_UNSUPPORTED_ERROR;
1418 length = swapFn(NULL, NULL, 0, buffer, &errorCode);
1419 if (length != 0 || errorCode != U_UNSUPPORTED_ERROR) {
1420 log_err("%s() did not fail as expected - %s\n", name, u_errorName(errorCode));
1422 errorCode = U_ZERO_ERROR;
1423 length = swapFn(NULL, NULL, 0, buffer, &errorCode);
1424 if (length != 0 || errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1425 log_err("%s() did not fail as expected with bad arguments - %s\n", name, u_errorName(errorCode));
1430 errorCode = U_ZERO_ERROR;
1447 errorCode=U_ZERO_ERROR;
1449 !U_IS_BIG_ENDIAN, U_CHARSET_FAMILY, &errorCode);
1450 if(U_FAILURE(errorCode)) {
1452 name, u_errorName(errorCode));
1465 ds=udata_openSwapper(inEndian, inCharset, oppositeEndian, inCharset, &errorCode);
1466 if(U_FAILURE(errorCode)) {
1468 name, u_errorName(errorCode));
1481 name, u_errorName(errorCode));
1490 length=swapFn(ds, inHeader, -1, NULL, &errorCode);
1491 if(U_FAILURE(errorCode)) {
1493 name, u_errorName(errorCode));
1507 length2=swapFn(ds, inHeader, length, buffer, &errorCode);
1509 if(U_FAILURE(errorCode)) {
1511 name, u_errorName(errorCode));
1525 &errorCode);
1526 if(U_FAILURE(errorCode)) {
1528 name, u_errorName(errorCode));
1534 length2=swapFn(ds, buffer, length, buffer, &errorCode);
1536 if(U_FAILURE(errorCode)) {
1538 name, u_errorName(errorCode));
1552 &errorCode);
1553 if(U_FAILURE(errorCode)) {
1555 name, u_errorName(errorCode));
1561 length2=swapFn(ds, buffer, length, buffer2, &errorCode);
1563 if(U_FAILURE(errorCode)) {
1565 name, u_errorName(errorCode));
1634 UErrorCode errorCode = U_ZERO_ERROR;
1643 testPath=loadTestData(&errorCode);
1644 if(U_FAILURE(errorCode)) {
1645 log_data_err("Could not load testdata.dat, status = %s\n", u_errorName(errorCode));
1649 errorCode=U_USELESS_COLLATOR_ERROR;
1652 &errorCode);
1653 if (ds != NULL || errorCode != U_USELESS_COLLATOR_ERROR) {
1656 errorCode=U_ZERO_ERROR;
1659 &errorCode);
1667 errorCode = U_USELESS_COLLATOR_ERROR;
1670 &errorCode);
1671 if (ds != NULL || errorCode != U_USELESS_COLLATOR_ERROR) {
1674 errorCode=U_ZERO_ERROR;
1677 &errorCode);
1678 if (ds != NULL || errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1681 errorCode=U_ZERO_ERROR;
1685 &errorCode);
1686 if (ds != NULL || errorCode != U_UNSUPPORTED_ERROR) {
1689 errorCode=U_ZERO_ERROR;
1693 ucol_swap(NULL, NULL, -1, NULL, &errorCode);
1694 if (errorCode != U_ILLEGAL_ARGUMENT_ERROR) {
1697 errorCode=U_ZERO_ERROR;
1702 errorCode=U_ZERO_ERROR;
1729 pData=udata_open(pkg, swapCases[i].type, nm, &errorCode);
1731 if(U_SUCCESS(errorCode)) {
1736 name, u_errorName(errorCode));