/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | serialization.h | 89 size_t data_num_bytes, 98 const void* input_buffer = data_num_bytes == 0 ? nullptr : data; 106 aligned_input_buffer = malloc(data_num_bytes); 108 memcpy(aligned_input_buffer, data, data_num_bytes); 112 DCHECK(base::IsValueInRangeForNumericType<uint32_t>(data_num_bytes)); 114 input_buffer, static_cast<uint32_t>(data_num_bytes), handles.size(), 0);
|
D | validation_context.cc | 13 size_t data_num_bytes, in ValidationContext() argument 22 data_end_(data_begin_ + data_num_bytes), in ValidationContext()
|
D | validation_context.h | 39 size_t data_num_bytes, in COMPONENT_EXPORT()
|
D | message_header_validator.cc | 126 message->data(), message->data_num_bytes(), 0, 0, message, description_); in Accept()
|
D | message.cc | 294 DCHECK_GE(data_num_bytes(), header()->num_bytes); in payload_num_bytes() 297 num_bytes = data_num_bytes() - header()->num_bytes; in payload_num_bytes() 304 payload_end = reinterpret_cast<uintptr_t>(data() + data_num_bytes()); in payload_num_bytes()
|
/external/libchrome/mojo/core/ |
D | channel_unittest.cc | 127 Channel::Message::Deserialize(message->data(), message->data_num_bytes()); in TEST() 136 Channel::Message::Deserialize(message->data(), message->data_num_bytes()); in TEST() 148 ASSERT_LT(message->data_num_bytes(), in TEST() 151 memcpy(read_buffer, message->data(), message->data_num_bytes()); in TEST() 154 EXPECT_TRUE(channel->OnReadCompleteTest(message->data_num_bytes(), in TEST() 170 ASSERT_LT(message->data_num_bytes(), in TEST() 173 memcpy(read_buffer, message->data(), message->data_num_bytes()); in TEST() 176 EXPECT_TRUE(channel->OnReadCompleteTest(message->data_num_bytes(), in TEST()
|
D | broker_posix.cc | 37 message->data_num_bytes(), &incoming_fds, true /* block */); in WaitForBrokerMessage() 42 } else if (static_cast<size_t>(read_result) != message->data_num_bytes()) { in WaitForBrokerMessage() 104 out_message->data_num_bytes()); in GetWritableSharedMemoryRegion() 109 out_message->data_num_bytes()) { in GetWritableSharedMemoryRegion()
|
D | channel.cc | 167 size_t data_num_bytes, in Deserialize() argument 169 if (data_num_bytes < sizeof(LegacyHeader)) in Deserialize() 174 if (legacy_header->num_bytes != data_num_bytes) { in Deserialize() 176 << " != " << data_num_bytes; in Deserialize() 188 payload_size = data_num_bytes - sizeof(LegacyHeader); in Deserialize() 198 payload_size = data_num_bytes - header->num_header_bytes; in Deserialize() 232 DCHECK_EQ(message->data_num_bytes(), data_num_bytes); in Deserialize()
|
D | node_channel.cc | 369 MessageType::BROADCAST_EVENT, message->data_num_bytes(), 0, &data); in Broadcast() 370 memcpy(data, message->data(), message->data_num_bytes()); in Broadcast() 383 size_t num_bytes = sizeof(RelayEventMessageData) + message->data_num_bytes(); in RelayEventMessage() 388 memcpy(data + 1, message->data(), message->data_num_bytes()); in RelayEventMessage() 412 size_t num_bytes = sizeof(RelayEventMessageData) + message->data_num_bytes(); in RelayEventMessage() 417 memcpy(data + 1, message->data(), message->data_num_bytes()); in RelayEventMessage() 721 CHECK(message->data_num_bytes() < GetConfiguration().max_message_num_bytes); in WriteChannelMessage()
|
D | channel_posix.cc | 51 DCHECK_GT(message_->data_num_bytes(), offset_); in MessageView() 69 size_t data_num_bytes() const { return message_->data_num_bytes() - offset_; } in data_num_bytes() function in mojo::core::__anon8d1326f50111::MessageView 73 DCHECK_GT(message_->data_num_bytes(), offset_ + num_bytes); in advance_data_offset() 514 message_view.data_num_bytes()}; in WriteNoLock() 552 message_view.data_num_bytes()); in WriteNoLock() 584 } while (bytes_written < message_view.data_num_bytes()); in WriteNoLock()
|
D | channel.h | 150 size_t data_num_bytes, 154 size_t data_num_bytes() const { return size_; } in data_num_bytes() function
|
/external/libchrome/mojo/public/tools/fuzzers/ |
D | mojo_parse_message_proto_fuzzer.cc | 28 if (message.data_num_bytes() < message_str.size()) { in FuzzMessage() 30 message.data_num_bytes()); in FuzzMessage()
|
D | mojo_parse_message_fuzzer.cc | 19 if (message.data_num_bytes() < size) { in FuzzMessage() 20 message.payload_buffer()->Allocate(size - message.data_num_bytes()); in FuzzMessage()
|
D | mojo_fuzzer_message_dump.cc | 56 size_t size = message->data_num_bytes(); in Accept()
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | wrapper_class_declaration.tmpl | 89 size_t data_num_bytes, 92 data, data_num_bytes, std::vector<mojo::ScopedHandle>(), output, Validate);
|
/external/perfetto/protos/perfetto/trace/track_event/ |
D | chrome_mojo_event_info.proto | 54 optional uint64 data_num_bytes = 7; field
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 209 - MessageEntry entry(message->data(), message->data_num_bytes(), 211 + // MessageEntry entry(message->data(), message->data_num_bytes(),
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | message.h | 103 size_t data_num_bytes() const { in COMPONENT_EXPORT()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 289 message->data_num_bytes()); in Accept()
|
/external/libchrome/ipc/ |
D | ipc_mojo_bootstrap.cc | 666 CHECK_LE(message->data_num_bytes(), Channel::kMaximumMessageSize); in SendMessage()
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 9812 optional uint64 data_num_bytes = 7; field
|