Lines Matching refs:CHECK
64 CHECK(read_unsigned_LEB_128(u1, &len) == 0 && len == sizeof(u1)); in Leb128_test()
65 CHECK(read_unsigned_LEB_128(u2, &len) == 1 && len == sizeof(u2)); in Leb128_test()
66 CHECK(read_unsigned_LEB_128(u3, &len) == 126 && len == sizeof(u3)); in Leb128_test()
67 CHECK(read_unsigned_LEB_128(u4, &len) == 127 && len == sizeof(u4)); in Leb128_test()
68 CHECK(read_unsigned_LEB_128(u5, &len) == 128 && len == sizeof(u5)); in Leb128_test()
69 CHECK(read_unsigned_LEB_128(u6, &len) == 129 && len == sizeof(u6)); in Leb128_test()
70 CHECK(read_unsigned_LEB_128(u7, &len) == 12857 && len == sizeof(u7)); in Leb128_test()
71 CHECK(read_unsigned_LEB_128(u8, &len) == (1ULL << 63) && len == sizeof(u8)); in Leb128_test()
73 CHECK(read_signed_LEB_128(s1, &len) == 0 && len == sizeof(s1)); in Leb128_test()
74 CHECK(read_signed_LEB_128(s2, &len) == 1 && len == sizeof(s2)); in Leb128_test()
75 CHECK(read_signed_LEB_128(s3, &len) == -2 && len == sizeof(s3)); in Leb128_test()
76 CHECK(read_signed_LEB_128(s4, &len) == 127 && len == sizeof(s4)); in Leb128_test()
77 CHECK(read_signed_LEB_128(s5, &len) == -127 && len == sizeof(s5)); in Leb128_test()
78 CHECK(read_signed_LEB_128(s6, &len) == 128 && len == sizeof(s6)); in Leb128_test()
79 CHECK(read_signed_LEB_128(s7, &len) == -128 && len == sizeof(s7)); in Leb128_test()
80 CHECK(read_signed_LEB_128(s8, &len) == 129 && len == sizeof(s8)); in Leb128_test()
81 CHECK(read_signed_LEB_128(s9, &len) == -129 && len == sizeof(s9)); in Leb128_test()