Lines Matching refs:dp
32 u_char *dp; in sshbuf_tests() local
85 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests()
87 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
88 *dp = 0x11; in sshbuf_tests()
89 r = sshbuf_reserve(p1, 3, &dp); in sshbuf_tests()
91 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
92 *dp++ = 0x22; in sshbuf_tests()
93 *dp++ = 0x33; in sshbuf_tests()
94 *dp++ = 0x44; in sshbuf_tests()
140 r = sshbuf_reserve(p1, 4, &dp); in sshbuf_tests()
142 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
143 *dp++ = 0x11; in sshbuf_tests()
144 *dp++ = 0x22; in sshbuf_tests()
145 *dp++ = 0x33; in sshbuf_tests()
146 *dp++ = 0x44; in sshbuf_tests()
169 r = sshbuf_reserve(p1, 1223, &dp); in sshbuf_tests()
171 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
172 memset(dp, 0xd7, 1223); in sshbuf_tests()
175 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests()
177 ASSERT_PTR_EQ(dp, NULL); in sshbuf_tests()
184 r = sshbuf_reserve(p1, 224, &dp); in sshbuf_tests()
186 ASSERT_PTR_EQ(dp, NULL); in sshbuf_tests()
189 r = sshbuf_reserve(p1, 223, &dp); in sshbuf_tests()
191 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
192 memset(dp, 0x7d, 223); in sshbuf_tests()
211 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests()
213 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
214 *dp = 0xff; in sshbuf_tests()
229 r = sshbuf_reserve(p1, 1223, &dp); in sshbuf_tests()
231 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
232 memset(dp, 0xd7, 1223); in sshbuf_tests()