Home
last modified time | relevance | path

Searched refs:pkt2 (Results 1 – 8 of 8) sorted by relevance

/third_party/openssl/test/
Dclienthellotest.c67 PACKET pkt = {0}, pkt2 = {0}, pkt3 = {0}; in test_client_hello() local
203 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello()
205 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in test_client_hello()
207 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in test_client_hello()
209 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in test_client_hello()
213 while (PACKET_remaining(&pkt2)) { in test_client_hello()
215 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
216 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in test_client_hello()
Dservername_test.c38 PACKET pkt = {0}, pkt2 = {0}, pkt3 = {0}, pkt4 = {0}, pkt5 = {0}; in get_sni_from_client_hello() local
52 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
54 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_sni_from_client_hello()
56 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_sni_from_client_hello()
58 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_sni_from_client_hello()
62 while (PACKET_remaining(&pkt2)) { in get_sni_from_client_hello()
63 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
64 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_sni_from_client_hello()
Dbad_dtls_test.c117 PACKET pkt, pkt2; in validate_client_hello() local
153 if (!PACKET_get_length_prefixed_1(&pkt, &pkt2) || in validate_client_hello()
154 !PACKET_equal(&pkt2, session_id, sizeof(session_id))) in validate_client_hello()
158 if (!PACKET_get_length_prefixed_1(&pkt, &pkt2)) in validate_client_hello()
160 if (PACKET_remaining(&pkt2)) { in validate_client_hello()
161 if (!PACKET_equal(&pkt2, cookie, sizeof(cookie))) in validate_client_hello()
Dsslapitest.c4850 PACKET pkt = {0}, pkt2 = {0}, pkt3 = {0}; in get_MFL_from_client_hello() local
4865 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello()
4867 || !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2)) in get_MFL_from_client_hello()
4869 || !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2)) in get_MFL_from_client_hello()
4871 || !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2))) in get_MFL_from_client_hello()
4875 while (PACKET_remaining(&pkt2)) { in get_MFL_from_client_hello()
4876 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
4877 || !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3))) in get_MFL_from_client_hello()
/third_party/ffmpeg/libavformat/
Dimg2enc.c81 AVPacket pkt2; in write_muxed_file() local
98 ret = av_packet_ref(&pkt2, pkt); in write_muxed_file()
101 pkt2.stream_index = 0; in write_muxed_file()
105 (ret = av_interleaved_write_frame(fmt, &pkt2)) < 0 || in write_muxed_file()
108 av_packet_unref(&pkt2); in write_muxed_file()
Dtee.c542 AVPacket pkt2; in tee_write_packet() local
567 if ((ret = av_packet_ref(&pkt2, pkt)) < 0) in tee_write_packet()
573 pkt2.stream_index = s2; in tee_write_packet()
575 ret = av_bsf_send_packet(bsfs, &pkt2); in tee_write_packet()
585 ret = av_bsf_receive_packet(bsfs, &pkt2); in tee_write_packet()
593 av_packet_rescale_ts(&pkt2, bsfs->time_base_out, in tee_write_packet()
595 ret = av_interleaved_write_frame(avf2, &pkt2); in tee_write_packet()
Dmpegtsenc.c1753 AVPacket *pkt2 = ts->pkt; in mpegts_write_packet_internal() local
1759 av_packet_unref(pkt2); in mpegts_write_packet_internal()
1760 pkt2->data = pkt->data; in mpegts_write_packet_internal()
1761 pkt2->size = pkt->size; in mpegts_write_packet_internal()
1763pkt2->dts = av_rescale_q(pkt->dts, st->time_base, ts_st->amux->streams[0]->time_base); in mpegts_write_packet_internal()
1769 ret = av_write_frame(ts_st->amux, pkt2); in mpegts_write_packet_internal()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c4333 uint32_t pkt2[GENX(name##_length)] = {0}; \
4334 _iris_pack_command(batch, GENX(name), pkt2, p) { \
4337 iris_emit_merge(batch, pkt, pkt2, GENX(name##_length)); \
4344 uint32_t pkt2[GENX(name##_length)] = {0}; \
4345 _iris_pack_command(batch, GENX(name), pkt2, p) { \
4349 iris_emit_merge(batch, pkt, pkt2, GENX(name##_length)); \