Lines Matching refs:ASSERT
34 ASSERT(0 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
35 ASSERT(p == b + 1); in TEST_IMPL()
36 ASSERT(127 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
37 ASSERT(p == b + 2); in TEST_IMPL()
42 ASSERT(128 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
43 ASSERT(p == b + 2); in TEST_IMPL()
44 ASSERT(0x7FF == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
45 ASSERT(p == b + 4); in TEST_IMPL()
50 ASSERT(0x800 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
51 ASSERT(p == b + 3); in TEST_IMPL()
52 ASSERT(0xFFFF == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
53 ASSERT(p == b + 6); in TEST_IMPL()
58 ASSERT(0x10000 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
59 ASSERT(p == b + 4); in TEST_IMPL()
60 ASSERT(0x10FFFF == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
61 ASSERT(p == b + 8); in TEST_IMPL()
66 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
67 ASSERT(p == b + 4); in TEST_IMPL()
68 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
69 ASSERT(p == b + 8); in TEST_IMPL()
74 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
75 ASSERT(p == b + 2); in TEST_IMPL()
76 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
77 ASSERT(p == b + 4); in TEST_IMPL()
82 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
83 ASSERT(p == b + 3); in TEST_IMPL()
84 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
85 ASSERT(p == b + 6); in TEST_IMPL()
92 ASSERT((unsigned) -1 == uv__utf8_decode1(&p, b + sizeof(b))); in TEST_IMPL()
93 ASSERT(p == b + i); in TEST_IMPL()
106 ASSERT((unsigned int)0x7F == uv__utf8_decode1(&p, b + 1)); in TEST_IMPL()
129 ASSERT(err == uv__idna_toascii(s, s + sizeof(s) - 1, d, d + sizeof(d))); \
139 ASSERT(n == sizeof(expected)); \
140 ASSERT(0 == memcmp(d1, expected, n)); \
143 ASSERT(n == sizeof(expected)); \
144 ASSERT(0 == memcmp(d2, expected, n)); \
145 ASSERT(0 == memcmp(d1, d2, sizeof(d2))); \