Home
last modified time | relevance | path

Searched refs:log_err (Results 1 – 25 of 78) sorted by relevance

1234

/external/icu4c/test/cintltst/
Dcstrtest.c50 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()
77log_err("FAIL: *** T_CString_toLowerCase() failed. Expected: \"hello there\", Got: \"%s\"\n", src); in TestAPI()
81log_err("FAIL: *** T_CString_toUpperCase() failed. Expected: \"HELLO THERE\", Got: \"%s\"\n", src); in TestAPI()
86log_err("FAIL: ****T_CString_stringToInteger(\"34556\", 10) failed. Expected: 34556, Got: %d\n", i… in TestAPI()
90log_err("FAIL: ****T_CString_stringToInteger(\"100\", 16) failed. Expected: 256, Got: %d\n", intVa… in TestAPI()
94log_err("FAIL: ****integerToString(src, 34566, 10); failed. Expected: \"34556\", Got: %s\n", src); in TestAPI()
98log_err("FAIL: ****integerToString(src, 431, 16); failed. Expected: \"1AF\", Got: %s\n", src); in TestAPI()
[all …]
Dcustrtst.c117 log_err("There is an error in u_strlen()"); in TestStringFunctions()
131 log_err("an error occured in u_memcpy()\n"); in TestStringFunctions()
133 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions()
137 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
145 log_err("an error occured in u_memset()\n"); in TestStringFunctions()
149 log_err("u_memset() went too far\n"); in TestStringFunctions()
157 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions()
166 log_err("an error occured in u_memmove()\n"); in TestStringFunctions()
170 log_err("an error occured in u_memmove()\n"); in TestStringFunctions()
185 log_err("something threw an error in u_strcpy() or u_strcmp()\n"); in TestStringFunctions()
[all …]
Dnccbtst.c193 log_err("u-> ibm-949 with skip did not match.\n"); in TestSkip()
197 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip()
212 log_err("u->ibm-930 with skip with untaken fallbacks did not match.\n"); in TestSkip()
233 log_err("u->US-ASCII with skip did not match.\n"); in TestSkip()
244 log_err("u->ibm-367 with skip did not match.\n"); in TestSkip()
255 log_err("u->LATIN_1 with skip did not match.\n"); in TestSkip()
266 log_err("u->windows-1252 with skip did not match.\n"); in TestSkip()
430 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip()
435 log_err("u-> euc-jp with skip did not match.\n"); in TestSkip()
440 log_err("u-> euc-tw with skip did not match.\n"); in TestSkip()
[all …]
Dutf16tst.c64 log_err("ERROR: %x is a single character\n", c); in TestCodeUnitValues()
69 log_err("ERROR: %x is a first surrogate\n", c); in TestCodeUnitValues()
74 log_err("ERROR: %x is a second surrogate\n", c); in TestCodeUnitValues()
100log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENG… in TestCharLength()
106 log_err("ERROR: UTF16_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength()
154log_err("ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, resu… in TestGetChar()
159log_err("ERROR: U16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result… in TestGetChar()
165log_err("ERROR: UTF16_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result… in TestGetChar()
170log_err("ERROR: U16_GET failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i+1], c); in TestGetChar()
175log_err("ERROR: UTF16_GET_CHAR_SAFE(strict) failed for offset=%ld. Expected:%lx Got:%lx\n", offset… in TestGetChar()
[all …]
Dutf8tst.c107log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues()
112log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues()
117log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues()
148log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGT… in TestCharLength()
154 log_err("ERROR: UTF8_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength()
203log_err("ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, resul… in TestGetChar()
209log_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c… in TestGetChar()
216log_err("ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[… in TestGetChar()
221log_err("ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[… in TestGetChar()
226log_err("ERROR: UTF8_GET_CHAR_SAFE(strict) failed for offset=%ld. Expected:%lx Got:%lx\n", offset,… in TestGetChar()
[all …]
Dncnvtst.c148 log_err("u-> ibm-920 [UCNV_SBCS] not match.\n"); in TestSurrogateBehaviour()
154 log_err("u-> LATIN_1 not match.\n"); in TestSurrogateBehaviour()
168 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour()
171 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour()
175 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour()
178 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour()
288 log_err("u-> HZ not match.\n"); in TestSurrogateBehaviour()
291 log_err("u-> HZ not match.\n"); in TestSurrogateBehaviour()
310 log_err("u-> UTF8 with offsets and flush true did not match.\n"); in TestSurrogateBehaviour()
313 log_err("u-> UTF8 with offsets and flush true did not match.\n"); in TestSurrogateBehaviour()
[all …]
Dcucdapi.c98log_err("Errors uscript_getScriptCode() for Japanese locale: num=%d, expected %d \n", in TestUScriptCodeAPI()
103 log_err("Japanese locale: code #%d was %d (%s) but expected %d (%s)\n", j, in TestUScriptCodeAPI()
140 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedNames[i]); in TestUScriptCodeAPI()
145 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI()
175 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedAbbr[i]); in TestUScriptCodeAPI()
180 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI()
250 log_err("uscript_getScript for codepoint \\U%08X failed\n",codepoints[i]); in TestUScriptCodeAPI()
254 log_err("uscript_getScript for codepoint \\U%08X failed. Error: %s\n", in TestUScriptCodeAPI()
261 log_err("uscript_getScript failed.\n"); in TestUScriptCodeAPI()
269 log_err("\\U001D169 is not contained in USCRIPT_INHERITED"); in TestUScriptCodeAPI()
[all …]
Dusrchtst.c211 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
216 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
222 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
228 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
234 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
240 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose()
263 log_err("Error: NULL break iterator is valid for opening search\n"); in TestOpenClose()
288 log_err("Error: Break iterator is valid for opening search\n"); in TestOpenClose()
318 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization()
330 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization()
[all …]
Dchashtst.c108 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestBasic()
113 log_err("FAIL: uhash_open returned NULL\n"); in TestBasic()
138 log_err("FAIL: compareChars failed\n"); in TestBasic()
144 log_err("FAIL: compareIChars failed\n"); in TestBasic()
168 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestOtherAPI()
173 log_err("FAIL: uhash_open returned NULL\n"); in TestOtherAPI()
180 log_err("FAIL: uhas_count() failed. Expected: 1, Got: %d\n", uhash_count(hash)); in TestOtherAPI()
183 log_err("FAIL: uhash_find failed\n"); in TestOtherAPI()
191 log_err("FAIL: uhas_count() failed. Expected: 5, Got: %d\n", uhash_count(hash)); in TestOtherAPI()
195 log_err("FAIL: uhash_geti failed\n"); in TestOtherAPI()
[all …]
Dcnumtst.c111 log_err("Error in unum_parseInt64(): %s \n", myErrorName(*status)); in TestInt64Parse()
171 log_err("Error: could not create NumberFormat (french): %s\n", myErrorName(status)); in TestNumberFormat()
178log_err("Error: could not create NumberFormat using \n unum_open(currency, NULL, &status) %s\n", in TestNumberFormat()
184log_err("Error: could not create NumberFormat using unum_open(currency, french, &status): %s\n", in TestNumberFormat()
191log_err("Error: could not create NumberFormat using unum_open(percent, NULL, &status): %s\n", myEr… in TestNumberFormat()
196log_err("Error: could not create NumberFormat using unum_open(percent, french, &status): %s\n", my… in TestNumberFormat()
202log_err("Error: could not create NumberFormat using unum_open(spellout, NULL, &status): %s\n", myE… in TestNumberFormat()
209 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status)); in TestNumberFormat()
219 log_err("error in countAvailable"); in TestNumberFormat()
228 log_err("No locale for which number formatting patterns are applicable\n"); in TestNumberFormat()
[all …]
Dccapitst.c145 log_err("FAILURE! uenum_next(allNamesEnum...) set an error: %s\n", u_errorName(err)); in ListNames()
156 log_err("FAILURE! uenum_reset(allNamesEnum, &err); doesn't work\n"); in ListNames()
176 log_err("ucnv_getAvailableName() with index < 0) should return NULL\n"); in ListNames()
184 log_err("FAILURE! ucnv_countAliases(\"utf-8\") -> %d aliases\n", count); in ListNames()
190 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s\n", myErrorName(err)); in ListNames()
192 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s instead of UTF-8\n", alias); in ListNames()
198log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames()
201log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> alias %s insanely long, corrupt?!\n", aliasNum, … in ListNames()
213 log_err("FAILURE! ucnv_getAliases(\"utf-8\") -> %s\n", myErrorName(err)); in ListNames()
219log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames()
[all …]
Dcucdtst.c220 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower()
222 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower()
228log_err("FAILED u_tolower() for %lx Expected %lx Got %lx\n", upper[i], lower[i], u_tolower(upper[i… in TestUpperLower()
237 log_err("Failed isLowerCase test at %c\n", upperTest[i]); in TestUpperLower()
241 log_err("Failed isUpperCase test at %c\n", lowerTest[i]); in TestUpperLower()
245 log_err("Failed case conversion from %c To %c :\n", lowerTest[i], upperTest[i]); in TestUpperLower()
249 log_err("Failed case conversion : %c To %c \n", upperTest[i], lowerTest[i]); in TestUpperLower()
253 log_err("Failed case conversion with itself: %c\n", upperTest[i]); in TestUpperLower()
257 log_err("Failed case conversion with itself: %c\n", lowerTest[i]); in TestUpperLower()
323 log_err("u_istitle failed for 0x%4X. Expected TRUE, got FALSE\n",expected[i]); in TestUpperLower()
[all …]
Dcstrcase.c57log_err("error in u_strToLower(root locale)=%ld error=%s string matches: %s\t\nlowerRoot=%s\t\nbuf… in TestCaseLower()
79 log_err("error in u_strToLower(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseLower()
97 log_err("error in u_strToLower(root locale preflighting)=%ld error=%s string matches: %s\n", in TestCaseLower()
110 log_err("error in u_strToLower(root locale dest=NULL)=%ld error=%s\n", in TestCaseLower()
124log_err("error in u_strToLower(root locale destCapacity=-1)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseLower()
155 log_err("error in u_strToUpper(root locale)=%ld error=%s string matches: %s\n", in TestCaseUpper()
173 log_err("error in u_strToUpper(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseUpper()
188 log_err("error in u_strToUpper(turkish locale pure preflighting)=%ld error=%s\n", in TestCaseUpper()
203 log_err("error in u_strToUpper(turkish locale src=NULL)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper()
218log_err("error in u_strToUpper(turkish locale srcLength=-2)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper()
[all …]
Dncnvfbts.c174 log_err("FAIL: Error is setting fallback. Errocode=%s\n", myErrorName(status)); in testConvertFromUnicode()
200log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, … in testConvertFromUnicode()
221 log_err("Problem doing toUnicode, errcode %d %s\n", myErrorName(status), gNuConvTestName); in testConvertFromUnicode()
254 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode()
265 log_err("\ndid not get the expected offsets while %s \n", gNuConvTestName); in testConvertFromUnicode()
266 log_err("Got : "); in testConvertFromUnicode()
269 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode()
270 log_err("\nExpected: "); in testConvertFromUnicode()
272 log_err("%d,", expectOffsets[i]); in testConvertFromUnicode()
284 log_err("String does not match. %s\n", gNuConvTestName); in testConvertFromUnicode()
[all …]
Dcloctst.c270 log_err("ERROR: in uloc_getLanguage %s\n", myErrorName(status)); in TestBasicGetters()
273 log_err(" Language code mismatch: %s versus %s\n", temp, rawData2[LANG][i]); in TestBasicGetters()
284 log_err("ERROR: in uloc_getCountry %s\n", myErrorName(status)); in TestBasicGetters()
287 log_err(" Country code mismatch: %s versus %s\n", temp, rawData2[CTRY][i]); in TestBasicGetters()
298 log_err("ERROR: in uloc_getVariant %s\n", myErrorName(status)); in TestBasicGetters()
301 log_err("Variant code mismatch: %s versus %s\n", temp, rawData2[VAR][i]); in TestBasicGetters()
310log_err("ERROR: in uloc_getName(%s,NULL,0,..), expected U_BUFFER_OVERFLOW_ERROR!\n", testLocale); in TestBasicGetters()
313 log_err("ERROR: in uloc_getName %s\n", myErrorName(status)); in TestBasicGetters()
316 log_err(" Mismatch in getName: %s versus %s\n", name, rawData2[NAME][i]); in TestBasicGetters()
333 log_err(" Mismatch in uloc_setDefault: qq_BLA versus %s\n", uloc_getDefault()); in TestNullDefault()
[all …]
Dccaltst.c114log_err("FAIL: error in the ucal_countAvailableTZIDs - got %d expected at least 5 total\n", count); in TestCalendar()
121 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); in TestCalendar()
128log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(stat… in TestCalendar()
176 log_err("FAIL: uenum_reset for %s returned %s\n", in TestCalendar()
182 log_err("FAIL: uenum_next for %s returned %s\n", in TestCalendar()
191 log_err("FAIL: uenum_next for %s returned %s, expected NULL\n", in TestCalendar()
202 log_err("FAIL: ucal_getDSTSavings(GMT) => %s\n", in TestCalendar()
209 log_err("FAIL: ucal_getDSTSavings(PST) => %s\n", in TestCalendar()
212 log_err("FAIL: ucal_getDSTSavings(PST) => %d, expect %d\n", i, 1*60*60*1000); in TestCalendar()
219 log_err("FAIL: ucal_getDefaultTimeZone() => %s\n", in TestCalendar()
[all …]
Dcustrtrn.c154 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()
259log_err("u_strToUTF32(preflight surr16+4) sets %s != U_BUFFER_OVERFLOW_ERROR or an unexpected leng… in Test_strToUTF32_surrogates()
267log_err("u_strToUTF32(surr16+4) sets %s != U_ZERO_ERROR or does not produce the expected string\n", in Test_strToUTF32_surrogates()
[all …]
Dcitertst.c97 log_err("ERROR: reversing collation iterator :%s\n", in TestBug672()
105 log_err("ERROR: setting offset in collator :%s\n", in TestBug672()
121 log_err("ERROR: setting offset in collator :%s\n", in TestBug672()
134 log_err("ERROR: Different locales have different offsets at the same character\n"); in TestBug672()
173 log_err("ERROR: reversing collation iterator :%s\n", in TestBug672Normalize()
181 log_err("ERROR: setting offset in collator :%s\n", in TestBug672Normalize()
197 log_err("ERROR: setting offset in collator :%s\n", in TestBug672Normalize()
210 log_err("ERROR: Different locales have different offsets at the same character\n"); in TestBug672Normalize()
257log_err("ERROR: in creation of collation element iterator using ucol_openElements()\n %s\n", in TestUnicodeChar()
270log_err("ERROR: in creation of collation element iterator using ucol_openElements()\n %s\n", in TestUnicodeChar()
[all …]
Dcdattst.c96 log_err("FAIL: error in creating the dateformat using short date and time style\n %s\n", in TestDateFormat()
103log_err("FAIL: error in creating the dateformat using medium date style with italian locale\n %s\n… in TestDateFormat()
110log_err("FAIL: error in creating the dateformat using long time and date styles with german locale… in TestDateFormat()
118 log_err("FAIL: error in creating the dateformat using short date and time style\n %s\n", in TestDateFormat()
146 log_err("Error in creating the clone using udat_clone: %s\n", myErrorName(status) ); in TestDateFormat()
170 log_err("FAIL: Error in formatting using udat_format(.....) %s\n", myErrorName(status) ); in TestDateFormat()
182log_err("FAIL: Date Format for US locale failed using udat_format() - expected %s got %s\n", xbuf,… in TestDateFormat()
224 log_err("FAIL: Error in parsing using udat_parse(.....) %s\n", myErrorName(status) ); in TestDateFormat()
232 log_err("FAIL: error in parsing\n"); in TestDateFormat()
242 log_err("FAIL: udat_parse(\"bad string\") passed when it should have failed\n"); in TestDateFormat()
[all …]
Dputiltst.c39 log_err("error: unexpected signed right shift is Arithmetic Shift Right: %d\n" in TestSignedRightShiftIsArithmetic()
61log_err("Error in uprv_modf. Expected IntegralValue=%f, Got=%f, \n Expected FractionalValue=%f, G… in TestPUtilAPI()
116 log_err("ERROR: uprv_isNegativeInfinity failed.\n"); in TestPUtilAPI()
121 log_err("ERROR: uprv_isPositiveInfinity failed.\n"); in TestPUtilAPI()
126 log_err("ERROR: uprv_isInfinite failed.\n"); in TestPUtilAPI()
145 log_err("ERROR: u_getVersion() failed. Expected: U_ZERO_ERROR Got=%s\n", str); in TestPUtilAPI()
150 log_err("ERROR: u_getVersion() failed. Expected: U_USING_DEFAULT_WARNING Got=%s\n", str); in TestPUtilAPI()
155 log_err("ERROR: u_getVersion() failed. Expected: [BOGUS UErrorCode] Got=%s\n", str); in TestPUtilAPI()
177log_err("ERROR: u_charsToUChars failed. Expected %s, Got %s\n", austrdup(temp), austrdup(udataDir)… in TestPUtilAPI()
184log_err("ERROR: u_UCharsToChars failed. Expected %s, Got %s\n", charvalue, dataDirectory); in TestPUtilAPI()
[all …]
Dcbiditst.c155 log_err("\nu_charDirection(charFromDirProp[%d]=U+%04x)==%d!=%d\n", in testCharFromDirProp()
176 log_err("ubidi_open() returned NULL, out of memory\n"); in testBidi()
179 log_err("ubidi_openSized() returned NULL, errorCode %s\n", myErrorName(errorCode)); in testBidi()
219 log_err("ubidi_setLine(tests[%d], %d, %d) failed with errorCode %s\n", in doTests()
224 log_err("ubidi_setPara(tests[%d], paraLevel %d) failed with errorCode %s\n", in doTests()
443 log_err("========================================"); fputs("\n", stderr); in printCaseInfo()
448 log_err("Processed length: %d", length); fputs("\n", stderr); in printCaseInfo()
459 log_err("Levels: %s", levelChars); fputs("\n", stderr); in printCaseInfo()
460 log_err("Source: %s", src); fputs("\n", stderr); in printCaseInfo()
461 log_err("Result: %s", dst); fputs("\n", stderr); in printCaseInfo()
[all …]
/external/icu4c/test/iotest/
Dfiletst.c46 log_err("Can't write test file.\n"); in TestFileFromICU()
63 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestFileFromICU()
89 log_err("Got feof while writing the file.\n"); in TestFileFromICU()
104 log_err("Can't read test file."); in TestFileFromICU()
109 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU()
114 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
119 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
124 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
131log_err("u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], mySt… in TestFileFromICU()
142 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestFileFromICU()
[all …]
Dtrnstst.c27 log_err("Couldn't open test file for writing\n"); in TestTranslitOps()
34 log_err("Error opening transliterator %s\n", u_errorName(err)); in TestTranslitOps()
44 log_err("Error setting transliterator %s\n", u_errorName(err)); in TestTranslitOps()
51 log_err("Error, a transliterator was already set!\n"); in TestTranslitOps()
57 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); in TestTranslitOps()
62 log_err("Error getting the same transliterator was not returned on NULL file\n"); in TestTranslitOps()
69 log_err("Error setting transliterator on error status err=%s\n", u_errorName(err)); in TestTranslitOps()
74 log_err("Error getting the same transliterator on error status\n"); in TestTranslitOps()
83 log_err("Err setting transliterator %s\n", u_errorName(err)); in TestTranslitOps()
90 log_err("Err, transliterator that came back was not the original one.\n"); in TestTranslitOps()
[all …]
Dstrtst.c51 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestString()
59 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestString()
66 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestString()
73 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestString()
80 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestString()
87 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestString()
94 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestString()
101 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
108 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString()
115 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString()
[all …]
/external/icu4c/samples/uciter8/
Duciter8.c29 #define log_err printf macro
54 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators()
63 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
69 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
77log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators()
86log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter… in compareIterators()
96log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, … in compareIterators()
104 log_err("%s->move(start) failed\n", n1); in compareIterators()
108 log_err("%s->hasNext() at the start returns FALSE\n", n1); in compareIterators()
114 log_err("%s->move(start) failed\n", n2); in compareIterators()
[all …]

1234