Lines Matching refs:ut_assert
67 ut_assert(copy != c4); in unicode_test_u16_strdup()
68 ut_assert(!memcmp(copy, c4, sizeof(c4))); in unicode_test_u16_strdup()
80 ut_assert(r == copy); in unicode_test_u16_strcpy()
81 ut_assert(!memcmp(copy, c1, sizeof(c1))); in unicode_test_u16_strcpy()
96 ut_assert(!strncmp(&buf[2], d2, 7)); in unicode_test_string16()
97 ut_assert(!buf[9]); in unicode_test_string16()
102 ut_assert(!strncmp(&buf[5], d4, 12)); in unicode_test_string16()
103 ut_assert(!buf[17]); in unicode_test_string16()
108 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_string16()
109 ut_assert(!buf[14]); in unicode_test_string16()
174 ut_assert(!utf8_put('@', &pos)) in unicode_test_utf8_put()
177 ut_assert(!buffer[1]); in unicode_test_utf8_put()
181 ut_assert(!utf8_put(0x1f4, &pos)); in unicode_test_utf8_put()
187 ut_assert(!utf8_put(0x1701, &pos)); in unicode_test_utf8_put()
193 ut_assert(!utf8_put(0x1f439, &pos)); in unicode_test_utf8_put()
266 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
271 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
276 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
281 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
287 ut_assert(!unicode_test_u16_strcmp(buf, L"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
292 ut_assert(!unicode_test_u16_strcmp(buf, L"j2?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
297 ut_assert(!unicode_test_u16_strcmp(buf, L"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
312 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
313 ut_assert(!unicode_test_u16_strcmp(buf, c1, 4)); in unicode_test_utf8_utf16_strncpy()
319 ut_assert(buf[4]); in unicode_test_utf8_utf16_strncpy()
320 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
326 ut_assert(!buf[2]); in unicode_test_utf8_utf16_strncpy()
327 ut_assert(!unicode_test_u16_strcmp(buf, c3, 2)); in unicode_test_utf8_utf16_strncpy()
333 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
334 ut_assert(!unicode_test_u16_strcmp(buf, c4, 4)); in unicode_test_utf8_utf16_strncpy()
340 ut_assert(buf[5]); in unicode_test_utf8_utf16_strncpy()
341 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
380 ut_assert(!utf16_put('@', &pos)); in unicode_test_utf16_put()
383 ut_assert(!buffer[1]); in unicode_test_utf16_put()
387 ut_assert(!utf16_put(0x1f439, &pos)); in unicode_test_utf16_put()
391 ut_assert(!buffer[2]); in unicode_test_utf16_put()
501 ut_assert(!buf[4]); in unicode_test_utf16_utf8_strncpy()
502 ut_assert(!strncmp(buf, d1, 4)); in unicode_test_utf16_utf8_strncpy()
508 ut_assert(buf[4]); in unicode_test_utf16_utf8_strncpy()
509 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
515 ut_assert(!buf[6]); in unicode_test_utf16_utf8_strncpy()
516 ut_assert(!strncmp(buf, d3, 6)); in unicode_test_utf16_utf8_strncpy()
522 ut_assert(!buf[8]); in unicode_test_utf16_utf8_strncpy()
523 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_utf16_utf8_strncpy()
529 ut_assert(buf[5]); in unicode_test_utf16_utf8_strncpy()
530 ut_assert(!strncmp(buf, d4, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
572 ut_assert(u16_strncmp(L"abc", L"abc", 3) == 0); in unicode_test_u16_strncmp()
573 ut_assert(u16_strncmp(L"abcdef", L"abcghi", 3) == 0); in unicode_test_u16_strncmp()
574 ut_assert(u16_strncmp(L"abcdef", L"abcghi", 6) < 0); in unicode_test_u16_strncmp()
575 ut_assert(u16_strncmp(L"abcghi", L"abcdef", 6) > 0); in unicode_test_u16_strncmp()
576 ut_assert(u16_strcmp(L"abc", L"abc") == 0); in unicode_test_u16_strncmp()
577 ut_assert(u16_strcmp(L"abcdef", L"deghi") < 0); in unicode_test_u16_strncmp()
578 ut_assert(u16_strcmp(L"deghi", L"abcdef") > 0); in unicode_test_u16_strncmp()