/openthread-latest/src/core/common/ |
D | time.hpp | 91 uint32_t GetValue(void) const { return mValue; } in GetValue() 98 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue() 112 uint32_t operator-(const Time &aOther) const { return mValue - aOther.mValue; } in operator -() 121 Time operator+(uint32_t aDuration) const { return Time(mValue + aDuration); } in operator +() 130 Time operator-(uint32_t aDuration) const { return Time(mValue - aDuration); } in operator -() 137 void operator+=(uint32_t aDuration) { mValue += aDuration; } in operator +=() 144 void operator-=(uint32_t aDuration) { mValue -= aDuration; } in operator -=() 154 bool operator==(const Time &aOther) const { return mValue == aOther.mValue; } in operator ==() 170 bool operator<(const Time &aOther) const { return SerialNumber::IsLess(mValue, aOther.mValue); } in operator <() 212 Time GetDistantFuture(void) const { return Time(mValue + kDistantInterval); } in GetDistantFuture() [all …]
|
/openthread-latest/src/core/meshcop/ |
D | meshcop.cpp | 117 return (BigEndian::ReadUint64(aJoinerId.m8) & mask) == (mValue & mask); in Matches() 129 uint64_t value = mValue; in CopyTo() 159 return IsValid() && (mLength == aOther.mLength) && ((mValue & mask) == (aOther.mValue & mask)); in operator ==() 168 string.Append("0x%04x", static_cast<uint16_t>(mValue)); in ToString() 172 string.Append("0x%08lx", ToUlong(static_cast<uint32_t>(mValue))); in ToString() 176 string.Append("0x%lx-%08lx", ToUlong(static_cast<uint32_t>(mValue >> 32)), in ToString() 177 ToUlong(static_cast<uint32_t>(mValue))); in ToString()
|
D | meshcop.hpp | 171 uint64_t GetValue(void) const { return mValue; } in GetValue()
|
/openthread-latest/tests/unit/ |
D | test_heap_array.cpp | 53 : mValue(0) in Entry() 60 : mValue(aValue) in Entry() 67 : mValue(aEntry.mValue) in Entry() 75 uint16_t GetValue(void) const { return mValue; } in GetValue() 76 void SetValue(uint16_t aValue) { mValue = aValue; } in SetValue() 78 bool operator==(const Entry &aOther) const { return mValue == aOther.mValue; } in operator ==() 79 bool Matches(uint16_t aValue) const { return mValue == aValue; } in Matches() 82 uint16_t mValue; member in ot::Entry
|
D | test_cmd_line_parser.cpp | 57 ValueType mValue; member 79 printf(aPrintFormat, testCase->mValue); in VerifyParser() 90 VerifyOrQuit(value == testCase->mValue, "Parser failed"); in VerifyParser()
|
D | test_dns.cpp | 1662 VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mKey, expectedKeyLength) == 0); in TestDnsTxtEntry() 1663 VerifyOrQuit(txtEntry.mValue[expectedKeyLength] == static_cast<uint8_t>('=')); in TestDnsTxtEntry() 1664 …VerifyOrQuit(memcmp(&txtEntry.mValue[expectedKeyLength + sizeof(uint8_t)], expectedTxtEntry.mValue, in TestDnsTxtEntry() 1674 … VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mValue, txtEntry.mValueLength) == 0); in TestDnsTxtEntry() 1689 txtEntry.mValue = kValue1; in TestDnsTxtEntry() 1711 txtEntry.mValue = nullptr; in TestDnsTxtEntry() 1735 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'B'), "GetNextEntry() got inco… in TestDnsTxtEntry() 1740 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'E'), "GetNextEntry() got inco… in TestDnsTxtEntry()
|
D | test_dso.cpp | 98 mValue = aValue; in Init() 102 uint8_t GetValue(void) const { return mValue; } in GetValue() 105 uint8_t mValue; member in ot::Dns::TestTlv
|
/openthread-latest/src/core/net/ |
D | checksum.hpp | 109 : mValue(0) in Checksum() 114 uint16_t GetValue(void) const { return mValue; } in GetValue() 130 uint16_t mValue; member in ot::Checksum
|
D | checksum.cpp | 51 uint16_t newValue = mValue; in AddUint8() 59 if (newValue < mValue) in AddUint8() 64 mValue = newValue; in AddUint8()
|
D | dns_types.cpp | 1065 aEntry.mValue = reinterpret_cast<const uint8_t *>(&cur[index]); in GetNextEntry() 1078 aEntry.mValue = reinterpret_cast<const uint8_t *>(cur); in GetNextEntry() 1090 aEntry.mValue = nullptr; in GetNextEntry() 1116 VerifyOrExit((mValue != nullptr) && (mValueLength != 0)); in AppendTo() 1117 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo() 1125 if (mValue == nullptr) in AppendTo() 1140 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
|
D | dns_types.hpp | 1199 mValue = aValue; in Init()
|
/openthread-latest/src/cli/ |
D | cli_joiner.cpp | 65 if (discerner->mValue <= 0xffffffff) in Process() 67 …OutputLine("0x%lx/%u", static_cast<unsigned long>(discerner->mValue & 0xffffffff), discerner->mLen… in Process() 71 OutputLine("0x%lx%08lx/%u", static_cast<unsigned long>(discerner->mValue >> 32), in Process() 72 … static_cast<unsigned long>(discerner->mValue & 0xffffffff), discerner->mLength); in Process()
|
D | cli_utils.cpp | 245 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData() 252 if (entry.mValue != nullptr) in OutputDnsTxtData() 255 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData() 534 error = aArg.ParseAsUint64(aDiscerner.mValue); in ParseJoinerDiscerner()
|
D | cli_commissioner.cpp | 174 … static_cast<unsigned long>(joinerInfo.mSharedId.mDiscerner.mValue >> 32), in Process() 175 … static_cast<unsigned long>(joinerInfo.mSharedId.mDiscerner.mValue & 0xffffffff), in Process()
|
/openthread-latest/examples/platforms/simulation/ |
D | ble.c | 152 …rval = sendto(sFd, (const char *)aPacket->mValue, aPacket->mLength, 0, (struct sockaddr *)&sSockad… in otPlatBleGattServerIndicate() 196 myPacket.mValue = sBleBuffer; in platformBleProcess()
|
/openthread-latest/include/openthread/ |
D | dns.h | 92 …const uint8_t *mValue; ///< The TXT record value or already encoded TXT-DATA (depending on `… member
|
D | joiner.h | 77 uint64_t mValue; ///< Discerner value (the lowest `mLength` bits specify the discerner). member
|
/openthread-latest/src/core/utils/ |
D | srp_client_buffers.cpp | 60 entry->mTxtEntry.mValue = entry->mTxtBuffer; in AllocateService()
|
/openthread-latest/include/openthread/platform/ |
D | ble.h | 120 uint8_t *mValue; ///< The value of an attribute member
|
/openthread-latest/src/core/thread/ |
D | dua_manager.cpp | 57 mDelay.mValue = 0; in DuaManager() 309 VerifyOrExit(mle.IsAttached(), mDelay.mValue = 0); in HandleNotifierEvents() 410 if (mDelay.mValue == 0) in UpdateTimeTickerRegistration() 522 mDelay.mValue = 0; in PerformNextRegistration()
|
D | dua_manager.hpp | 254 uint32_t mValue; // Non-zero indicates timer should start. member
|
/openthread-latest/src/core/radio/ |
D | trel_interface.cpp | 278 aExtAddress.Set(entry.mValue); in ParsePeerInfoTxtData() 285 memcpy(aExtPanId.m8, entry.mValue, sizeof(MeshCoP::ExtendedPanId)); in ParsePeerInfoTxtData()
|
D | ble_secure.cpp | 511 packet.mValue = mPacketBuffer; in HandleTransport() 533 …IgnoreReturnValue(AsCoreType(aInstance).Get<Ble::BleSecure>().HandleBleReceive(aPacket->mValue, aP… in otPlatBleGattServerOnWriteRequest()
|
/openthread-latest/src/ncp/ |
D | ncp_base_ftd.cpp | 743 SuccessOrExit(error = mEncoder.WriteUint64(joinerInfo.mSharedId.mDiscerner.mValue)); in HandlePropertyGet() 783 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyInsert() 828 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyRemove()
|
D | ncp_base_mtd.cpp | 1920 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet() 1941 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()
|