Lines Matching refs:ut_assert

74 	ut_assert(copy != c4);  in unicode_test_u16_strdup()
88 ut_assert(r == copy); in unicode_test_u16_strcpy()
105 ut_assert(!strncmp(&buf[2], d2, 7)); in unicode_test_string16()
106 ut_assert(!buf[9]); in unicode_test_string16()
111 ut_assert(!strncmp(&buf[5], d4, 12)); in unicode_test_string16()
112 ut_assert(!buf[17]); in unicode_test_string16()
117 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_string16()
118 ut_assert(!buf[14]); in unicode_test_string16()
189 ut_assert(!utf8_put('@', &pos)) in unicode_test_utf8_put()
192 ut_assert(!buffer[1]); in unicode_test_utf8_put()
196 ut_assert(!utf8_put(0x1f4, &pos)); in unicode_test_utf8_put()
202 ut_assert(!utf8_put(0x1701, &pos)); in unicode_test_utf8_put()
208 ut_assert(!utf8_put(0x1f439, &pos)); in unicode_test_utf8_put()
281 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
286 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
291 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
296 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
302 ut_assert(!unicode_test_u16_strcmp(buf, L"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
307 ut_assert(!unicode_test_u16_strcmp(buf, L"j2?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
312 ut_assert(!unicode_test_u16_strcmp(buf, L"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
327 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
328 ut_assert(!unicode_test_u16_strcmp(buf, c1, 4)); in unicode_test_utf8_utf16_strncpy()
334 ut_assert(buf[4]); in unicode_test_utf8_utf16_strncpy()
335 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
341 ut_assert(!buf[2]); in unicode_test_utf8_utf16_strncpy()
342 ut_assert(!unicode_test_u16_strcmp(buf, c3, 2)); in unicode_test_utf8_utf16_strncpy()
348 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
349 ut_assert(!unicode_test_u16_strcmp(buf, c4, 4)); in unicode_test_utf8_utf16_strncpy()
355 ut_assert(buf[5]); in unicode_test_utf8_utf16_strncpy()
356 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
395 ut_assert(!utf16_put('@', &pos)); in unicode_test_utf16_put()
398 ut_assert(!buffer[1]); in unicode_test_utf16_put()
402 ut_assert(!utf16_put(0x1f439, &pos)); in unicode_test_utf16_put()
406 ut_assert(!buffer[2]); in unicode_test_utf16_put()
516 ut_assert(!buf[4]); in unicode_test_utf16_utf8_strncpy()
517 ut_assert(!strncmp(buf, d1, 4)); in unicode_test_utf16_utf8_strncpy()
523 ut_assert(buf[4]); in unicode_test_utf16_utf8_strncpy()
524 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
530 ut_assert(!buf[6]); in unicode_test_utf16_utf8_strncpy()
531 ut_assert(!strncmp(buf, d3, 6)); in unicode_test_utf16_utf8_strncpy()
537 ut_assert(!buf[8]); in unicode_test_utf16_utf8_strncpy()
538 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_utf16_utf8_strncpy()
544 ut_assert(buf[5]); in unicode_test_utf16_utf8_strncpy()
545 ut_assert(!strncmp(buf, d4, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
587 ut_assert(u16_strncmp(L"abc", L"abc", 3) == 0); in unicode_test_u16_strncmp()
588 ut_assert(u16_strncmp(L"abcdef", L"abcghi", 3) == 0); in unicode_test_u16_strncmp()
589 ut_assert(u16_strncmp(L"abcdef", L"abcghi", 6) < 0); in unicode_test_u16_strncmp()
590 ut_assert(u16_strncmp(L"abcghi", L"abcdef", 6) > 0); in unicode_test_u16_strncmp()
591 ut_assert(u16_strcmp(L"abc", L"abc") == 0); in unicode_test_u16_strncmp()
592 ut_assert(u16_strcmp(L"abcdef", L"deghi") < 0); in unicode_test_u16_strncmp()
593 ut_assert(u16_strcmp(L"deghi", L"abcdef") > 0); in unicode_test_u16_strncmp()