Home
last modified time | relevance | path

Searched refs:payload_buffer (Results 1 – 24 of 24) sorted by relevance

/external/grpc-grpc/test/core/fling/
Dserver.cc50 static grpc_byte_buffer* payload_buffer = nullptr; variable
101 if (payload_buffer == nullptr) { in handle_unary_method()
104 op->data.send_message.send_message = payload_buffer; in handle_unary_method()
136 read_op.data.recv_message.recv_message = &payload_buffer; in start_read_op()
146 if (payload_buffer == nullptr) { in start_write_op()
149 write_op.data.send_message.send_message = payload_buffer; in start_write_op()
275 if (payload_buffer != nullptr) { in main()
285 grpc_byte_buffer_destroy(payload_buffer); in main()
286 payload_buffer = nullptr; in main()
305 grpc_byte_buffer_destroy(payload_buffer); in main()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dmessage.cc47 internal::Buffer* payload_buffer) { in WriteMessageHeader() argument
51 AllocateHeaderFromBuffer(payload_buffer, &header); in WriteMessageHeader()
61 AllocateHeaderFromBuffer(payload_buffer, &header); in WriteMessageHeader()
67 AllocateHeaderFromBuffer(payload_buffer, &header); in WriteMessageHeader()
105 internal::Buffer payload_buffer(handle.get(), total_size, buffer, in CreateSerializedMessageObject() local
109 memset(payload_buffer.data(), 0, total_size); in CreateSerializedMessageObject()
110 WriteMessageHeader(name, flags, payload_interface_id_count, &payload_buffer); in CreateSerializedMessageObject()
113 *out_buffer = std::move(payload_buffer); in CreateSerializedMessageObject()
127 internal::Buffer payload_buffer(MessageHandle(message), 0, buffer, in SerializeUnserializedContext() local
130 0 /* payload_interface_id_count */, &payload_buffer); in SerializeUnserializedContext()
[all …]
Dcontrol_message_proxy.cc82 params_ptr, message.payload_buffer(), &params, &context); in SendRunMessage()
98 params_ptr, message.payload_buffer(), &params, &context); in ConstructRunOrClosePipeMessage()
Dpipe_control_message_proxy.cc28 params_ptr, message.payload_buffer(), &params, &context); in ConstructRunOrClosePipeMessage()
Dcontrol_message_handler.cc124 response_params_ptr, response_message.payload_buffer(), &response_params, in Run()
Dserialization.h69 *input, message.payload_buffer(), &writer, &context);
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py502 if self.payload_buffer:
503 total_len += len(self.payload_buffer)
527 if self.payload_buffer:
545 if self.payload_buffer:
546 packet.extend(self.payload_buffer)
560 message.payload_buffer = self.payload_buffer
Dmbim_message_unittest.py116 self.assertEqual(message.payload_buffer, array.array('B', [0x50, 0x40]))
205 self.assertEqual(message.payload_buffer,
313 payload_buffer=array.array('B', [0x01, 0x00, 0x00, 0x00, 0x10, 0x00,
323 information_buffer_length=len(payload_buffer),
324 payload_buffer=payload_buffer)
Dmbim_message_response.py114 primary_fragment.payload_buffer.extend(
115 secondary_fragment.payload_buffer)
120 (payload_len != len(primary_fragment.payload_buffer))):
Dmbim_message_request.py110 remaining_payload_buffer = message.payload_buffer
124 primary_message.payload_buffer = (
/external/grpc-grpc/test/core/memory_usage/
Dserver.cc49 static grpc_byte_buffer* payload_buffer = nullptr; variable
114 payload_buffer = grpc_raw_byte_buffer_create(&snapshot_slice, 1); in send_snapshot()
126 if (payload_buffer == nullptr) { in send_snapshot()
129 op->data.send_message.send_message = payload_buffer; in send_snapshot()
299 grpc_byte_buffer_destroy(payload_buffer); in main()
306 payload_buffer = nullptr; in main()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dunion_unittest.cc36 const size_t payload_start = message->payload_buffer()->cursor(); in SerializeStruct()
38 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeStruct()
41 return message->payload_buffer()->cursor() - payload_start; in SerializeStruct()
52 const size_t payload_start = message->payload_buffer()->cursor(); in SerializeUnion()
54 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeUnion()
57 return message->payload_buffer()->cursor() - payload_start; in SerializeUnion()
67 const size_t payload_start = message->payload_buffer()->cursor(); in SerializeArray()
71 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeArray()
74 return message->payload_buffer()->cursor() - payload_start; in SerializeArray()
331 writer.Allocate(message.payload_buffer()); in TEST()
[all …]
Drouter_test_util.cc22 memcpy(message->payload_buffer()->AllocateAndGet(payload_size), text, in AllocRequestMessage()
33 memcpy(message->payload_buffer()->AllocateAndGet(payload_size), text, in AllocResponseMessage()
Dserialization_warning_unittest.cc57 mojo::internal::Serialize<MojomType>(obj, message.payload_buffer(), &writer, in TestWarning()
72 mojo::internal::Serialize<MojomType>(obj, message.payload_buffer(), &writer, in TestArrayWarning()
88 mojo::internal::Serialize<MojomType>(obj, message.payload_buffer(), &writer, in TestUnionWarning()
Dwtf_types_unittest.cc121 mojo::internal::Serialize<MojomType>(cloned_strs, message.payload_buffer(), in TEST_F()
147 mojo::internal::Serialize<MojomType>(cloned_strs, message.payload_buffer(), in TEST_F()
168 mojo::internal::Serialize<MojomType>(cloned_strs, message.payload_buffer(), in TEST_F()
Dstruct_unittest.cc50 const size_t payload_start = message->payload_buffer()->cursor(); in SerializeStruct()
52 mojo::internal::Serialize<DataViewType>(input, message->payload_buffer(), in SerializeStruct()
55 return message->payload_buffer()->cursor() - payload_start; in SerializeStruct()
82 void* subsequent_area = message.payload_buffer()->AllocateAndGet(32); in SerializeAndDeserialize()
Ddata_view_unittest.cc38 input, result->message.payload_buffer(), &writer, &result->context); in SerializeTestStruct()
Dconnector_unittest.cc103 memcpy(message.payload_buffer()->AllocateAndGet(size), text, size); in CreateMessage()
/external/libchrome/mojo/public/tools/fuzzers/
Dmojo_parse_message_proto_fuzzer.cc29 message.payload_buffer()->Allocate(message_str.size() - in FuzzMessage()
Dmojo_parse_message_fuzzer.cc20 message.payload_buffer()->Allocate(size - message.data_num_bytes()); in FuzzMessage()
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/
Dcellular_MbimComplianceCM08.py55 payload_buffer=array.array('B', struct.pack('I', 2)))
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dconnect_sequence.py83 payload_buffer=data_buffer))
/external/libchrome/mojo/public/cpp/bindings/
Dmessage.h156 internal::Buffer* payload_buffer() { return &payload_buffer_; } in COMPONENT_EXPORT()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_macros.tmpl63 auto* buffer = {{message_object_name}}.payload_buffer();