Home
last modified time | relevance | path

Searched refs:packet_data (Results 1 – 25 of 32) sorted by relevance

12

/external/webrtc/rtc_tools/network_tester/
Dpacket_logger.cc35 std::string packet_data; in LogPacket() local
36 packet.SerializeToString(&packet_data); in LogPacket()
37 RTC_DCHECK_LE(packet_data.length(), 255); in LogPacket()
38 RTC_DCHECK_GE(packet_data.length(), 0); in LogPacket()
39 char proto_size = packet_data.length(); in LogPacket()
41 packet_logger_stream_.write(packet_data.data(), packet_data.length()); in LogPacket()
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_packet_source_input.cc42 std::unique_ptr<PacketData> packet_data(new PacketData); in PopPacket() local
43 packet_data->header = packet_->header(); in PopPacket()
48 packet_data->payload.SetSize(packet_->virtual_payload_length_bytes()); in PopPacket()
49 std::fill_n(packet_data->payload.data(), packet_data->payload.size(), 0); in PopPacket()
51 packet_data->payload.SetData(packet_->payload(), in PopPacket()
54 packet_data->time_ms = packet_->time_ms(); in PopPacket()
58 return packet_data; in PopPacket()
Dneteq_test.cc113 std::unique_ptr<NetEqInput::PacketData> packet_data = input_->PopPacket(); in RunToNextGetAudio() local
114 RTC_CHECK(packet_data); in RunToNextGetAudio()
116 packet_data->payload.size() - packet_data->header.paddingLength; in RunToNextGetAudio()
119 packet_data->header, in RunToNextGetAudio()
120 rtc::ArrayView<const uint8_t>(packet_data->payload)); in RunToNextGetAudio()
122 callbacks_.error_callback->OnInsertPacketError(*packet_data); in RunToNextGetAudio()
125 callbacks_.post_insert_packet->AfterInsertPacket(*packet_data, in RunToNextGetAudio()
129 neteq_->InsertEmptyPacket(packet_data->header); in RunToNextGetAudio()
141 ? (static_cast<int64_t>(packet_data->header.timestamp) - in RunToNextGetAudio()
146 packet_data->payload.size() == 12 in RunToNextGetAudio()
[all …]
/external/perfetto/src/tracing/internal/
Dinterceptor_trace_writer.cc59 args.packet_data = protozero::ConstBytes{ in Flush()
62 bytes_written_ += static_cast<uint64_t>(args.packet_data.size); in Flush()
67 args.packet_data = in Flush()
/external/libwebm/m2ts/
Dvpxpes2ts.cc144 bool VpxPes2Ts::ReceivePacket(const PacketDataBuffer& packet_data) { in ReceivePacket() argument
148 int bytes_to_packetize = static_cast<int>(packet_data.size()); in ReceivePacket()
164 bytes_to_packetize == static_cast<int>(packet_data.size()), in ReceivePacket()
193 ts_buffer_[write_pos++] = packet_data[read_pos++]; in ReceivePacket()
Dwebm2pes.cc435 PacketDataBuffer* packet_data) { in WritePesPacket() argument
461 packet_data->clear(); in WritePesPacket()
477 if (header.Write(true, packet_data) != true) { in WritePesPacket()
483 if (bcmv_header.Write(packet_data) != true) { in WritePesPacket()
493 if (CopyAndEscapeStartCodes(payload_start, bytes_to_copy, packet_data) == in WritePesPacket()
507 if (header.Write(false, packet_data) != true) { in WritePesPacket()
514 packet_data) == false) { in WritePesPacket()
Dvpxpes2ts.h33 bool ReceivePacket(const PacketDataBuffer& packet_data) override;
Dwebm2pes.h225 PacketDataBuffer* packet_data);
/external/perfetto/include/perfetto/tracing/
Dinterceptor.h227 protozero::ConstBytes packet_data; member
301 protozero::ConstBytes packet_data; variable
306 : packet_data(args.packet_data), in InterceptorContext()
/external/perfetto/src/trace_processor/
Dtimestamped_trace_piece.h99 : packet_data{std::move(tbv), std::move(sequence_state)}, in TimestampedTracePiece()
163 new (&packet_data) TracePacketData(std::move(ttp.packet_data)); in TimestampedTracePiece()
217 packet_data.~TracePacketData(); in ~TimestampedTracePiece()
250 TracePacketData packet_data; member
Dtrace_sorter_unittest.cc61 TraceBlobView& tbv = ttp.packet_data.packet; in ParseTracePacket()
/external/webrtc/test/
Ddirect_transport.cc27 MediaType Demuxer::GetMediaType(const uint8_t* packet_data, in GetMediaType() argument
29 if (!RtpHeaderParser::IsRtcp(packet_data, packet_length)) { in GetMediaType()
31 const uint8_t payload_type = packet_data[1] & 0x7f; in GetMediaType()
Ddirect_transport.h34 MediaType GetMediaType(const uint8_t* packet_data,
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyze_audio.cc220 std::unique_ptr<PacketData> packet_data(new PacketData()); in PopPacket() local
221 packet_data->header = packet_stream_it_->rtp.header; in PopPacket()
222 packet_data->time_ms = packet_stream_it_->rtp.log_time_ms(); in PopPacket()
226 packet_data->payload.SetSize(packet_stream_it_->rtp.total_length - in PopPacket()
228 std::fill_n(packet_data->payload.data(), packet_data->payload.size(), 0); in PopPacket()
231 return packet_data; in PopPacket()
/external/perfetto/src/trace_processor/importers/proto/
Dgraphics_event_module.cc53 ttp.packet_data.sequence_state.get(), in ParsePacket()
65 parser_.ParseVulkanMemoryEvent(ttp.packet_data.sequence_state.get(), in ParsePacket()
Dprofile_module.cc71 ttp.packet_data.sequence_state.get(), in ParsePacket()
76 ParsePerfSample(ttp.timestamp, ttp.packet_data.sequence_state.get(), in ParsePacket()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp139 const char *packet_data = packet.data(); in SendRawPacketNoLock() local
141 size_t bytes_written = Write(packet_data, packet_length, status, nullptr); in SendRawPacketNoLock()
144 if (strncmp(packet_data, "$vFile:pwrite:", strlen("$vFile:pwrite:")) == in SendRawPacketNoLock()
146 const char *first_comma = strchr(packet_data, ','); in SendRawPacketNoLock()
150 binary_start_offset = second_comma - packet_data + 1; in SendRawPacketNoLock()
165 (int)binary_start_offset, packet_data); in SendRawPacketNoLock()
168 for (p = (const uint8_t *)packet_data + binary_start_offset; *p != '#'; in SendRawPacketNoLock()
176 (uint64_t)bytes_written, (int)packet_length, packet_data); in SendRawPacketNoLock()
189 packet_data); in SendRawPacketNoLock()
/external/pigweed/pw_rpc/
Dpacket_test.cc127 std::span<byte> packet_data(buffer, result.value().size()); in TEST() local
128 auto decode_result = Packet::FromBuffer(packet_data); in TEST()
/external/perfetto/docs/instrumentation/
Dinterceptors.md21 // bytes, accessed through the |context.packet_data| field.
27 context.packet_data.data, context.packet_data.size);
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc846 const uint8_t* packet_data = protozero::proto_utils::ParseVarInt( in ReadNextPacketInChunk() local
849 const uint8_t* next_packet = packet_data + packet_size; in ReadNextPacketInChunk()
896 packet->AddSlice(packet_data, static_cast<size_t>(packet_size)); in ReadNextPacketInChunk()
/external/webrtc/api/test/network_emulation/
Dnetwork_emulation_interfaces.h203 rtc::CopyOnWriteBuffer packet_data,
/external/webrtc/test/network/
Dnetwork_emulation.cc209 rtc::CopyOnWriteBuffer packet_data, in SendPacket() argument
212 EmulatedIpPacket packet(from, to, std::move(packet_data), in SendPacket()
Dnetwork_emulation.h145 rtc::CopyOnWriteBuffer packet_data,
/external/perfetto/src/tracing/
Dconsole_interceptor.cc300 context.packet_data.data, context.packet_data.size); in OnTracePacket()
/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
DCommunicationKDP.cpp134 const char *packet_data = request_packet.GetData(); in SendRequestPacketNoLock() local
140 DumpPacket(log_strm, packet_data, packet_size); in SendRequestPacketNoLock()
145 size_t bytes_written = Write(packet_data, packet_size, status, NULL); in SendRequestPacketNoLock()

12