/external/grpc-grpc/test/core/fling/ |
D | server.cc | 50 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/ |
D | message.cc | 47 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 …]
|
D | control_message_proxy.cc | 82 params_ptr, message.payload_buffer(), ¶ms, &context); in SendRunMessage() 98 params_ptr, message.payload_buffer(), ¶ms, &context); in ConstructRunOrClosePipeMessage()
|
D | pipe_control_message_proxy.cc | 28 params_ptr, message.payload_buffer(), ¶ms, &context); in ConstructRunOrClosePipeMessage()
|
D | control_message_handler.cc | 124 response_params_ptr, response_message.payload_buffer(), &response_params, in Run()
|
D | serialization.h | 69 *input, message.payload_buffer(), &writer, &context);
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_message.py | 502 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
|
D | mbim_message_unittest.py | 116 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)
|
D | mbim_message_response.py | 114 primary_fragment.payload_buffer.extend( 115 secondary_fragment.payload_buffer) 120 (payload_len != len(primary_fragment.payload_buffer))):
|
D | mbim_message_request.py | 110 remaining_payload_buffer = message.payload_buffer 124 primary_message.payload_buffer = (
|
/external/grpc-grpc/test/core/memory_usage/ |
D | server.cc | 49 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/ |
D | union_unittest.cc | 36 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 …]
|
D | router_test_util.cc | 22 memcpy(message->payload_buffer()->AllocateAndGet(payload_size), text, in AllocRequestMessage() 33 memcpy(message->payload_buffer()->AllocateAndGet(payload_size), text, in AllocResponseMessage()
|
D | serialization_warning_unittest.cc | 57 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()
|
D | wtf_types_unittest.cc | 121 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()
|
D | struct_unittest.cc | 50 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()
|
D | data_view_unittest.cc | 38 input, result->message.payload_buffer(), &writer, &result->context); in SerializeTestStruct()
|
D | connector_unittest.cc | 103 memcpy(message.payload_buffer()->AllocateAndGet(size), text, size); in CreateMessage()
|
/external/libchrome/mojo/public/tools/fuzzers/ |
D | mojo_parse_message_proto_fuzzer.cc | 29 message.payload_buffer()->Allocate(message_str.size() - in FuzzMessage()
|
D | mojo_parse_message_fuzzer.cc | 20 message.payload_buffer()->Allocate(size - message.data_num_bytes()); in FuzzMessage()
|
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/ |
D | cellular_MbimComplianceCM08.py | 55 payload_buffer=array.array('B', struct.pack('I', 2)))
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
D | connect_sequence.py | 83 payload_buffer=data_buffer))
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | message.h | 156 internal::Buffer* payload_buffer() { return &payload_buffer_; } in COMPONENT_EXPORT()
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | interface_macros.tmpl | 63 auto* buffer = {{message_object_name}}.payload_buffer();
|