Home
last modified time | relevance | path

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

12

/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/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs586 payload_ = other.payload_ != null ? other.payload_.Clone() : null; in SimpleRequest()
631 private global::Grpc.Testing.Payload payload_; field in Grpc.Testing.SimpleRequest
637 get { return payload_; }
639 payload_ = value;
745 if (payload_ != null) hash ^= Payload.GetHashCode(); in GetHashCode()
772 if (payload_ != null) { in WriteTo()
810 if (payload_ != null) { in CalculateSize()
845 if (other.payload_ != null) { in MergeFrom()
846 if (payload_ == null) { in MergeFrom()
847 payload_ = new global::Grpc.Testing.Payload(); in MergeFrom()
[all …]
DPayloads.cs517 …ase_ == PayloadOneofCase.BytebufParams ? (global::Grpc.Testing.ByteBufferParams) payload_ : null; }
519 payload_ = value;
528 …ase_ == PayloadOneofCase.SimpleParams ? (global::Grpc.Testing.SimpleProtoParams) payload_ : null; }
530 payload_ = value;
539 …e_ == PayloadOneofCase.ComplexParams ? (global::Grpc.Testing.ComplexProtoParams) payload_ : null; }
541 payload_ = value;
546 private object payload_; field in Grpc.Testing.PayloadConfig
563 payload_ = null; in ClearPayload()
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DPayloads.java1536 … subBuilder = ((io.grpc.benchmarks.proto.Payloads.ByteBufferParams) payload_).toBuilder(); in PayloadConfig()
1538 payload_ = in PayloadConfig()
1541 subBuilder.mergeFrom((io.grpc.benchmarks.proto.Payloads.ByteBufferParams) payload_); in PayloadConfig()
1542 payload_ = subBuilder.buildPartial(); in PayloadConfig()
1550 … subBuilder = ((io.grpc.benchmarks.proto.Payloads.SimpleProtoParams) payload_).toBuilder(); in PayloadConfig()
1552 payload_ = in PayloadConfig()
1555 … subBuilder.mergeFrom((io.grpc.benchmarks.proto.Payloads.SimpleProtoParams) payload_); in PayloadConfig()
1556 payload_ = subBuilder.buildPartial(); in PayloadConfig()
1564 … subBuilder = ((io.grpc.benchmarks.proto.Payloads.ComplexProtoParams) payload_).toBuilder(); in PayloadConfig()
1566 payload_ = in PayloadConfig()
[all …]
DMessages.java2048 if (payload_ != null) { in SimpleRequest()
2049 subBuilder = payload_.toBuilder(); in SimpleRequest()
2051payload_ = input.readMessage(io.grpc.benchmarks.proto.Messages.Payload.parser(), extensionRegistry… in SimpleRequest()
2053 subBuilder.mergeFrom(payload_); in SimpleRequest()
2054 payload_ = subBuilder.buildPartial(); in SimpleRequest()
2174 private io.grpc.benchmarks.proto.Messages.Payload payload_; field in Messages.SimpleRequest
2183 return payload_ != null; in hasPayload()
2193 …return payload_ == null ? io.grpc.benchmarks.proto.Messages.Payload.getDefaultInstance() : payload… in getPayload()
2358 if (payload_ != null) { in writeTo()
2392 if (payload_ != null) { in getSerializedSize()
[all …]
/external/libchrome/ipc/
Dipc_mojo_perftest.cc61 payload_ = std::string(msg_size_, 'a'); in SetTestParams()
86 sender_->Send(new TestMsg_SyncPing(payload_, &response)); in OnHello()
87 DCHECK_EQ(response, payload_); in OnHello()
98 DCHECK_EQ(payload_.size(), payload.size()); in OnPing()
111 void SendPong() { sender_->Send(new TestMsg_Ping(payload_)); } in SendPong()
121 std::string payload_; member in IPC::__anon801090f90111::PerformanceChannelListener
294 payload_ = std::string(params[i].message_size(), 'a'); in RunPingPongServer()
309 message_count_, payload_.size()); in OnPong()
312 DCHECK_EQ(payload_.size(), value.size()); in OnPong()
326 ping_receiver_->SyncPing(payload_, &response); in OnPong()
[all …]
Dipc_cpu_perftest.cc113 payload_ = std::string(params.message_size, 'a'); in SetTestParams()
143 sender_->Send(new TestMsg_SyncPing(payload_, &response)); in StartPingPong()
144 DCHECK_EQ(response, payload_); in StartPingPong()
176 DCHECK_EQ(payload_.size(), payload.size()); in OnPing()
190 void SendPong() { sender_->Send(new TestMsg_Ping(payload_)); } in SendPong()
195 std::string payload_; member in IPC::__anona349996c0111::ChannelSteadyPingPongListener
284 payload_ = std::string(params.message_size, 'a'); in RunPingPongServer()
313 ping_receiver_->SyncPing(payload_, &response); in StartPingPong()
314 DCHECK_EQ(response, payload_); in StartPingPong()
346 DCHECK_EQ(payload_.size(), value.size()); in OnPong()
[all …]
/external/v8/src/compiler/
Dtypes.h358 Type() : payload_(0) {} in Type()
386 bool IsNone() const { return payload_ == None().payload_; } in IsNone()
387 bool IsInvalid() const { return payload_ == 0u; } in IsInvalid()
390 return payload_ == that.payload_ || this->SlowIs(that); in Is()
396 bool IsBitset() const { return payload_ & 1; } in IsBitset()
424 bool operator==(Type other) const { return payload_ == other.payload_; }
425 bool operator!=(Type other) const { return payload_ != other.payload_; }
450 Type(bitset bits) : payload_(bits | 1u) {} in Type()
452 : payload_(reinterpret_cast<uintptr_t>(type_base)) {} in Type()
462 return reinterpret_cast<TypeBase*>(payload_); in ToTypeBase()
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DGrpcLogEntry.java92 subBuilder = ((io.grpc.binarylog.v1alpha.Metadata) payload_).toBuilder(); in GrpcLogEntry()
94 payload_ = in GrpcLogEntry()
97 subBuilder.mergeFrom((io.grpc.binarylog.v1alpha.Metadata) payload_); in GrpcLogEntry()
98 payload_ = subBuilder.buildPartial(); in GrpcLogEntry()
106 subBuilder = ((io.grpc.binarylog.v1alpha.Message) payload_).toBuilder(); in GrpcLogEntry()
108 payload_ = in GrpcLogEntry()
111 subBuilder.mergeFrom((io.grpc.binarylog.v1alpha.Message) payload_); in GrpcLogEntry()
112 payload_ = subBuilder.buildPartial(); in GrpcLogEntry()
458 private java.lang.Object payload_; field in GrpcLogEntry
603 return (io.grpc.binarylog.v1alpha.Metadata) payload_; in getMetadata()
[all …]
/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/libchrome/mojo/core/
Dmessage_pipe_perftest.cc38 payload_ = std::string(message_size, '*'); in SetUpMeasurement()
45 WriteMessageRaw(MessagePipeHandle(mp), payload_.data(), payload_.size(), in WriteWaitThenRead()
54 CHECK_EQ(read_buffer_.size(), payload_.size()); in WriteWaitThenRead()
124 std::string payload_; member in mojo::core::__anon53c8f9cc0111::MessagePipePerfTest
Dchannel_unittest.cc57 const void* GetReceivedPayload() const { return payload_.get(); } in GetReceivedPayload()
63 payload_.reset(new char[payload_size]); in OnChannelMessage()
64 memcpy(payload_.get(), payload, payload_size); in OnChannelMessage()
73 std::unique_ptr<char[]> payload_; member in mojo::core::__anon7c6bc3460111::MockChannelDelegate
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/
DMessages.java1598 if (payload_ != null) { in SimpleRequest()
1599 subBuilder = payload_.toBuilder(); in SimpleRequest()
1601payload_ = input.readMessage(io.grpc.testing.integration.Messages.Payload.parser(), extensionRegis… in SimpleRequest()
1603 subBuilder.mergeFrom(payload_); in SimpleRequest()
1604 payload_ = subBuilder.buildPartial(); in SimpleRequest()
1724 private io.grpc.testing.integration.Messages.Payload payload_; field in Messages.SimpleRequest
1733 return payload_ != null; in hasPayload()
1743 …return payload_ == null ? io.grpc.testing.integration.Messages.Payload.getDefaultInstance() : payl… in getPayload()
1908 if (payload_ != null) { in writeTo()
1942 if (payload_ != null) { in getSerializedSize()
[all …]
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dserver_interface.h212 IssueRequest(registered_method, payload_.bbuf_ptr(), notification_cq); in PayloadAsyncRequest()
216 payload_.Release(); // We do not own the payload_ in ~PayloadAsyncRequest()
221 if (!payload_.Valid() || !SerializationTraits<Message>::Deserialize( in FinalizeResult()
222 payload_.bbuf_ptr(), request_) in FinalizeResult()
250 ByteBuffer payload_; variable
/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/libchrome/base/
Dpickle.h33 PickleIterator() : payload_(NULL), read_index_(0), end_index_(0) {} in PickleIterator()
104 const char* payload_; // Start of our pickle's payload. variable
Dpickle.cc26 : payload_(pickle.payload()), in PickleIterator()
58 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
69 const char* current_read_ptr = payload_ + read_index_; in GetReadPointerAndAdvance()
/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
/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

12