Lines Matching refs:cdp
31 const u_char *cdp; in sshbuf_tests() local
102 cdp = sshbuf_ptr(p1); in sshbuf_tests()
103 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests()
104 ASSERT_U8_EQ(cdp[0], 0x11); in sshbuf_tests()
105 ASSERT_U8_EQ(cdp[1], 0x22); in sshbuf_tests()
106 ASSERT_U8_EQ(cdp[2], 0x33); in sshbuf_tests()
107 ASSERT_U8_EQ(cdp[3], 0x44); in sshbuf_tests()
119 cdp = sshbuf_ptr(p1); in sshbuf_tests()
121 ASSERT_U8_EQ(cdp[0], 0x22); in sshbuf_tests()
124 cdp = sshbuf_ptr(p1); in sshbuf_tests()
126 ASSERT_U8_EQ(cdp[0], 0x44); in sshbuf_tests()
153 cdp = sshbuf_ptr(p1); in sshbuf_tests()
154 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests()
155 ASSERT_U8_EQ(*cdp, 0x11); in sshbuf_tests()
193 cdp = sshbuf_ptr(p1); in sshbuf_tests()
194 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests()
195 ASSERT_MEM_FILLED_EQ(cdp, 0xd7, 1000); in sshbuf_tests()
196 ASSERT_MEM_FILLED_EQ(cdp + 1000, 0x7d, 223); in sshbuf_tests()
215 cdp = sshbuf_ptr(p1); in sshbuf_tests()
216 ASSERT_PTR_NE(cdp, NULL); in sshbuf_tests()
217 ASSERT_MEM_FILLED_EQ(cdp, 0xd7, 1000); in sshbuf_tests()
218 ASSERT_MEM_FILLED_EQ(cdp + 1000, 0x7d, 223); in sshbuf_tests()
219 ASSERT_MEM_FILLED_EQ(cdp + 1223, 0xff, 1); in sshbuf_tests()