Home
last modified time | relevance | path

Searched refs:outer_string (Results 1 – 2 of 2) sorted by relevance

/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc91 std::string outer_string = message.SerializeAsString(); in ExpectSend() local
94 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes); in ExpectSend()
96 std::vector<unsigned char> data(outer_string.length() + 4); in ExpectSend()
99 memcpy((buffer + 4), &outer_string[0], outer_string.length()); in ExpectSend()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc400 std::string outer_string = message.SerializeAsString(); in SendOuterMessage() local
403 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes); in SendOuterMessage()
405 std::vector<uint8_t> data(outer_string.length() + 4); in SendOuterMessage()
409 std::copy(outer_string.begin(), outer_string.end(), iter + 4); in SendOuterMessage()