Home
last modified time | relevance | path

Searched refs:ReadUint16 (Results 1 – 19 of 19) sorted by relevance

/openthread-latest/src/lib/spinel/
Dspinel_prop_codec.cpp126 SuccessOrExit(error = aDecoder.ReadUint16(aHost.mAddressesLength)); in DecodeDnssdHost()
159 SuccessOrExit(error = aDecoder.ReadUint16(aService.mPort)); in DecodeDnssdService()
160 SuccessOrExit(error = aDecoder.ReadUint16(aService.mPriority)); in DecodeDnssdService()
161 SuccessOrExit(error = aDecoder.ReadUint16(aService.mWeight)); in DecodeDnssdService()
190 SuccessOrExit(error = aDecoder.ReadUint16(aKey.mClass)); in DecodeDnssdKey()
Dspi_frame.hpp200 …uint16_t GetHeaderAcceptLen(void) const { return Lib::Utils::LittleEndian::ReadUint16(mBuffer + kI… in GetHeaderAcceptLen()
219 …uint16_t GetHeaderDataLen(void) const { return Lib::Utils::LittleEndian::ReadUint16(mBuffer + kInd… in GetHeaderDataLen()
Dmulti_frame_buffer.hpp267 return Lib::Utils::LittleEndian::ReadUint16(mWriteFrameStart + kHeaderSkipLengthOffset); in GetSkipLength()
355 … uint16_t totalLength = Lib::Utils::LittleEndian::ReadUint16(aFrame + kHeaderTotalLengthOffset); in GetNextSavedFrame()
356 … uint16_t skipLength = Lib::Utils::LittleEndian::ReadUint16(aFrame + kHeaderSkipLengthOffset); in GetNextSavedFrame()
Dspinel_decoder.cpp119 otError Decoder::ReadUint16(uint16_t &aUint16) in ReadUint16() function in ot::Spinel::Decoder
138 SuccessOrExit(error = ReadUint16(u16)); in ReadInt16()
329 SuccessOrExit(error = ReadUint16(len)); in ReadDataWithLen()
344 SuccessOrExit(error = ReadUint16(structLen)); in OpenStruct()
Dspinel_decoder.hpp172 otError ReadUint16(uint16_t &aUint16);
/openthread-latest/src/core/common/
Dencoding.hpp125 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>((aBuffer[0] << 8)… in ReadUint16() function
180 template <> inline uint16_t Read(const uint8_t *aBuffer) { return ReadUint16(aBuffer); } in Read()
297 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>(aBuffer[0] | (aBu… in ReadUint16() function
352 template <> inline uint16_t Read(const uint8_t *aBuffer) { return ReadUint16(aBuffer); } in Read()
/openthread-latest/src/ncp/
Dncp_base_radio.cpp294 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertySet()
329 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertyRemove()
356 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertyInsert()
402 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertySet()
415 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertySet()
622 SuccessOrExit(error = mDecoder.ReadUint16(shortAddress)); in HandlePropertySet()
Dncp_base_ftd.cpp467 SuccessOrExit(error = mDecoder.ReadUint16(bbrConfig.mReregistrationDelay)); in HandlePropertySet()
881 SuccessOrExit(error = mDecoder.ReadUint16(period)); in HandlePropertySet()
901 SuccessOrExit(error = mDecoder.ReadUint16(period)); in HandlePropertySet()
902 SuccessOrExit(error = mDecoder.ReadUint16(scanDuration)); in HandlePropertySet()
946 SuccessOrExit(error = mDecoder.ReadUint16(panId)); in HandlePropertySet()
1236 SuccessOrExit(error = mDecoder.ReadUint16(interval)); in HandlePropertySet()
1273 SuccessOrExit(error = mDecoder.ReadUint16(delay)); in HandlePropertySet()
1379 SuccessOrExit(error = mDecoder.ReadUint16(timeSyncPeriod)); in HandlePropertySet()
1397 SuccessOrExit(error = mDecoder.ReadUint16(xtalThreshold)); in HandlePropertySet()
Dncp_base_mtd.cpp893 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertySet()
1023 …if ((mDecoder.ReadBool(isLocal) == OT_ERROR_NONE) && (mDecoder.ReadUint16(rloc16) == OT_ERROR_NONE… in HandlePropertyInsert()
1226 return mDecoder.ReadUint16(mDiscoveryScanPanId); in HandlePropertySet()
1529 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mPanId)); in DecodeOperationalDataset()
1570 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mSecurityPolicy.mRotationTime)); in DecodeOperationalDataset()
2504 SuccessOrExit(error = mDecoder.ReadUint16(timeout)); in HandlePropertySet()
3443 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertyInsert()
3534 SuccessOrExit(error = mDecoder.ReadUint16(port)); in HandlePropertyRemove()
3721 SuccessOrExit(error = mDecoder.ReadUint16(serverAddr.mPort)); in HandlePropertySet()
3956 SuccessOrExit(error = mDecoder.ReadUint16(entry->mService.mPort)); in HandlePropertyInsert()
[all …]
Dncp_base.cpp1385 SuccessOrExit(parseError = mDecoder.ReadUint16(count)); in CommandHandler_PEEK()
1418 SuccessOrExit(parseError = mDecoder.ReadUint16(count)); in CommandHandler_POKE()
1624 SuccessOrExit(error = mDecoder.ReadUint16(panid)); in HandlePropertySet()
1786 return mDecoder.ReadUint16(mScanPeriod); in HandlePropertySet()
2549 SuccessOrExit(error = mDecoder.ReadUint16(regionCode)); in HandlePropertySet()
/openthread-latest/tests/unit/
Dtest_ip4_header.cpp92 VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kTotalLengthOffset) == kTotalLength, in TestIp4Header()
118 VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kTotalLengthOffset) == kTotalLength, in TestIp4Header()
Dtest_spinel_decoder.cpp134 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
207 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
431 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
493 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
549 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
595 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
632 SuccessOrQuit(decoder.ReadUint16(u16)); in TestDecoder()
Dtest_ip6_header.cpp98 …VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kPayloadLengthFieldOffset) == kPayloadLen… in TestIp6Header()
Dtest_checksum.cpp56 sum += BigEndian::ReadUint16(bytes); in CalculateChecksum()
/openthread-latest/src/lib/utils/
Dendian.hpp51 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>(aBuffer[0] | (aBu… in ReadUint16() function
/openthread-latest/src/core/thread/
Dlowpan.cpp1120 mSource = BigEndian::ReadUint16(aFrame); in ParseFrom()
1121 mDestination = BigEndian::ReadUint16(aFrame + 2); in ParseFrom()
1224 mSize = BigEndian::ReadUint16(aFrame + kSizeIndex) & kSizeMask; in ParseFrom()
1225 mTag = BigEndian::ReadUint16(aFrame + kTagIndex); in ParseFrom()
Dnetwork_data_service.cpp351 … aInfo.mSockAddr.SetPort(BigEndian::ReadUint16(aIterator.mServerSubTlv->GetServerData())); in GetNextDnsSrpUnicastInfo()
Dnetwork_data_leader.cpp525 aValue = BigEndian::ReadUint16(subTlv->GetValue()); in ReadCommissioningDataUint16SubTlv()
/openthread-latest/src/core/mac/
Dmac_frame.cpp464 aPanId = LittleEndian::ReadUint16(&mPsdu[index]); in GetDstPanId()
496 aAddress.SetShort(LittleEndian::ReadUint16(&mPsdu[index])); in GetDstAddr()
599 aPanId = LittleEndian::ReadUint16(&mPsdu[index]); in GetSrcPanId()
645 aAddress.SetShort(LittleEndian::ReadUint16(&mPsdu[index])); in GetSrcAddr()