Lines Matching refs:bytes
156 const unsigned char *bytes = NULL;
160 || !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
161 || !TEST_uchar_eq(bytes[0], 2)
162 || !TEST_uchar_eq(bytes[1], 4)
163 || !TEST_uchar_eq(bytes[2], 6)
164 || !TEST_uchar_eq(bytes[3], 8)
167 || !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
168 || !TEST_uchar_eq(bytes[0], 0xf8)
169 || !TEST_uchar_eq(bytes[1], 0xfa)
170 || !TEST_uchar_eq(bytes[2], 0xfc)
171 || !TEST_uchar_eq(bytes[3], 0xfe)
180 unsigned char bytes[4];
184 || !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
185 || !TEST_char_eq(bytes[0], 2)
186 || !TEST_char_eq(bytes[1], 4)
187 || !TEST_char_eq(bytes[2], 6)
188 || !TEST_char_eq(bytes[3], 8)
191 || !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
192 || !TEST_uchar_eq(bytes[0], 0xf8)
193 || !TEST_uchar_eq(bytes[1], 0xfa)
194 || !TEST_uchar_eq(bytes[2], 0xfc)
195 || !TEST_uchar_eq(bytes[3], 0xfe)