/external/chromium_org/media/midi/ |
D | usb_midi_output_stream.cc | 76 size_t message_size = 0; in PushSysExMessage() local 81 if (message_size == kMessageSizeMax) { in PushSysExMessage() 98 message[message_size] = byte; in PushSysExMessage() 99 ++message_size; in PushSysExMessage() 101 uint8 code_index = message_size + 0x4; in PushSysExMessage() 127 size_t message_size = message_size_table[first_byte & 0x0f]; in PushSysCommonMessage() local 128 DCHECK_NE(0u, message_size); in PushSysCommonMessage() 129 DCHECK_LE(message_size, 3u); in PushSysCommonMessage() 131 if (GetSize(data) < index + message_size) { in PushSysCommonMessage() 136 uint8 code_index = message_size == 1 ? 0x5 : static_cast<uint8>(message_size); in PushSysCommonMessage() [all …]
|
/external/chromium_org/extensions/browser/api/cast_channel/ |
D | cast_framer.cc | 25 MessageFramer::MessageHeader::MessageHeader() : message_size(0) { in MessageHeader() 31 message_size = size; in SetMessageSize() 38 output.message_size = base::HostToNet32(message_size); in PrependToString() 50 uint32 message_size; in Deserialize() local 51 memcpy(&message_size, data, header_size()); in Deserialize() 52 header->message_size = in Deserialize() 53 base::checked_cast<size_t>(base::NetToHost32(message_size)); in Deserialize() 68 base::UintToString(static_cast<uint32>(message_size)) + "}"; in ToString() 76 size_t message_size = message_data->size(); in Serialize() local 77 if (message_size > MessageHeader::max_message_size()) { in Serialize() [all …]
|
D | cast_framer.h | 55 void SetMessageSize(size_t message_size); 67 size_t message_size; member
|
D | cast_transport.cc | 396 size_t message_size; in DoReadComplete() local 398 current_message_ = framer_->Ingest(result, &message_size, &error_state_); in DoReadComplete() 401 DCHECK_GT(message_size, static_cast<size_t>(0)); in DoReadComplete() 407 static_cast<uint32>(message_size))); in DoReadComplete()
|
/external/chromium_org/components/metrics/serialization/ |
D | serialization_utils.cc | 39 int32 message_size; in ReadMessage() local 42 result = HANDLE_EINTR(read(fd, &message_size, sizeof(message_size))); in ReadMessage() 51 if (result < static_cast<int>(sizeof(message_size))) { in ReadMessage() 53 << sizeof(message_size); in ReadMessage() 59 if (message_size > metrics::SerializationUtils::kMessageMaxLength) { in ReadMessage() 60 DLOG(ERROR) << "message too long : " << message_size; in ReadMessage() 61 if (HANDLE_EINTR(lseek(fd, message_size - 4, SEEK_CUR)) == -1) { in ReadMessage() 71 message_size -= sizeof(message_size); // The message size includes itself. in ReadMessage() 73 if (!base::ReadFromFD(fd, buffer, message_size)) { in ReadMessage() 77 *message = std::string(buffer, message_size); in ReadMessage()
|
D | serialization_utils_unittest.cc | 121 int32 message_size = message.length() + sizeof(int32); in TEST_F() local 122 test_file.WriteAtCurrentPos(reinterpret_cast<const char*>(&message_size), in TEST_F() 123 sizeof(message_size)); in TEST_F()
|
/external/chromium_org/mojo/system/ |
D | message_pipe_perftest.cc | 40 void SetUpMeasurement(int message_count, size_t message_size) { in SetUpMeasurement() argument 42 message_size_ = message_size; in SetUpMeasurement() 44 payload_.WriteString(std::string(message_size, '*')); in SetUpMeasurement() 45 read_buffer_.resize(message_size * 2); in SetUpMeasurement()
|
D | raw_channel.cc | 305 size_t message_size; in OnReadCompleted() local 316 &message_size) && in OnReadCompleted() 317 remaining_bytes >= message_size) { in OnReadCompleted() 319 message_size, &read_buffer_->buffer_[read_buffer_start]); in OnReadCompleted() 320 DCHECK_EQ(message_view.total_size(), message_size); in OnReadCompleted() 377 read_buffer_start += message_size; in OnReadCompleted() 378 remaining_bytes -= message_size; in OnReadCompleted()
|
D | raw_channel_unittest.cc | 145 size_t message_size; in ReadAndCheckNextMessage() local 149 &message_size)) { in ReadAndCheckNextMessage() 151 if (bytes_.size() >= message_size) { in ReadAndCheckNextMessage() 153 MessageInTransit::View message_view(message_size, &bytes_[0]); in ReadAndCheckNextMessage() 154 CHECK_EQ(message_view.main_buffer_size(), message_size); in ReadAndCheckNextMessage() 157 LOG(ERROR) << "Wrong size: " << message_size << " instead of " in ReadAndCheckNextMessage() 510 uint32_t message_size = 1; in TEST_F() local 512 i++, message_size += message_size / 2 + 1) in TEST_F() 513 EXPECT_TRUE(WriteTestMessageToHandle(handles[1].get(), message_size)); in TEST_F()
|
D | message_in_transit.cc | 55 MessageInTransit::View::View(size_t message_size, const void* buffer) in View() argument 59 buffer_, message_size, &next_message_size)); in View() 60 DCHECK_EQ(message_size, next_message_size); in View() 62 DCHECK_EQ(message_size, total_size()); in View()
|
/external/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/ |
D | make_error_condition.pass.cpp | 22 const std::error_condition ec1 = std::make_error_condition(std::errc::message_size); in main() 23 assert(ec1.value() == static_cast<int>(std::errc::message_size)); in main()
|
/external/chromium_org/remoting/protocol/ |
D | connection_tester.cc | 19 int message_size, in StreamConnectionTester() argument 24 message_size_(message_size), in StreamConnectionTester() 25 test_data_size_(message_size * message_count), in StreamConnectionTester() 132 int message_size, in DatagramConnectionTester() argument 138 message_size_(message_size), in DatagramConnectionTester()
|
D | connection_tester.h | 34 int message_size, 71 int message_size,
|
/external/chromium_org/components/pairing/ |
D | proto_decoder.cc | 175 uint16_t message_size = message.size(); in SendMessage() local 177 *size = sizeof(message_type) + sizeof(message_size) + message.size(); in SendMessage() 187 uint8_t data = (message_size >> 8) & 0xFF; in SendMessage() 191 data = message_size & 0xFF; in SendMessage()
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
D | native_message_process_host.cc | 318 size_t message_size = in ProcessIncomingData() local 321 if (message_size > kMaximumMessageSize) { in ProcessIncomingData() 323 << message_size << " bytes long."; in ProcessIncomingData() 328 if (incoming_data_.size() < message_size + kMessageHeaderSize) in ProcessIncomingData() 334 incoming_data_.substr(kMessageHeaderSize, message_size))); in ProcessIncomingData() 336 incoming_data_.erase(0, kMessageHeaderSize + message_size); in ProcessIncomingData()
|
/external/protobuf/python/google/protobuf/internal/ |
D | wire_format.py | 214 message_size = msg.ByteSize() 217 total_size += _VarUInt64ByteSizeNoTag(message_size) 220 total_size += message_size
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
D | wire_format.py | 214 message_size = msg.ByteSize() 217 total_size += _VarUInt64ByteSizeNoTag(message_size) 220 total_size += message_size
|
/external/chromium_org/chrome/browser/devtools/device/adb/ |
D | mock_adb_server.cc | 392 int message_size; in Consume() local 394 EXPECT_TRUE(base::HexStringToInt(message_header, &message_size)); in Consume() 396 if (size >= message_size + kAdbMessageHeaderSize) { in Consume() 397 std::string message_body(data + kAdbMessageHeaderSize, message_size); in Consume() 399 return kAdbMessageHeaderSize + message_size; in Consume()
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/ |
D | protobufwireadaptertest.cc | 78 void ExpectReadPreamble(uint32_t message_size) { in ExpectReadPreamble() argument 82 util::PoloUtil::IntToBigEndianBytes(message_size, size_bytes); in ExpectReadPreamble() 83 EXPECT_CALL(interface_, Receive(message_size)); in ExpectReadPreamble()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
D | extension_set_heavy.cc | 678 int message_size = 0; in MessageSetItemByteSize() local 680 message_size = lazymessage_value->ByteSize(); in MessageSetItemByteSize() 682 message_size = message_value->ByteSize(); in MessageSetItemByteSize() 685 our_size += io::CodedOutputStream::VarintSize32(message_size); in MessageSetItemByteSize() 686 our_size += message_size; in MessageSetItemByteSize()
|
/external/chromium_org/ipc/ |
D | ipc_perftest_support.h | 23 size_t message_size() const { return message_size_; } in message_size() function
|
D | ipc_perftest_support.cc | 249 params[i].message_size()); in RunTestChannelPingPong() 289 params[i].message_size()); in RunTestChannelProxyPingPong()
|
/external/netperf/ |
D | nettest_unix.h | 105 int message_size; member
|
D | nettest_dlpi.h | 111 int message_size; member
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | s3_both.c | 369 s->init_num = (int)s->s3->tmp.message_size; in ssl3_get_message() 452 s->s3->tmp.message_size=l; in ssl3_get_message() 461 n = s->s3->tmp.message_size - s->init_num; in ssl3_get_message()
|