• Home
  • Raw
  • Download

Lines Matching refs:PACKET_buf_init

21     if (!TEST_true(PACKET_buf_init(&pkt, smbuf, sizeof(smbuf)))  in test_PACKET_remaining()
36 if (!TEST_true(PACKET_buf_init(&pkt, smbuf, sizeof(smbuf))) 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()
359 if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN)) in test_PACKET_get_length_prefixed_1()
360 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_1()
382 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_2()
383 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_2()
405 if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024)) in test_PACKET_get_length_prefixed_3()
406 || !TEST_true(PACKET_buf_init(&short_pkt, buf1, len)) in test_PACKET_get_length_prefixed_3()
429 if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN)) in test_PACKET_as_length_prefixed_1()
430 || !TEST_true(PACKET_buf_init(&exact_pkt, buf1, len + 1)) in test_PACKET_as_length_prefixed_1()
451 if (!TEST_true(PACKET_buf_init(&pkt, buf, 1024)) in test_PACKET_as_length_prefixed_2()
452 || !TEST_true(PACKET_buf_init(&exact_pkt, buf, len + 2)) in test_PACKET_as_length_prefixed_2()