Searched refs:mNextOptionOffset (Results 1 – 3 of 3) sorted by relevance
512 mNextOptionOffset = static_cast<uint16_t>(offset); in Init()543 VerifyOrExit(mNextOptionOffset < GetMessage().GetLength(), error = kErrorParse); in Advance()555 VerifyOrExit(optionLength <= GetMessage().GetLength() - mNextOptionOffset, error = kErrorParse); in Advance()556 mNextOptionOffset += optionLength; in Advance()575 GetMessage().ReadBytes(mNextOptionOffset - mOption.mLength, aValue, mOption.mLength); in ReadOptionValue()611 SuccessOrExit(error = GetMessage().Read(mNextOptionOffset, aBuffer, aLength)); in Read()612 mNextOptionOffset += aLength; in Read()
1059 … bool HasParseErrored(void) const { return mNextOptionOffset == kNextOptionOffsetParseError; } in HasParseErrored()1128 uint16_t GetPayloadMessageOffset(void) const { return mNextOptionOffset; } in GetPayloadMessageOffset()1137 … uint16_t GetOptionValueMessageOffset(void) const { return mNextOptionOffset - mOption.mLength; } in GetOptionValueMessageOffset()1147 … void MarkAsParseErrored(void) { MarkAsDone(), mNextOptionOffset = kNextOptionOffsetParseError; } in MarkAsParseErrored()
165 uint16_t mNextOptionOffset; ///< Byte offset of next option member