• Home
  • Raw
  • Download

Lines Matching refs:log_err

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()
186 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
196 log_err("something threw an error in u_strcat()\n"); in TestStringFunctions()
204 log_err("Something threw an error in u_strncmp\n"); in TestStringFunctions()
207 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions()
218 log_err("something threw an error in u_strncat or u_uastrcpy()\n"); in TestStringFunctions()
230 log_err("something threw an error in u_strncpy()\n"); in TestStringFunctions()
233 log_err("something threw an error in u_strncpy()\n"); in TestStringFunctions()
238 log_err("something threw an error in u_uastrncpy(k-1)\n"); in TestStringFunctions()
241 log_err("something threw an error in u_uastrncpy(k-1)\n"); in TestStringFunctions()
246 log_err("something threw an error in u_uastrncpy(k+1)\n"); in TestStringFunctions()
249 log_err("something threw an error in u_uastrncpy(k+1)\n"); in TestStringFunctions()
254 log_err("something threw an error in u_uastrncpy(k)\n"); in TestStringFunctions()
257 log_err("something threw an error in u_uastrncpy(k)\n"); in TestStringFunctions()
271 log_err("u_strchr can't find '_' in the string\n"); in TestStringFunctions()
276 log_err("u_strchr32 can't find '_' in the string\n"); in TestStringFunctions()
281 log_err("u_strchr can't find NULL in the string\n"); in TestStringFunctions()
286 log_err("u_strchr32 can't find NULL in the string\n"); in TestStringFunctions()
291 log_err("u_memchr can't find NULL in the string\n"); in TestStringFunctions()
296 log_err("u_memchr32 can't find NULL in the string\n"); in TestStringFunctions()
303 log_err("u_memchr can't find '_' in the string\n"); in TestStringFunctions()
308 log_err("u_memchr32 can't find '_' in the string\n"); in TestStringFunctions()
312 log_err("Should have found NULL when the character is not there.\n"); in TestStringFunctions()
330 log_err("error: u_strchr32(surrogate) finds a partial supplementary code point\n"); in TestStringFunctions()
333 log_err("error: u_memchr32(surrogate) finds a partial supplementary code point\n"); in TestStringFunctions()
340 log_err("There is an error in u_austrcpy()"); in TestStringFunctions()
361log_err("u_strtok_r mismatch at %d. Got: %s, Expected: %s\n", currToken, ptr, tokens[currToken]); in TestStringFunctions()
368 log_err("Didn't get correct number of tokens\n"); in TestStringFunctions()
373 log_err("Didn't get NULL for empty string\n"); in TestStringFunctions()
376 log_err("State should be NULL for empty string\n"); in TestStringFunctions()
381 log_err("Didn't get NULL for a string of delimiters\n"); in TestStringFunctions()
384 log_err("State should be NULL for a string of delimiters\n"); in TestStringFunctions()
390 log_err("Got NULL for a string that does not begin with delimiters\n"); in TestStringFunctions()
393 log_err("Didn't get NULL for a string that ends in delimiters\n"); in TestStringFunctions()
396 log_err("State should be NULL for empty string\n"); in TestStringFunctions()
405 log_err("Should have recieved the same string when there are no delimiters\n"); in TestStringFunctions()
408 log_err("Should not have found another token in a one token string\n"); in TestStringFunctions()
433log_err("error: u_strcmpCodePointOrder() fails for string %d and the following one\n", i); in TestStringFunctions()
436log_err("error: u_strncmpCodePointOrder() fails for string %d and the following one\n", i); in TestStringFunctions()
441log_err("error: u_strncmpCodePointOrder(2)!=u_memcmpCodePointOrder(2) for string %d and the follow… in TestStringFunctions()
452log_err("error: u_strCompare(code point order) fails for string %d and the following one\n", i); in TestStringFunctions()
459log_err("error: u_strCompare(code unit order)!=u_strcmp() for string %d and the following one\n", … in TestStringFunctions()
466log_err("error: u_strCompareIter(code point order) fails for string %d and the following one\n", i… in TestStringFunctions()
470log_err("error: u_strCompareIter(code unit order)!=u_strcmp() for string %d and the following one\… in TestStringFunctions()
505 log_err("u_strpbrk couldn't find first letter a.\n"); in TestStringSearching()
508 log_err("u_strpbrk couldn't find d or c.\n"); in TestStringSearching()
511 log_err("u_strpbrk couldn't find c or d.\n"); in TestStringSearching()
514 log_err("u_strpbrk couldn't find c, d or h.\n"); in TestStringSearching()
517 log_err("u_strpbrk didn't return NULL for \"f\".\n"); in TestStringSearching()
520 log_err("u_strpbrk didn't return NULL for \"fg\".\n"); in TestStringSearching()
523 log_err("u_strpbrk didn't return NULL for \"gf\".\n"); in TestStringSearching()
526 log_err("u_strpbrk didn't return NULL for \"\".\n"); in TestStringSearching()
532 log_err("u_strpbrk couldn't find first letter a.\n"); in TestStringSearching()
535 log_err("u_strpbrk couldn't find d or c.\n"); in TestStringSearching()
538 log_err("u_strpbrk couldn't find c or d.\n"); in TestStringSearching()
541 log_err("u_strpbrk couldn't find c, d or h.\n"); in TestStringSearching()
544 log_err("u_strpbrk didn't return NULL for \"f\".\n"); in TestStringSearching()
547 log_err("u_strpbrk didn't return NULL for \"fg\".\n"); in TestStringSearching()
550 log_err("u_strpbrk didn't return NULL for \"gf\".\n"); in TestStringSearching()
553 log_err("u_strpbrk couldn't find \"0xdbff, 0xdfff\".\n"); in TestStringSearching()
556 log_err("u_strpbrk couldn't find \"0xdbff, a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
559 log_err("u_strpbrk couldn't find \"0xdb00, 0xdf00, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
562 log_err("u_strpbrk should have returned NULL for empty string.\n"); in TestStringSearching()
565 log_err("u_strpbrk should have found bad surrogate.\n"); in TestStringSearching()
571 log_err("u_strcspn couldn't find first letter a.\n"); in TestStringSearching()
574 log_err("u_strcspn couldn't find d or c.\n"); in TestStringSearching()
577 log_err("u_strcspn couldn't find c or d.\n"); in TestStringSearching()
580 log_err("u_strcspn couldn't find c, d or h.\n"); in TestStringSearching()
583 log_err("u_strcspn didn't return NULL for \"f\".\n"); in TestStringSearching()
586 log_err("u_strcspn didn't return NULL for \"fg\".\n"); in TestStringSearching()
589 log_err("u_strcspn didn't return NULL for \"gf\".\n"); in TestStringSearching()
595 log_err("u_strcspn couldn't find first letter a.\n"); in TestStringSearching()
598 log_err("u_strcspn couldn't find d or c.\n"); in TestStringSearching()
601 log_err("u_strcspn couldn't find c or d.\n"); in TestStringSearching()
604 log_err("u_strcspn couldn't find c, d or h.\n"); in TestStringSearching()
607 log_err("u_strcspn didn't return NULL for \"f\".\n"); in TestStringSearching()
610 log_err("u_strcspn didn't return NULL for \"fg\".\n"); in TestStringSearching()
613 log_err("u_strcspn didn't return NULL for \"gf\".\n"); in TestStringSearching()
616 log_err("u_strcspn couldn't find \"0xdbff, 0xdfff\".\n"); in TestStringSearching()
619 log_err("u_strcspn couldn't find \"a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
622 log_err("u_strcspn couldn't find \"0xdb00, 0xdf00, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
625 log_err("u_strcspn should have returned strlen for empty string.\n"); in TestStringSearching()
632 log_err("u_strspn couldn't skip first letter a.\n"); in TestStringSearching()
635 log_err("u_strspn couldn't skip a or b.\n"); in TestStringSearching()
638 log_err("u_strspn couldn't skip a or b.\n"); in TestStringSearching()
641 log_err("u_strspn didn't return 0 for \"f\".\n"); in TestStringSearching()
644 log_err("u_strspn couldn't find first letter a (skip d or c).\n"); in TestStringSearching()
647 log_err("u_strspn couldn't skip over the whole string.\n"); in TestStringSearching()
650 log_err("u_strspn should have returned 0 for empty string.\n"); in TestStringSearching()
655 log_err("u_strspn couldn't skip 0xdbff or a.\n"); in TestStringSearching()
658 log_err("u_strspn couldn't skip 0xdbff or a.\n"); in TestStringSearching()
661 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
664 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
667 log_err("u_strspn couldn't skip d or c (skip first letter).\n"); in TestStringSearching()
670 log_err("u_strspn couldn't skip whole string.\n"); in TestStringSearching()
673 log_err("u_strspn couldn't skip \"0xdbff, 0xdfff\" (get first letter).\n"); in TestStringSearching()
676 log_err("u_strspn couldn't skip \"0xdbff, a, b, 0xdbff, 0xdfff\".\n"); in TestStringSearching()
679 log_err("u_strspn should have returned 0 for empty string.\n"); in TestStringSearching()
730log_err("error: one of the u_str[|mem][r]chr[32](s, nul) does not find the terminator of s\n"); in TestSurrogateSearching()
746 log_err("error: one of the u_str[str etc](s, \"\") does not find s itself\n"); in TestSurrogateSearching()
772 log_err("error: one of the u_str[chr etc]('a') does not find the correct place\n"); in TestSurrogateSearching()
796 log_err("error: one of the u_str[chr etc]('b') incorrectly finds something\n"); in TestSurrogateSearching()
806log_err("error: one of the u_str[chr etc](illegal code point) incorrectly finds something\n"); in TestSurrogateSearching()
831 log_err("error: one of the u_str[chr etc](U+d801) does not find the correct place\n"); in TestSurrogateSearching()
856 log_err("error: one of the u_str[chr etc](U+dc02) does not find the correct place\n"); in TestSurrogateSearching()
878 log_err("error: one of the u_str[chr etc](U+10402) does not find the correct place\n"); in TestSurrogateSearching()
893log_err("error: one of the u_str[chr etc](U+10402) incorrectly finds a supplementary c.p. in a sin… in TestSurrogateSearching()
913 log_err("error: one of the u_str[chr etc](U+10403) incorrectly finds something\n"); in TestSurrogateSearching()
930 log_err("error: one of the u_str[str etc](<0061 d801>) does not find the correct place\n"); in TestSurrogateSearching()
947 log_err("error: one of the u_str[str etc](<dc02 0061>) does not find the correct place\n"); in TestSurrogateSearching()
963 log_err("error: one of the u_str[str etc](\"aba\") incorrectly finds something\n"); in TestSurrogateSearching()
980log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp)… in TestStringCopy()
990log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
993 log_err("u_uastrncpy wrote past it's bounds. Expected undisturbed byte at 3\n"); in TestStringCopy()
1011log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp… in TestStringCopy()
1014 log_err("u_austrncpy wrote past it's bounds. Expected undisturbed byte at 3\n"); in TestStringCopy()
1029log_err("There is an error in u_strchr() Expected match at position 1 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1038log_err("There is an error in u_strstr() Expected match at position 2 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1042log_err("There is an error in u_strstr() Expected match at position 0 Got %ld (pointer 0x%lx)\n", … in TestStringCopy()
1046log_err("There is an error in u_strstr() Expected NULL \"not found\" Got non-NULL \"found\" result… in TestStringCopy()
1053log_err("There is an error in u_strchr32() Expected match at position 1 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1057log_err("There is an error in u_strchr32() Expected NULL \"not found\" Got non-NULL \"found\" resu… in TestStringCopy()
1061log_err("There is an error in u_strchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1067log_err("There is an error in u_memchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1071log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-te… in TestStringCopy()
1075log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-te… in TestStringCopy()
1079log_err("There is an error in u_memchr32() Expected match at position 7 Got %ld (pointer 0x%lx)\n"… in TestStringCopy()
1104 log_err("failure in u_unescape(): length %d!=%d and/or incorrect result string\n", length, in TestUnescape()
1111 log_err("failure in u_unescape(preflighting): length %d!=%d\n", length, explength); in TestUnescape()
1130 log_err("u_strHasMoreChar32Than(s+%d, %d, %d)=%hd is wrong\n", in _testStrHasMoreChar32Than()
1198 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators()
1207 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1213 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
1221log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators()
1230log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter… in compareIterators()
1240log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, … in compareIterators()
1248 log_err("%s->move(start) failed\n", n1); in compareIterators()
1252 log_err("%s->hasNext() at the start returns FALSE\n", n1); in compareIterators()
1258 log_err("%s->move(start) failed\n", n2); in compareIterators()
1262 log_err("%s->hasNext() at the start returns FALSE\n", n2); in compareIterators()
1270log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, U… in compareIterators()
1276 log_err("%s->hasNext() at the end returns TRUE\n", n1); in compareIterators()
1280 log_err("%s->hasNext() at the end returns TRUE\n", n2); in compareIterators()
1287log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators()
1293log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
1300 log_err("%s->move(from middle %d to 1)=%d does not move to 1\n", n1, middle, pos1); in compareIterators()
1306 log_err("%s->move(from middle %d to 1)=%d does not move to 1\n", n2, middle, pos2); in compareIterators()
1313 log_err("%s->move(limit) failed\n", n1); in compareIterators()
1317 log_err("%s->hasPrevious() at the end returns FALSE\n", n1); in compareIterators()
1323 log_err("%s->move(limit) failed\n", n2); in compareIterators()
1327 log_err("%s->hasPrevious() at the end returns FALSE\n", n2); in compareIterators()
1335log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d\n", n1, c1, c2, n2, iter1->getIndex(… in compareIterators()
1341 log_err("%s->hasPrevious() at the start returns TRUE\n", n1); in compareIterators()
1345 log_err("%s->hasPrevious() at the start returns TRUE\n", n2); in compareIterators()
1374 log_err("test error: %s[%d]=%d\n", n, middle-2+i, c); in testIteratorState()
1388 log_err("%s->setState(0x%x) failed: %s\n", n, state, u_errorName(errorCode)); in testIteratorState()
1394 log_err("%s->current(at %d)=U+%04x!=U+%04x\n", n, middle, c, u[2]); in testIteratorState()
1399 log_err("%s->previous(at %d)=U+%04x!=U+%04x\n", n, middle-1, c, u[1]); in testIteratorState()
1405 log_err("%s->next(at %d)=U+%04x!=U+%04x\n", n, middle+1, c, u[3]); in testIteratorState()
1411 log_err("%s->previous(at %d)=U+%04x!=U+%04x\n", n, middle-2, c, u[0]); in testIteratorState()
1422 log_err("%s->getIndex(current)=%d!=%d as expected\n", n, i, middle); in testIteratorState()
1425 log_err("%s->getIndex(current)=%d!=%d after setState()\n", n, j, i); in testIteratorState()
1432 log_err("%s->getIndex(length)=%d!=%d before/after setState()\n", n, i, j); in testIteratorState()
1454 log_err("NOOP UCharIterator behaves unexpectedly\n"); in TestUCharIterator()
1468 log_err("u_strToUTF8() failed, %s\n", u_errorName(errorCode)); in TestUCharIterator()
1492 log_err("ucnv_fromUChars(UTF-16BE) failed, %s\n", u_errorName(errorCode)); in TestUCharIterator()