HomeSort by relevance Sort by last modified time
    Searched defs:packet (Results 26 - 50 of 551) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
CapabilitiesTest.java 50 * there are no extra data in the reply packet;
55 CommandPacket packet = new CommandPacket( local
60 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
CreateStringTest.java 57 CommandPacket packet = new CommandPacket( local
60 packet.setNextValueAsString(CHECKED_STRING);
63 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
68 packet = new CommandPacket(
71 packet.setNextValueAsObjectID(stringID);
74 reply = debuggeeWrapper.vmMirror.performCommand(packet);
DisposeObjectsTest.java 63 CommandPacket packet = new CommandPacket( local
66 packet.setNextValueAsString(CHECKED_STRING);
68 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
75 packet = new CommandPacket(
78 packet.setNextValueAsInt(1);
79 packet.setNextValueAsObjectID(stringID);
80 packet.setNextValueAsInt(0);
81 reply = debuggeeWrapper.vmMirror.performCommand(packet);
87 packet = new CommandPacket(
90 packet.setNextValueAsObjectID(stringID)
    [all...]
DisposeTest.java 56 CommandPacket packet = new CommandPacket( local
61 debuggeeWrapper.vmMirror.performCommand(packet);
67 packet = new CommandPacket(
71 debuggeeWrapper.vmMirror.performCommand(packet);
  /external/deqp/framework/referencerenderer/
rrVertexPacket.cpp 21 * \brief Vertex packet and Vertex packet allocator
85 VertexPacket* packet = *--m_singleAllocPool.end(); local
87 return packet;
  /external/flac/libFLAC/
ogg_encoder_aspect.c 95 * packet. The packet is prefixed with
96 * + the one-byte packet type 0x7F
100 * - The first packet is flushed to the first page.
101 * - Each subsequent metadata block goes into its own packet.
102 * - Each metadata packet is flushed to page (this is not required,
105 * - Each subsequent FLAC audio frame goes into its own packet.
121 * Treat fLaC magic packet specially. We will note when we see it, then
122 * wait until we get the STREAMINFO and prepend it in that packet
125 ogg_packet packet; local
    [all...]
  /external/honggfuzz/linux/
pt.c 47 __attribute__((hot)) inline static void perf_ptAnalyzePkt(run_t* run, struct pt_packet* packet) {
48 if (packet->type != ppt_tip) {
53 switch (packet->payload.ip.ipc) {
55 ip = packet->payload.ip.ip & 0xFFFF;
58 ip = packet->payload.ip.ip & 0xFFFFFFFF;
61 ip = packet->payload.ip.ip & 0xFFFFFFFFFFFF;
64 ip = sext(packet->payload.ip.ip, 48);
67 ip = packet->payload.ip.ip;
110 struct pt_packet packet; local
111 errcode = pt_pkt_next(ptd, &packet, sizeof(packet))
    [all...]
  /external/kernel-headers/original/uapi/linux/
pg.h 6 pg.h defines the user interface to the generic ATAPI packet
50 char packet[12]; /* packet command */ member in struct:pg_write_hdr
  /external/libcups/cups/
testsnmp.c 27 static void print_packet(cups_snmp_t *packet, void *data);
119 * 'print_packet()' - Print the contents of the response packet.
123 print_packet(cups_snmp_t *packet, /* I - SNMP response packet */
132 printf("%s = ", _cupsSNMPOIDToString(packet->object_name, temp, sizeof(temp)));
134 switch (packet->object_type)
138 packet->object_value.boolean ? "TRUE" : "FALSE");
142 printf("INTEGER %d\n", packet->object_value.integer);
147 (char *)packet->object_value.string.bytes);
152 (char *)packet->object_value.string.bytes)
208 cups_snmp_t packet; \/* SNMP packet *\/ local
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_scene_queue.c 92 struct scene_packet packet; local
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet.scene = scene
    [all...]
  /external/perfetto/src/traced/probes/
process_stats_data_source_unittest.cc 66 std::unique_ptr<protos::TracePacket> packet = writer_raw_->ParseProto(); local
67 ASSERT_TRUE(packet->has_process_tree());
68 ASSERT_EQ(packet->process_tree().processes_size(), 1);
69 auto first_process = packet->process_tree().processes(0);
99 std::unique_ptr<protos::TracePacket> packet = writer_raw_->ParseProto(); local
100 ASSERT_TRUE(packet->has_process_tree());
101 const auto& proceses = packet->process_tree().processes();
102 const auto& threads = packet->process_tree().threads();
  /external/perfetto/src/tracing/core/
trace_writer_for_testing.cc 48 auto packet = std::unique_ptr<protos::TracePacket>(new protos::TracePacket()); local
52 if (!packet->ParseFromArray(buffer.get(), static_cast<int>(msg_size)))
54 return packet;
60 // finalized the previous packet.
  /external/webrtc/webrtc/base/
bufferqueue.cc 42 Buffer* packet = queue_.front();
45 bytes = std::min(bytes, packet->size());
46 memcpy(buffer, packet->data(), bytes);
50 free_list_.push_back(packet);
65 Buffer* packet; local
67 packet = free_list_.back();
70 packet = new Buffer(bytes, default_size_);
73 packet->SetData(static_cast<const uint8_t*>(buffer), bytes);
77 queue_.push_back(packet);
  /external/webrtc/webrtc/modules/audio_coding/acm2/
acm_send_test_oldapi.cc 22 #include "webrtc/modules/audio_coding/neteq/tools/packet.h"
76 Packet* AcmSendTestOldApi::NextPacket() {
80 // same throughout the whole test run, no packet at all will be delivered.
84 // Insert audio and process until one packet is produced.
99 // Encoded packet received.
107 // This method receives the callback from ACM when a new packet is produced.
115 // Store the packet locally.
125 Packet* AcmSendTestOldApi::CreatePacket() {
150 Packet* packet local
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/test/
RTPtimeshift.cc 51 NETEQTEST_RTPpacket packet; local
52 int packLen = packet.readFromFile(inFile);
58 uint32_t TSdiff = atoi(argv[3]) - packet.timeStamp();
64 SNdiff = startSN - packet.sequenceNumber();
68 ATdiff = startTS - packet.time();
73 packet.setTimeStamp(packet.timeStamp() + TSdiff);
74 packet.setSequenceNumber(packet.sequenceNumber() + SNdiff);
75 packet.setTime(packet.time() + ATdiff)
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
fec_receiver_impl.cc 85 LOG(LS_WARNING) << "Corrupt/truncated FEC packet.";
89 // Add to list without RED header, aka a virtual RTP packet
94 received_packet->pkt = new ForwardErrorCorrection::Packet;
108 LOG(LS_WARNING) << "Corrupt/truncated FEC packet.";
128 LOG(LS_WARNING) << "More than 2 blocks in packet not supported.";
131 // Check that the packet is long enough to contain data in the following
134 LOG(LS_WARNING) << "Block length longer than packet.";
164 second_received_packet->pkt = new ForwardErrorCorrection::Packet;
224 // Send received media packet to VCM.
226 ForwardErrorCorrection::Packet* packet local
247 ForwardErrorCorrection::Packet* packet = (*it)->pkt; local
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
app_unittest.cc 32 void BuildPacket() { packet = app.Build(); }
36 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header));
37 // Check there is exactly one RTCP packet in the buffer.
38 EXPECT_EQ(header.BlockSize(), packet->Length());
40 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes));
44 rtc::scoped_ptr<RawPacket> packet; member in class:webrtc::__anon44253::RtcpPacketAppTest
bye_unittest.cc 33 void BuildPacket() { packet = bye.Build(); }
37 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header));
38 // Check that there is exactly one RTCP packet in the buffer.
39 EXPECT_EQ(header.BlockSize(), packet->Length());
41 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes));
45 rtc::scoped_ptr<RawPacket> packet; member in class:webrtc::__anon44254::RtcpPacketByeTest
67 EXPECT_EQ(16u, packet->Length()); // Header: 4, 3xSRCs: 12, Reason: 0.
85 EXPECT_EQ(28u, packet->Length()); // Header: 4, 3xSRCs: 12, Reason: 12.
118 // Test that packet creation/parsing behave with reasons of different lengt
    [all...]
extended_jitter_report_unittest.cc 28 void BuildPacket() { packet = ij.Build(); }
32 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header));
33 EXPECT_EQ(header.BlockSize(), packet->Length());
35 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes));
39 rtc::scoped_ptr<RawPacket> packet; member in class:webrtc::__anon44256::RtcpPacketExtendedJitterReportTest
47 // No initialization because packet is empty.
88 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header);
94 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes))
    [all...]
  /external/webrtc/webrtc/modules/video_coding/codecs/test/
packet_manipulator.cc 49 uint8_t* packet = NULL; local
54 while ((nbr_bytes_to_read = packet_reader_->NextPacket(&packet)) > 0) {
55 // Check if we're currently in a packet loss burst that is not completed:
  /external/webrtc/webrtc/test/
rtp_file_reader_unittest.cc 33 test::RtpPacket packet; local
35 while (rtp_packet_source_->NextPacket(&packet)) {
37 EXPECT_LT(packet.length, packet.original_length);
39 EXPECT_EQ(packet.length, packet.original_length);
74 test::RtpPacket packet; local
75 while (rtp_packet_source_->NextPacket(&packet)) {
76 EXPECT_EQ(packet.length, packet.original_length)
84 test::RtpPacket packet; local
    [all...]
rtp_file_writer_unittest.cc 31 test::RtpPacket packet; local
33 packet.length = i;
34 packet.original_length = i;
35 packet.time_ms = i;
36 memset(packet.data, i, packet.length);
37 EXPECT_TRUE(rtp_writer_->WritePacket(&packet));
49 test::RtpPacket packet; local
51 while (rtp_reader->NextPacket(&packet)) {
53 EXPECT_EQ(static_cast<size_t>(i), packet.length)
    [all...]
  /hardware/google/apf/
apf_run.c 17 // Simple program to try running an APF program against a packet.
62 "Usage: %s <program> <packet> [<data>] [<age>]\n"
64 " packet: Packet to run through program, in hex\n"
72 uint8_t* packet; local
73 uint32_t packet_len = parse_hex(argv[2], &packet);
86 int ret = accept_packet(program, program_len, ram_len, packet, packet_len,
88 printf("Packet %sed\n", ret ? "pass" : "dropp");
95 free(packet);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
pg.h 5 pg.h defines the user interface to the generic ATAPI packet
49 char packet[12]; /* packet command */ member in struct:pg_write_hdr
  /system/bt/stack/test/common/
stack_test_packet_utils.cc 60 auto packet = reinterpret_cast<BT_HDR*>(osi_malloc(packet_size)); local
61 // Add ACL packet overhead + L2CAP packet overhead
62 packet->offset = 4 + L2CAP_PKT_OVERHEAD;
63 packet->len = static_cast<uint16_t>(buffer_length - 4 - L2CAP_PKT_OVERHEAD);
64 packet->layer_specific = 0;
65 packet->event = MSG_HC_TO_STACK_HCI_ACL;
66 memcpy(packet->data, acl_packet_bytes, buffer_length);
67 return packet;
81 auto packet = reinterpret_cast<BT_HDR*>(osi_malloc(packet_size)) local
    [all...]

Completed in 605 milliseconds

12 3 4 5 6 7 8 91011>>