Searched refs:optionLength (Results 1 – 1 of 1) sorted by relevance
249 uint16_t optionLength = iterator.GetOption()->GetLength(); in ReadUriPathOptions() local256 VerifyOrExit(curUriPath + optionLength < GetArrayEnd(aUriPath), error = kErrorParse); in ReadUriPathOptions()259 curUriPath += optionLength; in ReadUriPathOptions()525 uint16_t optionLength; in Advance() local552 optionLength = (headerByte & Message::kOptionLengthMask) >> Message::kOptionLengthOffset; in Advance()553 SuccessOrExit(error = ReadExtendedOptionField(optionLength)); in Advance()555 VerifyOrExit(optionLength <= GetMessage().GetLength() - mNextOptionOffset, error = kErrorParse); in Advance()556 mNextOptionOffset += optionLength; in Advance()559 mOption.mLength = optionLength; in Advance()