Lines Matching refs:log_err
118 log_err("There is an error in u_strlen()"); in TestStringFunctions()
132 log_err("an error occured in u_memcpy()\n"); in TestStringFunctions()
134 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions()
138 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
146 log_err("an error occured in u_memset()\n"); in TestStringFunctions()
150 log_err("u_memset() went too far\n"); in TestStringFunctions()
158 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions()
167 log_err("an error occured in u_memmove()\n"); in TestStringFunctions()
171 log_err("an error occured in u_memmove()\n"); in TestStringFunctions()
186 log_err("something threw an error in u_strcpy() or u_strcmp()\n"); in TestStringFunctions()
190 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
200 log_err("something threw an error in u_strcat()\n"); in TestStringFunctions()
208 log_err("Something threw an error in u_strncmp\n"); in TestStringFunctions()
211 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
222 log_err("something threw an error in u_strncat or u_uastrcpy()\n"); in TestStringFunctions()
234 log_err("something threw an error in u_strncpy()\n"); in TestStringFunctions()
237 log_err("something threw an error in u_strncpy()\n"); in TestStringFunctions()
242 log_err("something threw an error in u_uastrncpy(k-1)\n"); in TestStringFunctions()
245 log_err("something threw an error in u_uastrncpy(k-1)\n"); in TestStringFunctions()
250 log_err("something threw an error in u_uastrncpy(k+1)\n"); in TestStringFunctions()
253 log_err("something threw an error in u_uastrncpy(k+1)\n"); in TestStringFunctions()
258 log_err("something threw an error in u_uastrncpy(k)\n"); in TestStringFunctions()
261 log_err("something threw an error in u_uastrncpy(k)\n"); in TestStringFunctions()
275 log_err("u_strchr can't find '_' in the string\n"); in TestStringFunctions()
280 log_err("u_strchr32 can't find '_' in the string\n"); in TestStringFunctions()
285 log_err("u_strchr can't find NULL in the string\n"); in TestStringFunctions()
290 log_err("u_strchr32 can't find NULL in the string\n"); in TestStringFunctions()
295 log_err("u_memchr can't find NULL in the string\n"); in TestStringFunctions()
300 log_err("u_memchr32 can't find NULL in the string\n"); in TestStringFunctions()
307 log_err("u_memchr can't find '_' in the string\n"); in TestStringFunctions()
312 log_err("u_memchr32 can't find '_' in the string\n"); in TestStringFunctions()
316 log_err("Should have found NULL when the character is not there.\n"); in TestStringFunctions()
334 log_err("error: u_strchr32(surrogate) finds a partial supplementary code point\n"); in TestStringFunctions()
337 log_err("error: u_memchr32(surrogate) finds a partial supplementary code point\n"); in TestStringFunctions()
344 log_err("There is an error in u_austrcpy()"); in TestStringFunctions()
365 … log_err("u_strtok_r mismatch at %d. Got: %s, Expected: %s\n", currToken, ptr, tokens[currToken]); in TestStringFunctions()
372 log_err("Didn't get correct number of tokens\n"); in TestStringFunctions()
377 log_err("Didn't get NULL for empty string\n"); in TestStringFunctions()
380 log_err("State should be NULL for empty string\n"); in TestStringFunctions()
385 log_err("Didn't get NULL for a string of delimiters\n"); in TestStringFunctions()
388 log_err("State should be NULL for a string of delimiters\n"); in TestStringFunctions()
394 log_err("Got NULL for a string that does not begin with delimiters\n"); in TestStringFunctions()
397 log_err("Didn't get NULL for a string that ends in delimiters\n"); in TestStringFunctions()
400 log_err("State should be NULL for empty string\n"); in TestStringFunctions()
409 log_err("Should have recieved the same string when there are no delimiters\n"); in TestStringFunctions()
412 log_err("Should not have found another token in a one token string\n"); in TestStringFunctions()
437 … log_err("error: u_strcmpCodePointOrder() fails for string %d and the following one\n", i); in TestStringFunctions()
440 … log_err("error: u_strncmpCodePointOrder() fails for string %d and the following one\n", i); in TestStringFunctions()
445 …log_err("error: u_strncmpCodePointOrder(2)!=u_memcmpCodePointOrder(2) for string %d and the follow… in TestStringFunctions()
456 … log_err("error: u_strCompare(code point order) fails for string %d and the following one\n", i); in TestStringFunctions()
463 …log_err("error: u_strCompare(code unit order)!=u_strcmp() for string %d and the following one\n", … in TestStringFunctions()
470 …log_err("error: u_strCompareIter(code point order) fails for string %d and the following one\n", i… in TestStringFunctions()
474 …log_err("error: u_strCompareIter(code unit order)!=u_strcmp() for string %d and the following one\… in TestStringFunctions()
509 log_err("u_strpbrk couldn't find first letter a.\n"); in TestStringSearching()
512 log_err("u_strpbrk couldn't find d or c.\n"); in TestStringSearching()
515 log_err("u_strpbrk couldn't find c or d.\n"); in TestStringSearching()
518 log_err("u_strpbrk couldn't find c, d or h.\n"); in TestStringSearching()
521 log_err("u_strpbrk didn't return NULL for \"f\".\n"); in TestStringSearching()
524 log_err("u_strpbrk didn't return NULL for \"fg\".\n"); in TestStringSearching()
527 log_err("u_strpbrk didn't return NULL for \"gf\".\n"); in TestStringSearching()
530 log_err("u_strpbrk didn't return NULL for \"\".\n"); in TestStringSearching()
536 log_err("u_strpbrk couldn't find first letter a.\n"); in TestStringSearching()
539 log_err("u_strpbrk couldn't find d or c.\n"); in TestStringSearching()
542 log_err("u_strpbrk couldn't find c or d.\n"); in TestStringSearching()
545 log_err("u_strpbrk couldn't find c, d or h.\n"); in TestStringSearching()
548 log_err("u_strpbrk didn't return NULL for \"f\".\n"); in TestStringSearching()
551 log_err("u_strpbrk didn't return NULL for \"fg\".\n"); in TestStringSearching()
554 log_err("u_strpbrk didn't return NULL for \"gf\".\n"); in TestStringSearching()
557 log_err("u_strpbrk couldn't find \"0xdbff, 0xdfff\".\n"); in TestStringSearching()
560 log_err("u_strpbrk couldn't find \"0xdbff, a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
563 log_err("u_strpbrk couldn't find \"0xdb00, 0xdf00, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
566 log_err("u_strpbrk should have returned NULL for empty string.\n"); in TestStringSearching()
569 log_err("u_strpbrk should have found bad surrogate.\n"); in TestStringSearching()
575 log_err("u_strcspn couldn't find first letter a.\n"); in TestStringSearching()
578 log_err("u_strcspn couldn't find d or c.\n"); in TestStringSearching()
581 log_err("u_strcspn couldn't find c or d.\n"); in TestStringSearching()
584 log_err("u_strcspn couldn't find c, d or h.\n"); in TestStringSearching()
587 log_err("u_strcspn didn't return NULL for \"f\".\n"); in TestStringSearching()
590 log_err("u_strcspn didn't return NULL for \"fg\".\n"); in TestStringSearching()
593 log_err("u_strcspn didn't return NULL for \"gf\".\n"); in TestStringSearching()
599 log_err("u_strcspn couldn't find first letter a.\n"); in TestStringSearching()
602 log_err("u_strcspn couldn't find d or c.\n"); in TestStringSearching()
605 log_err("u_strcspn couldn't find c or d.\n"); in TestStringSearching()
608 log_err("u_strcspn couldn't find c, d or h.\n"); in TestStringSearching()
611 log_err("u_strcspn didn't return NULL for \"f\".\n"); in TestStringSearching()
614 log_err("u_strcspn didn't return NULL for \"fg\".\n"); in TestStringSearching()
617 log_err("u_strcspn didn't return NULL for \"gf\".\n"); in TestStringSearching()
620 log_err("u_strcspn couldn't find \"0xdbff, 0xdfff\".\n"); in TestStringSearching()
623 log_err("u_strcspn couldn't find \"a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
626 log_err("u_strcspn couldn't find \"0xdb00, 0xdf00, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
629 log_err("u_strcspn should have returned strlen for empty string.\n"); in TestStringSearching()
636 log_err("u_strspn couldn't skip first letter a.\n"); in TestStringSearching()
639 log_err("u_strspn couldn't skip a or b.\n"); in TestStringSearching()
642 log_err("u_strspn couldn't skip a or b.\n"); in TestStringSearching()
645 log_err("u_strspn didn't return 0 for \"f\".\n"); in TestStringSearching()
648 log_err("u_strspn couldn't find first letter a (skip d or c).\n"); in TestStringSearching()
651 log_err("u_strspn couldn't skip over the whole string.\n"); in TestStringSearching()
654 log_err("u_strspn should have returned 0 for empty string.\n"); in TestStringSearching()
659 log_err("u_strspn couldn't skip 0xdbff or a.\n"); in TestStringSearching()
662 log_err("u_strspn couldn't skip 0xdbff or a.\n"); in TestStringSearching()
665 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
668 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
671 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
674 log_err("u_strspn couldn't skip whole string.\n"); in TestStringSearching()
677 log_err("u_strspn couldn't skip \"0xdbff, 0xdfff\" (get first letter).\n"); in TestStringSearching()
680 log_err("u_strspn couldn't skip \"0xdbff, a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
683 log_err("u_strspn should have returned 0 for empty string.\n"); in TestStringSearching()
734 … log_err("error: one of the u_str[|mem][r]chr[32](s, nul) does not find the terminator of s\n"); in TestSurrogateSearching()
750 log_err("error: one of the u_str[str etc](s, \"\") does not find s itself\n"); in TestSurrogateSearching()
776 log_err("error: one of the u_str[chr etc]('a') does not find the correct place\n"); in TestSurrogateSearching()
800 log_err("error: one of the u_str[chr etc]('b') incorrectly finds something\n"); in TestSurrogateSearching()
810 … log_err("error: one of the u_str[chr etc](illegal code point) incorrectly finds something\n"); in TestSurrogateSearching()
835 log_err("error: one of the u_str[chr etc](U+d801) does not find the correct place\n"); in TestSurrogateSearching()
860 log_err("error: one of the u_str[chr etc](U+dc02) does not find the correct place\n"); in TestSurrogateSearching()
882 log_err("error: one of the u_str[chr etc](U+10402) does not find the correct place\n"); in TestSurrogateSearching()
897 …log_err("error: one of the u_str[chr etc](U+10402) incorrectly finds a supplementary c.p. in a sin… in TestSurrogateSearching()
917 log_err("error: one of the u_str[chr etc](U+10403) incorrectly finds something\n"); in TestSurrogateSearching()
934 log_err("error: one of the u_str[str etc](<0061 d801>) does not find the correct place\n"); in TestSurrogateSearching()
951 log_err("error: one of the u_str[str etc](<dc02 0061>) does not find the correct place\n"); in TestSurrogateSearching()
967 log_err("error: one of the u_str[str etc](\"aba\") incorrectly finds something\n"); in TestSurrogateSearching()
976 log_err("error: ending with a partial supplementary code point should match\n"); in TestSurrogateSearching()
994 …log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy()
1004 …log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
1007 log_err("u_uastrncpy wrote past it's bounds. Expected undisturbed byte at 3\n"); in TestStringCopy()
1025 …log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
1028 log_err("u_austrncpy wrote past it's bounds. Expected undisturbed byte at 3\n"); in TestStringCopy()
1043 …log_err("There is an error in u_strchr() Expected match at position 1 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1052 …log_err("There is an error in u_strstr() Expected match at position 2 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1056 …log_err("There is an error in u_strstr() Expected match at position 0 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1060 …log_err("There is an error in u_strstr() Expected NULL \"not found\" Got non-NULL \"found\" result… in TestStringCopy()
1067 …log_err("There is an error in u_strchr32() Expected match at position 1 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1071 …log_err("There is an error in u_strchr32() Expected NULL \"not found\" Got non-NULL \"found\" resu… in TestStringCopy()
1075 …log_err("There is an error in u_strchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1081 …log_err("There is an error in u_memchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1085 …log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-te… in TestStringCopy()
1089 …log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-te… in TestStringCopy()
1093 …log_err("There is an error in u_memchr32() Expected match at position 7 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1118 log_err("failure in u_unescape(): length %d!=%d and/or incorrect result string\n", length, in TestUnescape()
1125 log_err("failure in u_unescape(preflighting): length %d!=%d\n", length, explength); in TestUnescape()
1138 log_err("memory allocation error"); in TestUnescapeRepeatedSurrogateLead20725()
1145 log_err("failure in u_unescape()"); in TestUnescapeRepeatedSurrogateLead20725()
1149 log_err("failure in u_unescape() return value"); in TestUnescapeRepeatedSurrogateLead20725()
1158 log_err("u_unescape() should return u\"\\ud841Z\" but got %s", dest); in TestUnescapeRepeatedSurrogateLead20725()
1164 log_err("u_unescape() should return u\"\\ud841\\ud900\\udc05\" " in TestUnescapeRepeatedSurrogateLead20725()
1173 log_err("u_unescape() should return empty string"); in TestUnescapeRepeatedSurrogateLead20725()
1193 log_err("u_strHasMoreChar32Than(s+%d, %d, %d)=%hd is wrong\n", in _testStrHasMoreChar32Than()
1261 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators()
1270 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1276 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
1284 … log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators()
1293 …log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter… in compareIterators()
1303 …log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, … in compareIterators()
1311 log_err("%s->move(start) failed\n", n1); in compareIterators()
1315 log_err("%s->hasNext() at the start returns FALSE\n", n1); in compareIterators()
1321 log_err("%s->move(start) failed\n", n2); in compareIterators()
1325 log_err("%s->hasNext() at the start returns FALSE\n", n2); in compareIterators()
1333 …log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, U… in compareIterators()
1339 log_err("%s->hasNext() at the end returns TRUE\n", n1); in compareIterators()
1343 log_err("%s->hasNext() at the end returns TRUE\n", n2); in compareIterators()
1350 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1356 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
1363 log_err("%s->move(from middle %d to 1)=%d does not move to 1\n", n1, middle, pos1); in compareIterators()
1369 log_err("%s->move(from middle %d to 1)=%d does not move to 1\n", n2, middle, pos2); in compareIterators()
1376 log_err("%s->move(limit) failed\n", n1); in compareIterators()
1380 log_err("%s->hasPrevious() at the end returns FALSE\n", n1); in compareIterators()
1386 log_err("%s->move(limit) failed\n", n2); in compareIterators()
1390 log_err("%s->hasPrevious() at the end returns FALSE\n", n2); in compareIterators()
1398 …log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d\n", n1, c1, c2, n2, iter1->getIndex(… in compareIterators()
1404 log_err("%s->hasPrevious() at the start returns TRUE\n", n1); in compareIterators()
1408 log_err("%s->hasPrevious() at the start returns TRUE\n", n2); in compareIterators()
1437 log_err("test error: %s[%d]=%d\n", n, middle-2+i, c); in testIteratorState()
1451 log_err("%s->setState(0x%x) failed: %s\n", n, state, u_errorName(errorCode)); in testIteratorState()
1457 log_err("%s->current(at %d)=U+%04x!=U+%04x\n", n, middle, c, u[2]); in testIteratorState()
1462 log_err("%s->previous(at %d)=U+%04x!=U+%04x\n", n, middle-1, c, u[1]); in testIteratorState()
1468 log_err("%s->next(at %d)=U+%04x!=U+%04x\n", n, middle+1, c, u[3]); in testIteratorState()
1474 log_err("%s->previous(at %d)=U+%04x!=U+%04x\n", n, middle-2, c, u[0]); in testIteratorState()
1485 log_err("%s->getIndex(current)=%d!=%d as expected\n", n, i, middle); in testIteratorState()
1488 log_err("%s->getIndex(current)=%d!=%d after setState()\n", n, j, i); in testIteratorState()
1495 log_err("%s->getIndex(length)=%d!=%d before/after setState()\n", n, i, j); in testIteratorState()
1517 log_err("NOOP UCharIterator behaves unexpectedly\n"); in TestUCharIterator()
1531 log_err("u_strToUTF8() failed, %s\n", u_errorName(errorCode)); in TestUCharIterator()
1555 log_err("ucnv_fromUChars(UTF-16BE) failed, %s\n", u_errorName(errorCode)); in TestUCharIterator()