Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dnanopacket.cpp70 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()
[all …]
Dnanopacket.h100 ParsingState parsing_state_; variable