/external/icu/icu4c/source/test/cintltst/ |
D | cstrtest.c | 50 log_err("uprv_tolower(abc) failed\n"); in TestAPI() 57 log_err("uprv_tolower(ABC) failed\n"); in TestAPI() 64 log_err("uprv_toupper(abc) failed\n"); in TestAPI() 71 log_err("uprv_toupper(ABC) failed\n"); in TestAPI() 77 …log_err("FAIL: *** T_CString_toLowerCase() failed. Expected: \"hello there\", Got: \"%s\"\n", src); in TestAPI() 81 …log_err("FAIL: *** T_CString_toUpperCase() failed. Expected: \"HELLO THERE\", Got: \"%s\"\n", src); in TestAPI() 86 …log_err("FAIL: ****T_CString_stringToInteger(\"34556\", 10) failed. Expected: 34556, Got: %d\n", i… in TestAPI() 90 …log_err("FAIL: ****T_CString_stringToInteger(\"100\", 16) failed. Expected: 256, Got: %d\n", intVa… in TestAPI() 94 … log_err("FAIL: ****integerToString(src, 34566, 10); failed. Expected: \"34556\", Got: %s\n", src); in TestAPI() 98 … log_err("FAIL: ****integerToString(src, 431, 16); failed. Expected: \"1AF\", Got: %s\n", src); in TestAPI() [all …]
|
D | custrtst.c | 114 log_err("There is an error in u_strlen()"); in TestStringFunctions() 128 log_err("an error occured in u_memcpy()\n"); in TestStringFunctions() 130 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions() 134 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions() 142 log_err("an error occured in u_memset()\n"); in TestStringFunctions() 146 log_err("u_memset() went too far\n"); in TestStringFunctions() 154 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions() 163 log_err("an error occured in u_memmove()\n"); in TestStringFunctions() 167 log_err("an error occured in u_memmove()\n"); in TestStringFunctions() 182 log_err("something threw an error in u_strcpy() or u_strcmp()\n"); in TestStringFunctions() [all …]
|
D | nccbtst.c | 195 log_err("u-> ibm-949 with skip did not match.\n"); in TestSkip() 199 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip() 214 log_err("u->ibm-930 with skip with untaken fallbacks did not match.\n"); in TestSkip() 235 log_err("u->US-ASCII with skip did not match.\n"); in TestSkip() 246 log_err("u->ibm-367 with skip did not match.\n"); in TestSkip() 257 log_err("u->LATIN_1 with skip did not match.\n"); in TestSkip() 268 log_err("u->windows-1252 with skip did not match.\n"); in TestSkip() 432 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip() 437 log_err("u-> euc-jp with skip did not match.\n"); in TestSkip() 442 log_err("u-> euc-tw with skip did not match.\n"); in TestSkip() [all …]
|
D | ncnvtst.c | 152 log_err("u-> ibm-920 [UCNV_SBCS] not match.\n"); in TestSurrogateBehaviour() 158 log_err("u-> LATIN_1 not match.\n"); in TestSurrogateBehaviour() 172 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour() 175 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour() 179 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour() 182 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour() 198 log_err("u-> not match.\n"); in TestSurrogateBehaviour() 201 log_err("u-> not match.\n"); in TestSurrogateBehaviour() 264 log_err("u-> iso-2022-kr [UCNV_DBCS] not match.\n"); in TestSurrogateBehaviour() 267 log_err("u-> iso-2022-kr [UCNV_DBCS] not match.\n"); in TestSurrogateBehaviour() [all …]
|
D | utf8tst.c | 81 log_err("0x%02x ", *(uchars+i)); in printUChars() 138 … log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 147 … log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 156 … log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 193 … log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], U8_LENGTH(c)); in TestCharLength() 200 log_err("ERROR: UTF8_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength() 252 log_err("ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestGetChar() 259 log_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestGetChar() 268 …log_err("ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expecte… in TestGetChar() 274 … log_err("ERROR: U8_GET failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestGetChar() [all …]
|
D | utf16tst.c | 83 log_err("ERROR: %x is a single character\n", c); in TestCodeUnitValues() 92 log_err("ERROR: %x is a first surrogate\n", c); in TestCodeUnitValues() 101 log_err("ERROR: %x is a second surrogate\n", c); in TestCodeUnitValues() 133 … log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], U16_LENGTH(c)); in TestCharLength() 140 log_err("ERROR: UTF16_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength() 190 …log_err("ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, resu… in TestGetChar() 195 …log_err("ERROR: U16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result… in TestGetChar() 202 …log_err("ERROR: UTF16_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expect… in TestGetChar() 207 … log_err("ERROR: U16_GET failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestGetChar() 213 …log_err("ERROR: U16_GET_OR_FFFD failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, … in TestGetChar() [all …]
|
D | usrchtst.c | 213 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 218 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 224 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 230 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 236 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 242 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 265 log_err("Error: NULL break iterator is valid for opening search\n"); in TestOpenClose() 290 log_err("Error: Break iterator is valid for opening search\n"); in TestOpenClose() 320 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization() 332 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization() [all …]
|
D | ccapitst.c | 146 log_err("FAILURE! uenum_next(allNamesEnum...) set an error: %s\n", u_errorName(err)); in ListNames() 157 log_err("FAILURE! uenum_reset(allNamesEnum, &err); doesn't work\n"); in ListNames() 177 log_err("ucnv_getAvailableName() with index < 0) should return NULL\n"); in ListNames() 185 log_err("FAILURE! ucnv_countAliases(\"utf-8\") -> %d aliases\n", count); in ListNames() 191 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s\n", myErrorName(err)); in ListNames() 193 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s instead of UTF-8\n", alias); in ListNames() 199 … log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames() 202 …log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> alias %s insanely long, corrupt?!\n", aliasNum, … in ListNames() 214 log_err("FAILURE! ucnv_getAliases(\"utf-8\") -> %s\n", myErrorName(err)); in ListNames() 220 … log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames() [all …]
|
D | chashtst.c | 110 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestBasic() 115 log_err("FAIL: uhash_open returned NULL\n"); in TestBasic() 140 log_err("FAIL: compareChars failed\n"); in TestBasic() 146 log_err("FAIL: compareIChars failed\n"); in TestBasic() 170 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestOtherAPI() 175 log_err("FAIL: uhash_open returned NULL\n"); in TestOtherAPI() 182 log_err("FAIL: uhas_count() failed. Expected: 1, Got: %d\n", uhash_count(hash)); in TestOtherAPI() 185 log_err("FAIL: uhash_find failed\n"); in TestOtherAPI() 193 log_err("FAIL: uhas_count() failed. Expected: 5, Got: %d\n", uhash_count(hash)); in TestOtherAPI() 197 log_err("FAIL: uhash_geti failed\n"); in TestOtherAPI() [all …]
|
D | cstrcase.c | 59 …log_err("error in u_strToLower(root locale)=%ld error=%s string matches: %s\t\nlowerRoot=%s\t\nbuf… in TestCaseLower() 81 log_err("error in u_strToLower(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseLower() 99 log_err("error in u_strToLower(root locale preflighting)=%ld error=%s string matches: %s\n", in TestCaseLower() 112 log_err("error in u_strToLower(root locale dest=NULL)=%ld error=%s\n", in TestCaseLower() 126 … log_err("error in u_strToLower(root locale destCapacity=-1)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseLower() 157 log_err("error in u_strToUpper(root locale)=%ld error=%s string matches: %s\n", in TestCaseUpper() 175 log_err("error in u_strToUpper(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseUpper() 190 log_err("error in u_strToUpper(turkish locale pure preflighting)=%ld error=%s\n", in TestCaseUpper() 205 log_err("error in u_strToUpper(turkish locale src=NULL)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper() 220 … log_err("error in u_strToUpper(turkish locale srcLength=-2)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper() [all …]
|
D | cucdtst.c | 231 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower() 233 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower() 239 …log_err("FAILED u_tolower() for %lx Expected %lx Got %lx\n", upper[i], lower[i], u_tolower(upper[i… in TestUpperLower() 248 log_err("Failed isLowerCase test at %c\n", upperTest[i]); in TestUpperLower() 252 log_err("Failed isUpperCase test at %c\n", lowerTest[i]); in TestUpperLower() 256 log_err("Failed case conversion from %c To %c :\n", lowerTest[i], upperTest[i]); in TestUpperLower() 260 log_err("Failed case conversion : %c To %c \n", upperTest[i], lowerTest[i]); in TestUpperLower() 264 log_err("Failed case conversion with itself: %c\n", upperTest[i]); in TestUpperLower() 268 log_err("Failed case conversion with itself: %c\n", lowerTest[i]); in TestUpperLower() 334 log_err("u_istitle failed for 0x%4X. Expected TRUE, got FALSE\n",expected[i]); in TestUpperLower() [all …]
|
D | cucdapi.c | 38 log_err("Failed: %s - %s\n", msg, u_errorName(errorCode)); in assertEqualScripts() 131 … log_err("Errors uscript_getScriptCode() for Japanese locale: num=%d, expected %d \n", in TestUScriptCodeAPI() 136 log_err("Japanese locale: code #%d was %d (%s) but expected %d (%s)\n", j, in TestUScriptCodeAPI() 217 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedNames[i]); in TestUScriptCodeAPI() 222 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI() 252 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedAbbr[i]); in TestUScriptCodeAPI() 257 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI() 327 log_err("uscript_getScript for codepoint \\U%08X failed\n",codepoints[i]); in TestUScriptCodeAPI() 331 log_err("uscript_getScript for codepoint \\U%08X failed. Error: %s\n", in TestUScriptCodeAPI() 338 log_err("uscript_getScript failed.\n"); in TestUScriptCodeAPI() [all …]
|
D | cnumtst.c | 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() [all …]
|
D | ccaltst.c | 128 …log_err("FAIL: error in the ucal_countAvailableTZIDs - got %d expected at least 5 total\n", count); in TestCalendar() 135 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); in TestCalendar() 142 …log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(stat… in TestCalendar() 190 log_err("FAIL: uenum_reset for %s returned %s\n", in TestCalendar() 196 log_err("FAIL: uenum_next for %s returned %s\n", in TestCalendar() 205 log_err("FAIL: uenum_next for %s returned %s, expected NULL\n", in TestCalendar() 216 log_err("FAIL: ucal_getDSTSavings(GMT) => %s\n", in TestCalendar() 223 log_err("FAIL: ucal_getDSTSavings(PST) => %s\n", in TestCalendar() 226 log_err("FAIL: ucal_getDSTSavings(PST) => %d, expect %d\n", i, 1*60*60*1000); in TestCalendar() 233 log_err("FAIL: ucal_getDefaultTimeZone() => %s\n", in TestCalendar() [all …]
|
D | ncnvfbts.c | 176 log_err("FAIL: Error is setting fallback. Errocode=%s\n", myErrorName(status)); in testConvertFromUnicode() 202 …log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, … in testConvertFromUnicode() 223 log_err("Problem doing toUnicode, errcode %d %s\n", myErrorName(status), gNuConvTestName); in testConvertFromUnicode() 256 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode() 267 log_err("\ndid not get the expected offsets while %s \n", gNuConvTestName); in testConvertFromUnicode() 268 log_err("Got : "); in testConvertFromUnicode() 271 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode() 272 log_err("\nExpected: "); in testConvertFromUnicode() 274 log_err("%d,", expectOffsets[i]); in testConvertFromUnicode() 286 log_err("String does not match. %s\n", gNuConvTestName); in testConvertFromUnicode() [all …]
|
D | cloctst.c | 290 log_err("ERROR: in uloc_getLanguage %s\n", myErrorName(status)); in TestBasicGetters() 293 log_err(" Language code mismatch: %s versus %s\n", temp, rawData2[LANG][i]); in TestBasicGetters() 304 log_err("ERROR: in uloc_getCountry %s\n", myErrorName(status)); in TestBasicGetters() 307 log_err(" Country code mismatch: %s versus %s\n", temp, rawData2[CTRY][i]); in TestBasicGetters() 318 log_err("ERROR: in uloc_getVariant %s\n", myErrorName(status)); in TestBasicGetters() 321 log_err("Variant code mismatch: %s versus %s\n", temp, rawData2[VAR][i]); in TestBasicGetters() 330 … log_err("ERROR: in uloc_getName(%s,NULL,0,..), expected U_BUFFER_OVERFLOW_ERROR!\n", testLocale); in TestBasicGetters() 333 log_err("ERROR: in uloc_getName %s\n", myErrorName(status)); in TestBasicGetters() 336 log_err(" Mismatch in getName: %s versus %s\n", name, rawData2[NAME][i]); in TestBasicGetters() 353 log_err(" Mismatch in uloc_setDefault: qq_BLA versus %s\n", uloc_getDefault()); in TestNullDefault() [all …]
|
D | custrtrn.c | 154 log_err("u_strToUTF32(preflight with length): " in Test_strToUTF32() 163 log_err("u_strToUTF32(with length): " in Test_strToUTF32() 187 log_err("u_strToUTF32(preflight with NUL-termination): " in Test_strToUTF32() 196 log_err("u_strToUTF32(with NUL-termination): " in Test_strToUTF32() 226 log_err("u_strToUTF32(preflight surr16+%ld) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 234 log_err("u_strToUTF32(surr16+%ld) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 242 log_err("u_strToUTF32(preflight surr16+%ld/NUL) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 250 log_err("u_strToUTF32(surr16+%ld/NUL) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 259 …log_err("u_strToUTF32(preflight surr16+4) sets %s != U_BUFFER_OVERFLOW_ERROR or an unexpected leng… in Test_strToUTF32_surrogates() 267 …log_err("u_strToUTF32(surr16+4) sets %s != U_ZERO_ERROR or does not produce the expected string\n", in Test_strToUTF32_surrogates() [all …]
|
D | cbiapts.c | 193 log_err("FAIL: Error in ubrk_open() for line breakiterator: %s\n", myErrorName(status)); in TestBreakIteratorCAPI() 202 … log_err("FAIL: Error in ubrk_open() for character breakiterator: %s\n", myErrorName(status)); in TestBreakIteratorCAPI() 211 log_err("FAIL: expected NULL from opening an invalid break iterator.\n"); in TestBreakIteratorCAPI() 214 …log_err("FAIL: Error in ubrk_open() for BOGUS breakiterator. Expected U_ILLEGAL_ARGUMENT_ERROR\n"); in TestBreakIteratorCAPI() 218 …log_err("FAIL: Error in ubrk_open() for BOGUS breakiterator. Expected U_ILLEGAL_ARGUMENT_ERROR\n G… in TestBreakIteratorCAPI() 230 log_err("FAIL: Error in ubrk_countAvialable() returned %d\n", count); in TestBreakIteratorCAPI() 239 log_err("No locale for which breakiterator is applicable\n"); in TestBreakIteratorCAPI() 249 log_err("error ubrk_start(word) did not return 0\n"); in TestBreakIteratorCAPI() 253 log_err("error ubrk_next(word) did not return 4\n"); in TestBreakIteratorCAPI() 257 log_err("error ubrl_following(word,4) did not return 6\n"); in TestBreakIteratorCAPI() [all …]
|
D | cbiditst.c | 166 log_err("\nu_charDirection(charFromDirProp[%d]=U+%04x)==%d!=%d\n", in testCharFromDirProp() 187 log_err("ubidi_open() returned NULL, out of memory\n"); in testBidi() 190 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode)); in testBidi() 230 log_err("ubidi_setLine(tests[%d], %d, %d) failed with errorCode %s\n", in doTests() 235 log_err("ubidi_setPara(tests[%d], paraLevel %d) failed with errorCode %s\n", in doTests() 457 log_err("========================================"); fputs("\n", stderr); in printCaseInfo() 462 log_err("Processed length: %d", length); fputs("\n", stderr); in printCaseInfo() 473 log_err("Levels: %s", levelChars); fputs("\n", stderr); in printCaseInfo() 474 log_err("Source: %s", src); fputs("\n", stderr); in printCaseInfo() 475 log_err("Result: %s", dst); fputs("\n", stderr); in printCaseInfo() [all …]
|
D | citertst.c | 95 log_err("ERROR: reversing collation iterator :%s\n", in TestBug672() 103 log_err("ERROR: setting offset in collator :%s\n", in TestBug672() 119 log_err("ERROR: setting offset in collator :%s\n", in TestBug672() 132 log_err("ERROR: Different locales have different offsets at the same character\n"); in TestBug672() 171 log_err("ERROR: reversing collation iterator :%s\n", in TestBug672Normalize() 179 log_err("ERROR: setting offset in collator :%s\n", in TestBug672Normalize() 195 log_err("ERROR: setting offset in collator :%s\n", in TestBug672Normalize() 208 log_err("ERROR: Different locales have different offsets at the same character\n"); in TestBug672Normalize() 255 … log_err("ERROR: in creation of collation element iterator using ucol_openElements()\n %s\n", in TestUnicodeChar() 268 … log_err("ERROR: in creation of collation element iterator using ucol_openElements()\n %s\n", in TestUnicodeChar() [all …]
|
D | cldrtest.c | 37 log_err("createFlattenSet called with %s\n", u_errorName(*status)); in createFlattenSet() 48 log_err("ERROR: uset_getItem returned %s\n", u_errorName(*status)); in createFlattenSet() 93 … log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); in TestKeyInRootRecursive() 101 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n", in TestKeyInRootRecursive() 110 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n" in TestKeyInRootRecursive() 130 … log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n", in TestKeyInRootRecursive() 143 … log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n", in TestKeyInRootRecursive() 154 … log_err("Integer vectors are the same with key \"%s\" in \"%s\" from root for locale \"%s\"\n", in TestKeyInRootRecursive() 183 … log_err("Different size array with key \"%s\" in \"%s\" from root for locale \"%s\"\n" in TestKeyInRootRecursive() 216 … log_err("Got a NULL string with key \"%s\" in \"%s\" at index %d for root or locale \"%s\"\n", in TestKeyInRootRecursive() [all …]
|
/external/icu/icu4c/source/test/iotest/ |
D | filetst.c | 51 log_err("Can't write test file.\n"); in TestFileFromICU() 68 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestFileFromICU() 94 log_err("Got feof while writing the file.\n"); in TestFileFromICU() 109 log_err("Can't read test file."); in TestFileFromICU() 114 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU() 119 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 124 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 129 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 136 …log_err("u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], mySt… in TestFileFromICU() 147 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestFileFromICU() [all …]
|
D | strtst.c | 54 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestString() 62 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestString() 69 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestString() 76 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestString() 83 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestString() 90 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestString() 97 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestString() 104 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString() 111 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString() 118 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString() [all …]
|
D | trnstst.c | 30 log_err("Couldn't open test file for writing\n"); in TestTranslitOps() 37 log_err("Error opening transliterator %s\n", u_errorName(err)); in TestTranslitOps() 47 log_err("Error setting transliterator %s\n", u_errorName(err)); in TestTranslitOps() 54 log_err("Error, a transliterator was already set!\n"); in TestTranslitOps() 60 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); in TestTranslitOps() 65 log_err("Error getting the same transliterator was not returned on NULL file\n"); in TestTranslitOps() 72 log_err("Error setting transliterator on error status err=%s\n", u_errorName(err)); in TestTranslitOps() 77 log_err("Error getting the same transliterator on error status\n"); in TestTranslitOps() 86 log_err("Err setting transliterator %s\n", u_errorName(err)); in TestTranslitOps() 93 log_err("Err, transliterator that came back was not the original one.\n"); in TestTranslitOps() [all …]
|
/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 37 #define log_err printf macro 62 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators() 71 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 77 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators() 85 … log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators() 94 …log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter… in compareIterators() 104 …log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, … in compareIterators() 112 log_err("%s->move(start) failed\n", n1); in compareIterators() 116 log_err("%s->hasNext() at the start returns FALSE\n", n1); in compareIterators() 122 log_err("%s->move(start) failed\n", n2); in compareIterators() [all …]
|