Home
last modified time | relevance | path

Searched refs:test_packet (Results 1 – 25 of 79) sorted by relevance

1234

/dports/www/chromium-legacy/chromium-88.0.4324.182/media/filters/
H A Dffmpeg_aac_bitstream_converter_unittest.cc62 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
63 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
94 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
106 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
107 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
120 test_packet.reset(new AVPacket()); in TEST_F()
121 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
133 test_packet.reset(new AVPacket()); in TEST_F()
134 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
145 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
[all …]
H A Dffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc307 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
308 CreatePacket(test_packet.get(), kPacketDataOkWithFieldLen4, in TEST_F()
313 EXPECT_TRUE(converter.ConvertPacket(test_packet.get())); in TEST_F()
322 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
326 CreatePacket(test_packet.get(), excess_data, sizeof(excess_data)); in TEST_F()
330 EXPECT_TRUE(converter.ConvertPacket(test_packet.get())); in TEST_F()
346 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
347 CreatePacket(test_packet.get(), kPacketDataOkWithFieldLen4, in TEST_F()
351 EXPECT_FALSE(converter.ConvertPacket(test_packet.get())); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/filters/
H A Dffmpeg_aac_bitstream_converter_unittest.cc62 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
63 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
94 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
106 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
107 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
120 test_packet.reset(new AVPacket()); in TEST_F()
121 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
133 test_packet.reset(new AVPacket()); in TEST_F()
134 CreatePacket(test_packet.get(), dummy_packet, in TEST_F()
145 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
[all …]
H A Dffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc307 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
308 CreatePacket(test_packet.get(), kPacketDataOkWithFieldLen4, in TEST_F()
313 EXPECT_TRUE(converter.ConvertPacket(test_packet.get())); in TEST_F()
322 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
326 CreatePacket(test_packet.get(), excess_data, sizeof(excess_data)); in TEST_F()
330 EXPECT_TRUE(converter.ConvertPacket(test_packet.get())); in TEST_F()
346 ScopedAVPacket test_packet(new AVPacket()); in TEST_F() local
347 CreatePacket(test_packet.get(), kPacketDataOkWithFieldLen4, in TEST_F()
351 EXPECT_FALSE(converter.ConvertPacket(test_packet.get())); in TEST_F()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/lib/vita_200/
H A Dchdr_16sc_to_8sc_tb.v50 task test_packet; task
118 test_packet(2, 32'hDEAD_BEEF);
121 test_packet(4, 32'hDEAD_BEEF);
124 test_packet(6, 32'hDEAD_BEEF);
127 test_packet(8, 32'hDEAD_BEEF);
130 test_packet(10, 32'hDEAD_BEEF);
133 test_packet(12, 32'hDEAD_BEEF);
136 test_packet(14, 32'hDEAD_BEEF);
139 test_packet(16, 32'hDEAD_BEEF);
142 test_packet(32, 32'hDEAD_BEEF);
H A Dchdr_12sc_to_16sc_tb.v54 task test_packet; task
138 test_packet(3, 32'hDEAD_BEEF);
142 test_packet(6, 32'hDEAD_BEEF);
146 test_packet(9, 32'hDEAD_BEEF);
155 test_packet(12, 32'hDEAD_BEEF);
159 test_packet(15, 32'hDEAD_BEEF);
163 test_packet(18, 32'hDEAD_BEEF);
167 test_packet(21, 32'hDEAD_BEEF);
172 test_packet(24, 32'hDEAD_BEEF);
177 test_packet(27, 32'hDEAD_BEEF);
H A Dchdr_8sc_to_16sc_tb.v55 task test_packet; task
132 test_packet(2, 32'hDEAD_BEEF);
134 test_packet(4, 32'hDEAD_BEEF);
136 test_packet(6, 32'hDEAD_BEEF);
138 test_packet(8, 32'hDEAD_BEEF);
140 test_packet(10, 32'hDEAD_BEEF);
142 test_packet(12, 32'hDEAD_BEEF);
144 test_packet(14, 32'hDEAD_BEEF);
146 test_packet(16, 32'hDEAD_BEEF);
H A Dchdr_16sc_to_12sc_tb.v55 task test_packet; task
136 test_packet(4, 32'hDEAD_BEEF);
139 test_packet(8, 32'hDEAD_BEEF);
142 test_packet(12, 32'hDEAD_BEEF);
146 test_packet(16, 32'hDEAD_BEEF);
149 test_packet(20, 32'hDEAD_BEEF);
152 test_packet(24, 32'hDEAD_BEEF);
159 test_packet(28, 32'hDEAD_BEEF);
163 test_packet(32, 32'hDEAD_BEEF);
H A Dchdr_32f_to_16sc_tb.v55 task test_packet; task
135 test_packet(4, 32'hDEAD_BEEF);
138 test_packet(8, 32'hDEAD_BEEF);
141 test_packet(16, 32'hDEAD_BEEF);
144 test_packet(20, 32'hDEAD_BEEF);
147 test_packet(24, 32'hDEAD_BEEF);
150 test_packet(28, 32'hDEAD_BEEF);
H A Dchdr_16sc_to_32f_tb.v56 task test_packet; task
134 test_packet(2, 32'hDEAD_BEEF);
137 test_packet(4, 32'hDEAD_BEEF);
140 test_packet(6, 32'hDEAD_BEEF);
143 test_packet(8, 32'hDEAD_BEEF);
/dports/net-im/tox/c-toxcore-0.2.13/auto_tests/
H A DTCP_test.c320 write_packet_TCP_secure_connection(con3, test_packet, sizeof(test_packet)); in START_TEST()
321 write_packet_TCP_secure_connection(con3, test_packet, sizeof(test_packet)); in START_TEST()
322 write_packet_TCP_secure_connection(con3, test_packet, sizeof(test_packet)); in START_TEST()
337 data[sizeof(test_packet) - 2], data[sizeof(test_packet) - 1]); in START_TEST()
341 data[sizeof(test_packet) - 2], data[sizeof(test_packet) - 1]); in START_TEST()
345 data[sizeof(test_packet) - 2], data[sizeof(test_packet) - 1]); in START_TEST()
346 write_packet_TCP_secure_connection(con1, test_packet, sizeof(test_packet)); in START_TEST()
347 write_packet_TCP_secure_connection(con1, test_packet, sizeof(test_packet)); in START_TEST()
348 write_packet_TCP_secure_connection(con1, test_packet, sizeof(test_packet)); in START_TEST()
353 data[sizeof(test_packet) - 2], data[sizeof(test_packet) - 1]); in START_TEST()
[all …]
/dports/devel/p5-Gearman/Gearman-2.004.015/t/
H A D65-responseparser.t11 test_packet("\0RES\0\0\0\x0a\0\0\0\x01!", {
17 test_packet("\0RES\0\0\0\x0a\0\0\0\0", {
36 test_packet("\0RE", undef);
37 test_packet("S\0\0\0\x0a\0\0\0\0", {
44 test_packet("\0RES\0\0\0\x0a\0\0\0\x02a", undef);
45 test_packet("b", {
54 test_packet("\0RES\0\0\0\x0a\0\0\0\x02ab\0RES\0\0\0\x0a\0\0\0\x02b", {
59 test_packet("a", {
65 sub test_packet {
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/srtp/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/www/firefox/firefox-99.0/third_party/libsrtp/src/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libsrtp/src/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/srtp/src/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libsrtp/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libsrtp/src/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/srtp/src/test/
H A Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/dports/net/sniproxy/sniproxy-0.6.0/tests/
H A Dtls_test.c7 struct test_packet { struct
408 static struct test_packet good[] = {
416 static struct test_packet bad[] = {
429 for (i = 0; i < sizeof(good) / sizeof(struct test_packet); i++) { in main()
446 for (i = 0; i < sizeof(bad) / sizeof(struct test_packet); i++) { in main()
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/protocol/
H A Dchromium_socket_factory_unittest.cc79 std::string test_packet("TEST PACKET"); in VerifyCanSendAndReceive() local
83 sender->SendTo(test_packet.data(), test_packet.size(), in VerifyCanSendAndReceive()
89 EXPECT_EQ(test_packet, last_packet_); in VerifyCanSendAndReceive()
167 std::string test_packet("TEST"); in TEST_F() local
172 sending_socket->SendTo(test_packet.data(), test_packet.size(), in TEST_F()
/dports/science/hdf5-18/hdf5-1.8.21/hl/test/
H A DMakefile.am30 TEST_PROG=test_lite test_image test_file_image test_table test_ds test_packet test_dset_opt
51 test_packet_SOURCES=test_packet.c test_packet_vlen.c
/dports/science/hdf5/hdf5-1.10.6/hl/test/
H A DMakefile.am29 TEST_PROG=test_lite test_image test_file_image test_table test_ds test_packet \
52 test_packet_SOURCES=test_packet.c test_packet_vlen.c
/dports/net/py-dpkt/dpkt-1.9.6/dpkt/
H A Ddpkt.py310 test_packet = TestPacket()
311 assert repr(test_packet) == "TestPacket()"
314 test_packet = TestPacket(b'\x12')
315 assert repr(test_packet) == "TestPacket(a=1, b=2)"
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/cast/net/rtp/
H A Dpacket_storage_unittest.cc34 Packet test_packet(1, 0); in StoreFrames() local
38 new base::RefCountedData<Packet>(test_packet))); in StoreFrames()

1234