Lines Matching refs:PACKET_buf_init
21 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_remaining()
36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_end()
53 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_1()
70 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_4()
87 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_2()
104 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_3()
121 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_net_4()
138 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_sub_packet()
159 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_get_bytes()
183 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_copy_bytes()
208 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_copy_all()
226 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_memdup()
252 if (!TEST_true(PACKET_buf_init(&pkt, (unsigned char*)buf1, 10)) in test_PACKET_strndup()
256 || !TEST_true(PACKET_buf_init(&pkt, (unsigned char*)buf2, 10)) in test_PACKET_strndup()
277 if (!TEST_true(PACKET_buf_init(&pkt, (unsigned char*)buf1, 10)) in test_PACKET_contains_zero_byte()
279 || !TEST_true(PACKET_buf_init(&pkt, (unsigned char*)buf2, 10)) in test_PACKET_contains_zero_byte()
291 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_forward()
309 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 4)) in test_PACKET_buf_init()
311 || !TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN)) in test_PACKET_buf_init()
313 || !TEST_false(PACKET_buf_init(&pkt, buf1, -1))) in test_PACKET_buf_init()
335 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, 4)) in test_PACKET_equal()
338 || !TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN)) in test_PACKET_equal()
360 if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN)) in test_PACKET_get_length_prefixed_1()
361 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_1()
384 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_2()
385 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_2()
408 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_3()
409 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_3()
433 if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN)) in test_PACKET_as_length_prefixed_1()
434 || !TEST_true(PACKET_buf_init(&exact_pkt, buf1, len + 1)) in test_PACKET_as_length_prefixed_1()
456 if (!TEST_true(PACKET_buf_init(&pkt, buf, 1024)) in test_PACKET_as_length_prefixed_2()
457 || !TEST_true(PACKET_buf_init(&exact_pkt, buf, len + 2)) in test_PACKET_as_length_prefixed_2()
509 if (!TEST_true(PACKET_buf_init(&pkt, cases[i].buf, sizeof(cases[i].buf))) in test_PACKET_get_quic_vlint()
549 if (!TEST_true(PACKET_buf_init(&pkt, cases[i].buf, in test_PACKET_get_quic_length_prefixed()