Home
last modified time | relevance | path

Searched refs:mutable_payload (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/test/cpp/interop/
Dinterop_server.cc153 response->mutable_payload()->set_body(timestamp.c_str(), timestamp.size()); in CacheableUnaryCall()
178 if (!SetPayload(request->response_size(), response->mutable_payload())) { in UnaryCall()
201 response.mutable_payload())) { in StreamingOutputCall()
268 response.mutable_payload()->set_type(request.payload().type()); in FullDuplexCall()
269 response.mutable_payload()->set_body( in FullDuplexCall()
302 response.mutable_payload()->set_type(requests[i].payload().type()); in HalfDuplexCall()
307 response.mutable_payload()->set_body( in HalfDuplexCall()
Dinterop_client.cc182 request->mutable_payload()->set_body(payload.c_str(), kLargeRequestSize); in PerformLargeUnary()
318 probe_req.mutable_payload()->set_body(grpc::string(kLargeRequestSize, '\0')); in DoClientCompressedUnary()
402 Payload* payload = request.mutable_payload(); in DoRequestStreaming()
468 probe_req.mutable_payload()->set_body(grpc::string(27182, '\0')); in DoClientCompressedStreaming()
497 request.mutable_payload()->set_body(grpc::string(27182, '\0')); in DoClientCompressedStreaming()
507 request.mutable_payload()->set_body(grpc::string(45904, '\0')); in DoClientCompressedStreaming()
685 Payload* payload = request.mutable_payload(); in DoPingPong()
753 request.mutable_payload()->set_body(grpc::string(27182, '\0')); in DoCancelAfterFirstResponse()
788 request.mutable_payload()->set_body(grpc::string(27182, '\0')); in DoTimeoutOnSleepingServer()
875 request.mutable_payload()->set_body(timestamp.c_str(), timestamp.size()); in DoCacheableUnary()
[all …]
Dhttp2_client.cc76 request.mutable_payload()->set_body(payload.c_str(), kLargeRequestSize); in BuildDefaultRequest()
/external/libchrome/mojo/core/
Dbroker_messages.h56 auto* header = static_cast<BrokerMessageHeader*>(message->mutable_payload()); in GetBrokerMessageData()
72 reinterpret_cast<BrokerMessageHeader*>(message->mutable_payload());
88 reinterpret_cast<BrokerMessageHeader*>(message->mutable_payload()); in CreateBrokerMessage()
Dnode_channel.cc138 Header* header = reinterpret_cast<Header*>(message->mutable_payload()); in CreateMessage()
189 *data = reinterpret_cast<Header*>(message->mutable_payload()) + 1; in GetEventMessageData()
557 memcpy(message->mutable_payload(), payload, payload_size); in OnChannelMessage()
667 memcpy(message->mutable_payload(), data + 1, num_bytes); in OnChannelMessage()
Duser_message_impl.cc111 static_cast<char*>(original_message->mutable_payload())); in CreateOrExtendSerializedEventMessage()
500 header_ = static_cast<uint8_t*>(channel_message_->mutable_payload()) + in AppendData()
503 static_cast<uint8_t*>(channel_message_->mutable_payload()) + in AppendData()
Dchannel.h172 void* mutable_payload();
Dchannel.cc236 memcpy(message->mutable_payload(), payload, payload_size); in Deserialize()
320 void* Channel::Message::mutable_payload() { in mutable_payload() function in mojo::core::Channel::Message
Dchannel_posix.cc533 memcpy(fds_message->mutable_payload(), fds.data(), in WriteNoLock()
627 memcpy(message->mutable_payload(), payload, payload_size); in OnControlMessage()
Dchannel_unittest.cc82 char* payload = static_cast<char*>(message->mutable_payload()); in CreateDefaultMessage()
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc502 nested_src.mutable_child()->mutable_payload()->set_optional_int32(1234); in TEST()
505 ->mutable_payload() in TEST()
533 nested_dst.mutable_child()->mutable_payload()->set_optional_int64(4321); in TEST()
548 nested_dst.mutable_payload(); in TEST()
556 nested_dst.mutable_payload(); in TEST()
561 nested_src.mutable_payload()->add_repeated_int32(1234); in TEST()
562 nested_dst.mutable_payload()->add_repeated_int32(5678); in TEST()
649 nested_msg.mutable_child()->mutable_payload()->set_optional_int32(1234); in TEST()
652 ->mutable_payload() in TEST()
/external/cronet/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc502 nested_src.mutable_child()->mutable_payload()->set_optional_int32(1234); in TEST()
505 ->mutable_payload() in TEST()
533 nested_dst.mutable_child()->mutable_payload()->set_optional_int64(4321); in TEST()
548 nested_dst.mutable_payload(); in TEST()
556 nested_dst.mutable_payload(); in TEST()
561 nested_src.mutable_payload()->add_repeated_int32(1234); in TEST()
562 nested_dst.mutable_payload()->add_repeated_int32(5678); in TEST()
649 nested_msg.mutable_child()->mutable_payload()->set_optional_int32(1234); in TEST()
652 ->mutable_payload() in TEST()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dcontrol_message_handler.cc100 message->mutable_payload()); in Run()
134 message->mutable_payload()); in RunOrClosePipe()
Dpipe_control_message_handler.cc67 message->mutable_payload()); in RunOrClosePipe()
Dcontrol_message_proxy.cc62 message->mutable_payload()); in Accept()
/external/protobuf/src/google/protobuf/
Dmessage_unittest.inc275 UNITTEST::TestRequiredForeign* payload = child->mutable_payload();
293 ->mutable_payload()
317 ->mutable_payload()
347 TestUtil::SetAllFields(child->mutable_payload());
372 child->mutable_payload()->set_optional_int32(-1);
393 child->mutable_payload()->mutable_oneof_nested_message()->set_bb(-1);
447 child->mutable_payload()->set_optional_int32(i);
451 child->mutable_payload()->set_optional_int32(-1);
460 TestUtil::SetAllFields(o.mutable_child()->mutable_payload());
461 o.mutable_child()->mutable_child()->mutable_payload()->set_optional_string(
[all …]
/external/grpc-grpc/test/cpp/qps/
Dserver_sync.cc124 response->mutable_payload())) { in ClientPull()
147 response->mutable_payload())) { in SetResponse()
Dclient.h75 req->mutable_payload()->set_type( in ClientRequestCreator()
79 req->mutable_payload()->set_body(body.get(), size); in ClientRequestCreator()
86 req->mutable_payload()->set_type( in ClientRequestCreator()
/external/cronet/third_party/protobuf/src/google/protobuf/
Dmessage_unittest.inc275 UNITTEST::TestRequiredForeign* payload = child->mutable_payload();
297 TestUtil::SetAllFields(child->mutable_payload());
322 child->mutable_payload()->set_optional_int32(-1);
343 child->mutable_payload()->mutable_oneof_nested_message()->set_bb(-1);
397 child->mutable_payload()->set_optional_int32(i);
401 child->mutable_payload()->set_optional_int32(-1);
410 TestUtil::SetAllFields(o.mutable_child()->mutable_payload());
411 o.mutable_child()->mutable_child()->mutable_payload()->set_optional_string(
508 EXPECT_EQ(p.mutable_child()->mutable_payload()->optional_int32(), 0);
510 p.mutable_child()->mutable_child()->mutable_payload()->optional_int32(),
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_definition.tmpl314 message->mutable_payload());
386 message->mutable_payload());
438 message->mutable_payload());
496 message->mutable_payload());
/external/libchrome/base/
Dpickle.h270 char* mutable_payload() { in mutable_payload() function
Dpickle.cc420 char* write = mutable_payload() + write_offset_; in ClaimUninitializedBytesInternal()
/external/cronet/base/
Dpickle.h285 char* mutable_payload() { in mutable_payload() function
Dpickle.cc432 char* write = mutable_payload() + write_offset_; in ClaimUninitializedBytesInternal()
/external/libchrome/mojo/public/cpp/bindings/
Dmessage.h150 uint8_t* mutable_payload() { return const_cast<uint8_t*>(payload()); } in COMPONENT_EXPORT()

12