Searched refs:ASSERT_SIZE_T_EQ (Results 1 – 7 of 7) sorted by relevance
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_getput_basic.c | 81 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 5); in sshbuf_getput_basic_tests() 94 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_getput_basic_tests() 101 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_getput_basic_tests() 109 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_getput_basic_tests() 117 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 10); in sshbuf_getput_basic_tests() 120 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2); in sshbuf_getput_basic_tests() 124 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2); in sshbuf_getput_basic_tests() 127 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2); in sshbuf_getput_basic_tests() 135 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 10); in sshbuf_getput_basic_tests() 138 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 6); in sshbuf_getput_basic_tests() [all …]
|
D | test_sshbuf.c | 50 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_tests() 55 ASSERT_SIZE_T_EQ(sshbuf_max_size(p1), 65536); in sshbuf_tests() 59 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), 65536); in sshbuf_tests() 98 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4); in sshbuf_tests() 111 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4); in sshbuf_tests() 113 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4); in sshbuf_tests() 116 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4); in sshbuf_tests() 118 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 3); in sshbuf_tests() 123 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_tests() 129 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_tests() [all …]
|
D | test_sshbuf_getput_crypto.c | 85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn1) + 2); in sshbuf_getput_crypto_tests() 99 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_getput_crypto_tests() 109 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 2); in sshbuf_getput_crypto_tests() 123 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_getput_crypto_tests() 133 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn1) + 4); in sshbuf_getput_crypto_tests() 147 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_getput_crypto_tests() 157 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(expbn2) + 4 + 1); /* MSB */ in sshbuf_getput_crypto_tests() 172 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_getput_crypto_tests() 183 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2 + sizeof(expbn1)); in sshbuf_getput_crypto_tests() 188 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2); in sshbuf_getput_crypto_tests() [all …]
|
D | test_sshbuf_fuzz.c | 56 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz); in sshbuf_fuzz_tests() 57 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sz2); in sshbuf_fuzz_tests() 61 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz - r); in sshbuf_fuzz_tests() 62 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sz2 + r); in sshbuf_fuzz_tests() 80 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz); in sshbuf_fuzz_tests() 81 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sz2); in sshbuf_fuzz_tests() 84 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz + r); in sshbuf_fuzz_tests() 85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sz2 - r); in sshbuf_fuzz_tests() 96 ASSERT_SIZE_T_EQ(sshbuf_max_size(p1), sz); in sshbuf_fuzz_tests() 98 ASSERT_SIZE_T_EQ(sshbuf_max_size(p1), r); in sshbuf_fuzz_tests()
|
D | test_sshbuf_fixed.c | 46 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), 0); in sshbuf_fixed() 62 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 0); in sshbuf_fixed() 64 ASSERT_SIZE_T_EQ(l, 5); in sshbuf_fixed() 85 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sshbuf_len(p2)); in sshbuf_fixed() 93 ASSERT_SIZE_T_EQ(sshbuf_len(p2), 0); in sshbuf_fixed() 95 ASSERT_SIZE_T_EQ(l, 5); in sshbuf_fixed() 110 ASSERT_SIZE_T_EQ(sshbuf_len(p1), sizeof(test_buf) - 1); in sshbuf_fixed() 112 ASSERT_SIZE_T_EQ(sshbuf_len(p2), sizeof(test_buf) + 4 - 1); in sshbuf_fixed() 114 ASSERT_SIZE_T_EQ(sshbuf_len(p2), 0); in sshbuf_fixed() 117 ASSERT_SIZE_T_EQ(sshbuf_len(p3), sizeof(test_buf) - 1); in sshbuf_fixed()
|
D | test_sshbuf_misc.c | 106 ASSERT_SIZE_T_EQ(strlen(p), ((8191 + 2) / 3) * 4); in sshbuf_misc_tests() 115 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 1); in sshbuf_misc_tests() 124 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 2); in sshbuf_misc_tests() 133 ASSERT_SIZE_T_EQ(sshbuf_len(p1), 4); in sshbuf_misc_tests() 144 ASSERT_SIZE_T_EQ(strlen(p), 0); in sshbuf_misc_tests() 150 ASSERT_SIZE_T_EQ(strlen(p), strlen("quad1")); in sshbuf_misc_tests() 157 ASSERT_SIZE_T_EQ(strlen(p), strlen("quad1")); in sshbuf_misc_tests()
|
/external/openssh/regress/unittests/test_helper/ |
D | test_helper.h | 112 #define ASSERT_SIZE_T_EQ(a1, a2) \ macro
|