Lines Matching refs:ut_assert
57 ut_assert(copy != c4); in unicode_test_u16_strdup()
58 ut_assert(!memcmp(copy, c4, sizeof(c4))); in unicode_test_u16_strdup()
70 ut_assert(r == copy); in unicode_test_u16_strcpy()
71 ut_assert(!memcmp(copy, c1, sizeof(c1))); in unicode_test_u16_strcpy()
86 ut_assert(!strncmp(&buf[2], d2, 7)); in unicode_test_string16()
87 ut_assert(!buf[9]); in unicode_test_string16()
92 ut_assert(!strncmp(&buf[5], d4, 12)); in unicode_test_string16()
93 ut_assert(!buf[17]); in unicode_test_string16()
98 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_string16()
99 ut_assert(!buf[14]); in unicode_test_string16()
164 ut_assert(!utf8_put('@', &pos)) in unicode_test_utf8_put()
167 ut_assert(!buffer[1]); in unicode_test_utf8_put()
171 ut_assert(!utf8_put(0x1f4, &pos)); in unicode_test_utf8_put()
177 ut_assert(!utf8_put(0x1701, &pos)); in unicode_test_utf8_put()
183 ut_assert(!utf8_put(0x1f439, &pos)); in unicode_test_utf8_put()
256 ut_assert(!unicode_test_u16_strcmp(buf, c1, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
261 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
266 ut_assert(!unicode_test_u16_strcmp(buf, c3, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
271 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
277 ut_assert(!unicode_test_u16_strcmp(buf, L"j1?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
282 ut_assert(!unicode_test_u16_strcmp(buf, L"j2?l", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
287 ut_assert(!unicode_test_u16_strcmp(buf, L"j3?", SIZE_MAX)); in unicode_test_utf8_utf16_strcpy()
302 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
303 ut_assert(!unicode_test_u16_strcmp(buf, c1, 4)); in unicode_test_utf8_utf16_strncpy()
309 ut_assert(buf[4]); in unicode_test_utf8_utf16_strncpy()
310 ut_assert(!unicode_test_u16_strcmp(buf, c2, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
316 ut_assert(!buf[2]); in unicode_test_utf8_utf16_strncpy()
317 ut_assert(!unicode_test_u16_strcmp(buf, c3, 2)); in unicode_test_utf8_utf16_strncpy()
323 ut_assert(!buf[4]); in unicode_test_utf8_utf16_strncpy()
324 ut_assert(!unicode_test_u16_strcmp(buf, c4, 4)); in unicode_test_utf8_utf16_strncpy()
330 ut_assert(buf[5]); in unicode_test_utf8_utf16_strncpy()
331 ut_assert(!unicode_test_u16_strcmp(buf, c4, SIZE_MAX)); in unicode_test_utf8_utf16_strncpy()
370 ut_assert(!utf16_put('@', &pos)); in unicode_test_utf16_put()
373 ut_assert(!buffer[1]); in unicode_test_utf16_put()
377 ut_assert(!utf16_put(0x1f439, &pos)); in unicode_test_utf16_put()
381 ut_assert(!buffer[2]); in unicode_test_utf16_put()
491 ut_assert(!buf[4]); in unicode_test_utf16_utf8_strncpy()
492 ut_assert(!strncmp(buf, d1, 4)); in unicode_test_utf16_utf8_strncpy()
498 ut_assert(buf[4]); in unicode_test_utf16_utf8_strncpy()
499 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
505 ut_assert(!buf[6]); in unicode_test_utf16_utf8_strncpy()
506 ut_assert(!strncmp(buf, d3, 6)); in unicode_test_utf16_utf8_strncpy()
512 ut_assert(!buf[8]); in unicode_test_utf16_utf8_strncpy()
513 ut_assert(!strncmp(buf, d4, 8)); in unicode_test_utf16_utf8_strncpy()
519 ut_assert(buf[5]); in unicode_test_utf16_utf8_strncpy()
520 ut_assert(!strncmp(buf, d4, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()