Lines Matching refs:bytes
334 unsigned char *bytes; in test_WPACKET_allocate_bytes() local
337 || !TEST_true(WPACKET_allocate_bytes(&pkt, 2, &bytes))) in test_WPACKET_allocate_bytes()
339 bytes[0] = 0xfe; in test_WPACKET_allocate_bytes()
340 bytes[1] = 0xff; in test_WPACKET_allocate_bytes()
348 || !TEST_true(WPACKET_sub_allocate_bytes_u8(&pkt, 2, &bytes))) in test_WPACKET_allocate_bytes()
350 bytes[0] = 0xfe; in test_WPACKET_allocate_bytes()
351 bytes[1] = 0xff; in test_WPACKET_allocate_bytes()
364 const unsigned char bytes[] = { 0xfe, 0xff }; in test_WPACKET_memcpy() local
367 || !TEST_true(WPACKET_memcpy(&pkt, bytes, sizeof(bytes))) in test_WPACKET_memcpy()
375 || !TEST_true(WPACKET_sub_memcpy_u8(&pkt, bytes, sizeof(bytes))) in test_WPACKET_memcpy()
461 unsigned char *bytes; in test_WPACKET_quic() local
528 || !TEST_true(WPACKET_quic_sub_allocate_bytes(&pkt, 3, &bytes))) in test_WPACKET_quic()
531 bytes[0] = 0x55; in test_WPACKET_quic()
532 bytes[1] = 0x66; in test_WPACKET_quic()
533 bytes[2] = 0x77; in test_WPACKET_quic()