HomeSort by relevance Sort by last modified time
    Searched refs:serialized_message (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/components/proximity_auth/
wire_message.cc 31 // Parses the |serialized_message|'s header. Returns |true| iff the message has
35 // exceeds the size of the |serialized_message|.
36 bool ParseHeader(const std::string& serialized_message,
39 if (serialized_message.size() < kHeaderLength) {
45 size_t version = serialized_message[0];
53 (static_cast<size_t>(serialized_message[1]) << 8) |
54 (static_cast<size_t>(serialized_message[2]) << 0);
56 if (serialized_message.size() < expected_message_length) {
60 if (serialized_message.size() != expected_message_length) {
62 << serialized_message.size() << ", expected
    [all...]
wire_message.h 19 // Returns the deserialized message from |serialized_message|, or NULL if the
22 // encoded in the message header exceeds the size of the |serialized_message|.
24 const std::string& serialized_message,
bluetooth_connection.cc 74 std::string serialized_message = message->Serialize(); local
75 int message_length = base::checked_cast<int>(serialized_message.size());
77 memcpy(buffer->data(), serialized_message.c_str(), message_length);
  /external/chromium_org/extensions/browser/api/cast_channel/
cast_transport_unittest.cc 200 std::string serialized_message; local
201 EXPECT_TRUE(MessageFramer::Serialize(message, &serialized_message));
203 EXPECT_CALL(mock_socket_, Write(NotNull(), serialized_message.size(), _))
211 socket_cbs.Pop(serialized_message.size());
212 EXPECT_EQ(serialized_message, output);
222 std::string serialized_message; local
223 EXPECT_TRUE(MessageFramer::Serialize(message, &serialized_message));
226 EXPECT_CALL(mock_socket_, Write(NotNull(), serialized_message.size(), _))
231 EXPECT_CALL(mock_socket_, Write(NotNull(), serialized_message.size() - 1, _))
239 EXPECT_EQ(serialized_message, output)
267 std::string serialized_message; local
285 std::string serialized_message; local
321 std::string serialized_message; local
359 std::string serialized_message; local
405 std::string serialized_message; local
428 std::string serialized_message; local
466 std::string serialized_message; local
511 std::string serialized_message; local
544 std::string serialized_message; local
581 std::string serialized_message; local
598 std::string serialized_message; local
627 std::string serialized_message; local
    [all...]
cast_transport.cc 131 std::string serialized_message; local
132 if (!MessageFramer::Serialize(message, &serialized_message)) {
141 message.namespace_(), serialized_message, callback);

Completed in 189 milliseconds