Lines Matching refs:parsing_state_
70 parsing_state_ = ParsingState::Complete; in NanoPacket()
117 parsing_state_ = ParsingState::Idle; in Reset()
126 return parsing_state_ == ParsingState::Complete; in ParsingIsComplete()
150 if (parsing_state_ != ParsingState::Idle) { in Parse()
155 if (parsing_state_ == ParsingState::Idle && buffer[i] == kSyncByte) { in Parse()
157 parsing_state_ = ParsingState::ParsingSequenceNumber; in Parse()
158 } else if (parsing_state_ == ParsingState::ParsingSequenceNumber in Parse()
160 parsing_state_ = ParsingState::ParsingReason; in Parse()
161 } else if (parsing_state_ == ParsingState::ParsingReason in Parse()
163 parsing_state_ = ParsingState::ParsingLength; in Parse()
164 } else if (parsing_state_ == ParsingState::ParsingLength) { in Parse()
168 parsing_state_ = ParsingState::ParsingContent; in Parse()
170 parsing_state_ = ParsingState::ParsingCrc; in Parse()
172 } else if (parsing_state_ == ParsingState::ParsingContent) { in Parse()
177 parsing_state_ = ParsingState::ParsingCrc; in Parse()
179 } else if (parsing_state_ == ParsingState::ParsingCrc in Parse()
183 parsing_state_ = ParsingState::Complete; in Parse()