Lines Matching refs:log_err
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()
280 …log_err("ERROR: U8_GET_OR_FFFD failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c… in TestGetChar()
285 …log_err("ERROR: UTF8_GET_CHAR_SAFE(strict) failed for offset=%ld. Expected:%lx Got:%lx\n", offset,… in TestGetChar()
352 …log_err("ERROR: UTF8_NEXT_CHAR_SAFE failed to move the offset correctly at %d\n ExpectedOffset:%d … in TestNextPrevChar()
356 …log_err("ERROR: UTF8_NEXT_CHAR_SAFE failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expecte… in TestNextPrevChar()
362 … log_err("ERROR: U8_NEXT failed to move the offset correctly at %d\n ExpectedOffset:%d Got %d\n", in TestNextPrevChar()
367 … log_err("ERROR: U8_NEXT failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestNextPrevChar()
373 …log_err("ERROR: U8_NEXT_OR_FFFD failed to move the offset correctly at %d\n ExpectedOffset:%d Got … in TestNextPrevChar()
378 …log_err("ERROR: U8_NEXT_OR_FFFD failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c… in TestNextPrevChar()
384 …log_err("ERROR: UTF8_NEXT_CHAR_SAFE(strict) failed to move the offset correctly at %d\n ExpectedOf… in TestNextPrevChar()
389 … log_err("ERROR: UTF8_NEXT_CHAR_SAFE(strict) failed at offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevChar()
404 …log_err("ERROR: UTF8_PREV_CHAR_SAFE failed to move the offset correctly at %d\n ExpectedOffset:%d … in TestNextPrevChar()
408 …log_err("ERROR: UTF8_PREV_CHAR_SAFE failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expecte… in TestNextPrevChar()
414 … log_err("ERROR: U8_PREV failed to move the offset correctly at %d\n ExpectedOffset:%d Got %d\n", in TestNextPrevChar()
419 … log_err("ERROR: U8_PREV failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestNextPrevChar()
425 …log_err("ERROR: U8_PREV_OR_FFFD failed to move the offset correctly at %d\n ExpectedOffset:%d Got … in TestNextPrevChar()
430 …log_err("ERROR: U8_PREV_OR_FFFD failed at offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c… in TestNextPrevChar()
436 …log_err("ERROR: UTF8_PREV_CHAR_SAFE(strict) failed to move the offset correctly at %d\n ExpectedOf… in TestNextPrevChar()
441 … log_err("ERROR: UTF8_PREV_CHAR_SAFE(strict) failed at offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevChar()
492 log_err("U8_NEXT(from %d)=U+%04x != U+%04x\n", i0, c, expected); in TestNulTerminated()
498 log_err("U8_NEXT_OR_FFFD(from %d)=U+%04x != U+%04x\n", i0, c, expected); in TestNulTerminated()
501 log_err("U8_NEXT_OR_FFFD() moved to index %d but U8_NEXT() moved to %d\n", j, i); in TestNulTerminated()
506 log_err("U8_FWD_1() moved to index %d but U8_NEXT() moved to %d\n", j, i); in TestNulTerminated()
517 … log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
528 log_err("U8_NEXT(from %d)=U+%04x != U+%04x=U8_GET(at %d)\n", i0, c, c2, j); in TestNulTerminated()
533 … log_err("U8_NEXT_OR_FFFD(from %d)=U+%04x != U+%04x=U8_GET_OR_FFFD(at %d)\n", i0, expected, c2, j); in TestNulTerminated()
539 log_err("U8_NEXT() moved to %d but U8_SET_CP_LIMIT(%d) moved to %d\n", i, j+1, k); in TestNulTerminated()
561 log_err("U8_NEXT(before %d) failed to read a non-character\n", idx); in TestNextPrevNonCharacters()
567 log_err("U8_PREV(at %d) failed to read a non-character\n", idx); in TestNextPrevNonCharacters()
575 log_err("UTF8_NEXT_CHAR_SAFE(strict, before %d) failed to read a non-character\n", idx); in TestNextPrevNonCharacters()
582 log_err("UTF8_PREV_CHAR_SAFE(strict, at %d) failed to read a non-character\n", idx); in TestNextPrevNonCharacters()
620 log_err("ERROR: UTF8_NEXT_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevCharUnsafe()
634 log_err("ERROR: U8_NEXT_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevCharUnsafe()
643 log_err("ERROR: UTF8_PREV_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevCharUnsafe()
652 log_err("ERROR: U8_PREV_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestNextPrevCharUnsafe()
690 log_err("ERROR: Forward_safe offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack()
700 log_err("ERROR: U8_FWD_1 offset expected:%d, Got:%d\n", fwd_safe[i], offsafe); in TestFwdBack()
710 log_err("ERROR: Backward_safe offset expected:%d, Got:%d\n", back_safe[i], offsafe); in TestFwdBack()
720 log_err("ERROR: U8_BACK_1 offset expected:%d, Got:%d\n", back_safe[i], offsafe); in TestFwdBack()
729 … log_err("ERROR: Forward_N_safe offset=%d expected:%d, Got:%d\n", i, fwd_N_safe[i], offsafe); in TestFwdBack()
738 log_err("ERROR: U8_FWD_N offset=%d expected:%d, Got:%d\n", i, fwd_N_safe[i], offsafe); in TestFwdBack()
747 … log_err("ERROR: backward_N_safe offset=%d expected:%d, Got:%ld\n", i, back_N_safe[i], offsafe); in TestFwdBack()
755 … log_err("ERROR: U8_BACK_N offset=%d expected:%d, Got:%ld\n", i, back_N_safe[i], offsafe); in TestFwdBack()
795 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
802 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
809 … log_err("ERROR: UTF8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[i], offset); in TestFwdBackUnsafe()
816 … log_err("ERROR: U8_BACK_1_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[i], offset); in TestFwdBackUnsafe()
824 log_err("ERROR: UTF8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
832 log_err("ERROR: U8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); in TestFwdBackUnsafe()
841 … log_err("ERROR: UTF8_BACK_N_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[j], offset); in TestFwdBackUnsafe()
850 … log_err("ERROR: U8_BACK_N_UNSAFE offset expected:%d, Got:%d\n", backBoundaries[j], offset); in TestFwdBackUnsafe()
876 …log_err("ERROR: UTF8_SET_CHAR_START_SAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, s… in TestSetChar()
882 …log_err("ERROR: U8_SET_CP_START failed for offset=%ld. Expected:%ld Got:%ld\n", offset, start_safe… in TestSetChar()
889 …log_err("ERROR: UTF8_SET_CHAR_LIMIT_SAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, l… in TestSetChar()
895 …log_err("ERROR: U8_SET_CP_LIMIT failed for offset=%ld. Expected:%ld Got:%ld\n", offset, limit_safe… in TestSetChar()
918 …log_err("ERROR: UTF8_SET_CHAR_START_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset,… in TestSetCharUnsafe()
924 …log_err("ERROR: U8_SET_CP_START_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, sta… in TestSetCharUnsafe()
933 …log_err("ERROR: UTF8_SET_CHAR_LIMIT_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset,… in TestSetCharUnsafe()
939 …log_err("ERROR: U8_SET_CP_LIMIT_UNSAFE failed for offset=%ld. Expected:%ld Got:%ld\n", offset, lim… in TestSetCharUnsafe()
999 … log_err("ERROR: U8_TRUNCATE_IF_INCOMPLETE failed for i=%d, length=%d. Expected:%d Got:%d\n", in TestTruncateIfIncomplete()
1121 …log_err("ERROR: UTF8_APPEND_CHAR_UNSAFE failed to move the offset correctly for count=%d.\nExpecte… in TestAppendChar()
1126 log_err("ERROR: UTF8_APPEND_CHAR_UNSAFE failed for count=%d. \nExpected:", count); in TestAppendChar()
1128 log_err("\nGot: "); in TestAppendChar()
1130 log_err("\n"); in TestAppendChar()
1135 …log_err("ERROR: UTF8_APPEND_CHAR_SAFE failed to move the offset correctly for count=%d.\nExpectedO… in TestAppendChar()
1140 log_err("ERROR: UTF8_APPEND_CHAR_SAFE failed for count=%d. \nExpected:", count); in TestAppendChar()
1142 log_err("\nGot: "); in TestAppendChar()
1144 log_err("\n"); in TestAppendChar()
1214 log_err("U8_APPEND_UNSAFE did not generate the expected output\n"); in TestAppend()
1228 log_err("U8_APPEND did not set isError correctly\n"); in TestAppend()
1231 log_err("U8_APPEND did not generate the expected output\n"); in TestAppend()
1268 log_err("U8_NEXT_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]); in TestSurrogates()
1273 log_err("U8_NEXT(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cs, (long)cu); in TestSurrogates()
1278 log_err("L8_NEXT(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cl, (long)cu); in TestSurrogates()
1283 log_err("U8_NEXT(b[%ld]) did not advance the index correctly\n", (long)i, (long)i); in TestSurrogates()
1286 log_err("L8_NEXT(b[%ld]) did not advance the index correctly\n", (long)i, (long)i); in TestSurrogates()
1309 log_err("U8_PREV_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]); in TestSurrogates()
1314 log_err("U8_PREV(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cs, (long)cu); in TestSurrogates()
1319 log_err("L8_PREV(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cl, (long)cu); in TestSurrogates()
1324 log_err("U8_PREV(b[%ld]) did not advance the index correctly\n", (long)i, (long)i); in TestSurrogates()
1327 log_err("L8_PREV(b[%ld]) did not advance the index correctly\n", (long)i, (long)i); in TestSurrogates()