Searched refs:read_state_ (Results 1 – 2 of 2) sorted by relevance
32 : PoloWireAdapter(interface), read_state_(kNone) { in ProtobufWireAdapter()36 if (read_state_ != kNone) { in GetNextMessage()43 read_state_ = kPreamble; in GetNextMessage()154 if (read_state_ == kMessage) { in OnBytesReceived()157 read_state_ = kNone; in OnBytesReceived()159 } else if (read_state_ == kPreamble && data.size() == 4) { in OnBytesReceived()162 read_state_ = kMessage; in OnBytesReceived()166 LOG(ERROR) << "Unexpected state: " << read_state_ in OnBytesReceived()
143 ReadState read_state_; variable