Lines Matching refs:log_err
138 log_err("Error in unum_parseInt64(): %s \n", myErrorName(*status)); in TestInt64Parse()
198 log_err("Error: could not create NumberFormat (french): %s\n", myErrorName(status)); in TestNumberFormat()
205 … log_err("Error: could not create NumberFormat using \n unum_open(currency, NULL, &status) %s\n", in TestNumberFormat()
211 … log_err("Error: could not create NumberFormat using unum_open(currency, french, &status): %s\n", in TestNumberFormat()
218 …log_err("Error: could not create NumberFormat using unum_open(percent, NULL, &status): %s\n", myEr… in TestNumberFormat()
223 …log_err("Error: could not create NumberFormat using unum_open(percent, french, &status): %s\n", my… in TestNumberFormat()
229 …log_err("Error: could not create NumberFormat using unum_open(spellout, NULL, &status): %s\n", myE… in TestNumberFormat()
236 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status)); in TestNumberFormat()
246 log_err("error in countAvailable"); in TestNumberFormat()
255 log_err("No locale for which number formatting patterns are applicable\n"); in TestNumberFormat()
281 log_err("Error in formatting using unum_format(.....): %s\n", myErrorName(status) ); in TestNumberFormat()
286 log_err("Fail: Error in number Formatting using unum_format()\n"); in TestNumberFormat()
290 …log_err("Fail: Error in complete number Formatting using unum_format()\nGot: b=%d end=%d\nExpected… in TestNumberFormat()
313 log_err("Error in formatting using unum_formatDouble(.....): %s\n", myErrorName(status)); in TestNumberFormat()
318 … log_err("FAIL: Error in number formatting using unum_formatDouble() - got '%s' expected '%s'\n", in TestNumberFormat()
324 …log_err("Fail: Error in complete number Formatting using unum_formatDouble()\nGot: b=%d end=%d\nEx… in TestNumberFormat()
335 log_err("result is NULL\n"); in TestNumberFormat()
338 …log_err("parse of '%s' failed. Parsepos=%d. The error is : %s\n", aescstrdup(result,u_strlen(resu… in TestNumberFormat()
342 log_err("Fail: Error in parsing\n"); in TestNumberFormat()
365 … log_err("Error in formatting using unum_formatDoubleCurrency(.....): %s\n", myErrorName(status)); in TestNumberFormat()
370 …log_err("FAIL: Error in number formatting using unum_formatDoubleCurrency() - got '%s' expected '%… in TestNumberFormat()
376 …log_err("Fail: Error in complete number Formatting using unum_formatDouble()\nGot: b=%d end=%d\nEx… in TestNumberFormat()
383 log_err("result is NULL\n"); in TestNumberFormat()
388 …log_err("parseDoubleCurrency '%s' failed. The error is : %s\n", aescstrdup(result, u_strlen(resul… in TestNumberFormat()
392 log_err("Fail: Error in parsing currency, got %f, expected %f\n", d1, a1); in TestNumberFormat()
399 log_err("Fail: parsed incorrect currency\n"); in TestNumberFormat()
418 …log_err("parseDouble('%s') failed. The error is : %s\n", aescstrdup(temp1, resultlength), myError… in TestNumberFormat()
428 log_err("Fail: Error in parsing\n"); in TestNumberFormat()
439 log_err("Error in unum_parseDouble(..., %s, ...): %s\n", temp1, myErrorName(status)); in TestNumberFormat()
460 log_err("Error in formatting using unum_format(.....): %s\n", myErrorName(status)); in TestNumberFormat()
472 log_err("parse failed. The error is : %s\n", myErrorName(status)); in TestNumberFormat()
476 log_err("Fail: Error in parsing\n"); in TestNumberFormat()
488 log_err("error in unum_openPattern(): %s\n", myErrorName(status) );; in TestNumberFormat()
506 log_err("error in extracting the pattern from UNumberFormat: %s\n", myErrorName(status)); in TestNumberFormat()
511 log_err("FAIL: Error in extracting the pattern using unum_toPattern()\n"); in TestNumberFormat()
531 log_err("error in extracting the pattern from UNumberFormat: %s\n", myErrorName(status)); in TestNumberFormat()
538 log_err("error in unum_openPattern(): %s\n", myErrorName(status)); in TestNumberFormat()
551 log_err("Error in get/set symbols: %s\n", myErrorName(status)); in TestNumberFormat()
567 log_err("Error in formatting using unum_format(.....): %s\n", myErrorName(status)); in TestNumberFormat()
571 log_err("Fail: error in unum_setSymbols: %s\n", myErrorName(status)); in TestNumberFormat()
581 log_err("Fail: error in getting symbols\n"); in TestNumberFormat()
599 log_err("Error in formatting using unum_format(.....): %s\n", myErrorName(status)); in TestNumberFormat()
611 log_err("Formatting failed after setting symbols. result=%s temp1=%s\n", result, temp1); in TestNumberFormat()
625 log_err("Error from unum_setSymbol(%d): %s\n", i, myErrorName(status)); in TestNumberFormat()
632 log_err("Error from unum_getSymbol(%d): %s\n", i, myErrorName(status)); in TestNumberFormat()
636 log_err("Failure in unum_getSymbol(%d): got unexpected symbol\n", i); in TestNumberFormat()
642 log_err("Error : Expected U_ILLEGAL_ARGUMENT_ERROR for bogus symbol"); in TestNumberFormat()
646 …log_err("Error: Expected U_ILLEGAL_ARGUMENT_ERROR for bogus symbol, Got %s\n", myErrorName(status)… in TestNumberFormat()
657 … log_err("Failure in gettting the Text attributes of number format: %s\n", myErrorName(status)); in TestNumberFormat()
662 … log_err("Failure in gettting the Text attributes of number format: %s\n", myErrorName(status)); in TestNumberFormat()
667 … log_err("Failure in gettting the Text attributes of number format: %s\n", myErrorName(status)); in TestNumberFormat()
670 … log_err("Fail:Error in setTextAttribute or getTextAttribute in setting and getting suffix\n"); in TestNumberFormat()
682 log_err("error in setting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
687 log_err("error in getting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
691 log_err("ERROR: get and setTextAttributes with positive prefix failed\n"); in TestNumberFormat()
699 log_err("error in setting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
704 log_err("error in getting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
707 log_err("ERROR: get and setTextAttributes with negative prefix failed\n"); in TestNumberFormat()
715 log_err("error in setting the text attributes: %s\n", myErrorName(status)); in TestNumberFormat()
721 log_err("error in getting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
724 log_err("ERROR: get and setTextAttributes with negative suffix failed\n"); in TestNumberFormat()
732 log_err("error in setting the text attributes: %s\n", myErrorName(status)); in TestNumberFormat()
738 log_err("error in getting the text attributes : %s\n", myErrorName(status)); in TestNumberFormat()
741 log_err("ERROR: get and setTextAttributes with negative suffix failed\n"); in TestNumberFormat()
752 log_err("Fail: error in setting and getting attributes for UNUM_GROUPING_SIZE\n"); in TestNumberFormat()
761 log_err("error in setting and getting attributes for UNUM_MULTIPLIER\n"); in TestNumberFormat()
770 … log_err("error in setting and getting attributes for UNUM_SECONDARY_GROUPING_SIZE: got %d\n", in TestNumberFormat()
782 log_err("error in setting and getting attributes\n"); in TestNumberFormat()
799 … log_err("Error in formatting using unum_format(spellout_fmt, ...): %s\n", myErrorName(status)); in TestNumberFormat()
808 … log_err("Error in parsing using unum_format(spellout_fmt, ...): %s\n", myErrorName(status)); in TestNumberFormat()
810 log_err("unum_format result %d != value %d\n", parseResult, value); in TestNumberFormat()
816 log_err("Spellout format is unavailable\n"); in TestNumberFormat()
832 log_err("unum_parseDouble with empty groupingSep: status %s, parseResult %f not 12.0\n", in TestNumberFormat()
860 …if (U_FAILURE(status)) log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(… in TestNumberFormat()
864 log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(status)); in TestNumberFormat()
868 log_err("File %s, Line %d, (expected, acutal) = (\"%s\", \"%s\")\n", in TestNumberFormat()
872 log_err("File %s, Line %d, (expected, actual) = (%d, %d)\n", in TestNumberFormat()
881 log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(status)); in TestNumberFormat()
885 log_err("File %s, Line %d, (expected, acutal) = (\"%s\", \"%s\")\n", in TestNumberFormat()
889 log_err("File %s, Line %d, (expected, acutal) = (%d, %d)\n", in TestNumberFormat()
893 log_err("File %s, Line %d, (expected, acutal) = (%d, %d)\n", in TestNumberFormat()
903 log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(status)); in TestNumberFormat()
906 log_err("File %s, Line %d, (expected, actual) = (\"%s\", \"%s\")\n", in TestNumberFormat()
913 log_err("File %s, Line %d, (expected, actual) = (%d, %d)\n", in TestNumberFormat()
925 log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(status)); in TestNumberFormat()
928 log_err("File %s, Line %d, (expected, actual) = (\"%s\", \"%s\")\n", in TestNumberFormat()
935 log_err("File %s, Line %d, parsePos (expected, actual) = (\"%d\", \"%d\")\n", in TestNumberFormat()
951 log_err("File %s, Line %d, status = %s\n", __FILE__, __LINE__, u_errorName(status)); in TestNumberFormat()
954 …if (U_SUCCESS(status)) log_err("unum_getSymbol()'s status should be ILLEGAL_ARGUMENT with invalid … in TestNumberFormat()
958 …if (U_SUCCESS(status)) log_err("unum_getSymbol()'s status should be ILLEGAL_ARGUMENT with invalid … in TestNumberFormat()
962 …if (U_SUCCESS(status)) log_err("unum_setSymbol()'s status should be ILLEGAL_ARGUMENT with invalid … in TestNumberFormat()
966 …if (U_SUCCESS(status)) log_err("unum_setSymbol()'s status should be ILLEGAL_ARGUMENT with invalid … in TestNumberFormat()
1083 … log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s pos %d val %.1f, get %s pos %d val %.1f\n", in TestParseCurrency()
1095 …log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s pos %d val %.1f cur %s, get %s pos %d … in TestParseCurrency()
1113 … log_err("UNUM_CURRENCY parseDouble Plural %s/%s, expect %s val %.1f, get %s val %.1f\n", in TestParseCurrency()
1125 …log_err("UNUM_CURRENCY parseDoubleCurrency Plural %s/%s, expect %s val %.1f cur %s, get %s val %.1… in TestParseCurrency()
1189 …log_err("unum_parse SPELLOUT, locale %s, testname %s, startPos %d: for value / endPos / status, ex… in TestSpelloutNumberParse()
1229 log_err("Error in formatting using unum_formatDouble(.....): %s\n", myErrorName(status)); in TestSignificantDigits()
1235 log_err("FAIL: Error in number formatting using unum_formatDouble()\n"); in TestSignificantDigits()
1266 log_err("Error in formatting using unum_formatDouble(.....): %s\n", myErrorName(status)); in TestSigDigRounding()
1272 …log_err("FAIL: Error in unum_formatDouble result %s instead of %s\n", u_austrcpy(temp1, result), u… in TestSigDigRounding()
1299 log_err("error in unum_openPattern(%s): %s\n", temp1, myErrorName(status) ); in TestNumberFormatPadding()
1331 … log_err("error in extracting the padding pattern from UNumberFormat: %s\n", myErrorName(status)); in TestNumberFormatPadding()
1336 log_err( in TestNumberFormatPadding()
1360 …log_err("Error in formatting using unum_formatDouble(.....) with padding : %s\n", myErrorName(stat… in TestNumberFormatPadding()
1371 …log_err("Fail: Error in complete number Formatting using unum_formatDouble()\nGot: b=%d end=%d\nEx… in TestNumberFormatPadding()
1381 log_err("padding parse failed. The error is : %s\n", myErrorName(status)); in TestNumberFormatPadding()
1385 log_err("Fail: Error in padding parsing\n"); in TestNumberFormatPadding()
1423 log_err("error in unum_format(): %s\n", myErrorName(status)); in TestInt64Format()
1429 log_err("parse didn't report error: %s\n", myErrorName(status)); in TestInt64Format()
1431 log_err("parse didn't pin return value, got: %d\n", val32); in TestInt64Format()
1438 log_err("parseInt64 returned error: %s\n", myErrorName(status)); in TestInt64Format()
1440 log_err("parseInt64 returned incorrect value, got: %ld\n", val64); in TestInt64Format()
1447 log_err("parseDouble returned error: %s\n", myErrorName(status)); in TestInt64Format()
1449 log_err("parseDouble returned incorrect value, got: %g\n", valDouble); in TestInt64Format()
1455 log_err("error in unum_format(): %s\n", myErrorName(status)); in TestInt64Format()
1461 log_err("parse didn't report error: %s\n", myErrorName(status)); in TestInt64Format()
1463 log_err("parse didn't pin return value, got: %d\n", val32); in TestInt64Format()
1470 log_err("parseInt64 returned error: %s\n", myErrorName(status)); in TestInt64Format()
1472 log_err("parseInt64 returned incorrect value, got: %ld\n", val64); in TestInt64Format()
1479 log_err("parseDouble returned error: %s\n", myErrorName(status)); in TestInt64Format()
1481 log_err("parseDouble returned incorrect value, got: %g\n", valDouble); in TestInt64Format()
1487 log_err("error in unum_format(): %s\n", myErrorName(status)); in TestInt64Format()
1493 log_err("parse didn't report error: %s\n", myErrorName(status)); in TestInt64Format()
1495 log_err("parse didn't pin return value, got: %d\n", val32); in TestInt64Format()
1502 log_err("parseInt64 didn't report error error: %s\n", myErrorName(status)); in TestInt64Format()
1504 log_err("parseInt64 returned incorrect value, got: %ld\n", val64); in TestInt64Format()
1511 log_err("parseDouble returned error: %s\n", myErrorName(status)); in TestInt64Format()
1513 log_err("parseDouble returned incorrect value, got: %g\n", valDouble); in TestInt64Format()
1521 log_err("parseDouble() returned error: %s\n", myErrorName(status)); in TestInt64Format()
1523 log_err("parseDouble() returned incorrect value, got: %g\n", valDouble); in TestInt64Format()
1543 log_err("failed to format: %g, returned %s\n", vals[i], u_errorName(status)); in test_fmt()
1557 log_err("got unexpected error for applyPattern: '%s'\n", u_errorName(status)); in test_fmt()
1565 log_err("didn't expect lenient value: %d\n", isLenient); in test_fmt()
1571 log_err("didn't expect lenient value after set: %d\n", isLenient); in test_fmt()
1579 log_err("didn't expect double attribute\n"); in test_fmt()
1583 log_err("didn't expect -1 rounding increment\n"); in test_fmt()
1588 log_err("set rounding increment had no effect on decimal format"); in test_fmt()
1596 log_err("got unexpected error for get default ruleset: '%s'\n", u_errorName(status)); in test_fmt()
1606 log_err("got unexpected error for get public rulesets: '%s'\n", u_errorName(status)); in test_fmt()
1620 … log_err("unexpected error setting default ruleset: '%s'\n", u_errorName(status)); in test_fmt()
1624 log_err("could not fetch default ruleset: '%s'\n", u_errorName(status)); in test_fmt()
1627 log_err("unexpected ruleset len: %d ex: %d val: %s\n", len2, i, temp); in test_fmt()
1633 … log_err("failed to format: %g, returned %s\n", vals[i], u_errorName(status)); in test_fmt()
1653 log_err("toPattern failed unexpectedly: %s\n", u_errorName(status)); in test_fmt()
1663 log_err("unexpected error getting symbol: '%s'\n", u_errorName(status)); in test_fmt()
1668 log_err("unexpected error setting symbol: '%s'\n", u_errorName(status)); in test_fmt()
1691 log_err("unum_open set the currency to QQQ\n"); in TestNonExistentCurrency()
1804 log_err("unum_formatDouble NAN produced wrong answer for en_US\n"); in TestRBNFFormat()
1830 log_err("Wrong result for unrounded value\n"); in TestRBNFRounding()
1834 …log_err("UNUM_MAX_FRACTION_DIGITS was incorrectly ignored -> %d\n", unum_getAttribute(fmt, UNUM_MA… in TestRBNFRounding()
1837 log_err("UNUM_ROUNDING_MODE was set -> %d\n", unum_getAttribute(fmt, UNUM_ROUNDING_MODE)); in TestRBNFRounding()
1841 … log_err("UNUM_ROUNDING_MODE was not set -> %d\n", unum_getAttribute(fmt, UNUM_ROUNDING_MODE)); in TestRBNFRounding()
1851 log_err("Wrong result for rounded value. Got: %s\n", temp); in TestRBNFRounding()
1904 …log_err("unum_parseDoubleCurrency should have failed with pos %d, but gave: value %.9f, err %s, po… in TestCurrencyRegression()
1932 log_err("FAILED 2\n"); exit(1); in TestTextAttributeCrash()
1937 log_err("Failed formatting %s\n", u_errorName(status)); in TestTextAttributeCrash()
1941 log_err("Didn't get expected negative result\n"); in TestTextAttributeCrash()
1945 log_err("Failed formatting %s\n", u_errorName(status)); in TestTextAttributeCrash()
1949 log_err("Didn't get expected positive result\n"); in TestTextAttributeCrash()
1962 … log_err("%s:%d: failed format of %.2g with %s\n", testcase, line, myNumber, u_errorName(status)); in TestNBSPPatternRtNum()
1967 log_err("%s:%d: failed parse with %s\n", testcase, line, u_errorName(status)); in TestNBSPPatternRtNum()
1971 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber); in TestNBSPPatternRtNum()
2004 log_err("%s: unum_applyPattern failed with %s\n", testcase, u_errorName(status)); in TestNBSPInPattern()
2015 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status)); in TestNBSPInPattern()
2023 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status)); in TestNBSPInPattern()
2137 …log_err("%s:%d: FAIL: unum_parse should have returned 10, not 10000000 on %s after UNUM_PARSE_NO_E… in TestNoExponent()
2215 …log_err("unum_formatInt64 Expected %s but got %s status %s\n", austrdup(expect), austrdup(result1)… in TestMaxInt()
2223 …log_err("unum_formatDouble Expected %s but got %s status %s\n", austrdup(expect), austrdup(result2… in TestMaxInt()
2247 …log_err("unum_formatInt64 Expected %s but got %s status %s\n", austrdup(expect), austrdup(result1)… in TestMaxInt()
2255 …log_err("unum_formatDouble Expected %s but got %s status %s\n", austrdup(expect), austrdup(result2… in TestMaxInt()
2445 …log_err("unumsys_openAvailableNames includes %s but unumsys_openByName on it fails with status %s\… in TestUNumberingSystem()
2451 …log_err("unumsys_openAvailableNames results incomplete: numsysCount %d, foundLatn %d, foundArab %d… in TestUNumberingSystem()
2531 …log_err("FAIL: unum_setTextAttribute, locale %s, UNUM_CURRENCY_CODE %s\n", localeString, currencyI… in TestCurrencyIsoPluralFormat()
2535 …log_err("FAIL: unum_formatDouble, locale %s, UNUM_CURRENCY_CODE %s - %s\n", localeString, currency… in TestCurrencyIsoPluralFormat()
2539 …log_err("FAIL: unum_formatDouble, locale %s, UNUM_CURRENCY_CODE %s, expected %s, got something els… in TestCurrencyIsoPluralFormat()
2576 log_err("FAIL: Initial unum_getContext is not UDISPCTX_CAPITALIZATION_NONE\n"); in TestContext()
2582 …log_err("FAIL: unum_getContext does not return the value set, UDISPCTX_CAPITALIZATION_FOR_STANDALO… in TestContext()
2603 log_err("FAIL: unum_formatDouble, locale %s, style %d, context %d - %s\n", in TestContext()
2611 …log_err("FAIL: unum_formatDouble, locale %s, style %d, context %d, expected %d:\"%s\", got %d:\"%s… in TestContext()
2659 log_err("FAIL: currency usage attribute is not UNUM_CURRENCY_STANDARD\n"); in TestCurrencyUsage()
2666 log_err("FAIL: currency usage attribute is not UNUM_CURRENCY_CASH\n"); in TestCurrencyUsage()
2688 …log_err("Fail: Error in Number Format Currency Purpose using unum_setAttribute() expected: %s, got… in TestCurrencyUsage()
2723 log_err("unum_toPattern fails with status %s\n", myErrorName(status)); in TestCurrFmtNegSameAsPositive()
2725 …log_err("unum_toPattern result wrong, expected %s, got %s\n", aescstrdup(currFmtToPatExpected,-1),… in TestCurrFmtNegSameAsPositive()
2731 log_err("unum_formatDouble fails with status %s\n", myErrorName(status)); in TestCurrFmtNegSameAsPositive()
2733 …log_err("unum_formatDouble result wrong, expected %s, got %s\n", aescstrdup(currFmtResultExpected,… in TestCurrFmtNegSameAsPositive()
2736 log_err("unum_setSymbol fails with status %s\n", myErrorName(status)); in TestCurrFmtNegSameAsPositive()
2739 log_err("unum_applyPattern fails with status %s\n", myErrorName(status)); in TestCurrFmtNegSameAsPositive()
2922 … log_err("FAIL: unum_formatDouble style %d, locale %s, attr %d, value %.2f: error %s\n", in TestVariousStylesAndAttributes()
2929 …log_err("FAIL: unum_formatDouble style %d, locale %s, attr %d, value %.2f: expect \"%s\", get \"%s… in TestVariousStylesAndAttributes()
3025 log_err("ufieldpositer_open fails, status %s\n", u_errorName(status)); in TestFormatForFields()
3040 …log_err("unum_formatDoubleForFields fails for locale %s, style %d: status %s\n", itemPtr->locale, … in TestFormatForFields()
3048 …log_err("unum_formatDoubleForFields for locale %s as \"%s\"; expect field %d range %d-%d, get fiel… in TestFormatForFields()
3051 …log_err("unum_formatDoubleForFields for locale %s as \"%s\"; expect field < 0, get field %d range … in TestFormatForFields()