Searched refs:GetHelpData (Results 1 – 2 of 2) sorted by relevance
249 return (GetHelpData().mHeader.mVersionTypeToken & kVersionMask) >> kVersionOffset; in GetVersion()260 GetHelpData().mHeader.mVersionTypeToken &= ~kVersionMask; in SetVersion()261 GetHelpData().mHeader.mVersionTypeToken |= aVersion << kVersionOffset; in SetVersion()270 …uint8_t GetType(void) const { return (GetHelpData().mHeader.mVersionTypeToken & kTypeMask) >> kTyp… in GetType()280 GetHelpData().mHeader.mVersionTypeToken &= ~kTypeMask; in SetType()281 GetHelpData().mHeader.mVersionTypeToken |= (static_cast<uint8_t>(aType) << kTypeOffset); in SetType()290 uint8_t GetCode(void) const { return static_cast<Code>(GetHelpData().mHeader.mCode); } in GetCode()298 void SetCode(Code aCode) { GetHelpData().mHeader.mCode = static_cast<uint8_t>(aCode); } in SetCode()316 …uint16_t GetMessageId(void) const { return BigEndian::HostSwap16(GetHelpData().mHeader.mMessageId)… in GetMessageId()324 …void SetMessageId(uint16_t aMessageId) { GetHelpData().mHeader.mMessageId = BigEndian::HostSwap16(… in SetMessageId()[all …]
50 GetHelpData().Clear(); in Init()53 GetHelpData().mHeaderLength = kMinHeaderLength; in Init()55 IgnoreError(SetLength(GetHelpData().mHeaderLength)); in Init()98 if (GetHelpData().mPayloadMarkerSet && (GetHelpData().mHeaderLength == GetLength())) in Finish()103 WriteBytes(0, &GetHelpData().mHeader, GetOptionStart()); in Finish()161 VerifyOrExit(aNumber >= GetHelpData().mOptionLast, error = kErrorInvalidArgs); in AppendOptionHeader()162 delta = aNumber - GetHelpData().mOptionLast; in AppendOptionHeader()175 GetHelpData().mOptionLast = aNumber; in AppendOptionHeader()188 GetHelpData().mHeaderLength = GetLength(); in AppendOption()201 GetHelpData().mHeaderLength = GetLength(); in AppendOptionFromMessage()[all …]