/openthread-latest/src/lib/spinel/ |
D | spinel_prop_codec.cpp | 126 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()
|
D | spi_frame.hpp | 200 …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()
|
D | multi_frame_buffer.hpp | 267 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()
|
D | spinel_decoder.cpp | 119 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()
|
D | spinel_decoder.hpp | 172 otError ReadUint16(uint16_t &aUint16);
|
/openthread-latest/src/core/common/ |
D | encoding.hpp | 125 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/ |
D | ncp_base_radio.cpp | 294 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()
|
D | ncp_base_ftd.cpp | 467 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()
|
D | ncp_base_mtd.cpp | 893 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 …]
|
D | ncp_base.cpp | 1385 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/ |
D | test_ip4_header.cpp | 92 VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kTotalLengthOffset) == kTotalLength, in TestIp4Header() 118 VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kTotalLengthOffset) == kTotalLength, in TestIp4Header()
|
D | test_spinel_decoder.cpp | 134 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()
|
D | test_ip6_header.cpp | 98 …VerifyOrQuit(BigEndian::ReadUint16(headerBytes + Header::kPayloadLengthFieldOffset) == kPayloadLen… in TestIp6Header()
|
D | test_checksum.cpp | 56 sum += BigEndian::ReadUint16(bytes); in CalculateChecksum()
|
/openthread-latest/src/lib/utils/ |
D | endian.hpp | 51 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>(aBuffer[0] | (aBu… in ReadUint16() function
|
/openthread-latest/src/core/thread/ |
D | lowpan.cpp | 1120 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()
|
D | network_data_service.cpp | 351 … aInfo.mSockAddr.SetPort(BigEndian::ReadUint16(aIterator.mServerSubTlv->GetServerData())); in GetNextDnsSrpUnicastInfo()
|
D | network_data_leader.cpp | 525 aValue = BigEndian::ReadUint16(subTlv->GetValue()); in ReadCommissioningDataUint16SubTlv()
|
/openthread-latest/src/core/mac/ |
D | mac_frame.cpp | 464 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()
|