Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc946 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() argument
948 wire_buffer->clear(); in WriteMessage()
949 message->AppendToString(wire_buffer); in WriteMessage()
950 return (wire_buffer->size() > 0); in WriteMessage()
954 bool ReadMessage(const string &wire_buffer, T *message) { in ReadMessage() argument
955 return message->ParseFromArray(wire_buffer.data(), wire_buffer.size()); in ReadMessage()
972 string wire_buffer; in TEST_F() local
977 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
993 string wire_buffer; in TEST_F() local
995 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()
[all …]