/openthread-latest/src/core/common/ |
D | time.hpp | 96 uint32_t GetValue(void) const { return mValue; } in GetValue() 104 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue() 119 uint32_t operator-(const Time &aOther) const { return mValue - aOther.mValue; } in operator -() 129 Time operator+(uint32_t aDuration) const { return Time(mValue + aDuration); } in operator +() 139 Time operator-(uint32_t aDuration) const { return Time(mValue - aDuration); } in operator -() 147 void operator+=(uint32_t aDuration) { mValue += aDuration; } in operator +=() 155 void operator-=(uint32_t aDuration) { mValue -= aDuration; } in operator -=() 166 bool operator==(const Time &aOther) const { return mValue == aOther.mValue; } in operator ==() 183 bool operator<(const Time &aOther) const { return SerialNumber::IsLess(mValue, aOther.mValue); } in operator <() 229 Time GetDistantFuture(void) const { return Time(mValue + kDistantInterval); } in GetDistantFuture() [all …]
|
/openthread-latest/src/core/meshcop/ |
D | meshcop.cpp | 124 return (BigEndian::ReadUint64(aJoinerId.m8) & mask) == (mValue & mask); in Matches() 136 uint64_t value = mValue; in CopyTo() 166 return IsValid() && (mLength == aOther.mLength) && ((mValue & mask) == (aOther.mValue & mask)); in operator ==() 175 string.Append("0x%04x", static_cast<uint16_t>(mValue)); in ToString() 179 string.Append("0x%08lx", ToUlong(static_cast<uint32_t>(mValue))); in ToString() 183 string.Append("0x%lx-%08lx", ToUlong(static_cast<uint32_t>(mValue >> 32)), in ToString() 184 ToUlong(static_cast<uint32_t>(mValue))); in ToString()
|
D | meshcop.hpp | 177 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 | 114 : mValue(0) in Checksum() 119 uint16_t GetValue(void) const { return mValue; } in GetValue() 135 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 | 1071 aEntry.mValue = reinterpret_cast<const uint8_t *>(&cur[index]); in GetNextEntry() 1084 aEntry.mValue = reinterpret_cast<const uint8_t *>(cur); in GetNextEntry() 1096 aEntry.mValue = nullptr; in GetNextEntry() 1122 VerifyOrExit((mValue != nullptr) && (mValueLength != 0)); in AppendTo() 1123 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo() 1131 if (mValue == nullptr) in AppendTo() 1146 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
|
D | dns_types.hpp | 1295 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 | 150 …rval = sendto(sFd, (const char *)aPacket->mValue, aPacket->mLength, 0, (struct sockaddr *)&sSockad… in otPlatBleGattServerIndicate() 194 myPacket.mValue = sBleBuffer; in platformBleProcess()
|
/openthread-latest/include/openthread/ |
D | dns.h | 95 …const uint8_t *mValue; ///< The TXT record value or already encoded TXT-DATA (depending on `… member
|
D | joiner.h | 80 uint64_t mValue; ///< Discerner value (the lowest `mLength` bits specify the discerner). member
|
/openthread-latest/src/core/utils/ |
D | srp_client_buffers.cpp | 64 entry->mTxtEntry.mValue = entry->mTxtBuffer; in AllocateService()
|
/openthread-latest/include/openthread/platform/ |
D | ble.h | 130 uint8_t *mValue; ///< The value of an attribute member
|
/openthread-latest/src/core/thread/ |
D | dua_manager.cpp | 68 mDelay.mValue = 0; in DuaManager() 320 VerifyOrExit(mle.IsAttached(), mDelay.mValue = 0); in HandleNotifierEvents() 421 if (mDelay.mValue == 0) in UpdateTimeTickerRegistration() 533 mDelay.mValue = 0; in PerformNextRegistration()
|
D | dua_manager.hpp | 268 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 | 530 packet.mValue = mPacketBuffer; in HandleTransport() 552 …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 | 1922 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet() 1943 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()
|