Searched refs:wire_buffer (Results 1 – 1 of 1) sorted by relevance
1113 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() argument1115 wire_buffer->clear(); in WriteMessage()1116 message->AppendToString(wire_buffer); in WriteMessage()1117 return (wire_buffer->size() > 0); in WriteMessage()1121 bool ReadMessage(const string &wire_buffer, T *message) { in ReadMessage() argument1122 return message->ParseFromArray(wire_buffer.data(), wire_buffer.size()); in ReadMessage()1139 string wire_buffer; in TEST_F() local1144 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()1161 string wire_buffer; in TEST_F() local1163 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()[all …]