Searched refs:wire_buffer (Results 1 – 1 of 1) sorted by relevance
946 bool WriteMessage(const char *value, T *message, string *wire_buffer) { in WriteMessage() argument948 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() argument955 return message->ParseFromArray(wire_buffer.data(), wire_buffer.size()); in ReadMessage()972 string wire_buffer; in TEST_F() local977 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()993 string wire_buffer; in TEST_F() local995 WriteMessage(kInvalidUTF8String, &input, &wire_buffer); in TEST_F()[all …]