Home
last modified time | relevance | path

Searched refs:ASSERT_PTR_NE (Results 1 – 17 of 17) sorted by relevance

/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c45 ASSERT_PTR_NE(sect, NULL); in put_opt()
63 ASSERT_PTR_NE(ca_buf, NULL); in build_cert()
71 ASSERT_PTR_NE(pk, NULL); in build_cert()
76 ASSERT_PTR_NE(principals, NULL); in build_cert()
81 ASSERT_PTR_NE(critopts, NULL); in build_cert()
86 ASSERT_PTR_NE(exts, NULL); in build_cert()
123 ASSERT_PTR_NE(sig, NULL); in signature_test()
192 ASSERT_PTR_NE(k1, NULL); in sshkey_tests()
198 ASSERT_PTR_NE(k1, NULL); in sshkey_tests()
199 ASSERT_PTR_NE(k1->rsa, NULL); in sshkey_tests()
[all …]
Dtest_file.c59 ASSERT_PTR_NE(k1, NULL); in sshkey_file_tests()
70 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
78 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
86 ASSERT_PTR_NE(cp, NULL); in sshkey_file_tests()
95 ASSERT_PTR_NE(cp, NULL); in sshkey_file_tests()
108 ASSERT_PTR_NE(k1, NULL); in sshkey_file_tests()
125 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
134 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
144 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
152 ASSERT_PTR_NE(k2, NULL); in sshkey_file_tests()
[all …]
Dtest_fuzz.c55 ASSERT_PTR_NE(buf = sshbuf_new(), NULL); in public_fuzz()
116 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
137 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
158 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
178 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
198 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
218 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
239 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
259 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
280 ASSERT_PTR_NE(fuzzed = sshbuf_new(), NULL); in sshkey_fuzz_tests()
Dcommon.c45 ASSERT_PTR_NE(ret = sshbuf_new(), NULL); in load_file()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_misc.c35 ASSERT_PTR_NE(out, NULL); in sshbuf_misc_tests()
37 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
47 ASSERT_PTR_NE(strstr(tmp, "12 34 56 78"), NULL); in sshbuf_misc_tests()
54 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
57 ASSERT_PTR_NE(p, NULL); in sshbuf_misc_tests()
65 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
68 ASSERT_PTR_NE(p, NULL); in sshbuf_misc_tests()
76 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
80 ASSERT_PTR_NE(p, NULL); in sshbuf_misc_tests()
88 ASSERT_PTR_NE(p1, NULL); in sshbuf_misc_tests()
[all …]
Dtest_sshbuf.c38 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
68 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
76 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
84 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
87 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
91 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
103 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests()
120 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
125 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
139 ASSERT_PTR_NE(p1, NULL); in sshbuf_tests()
[all …]
Dtest_sshbuf_getput_basic.c79 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
83 ASSERT_PTR_NE(cd, NULL); in sshbuf_getput_basic_tests()
115 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
133 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
154 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
181 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
202 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
211 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
221 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
231 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_basic_tests()
[all …]
Dtest_sshbuf_getput_crypto.c83 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
95 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
107 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
119 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
131 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
143 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
155 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
168 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
180 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
197 ASSERT_PTR_NE(p1, NULL); in sshbuf_getput_crypto_tests()
[all …]
Dtest_sshbuf_fixed.c40 ASSERT_PTR_NE(p1, NULL); in sshbuf_fixed()
53 ASSERT_PTR_NE(p1, NULL); in sshbuf_fixed()
71 ASSERT_PTR_NE(p1, NULL); in sshbuf_fixed()
76 ASSERT_PTR_NE(p2, NULL); in sshbuf_fixed()
81 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fixed()
82 ASSERT_PTR_NE(sshbuf_ptr(p2), NULL); in sshbuf_fixed()
104 ASSERT_PTR_NE(p1, NULL); in sshbuf_fixed()
109 ASSERT_PTR_NE(p2, NULL); in sshbuf_fixed()
115 ASSERT_PTR_NE(p3, NULL); in sshbuf_fixed()
116 ASSERT_PTR_NE(sshbuf_ptr(p3), NULL); in sshbuf_fixed()
Dtest_sshbuf_fuzz.c41 ASSERT_PTR_NE(p1, NULL); in sshbuf_fuzz_tests()
42 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fuzz_tests()
59 ASSERT_PTR_NE(dp, NULL); in sshbuf_fuzz_tests()
102 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fuzz_tests()
106 ASSERT_PTR_NE(p1, NULL); in sshbuf_fuzz_tests()
120 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fuzz_tests()
123 ASSERT_PTR_NE(sshbuf_ptr(p1), NULL); in sshbuf_fuzz_tests()
Dtest_sshbuf_getput_fuzz.c47 ASSERT_PTR_NE(p1, NULL); in attempt_parse_blob()
65 ASSERT_PTR_NE(eck, NULL); in attempt_parse_blob()
/external/openssh/regress/unittests/kex/
Dtest_kex.c103 ASSERT_PTR_NE(keyname, NULL); in do_kex_with_key()
107 ASSERT_PTR_NE(client, NULL); in do_kex_with_key()
108 ASSERT_PTR_NE(server, NULL); in do_kex_with_key()
132 ASSERT_PTR_NE(state, NULL); in do_kex_with_key()
140 ASSERT_PTR_NE(server2, NULL); in do_kex_with_key()
146 ASSERT_PTR_NE(server2->kex, NULL); in do_kex_with_key()
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c164 #define ASSERT_PTR_NE(a, b) \ macro
220 ASSERT_PTR_NE(keyname, NULL); in do_kex_with_key()
225 ASSERT_PTR_NE(client, NULL); in do_kex_with_key()
226 ASSERT_PTR_NE(server, NULL); in do_kex_with_key()
227 ASSERT_PTR_NE(server2, NULL); in do_kex_with_key()
264 ASSERT_PTR_NE(state, NULL); in do_kex_with_key()
275 ASSERT_PTR_NE(server2->kex, NULL); in do_kex_with_key()
/external/openssh/regress/unittests/utf8/
Dtests.c61 ASSERT_PTR_NE(loc, NULL); in tests()
83 ASSERT_PTR_NE(loc, NULL); in tests()
/external/openssh/regress/unittests/bitmap/
Dtests.c39 ASSERT_PTR_NE(b, NULL); in tests()
41 ASSERT_PTR_NE(bn, NULL); in tests()
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c115 ASSERT_PTR_NE(l->path, NULL); /* Don't care about path */ in check()
135 ASSERT_PTR_NE(l->key, NULL); in check()
/external/openssh/regress/unittests/test_helper/
Dtest_helper.h153 #define ASSERT_PTR_NE(a1, a2) \ macro