Home
last modified time | relevance | path

Searched refs:payload_ (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/src/tracing/test/
Dfake_packet.cc46 payload_.resize(size - 1); in FakePacketFragment()
50 payload_.resize(127); in FakePacketFragment()
54 payload_.resize(size - 2); in FakePacketFragment()
57 for (size_t i = 0; i < payload_.size(); i++) { in FakePacketFragment()
60 payload_[i] = prefix; in FakePacketFragment()
63 payload_[i] = '0' + ((i / 4 / 10) % 10); in FakePacketFragment()
66 payload_[i] = '0' + ((i / 4) % 10); in FakePacketFragment()
69 payload_[i] = '-'; in FakePacketFragment()
78 payload_.assign(reinterpret_cast<const char*>(payload), payload_size); in FakePacketFragment()
79 uint8_t* end = WriteVarInt(payload_.size(), &header_[0]); in FakePacketFragment()
[all …]
Dfake_packet.h42 const std::string& payload() const { return payload_; } in payload()
47 std::string payload_; variable
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc26 payload_(NULL), in Packet()
41 payload_(NULL), in Packet()
52 payload_(NULL), in Packet()
67 payload_(NULL), in Packet()
90 assert(payload_); in ExtractRedHeaders()
91 const uint8_t* payload_ptr = payload_; in ExtractRedHeaders()
140 payload_ = &payload_memory_[header_.headerLength]; in ParseHeader()
Dpacket.h77 const uint8_t* payload() const { return payload_; } in payload()
107 const uint8_t* payload_; // First byte after header. variable
Dneteq_quality_test.cc252 payload_.reset(new uint8_t[max_payload_bytes_]); in NetEqQualityTest()
383 rtc::ArrayView<const uint8_t>(payload_.get(), payload_size_bytes_), in Transmit()
420 in_size_samples_, &payload_[0], in Simulate()
Dneteq_quality_test.h131 rtc::scoped_ptr<uint8_t[]> payload_; variable
/external/libmojo/mojo/edk/system/
Dmessage_pipe_perftest.cc39 payload_ = std::string(message_size, '*'); in SetUpMeasurement()
45 CHECK_EQ(MojoWriteMessage(mp, payload_.data(), in WriteWaitThenRead()
46 static_cast<uint32_t>(payload_.size()), nullptr, in WriteWaitThenRead()
57 CHECK_EQ(read_buffer_size, static_cast<uint32_t>(payload_.size())); in WriteWaitThenRead()
131 std::string payload_; member in mojo::edk::__anon861d96b60111::MessagePipePerfTest
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red_unittest.cc83 MockEncodeHelper() : write_payload_(false), payload_(NULL) { in MockEncodeHelper()
94 memcpy(encoded, payload_, info_.encoded_bytes); in Encode()
101 uint8_t* payload_; member in webrtc::MockEncodeHelper
251 helper.payload_ = payload; in TEST_F()
266 helper.payload_[i] += 10; in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/test/
Dtarget_delay_unittest.cc50 WebRtcPcm16b_Encode(audio, kFrameSizeSamples, payload_); in SetUp()
145 ASSERT_EQ(0, acm_->IncomingPacket(payload_, kFrameSizeSamples * 2, in Push()
198 uint8_t payload_[kPayloadLenBytes]; member in webrtc::TargetDelayTest
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc131 rtc::scoped_ptr<uint8_t[]> payload_; member in webrtc::RtpPacketizerVp9Test
138 payload_.reset(new uint8_t[payload_size]); in Init()
139 memset(payload_.get(), 7, payload_size); in Init()
143 packetizer_->SetPayloadData(payload_.get(), payload_size_, NULL); in Init()
154 EXPECT_EQ(packet[i], payload_[payload_pos_++]); in CheckPayload()
Drtp_format_vp9.h90 const uint8_t* payload_; // The payload data to be packetized. variable
Drtp_format_vp9.cc484 payload_(nullptr), in RtpPacketizerVp9()
517 payload_ = payload; in SetPayloadData()
611 &payload_[packet_info.payload_start_pos], packet_info.size); in WriteHeaderAndPayload()
Drtp_sender_unittest.cc125 payload_(kPayload), in RtpSenderTest()
145 int payload_; member in webrtc::RtpSenderTest
156 EXPECT_EQ(payload_, rtp_header.payloadType); in VerifyRTPHeaderCommon()
213 EXPECT_EQ(payload_, rtp_header.payloadType); in VerifyCVOPacket()
1099 payload_ = kAudioPayload; in SetUp()
/external/libchrome/base/
Dpickle.cc25 : payload_(pickle.payload()), in PickleIterator()
57 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
68 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
Dpickle.h33 PickleIterator() : payload_(NULL), read_index_(0), end_index_(0) {} in PickleIterator()
104 const char* payload_; // Start of our pickle's payload. variable
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_network_stats_unittest.cc194 InsertPacket(rtp_header_, payload_, next_send_time); in RunTest()
270 uint8_t payload_[kPayloadSizeByte]; member in webrtc::test::NetEqNetworkStatsTest
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs1676 Payload = other.payload_ != null ? other.Payload.Clone() : null; in NestedTestAllTypes()
1696 private global::Google.Protobuf.TestProtos.TestAllTypes payload_; field in Google.Protobuf.TestProtos.NestedTestAllTypes
1698 get { return payload_; }
1700 payload_ = value;
1733 if (payload_ != null) hash ^= Payload.GetHashCode(); in GetHashCode()
1747 if (payload_ != null) { in WriteTo()
1759 if (payload_ != null) { in CalculateSize()
1776 if (other.payload_ != null) { in MergeFrom()
1777 if (payload_ == null) { in MergeFrom()
1778 payload_ = new global::Google.Protobuf.TestProtos.TestAllTypes(); in MergeFrom()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs262 …get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteString) payload_ : pb::By…
264 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
272 get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) payload_ : ""; }
274 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
292 private object payload_; field in Conformance.ConformanceRequest
306 payload_ = null; in ClearPayload()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.h692 struct qreg *payload = &c->payload_##name; \