Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 25 of 2028) sorted by relevance

12345678910>>...82

/external/webrtc/webrtc/modules/video_coding/
Ddecoding_state_unittest.cc34 VCMPacket packet; in TEST() local
35 packet.isFirstPacket = true; in TEST()
36 packet.timestamp = 1; in TEST()
37 packet.seqNum = 0xffff; in TEST()
38 packet.frameType = kVideoFrameDelta; in TEST()
39 packet.codecSpecificHeader.codec = kRtpVideoVp8; in TEST()
40 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x007F; in TEST()
44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data)); in TEST()
48 packet.frameType = kVideoFrameKey; in TEST()
49 EXPECT_LE(0, frame_key.InsertPacket(packet, 0, kNoErrors, frame_data)); in TEST()
[all …]
/external/OpenCSD/decoder/tests/snapshots/TC2/pkt_proc_logs/
Dtrc_pkt_lister_0x13.ppl23 Idx:26571; ID:13; ISYNC : Instruction Synchronisation packet; (Periodic); Addr=0xc0018d82; S; ISA=…
24 Idx:26579; ID:13; TIMESTAMP : Timestamp packet; TS=0x00000082F9D18BCC ~[0x82F9D18BCC](562537008076)…
25 Idx:26590; ID:13; ATOM : Atom packet; E; Cycles=522;
26 Idx:26593; ID:13; ATOM : Atom packet; N; Cycles=23;
27 Idx:26595; ID:13; ATOM : Atom packet; E; Cycles=15;
28 Idx:26596; ID:13; ISYNC : Instruction Synchronisation packet; (Trace Enable); Addr=0xc0018dde; S; …
29 Idx:26604; ID:13; ATOM : Atom packet; E; Cycles=1;
30 Idx:26605; ID:13; ISYNC : Instruction Synchronisation packet; (Trace Enable); Addr=0xc0018de4; S; …
31 Idx:26614; ID:13; ATOM : Atom packet; E; Cycles=1;
32 Idx:26615; ID:13; ATOM : Atom packet; N; Cycles=16;
[all …]
Dtrc_pkt_lister-dcd-0x13.ppl32 Idx:26571; ID:13; [0x08 0x83 0x8d 0x01 0xc0 0x01 ]; ISYNC : Instruction Synchronisation packet; (Pe…
35 …cc 0x97 0xc6 0xce 0xaf 0x90 0x80 0x80 0x00 0x00 ]; TIMESTAMP : Timestamp packet; TS=0x00000082F9D1…
37 Idx:26590; ID:13; [0xe8 0x20 ]; ATOM : Atom packet; E; Cycles=522;
39 Idx:26593; ID:13; [0xde 0x01 ]; ATOM : Atom packet; N; Cycles=23;
41 Idx:26595; ID:13; [0xbc ]; ATOM : Atom packet; E; Cycles=15;
43 …xdf 0x8d 0x01 0xc0 0x21 0xcc 0x03 ]; ISYNC : Instruction Synchronisation packet; (Trace Enable); A…
45 Idx:26604; ID:13; [0x84 ]; ATOM : Atom packet; E; Cycles=1;
47 …xe5 0x8d 0x01 0xc0 0x21 0xe4 0x07 ]; ISYNC : Instruction Synchronisation packet; (Trace Enable); A…
49 Idx:26614; ID:13; [0x84 ]; ATOM : Atom packet; E; Cycles=1;
51 Idx:26615; ID:13; [0xc2 0x01 ]; ATOM : Atom packet; N; Cycles=16;
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter_unittest.cc79 Packet* packet = new Packet; in CreateRedPayload() local
80 packet->header.payloadType = kRedPayloadType; in CreateRedPayload()
81 packet->header.timestamp = kBaseTimestamp; in CreateRedPayload()
82 packet->header.sequenceNumber = kSequenceNumber; in CreateRedPayload()
83 packet->payload_length = (kPayloadLength + 1) + in CreateRedPayload()
85 uint8_t* payload = new uint8_t[packet->payload_length]; in CreateRedPayload()
118 packet->payload = payload; in CreateRedPayload()
119 return packet; in CreateRedPayload()
125 Packet* packet = new Packet; in CreatePacket() local
126 packet->header.payloadType = payload_type; in CreatePacket()
[all …]
Dpayload_splitter.cc129 Packet* packet = (*it); // Just to make the notation more intuitive. in SplitFec() local
131 uint8_t payload_type = packet->header.payloadType; in SplitFec()
139 if (packet->sync_packet) { in SplitFec()
149 !decoder->PacketHasFec(packet->payload, packet->payload_length)) { in SplitFec()
159 packet->primary = true; in SplitFec()
162 new_packet->header = packet->header; in SplitFec()
164 PacketDurationRedundant(packet->payload, packet->payload_length); in SplitFec()
166 new_packet->payload = new uint8_t[packet->payload_length]; in SplitFec()
167 memcpy(new_packet->payload, packet->payload, packet->payload_length); in SplitFec()
168 new_packet->payload_length = packet->payload_length; in SplitFec()
[all …]
Dpacket_buffer.cc32 bool operator()(Packet* packet) { in operator ()() argument
33 return (*new_packet_ >= *packet); in operator ()()
57 int PacketBuffer::InsertPacket(Packet* packet) { in InsertPacket() argument
58 if (!packet || !packet->payload) { in InsertPacket()
59 if (packet) { in InsertPacket()
60 delete packet; in InsertPacket()
80 NewTimestampIsLarger(packet)); in InsertPacket()
86 packet->header.timestamp == (*rit)->header.timestamp) { in InsertPacket()
87 delete [] packet->payload; in InsertPacket()
88 delete packet; in InsertPacket()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DParsedEvent.java44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { in ParsedEvent() argument
46 this.requestID = packet.getNextValueAsInt(); in ParsedEvent()
88 protected EventThread(byte suspendPolicy, Packet packet, byte eventKind) { in EventThread() argument
89 super(suspendPolicy, packet, eventKind); in EventThread()
90 this.threadID = packet.getNextValueAsThreadID(); in EventThread()
114 protected EventThreadLocation(byte suspendPolicy, Packet packet, in EventThreadLocation() argument
116 super(suspendPolicy, packet, eventKind); in EventThreadLocation()
117 this.location = packet.getNextValueAsLocation(); in EventThreadLocation()
142 protected EventThreadMonitor(byte suspendPolicy, Packet packet, in EventThreadMonitor() argument
144 super(suspendPolicy, packet, eventKind); in EventThreadMonitor()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_estimator_proxy_unittest.cc27 MOCK_METHOD1(SendFeedback, bool(rtcp::TransportFeedback* packet));
66 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F() argument
67 packet->Build(); in TEST_F()
68 EXPECT_EQ(kBaseSeq, packet->GetBaseSequence()); in TEST_F()
69 EXPECT_EQ(kMediaSsrc, packet->GetMediaSourceSsrc()); in TEST_F()
72 packet->GetStatusVector(); in TEST_F()
76 std::vector<int64_t> delta_vec = packet->GetReceiveDeltasUs(); in TEST_F()
78 EXPECT_EQ(kBaseTimeMs, (packet->GetBaseTimeUs() + delta_vec[0]) / 1000); in TEST_F()
92 .WillOnce(Invoke([this](rtcp::TransportFeedback* packet) { in TEST_F() argument
93 packet->Build(); in TEST_F()
[all …]
/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c45 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) in parsePacket() argument
47 UINT16_t len = ntohs(packet->length); in parsePacket()
51 if (PPPOE_VER(packet->vertype) != 1) { in parsePacket()
52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype)); in parsePacket()
55 if (PPPOE_TYPE(packet->vertype) != 1) { in parsePacket()
56 error("Invalid PPPoE type (%d)", PPPOE_TYPE(packet->vertype)); in parsePacket()
67 curTag = packet->payload; in parsePacket()
68 while(curTag - packet->payload < len) { in parsePacket()
75 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()
98 PPPoEPacket packet; in sendPADT() local
[all …]
/external/libcups/cups/
Dsnmp.c34 cups_snmp_t *packet);
36 cups_snmp_t *packet);
65 static void snmp_set_error(cups_snmp_t *packet,
160 _cupsSNMPIsOID(cups_snmp_t *packet, /* I - Response packet */ in _cupsSNMPIsOID() argument
170 DEBUG_printf(("4_cupsSNMPIsOID(packet=%p, oid=%p)", packet, oid)); in _cupsSNMPIsOID()
172 if (!packet || !oid) in _cupsSNMPIsOID()
184 i < CUPS_SNMP_MAX_OID && oid[i] >= 0 && packet->object_name[i] >= 0; in _cupsSNMPIsOID()
186 if (oid[i] != packet->object_name[i]) in _cupsSNMPIsOID()
194 i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i])); in _cupsSNMPIsOID()
196 return (i < CUPS_SNMP_MAX_OID && oid[i] == packet->object_name[i]); in _cupsSNMPIsOID()
[all …]
Dtestsnmp.c27 static void print_packet(cups_snmp_t *packet, void *data);
123 print_packet(cups_snmp_t *packet, /* I - SNMP response packet */ in print_packet() argument
132 printf("%s = ", _cupsSNMPOIDToString(packet->object_name, temp, sizeof(temp))); in print_packet()
134 switch (packet->object_type) in print_packet()
138 packet->object_value.boolean ? "TRUE" : "FALSE"); in print_packet()
142 printf("INTEGER %d\n", packet->object_value.integer); in print_packet()
147 (char *)packet->object_value.string.bytes); in print_packet()
152 (char *)packet->object_value.string.bytes); in print_packet()
160 printf("OID %s\n", _cupsSNMPOIDToString(packet->object_value.oid, in print_packet()
166 for (i = 0; i < packet->object_value.string.num_bytes; i ++) in print_packet()
[all …]
/external/autotest/client/cros/
Ddhcp_packet.py511 packet = DhcpPacket()
512 packet.set_field(FIELD_OP, FIELD_VALUE_OP_CLIENT_REQUEST)
513 packet.set_field(FIELD_HWTYPE, FIELD_VALUE_HWTYPE_10MB_ETH)
514 packet.set_field(FIELD_HWADDR_LEN, FIELD_VALUE_HWADDR_LEN_10MB_ETH)
515 packet.set_field(FIELD_RELAY_HOPS, 0)
516 packet.set_field(FIELD_TRANSACTION_ID, random.getrandbits(32))
517 packet.set_field(FIELD_TIME_SINCE_START, 0)
518 packet.set_field(FIELD_FLAGS, 0)
519 packet.set_field(FIELD_CLIENT_IP, IPV4_NULL_ADDRESS)
520 packet.set_field(FIELD_YOUR_IP, IPV4_NULL_ADDRESS)
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodTest.java68 CommandPacket packet = new CommandPacket( in testInvokeMethod001() local
72 packet.setNextValueAsString(classSig); in testInvokeMethod001()
73 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001()
96 packet = new CommandPacket( in testInvokeMethod001()
99 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testInvokeMethod001()
100 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testInvokeMethod001()
101 packet.setNextValueAsInt(1); in testInvokeMethod001()
102 packet.setNextValueAsByte((byte) 5); in testInvokeMethod001()
103 packet.setNextValueAsString("*.InvokeMethodDebuggee"); in testInvokeMethod001()
104 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testInvokeMethod001()
[all …]
DNewInstanceTest.java66 CommandPacket packet = new CommandPacket( in testNewInstance001() local
70 packet.setNextValueAsString(classSig); in testNewInstance001()
71 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001()
92 packet = new CommandPacket( in testNewInstance001()
95 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
96 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testNewInstance001()
97 packet.setNextValueAsInt(1); in testNewInstance001()
98 packet.setNextValueAsByte((byte) 5); in testNewInstance001()
99 packet.setNextValueAsString("*.InvokeMethodDebuggee"); in testNewInstance001()
101 reply = debuggeeWrapper.vmMirror.performCommand(packet); in testNewInstance001()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc54 Packet packet(packet_memory, kPacketLengthBytes, kPacketTime); in TEST() local
55 ASSERT_TRUE(packet.valid_header()); in TEST()
56 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
57 EXPECT_EQ(kSequenceNumber, packet.header().sequenceNumber); in TEST()
58 EXPECT_EQ(kTimestamp, packet.header().timestamp); in TEST()
59 EXPECT_EQ(kSsrc, packet.header().ssrc); in TEST()
60 EXPECT_EQ(0, packet.header().numCSRCs); in TEST()
61 EXPECT_EQ(kPacketLengthBytes, packet.packet_length_bytes()); in TEST()
63 packet.payload_length_bytes()); in TEST()
64 EXPECT_EQ(kPacketLengthBytes, packet.virtual_packet_length_bytes()); in TEST()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cl.h142 #define cl_packet_header(packet) V3DX(packet ## _header) argument
143 #define cl_packet_length(packet) V3DX(packet ## _length) argument
144 #define cl_aligned_packet_length(packet, alignment) ALIGN(cl_packet_length(packet), alignment) argument
145 #define cl_packet_pack(packet) V3DX(packet ## _pack) argument
146 #define cl_packet_struct(packet) V3DX(packet) argument
162 #define cl_emit(cl, packet, name) \ argument
163 for (struct cl_packet_struct(packet) name = { \
164 cl_packet_header(packet) \
170 cl_packet_pack(packet)(cl, (uint8_t *)cl_out, &name); \
171 cl_advance(&cl_out, cl_packet_length(packet)); \
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodTest.java62 CommandPacket packet = new CommandPacket( in setEventRequest() local
65 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in setEventRequest()
66 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in setEventRequest()
67 packet.setNextValueAsInt(1); in setEventRequest()
68 packet.setNextValueAsByte((byte) 5); in setEventRequest()
69 packet.setNextValueAsString("*.InvokeMethodDebuggee"); in setEventRequest()
72 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); in setEventRequest()
109 CommandPacket packet = new CommandPacket( in clearEvent() local
112 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in clearEvent()
113 packet.setNextValueAsInt(requestID); in clearEvent()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc75 void ParseAndCheckPacket(const uint8_t* packet, in ParseAndCheckPacket() argument
81 ASSERT_TRUE(depacketizer->Parse(&parsed, packet, expected_length)); in ParseAndCheckPacket()
85 VerifyPayload(parsed, packet + expected_hdr_length, kExpectedPayloadLength); in ParseAndCheckPacket()
149 void CheckPayload(const uint8_t* packet, in CheckPayload() argument
154 EXPECT_EQ(packet[i], payload_[payload_pos_++]); in CheckPayload()
477 uint8_t packet[4] = {0}; in TEST_F() local
478 packet[0] = 0x0C; // I:0 P:0 L:0 F:0 B:1 E:1 V:0 R:0 in TEST_F()
481 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
486 uint8_t packet[10] = {0}; in TEST_F() local
487 packet[0] = 0x80; // I:1 P:0 L:0 F:0 B:0 E:0 V:0 R:0 in TEST_F()
[all …]
Drtp_format_vp8_unittest.cc429 uint8_t packet[4] = {0}; in TEST_F() local
430 packet[0] = 0x14; // Binary 0001 0100; S = 1, PartID = 4. in TEST_F()
431 packet[1] = 0x01; // P frame. in TEST_F()
434 ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); in TEST_F()
436 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
448 uint8_t packet[10] = {0}; in TEST_F() local
449 packet[0] = 0xA0; in TEST_F()
450 packet[1] = 0x80; in TEST_F()
451 packet[2] = kPictureId; in TEST_F()
454 ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); in TEST_F()
[all …]
/external/scapy/scapy/contrib/
Dgsm_um.py39 from scapy.packet import *
189 packet = a / b / c
193 packet = packet / d
196 packet = packet / e
197 return packet
224 packet = a / b / c / d
227 packet = packet / e
230 packet = packet / f
233 packet = packet / g
236 packet = packet / h
[all …]
/external/webrtc/talk/media/base/
Drtpdump_unittest.cc78 RtpDumpPacket packet; in TEST() local
88 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
97 EXPECT_EQ(rtc::SR_SUCCESS, reader->ReadPacket(&packet)); in TEST()
106 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet)); in TEST()
115 EXPECT_EQ(rtc::SR_ERROR, reader->ReadPacket(&packet)); in TEST()
128 RtpDumpPacket packet; in TEST() local
131 EXPECT_EQ(rtc::SR_SUCCESS, reader.ReadPacket(&packet)); in TEST()
133 EXPECT_TRUE(GetRtpSsrc(&packet.data[0], packet.data.size(), &ssrc)); in TEST()
137 EXPECT_EQ(rtc::SR_EOS, reader.ReadPacket(&packet)); in TEST()
145 EXPECT_EQ(rtc::SR_SUCCESS, reader_w_ssrc.ReadPacket(&packet)); in TEST()
[all …]
/external/eigen/Eigen/src/Core/arch/AVX512/
DPacketMath.h1050 __m512 T0 = _mm512_unpacklo_ps(kernel.packet[0], kernel.packet[1]);
1051 __m512 T1 = _mm512_unpackhi_ps(kernel.packet[0], kernel.packet[1]);
1052 __m512 T2 = _mm512_unpacklo_ps(kernel.packet[2], kernel.packet[3]);
1053 __m512 T3 = _mm512_unpackhi_ps(kernel.packet[2], kernel.packet[3]);
1054 __m512 T4 = _mm512_unpacklo_ps(kernel.packet[4], kernel.packet[5]);
1055 __m512 T5 = _mm512_unpackhi_ps(kernel.packet[4], kernel.packet[5]);
1056 __m512 T6 = _mm512_unpacklo_ps(kernel.packet[6], kernel.packet[7]);
1057 __m512 T7 = _mm512_unpackhi_ps(kernel.packet[6], kernel.packet[7]);
1058 __m512 T8 = _mm512_unpacklo_ps(kernel.packet[8], kernel.packet[9]);
1059 __m512 T9 = _mm512_unpackhi_ps(kernel.packet[8], kernel.packet[9]);
[all …]
/external/webrtc/webrtc/modules/video_coding/test/
Dstream_generator.cc61 VCMPacket packet; in GeneratePacket() local
62 packet.seqNum = sequence_number; in GeneratePacket()
63 packet.timestamp = timestamp; in GeneratePacket()
64 packet.frameType = type; in GeneratePacket()
65 packet.isFirstPacket = first_packet; in GeneratePacket()
66 packet.markerBit = marker_bit; in GeneratePacket()
67 packet.sizeBytes = size; in GeneratePacket()
68 packet.dataPtr = packet_buffer_; in GeneratePacket()
69 if (packet.isFirstPacket) in GeneratePacket()
70 packet.completeNALU = kNaluStart; in GeneratePacket()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc361 auto* packet = trace_.add_packet(); in TEST_F() local
362 packet->set_timestamp(100); in TEST_F()
364 auto* bundle = packet->set_ftrace_events(); in TEST_F()
559 auto* packet = trace_.add_packet(); in TEST_F() local
561 packet->set_timestamp(ts); in TEST_F()
562 auto* bundle = packet->set_sys_stats(); in TEST_F()
576 auto* packet = trace_.add_packet(); in TEST_F() local
578 packet->set_timestamp(ts); in TEST_F()
579 auto* bundle = packet->set_sys_stats(); in TEST_F()
636 auto* packet = trace_.add_packet(); in TEST_F() local
[all …]
/external/libopus/tests/
Dtest_opus_api.c92 unsigned char packet[1276]; in test_dec_api() local
189 VG_UNDEF(packet,sizeof(packet)); in test_dec_api()
190 packet[0]=63<<2;packet[1]=packet[2]=0; in test_dec_api()
191 if(opus_decode(dec, packet, 3, sbuf, 960, 0)!=960)test_failed(); in test_dec_api()
197 packet[0]=1; in test_dec_api()
198 if(opus_decode(dec, packet, 1, sbuf, 960, 0)!=960)test_failed(); in test_dec_api()
248 VG_UNDEF(packet,sizeof(packet)); in test_dec_api()
249 packet[0]=0; in test_dec_api()
250 if(opus_decoder_get_nb_samples(dec,packet,1)!=480)test_failed(); in test_dec_api()
251 if(opus_packet_get_nb_samples(packet,1,48000)!=480)test_failed(); in test_dec_api()
[all …]

12345678910>>...82