/openthread-2.7.6/src/core/common/ |
D | time.hpp | 89 uint32_t GetValue(void) const { return mValue; } in GetValue() 97 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue() 112 uint32_t operator-(const Time &aOther) const { return mValue - aOther.mValue; } in operator -() 122 Time operator+(uint32_t aDuration) const { return Time(mValue + aDuration); } in operator +() 132 Time operator-(uint32_t aDuration) const { return Time(mValue - aDuration); } in operator -() 140 void operator+=(uint32_t aDuration) { mValue += aDuration; } in operator +=() 148 void operator-=(uint32_t aDuration) { mValue -= aDuration; } in operator -=() 159 bool operator==(const Time &aOther) const { return mValue == aOther.mValue; } in operator ==() 176 … bool operator<(const Time &aOther) const { return ((mValue - aOther.mValue) & (1UL << 31)) != 0; } in operator <() 221 Time GetDistantFuture(void) const { return Time(mValue + kDistantFuture); } in GetDistantFuture() [all …]
|
/openthread-2.7.6/src/core/net/ |
D | checksum.hpp | 89 : mValue(0) in Checksum() 94 uint16_t GetValue(void) const { return mValue; } in GetValue() 106 uint16_t mValue; member in ot::Checksum
|
D | checksum.cpp | 46 uint16_t newValue = mValue; in AddUint8() 54 if (newValue < mValue) in AddUint8() 59 mValue = newValue; in AddUint8()
|
D | dns_types.cpp | 922 aEntry.mValue = reinterpret_cast<const uint8_t *>(&cur[index]); in GetNextEntry() 935 aEntry.mValue = reinterpret_cast<const uint8_t *>(cur); in GetNextEntry() 947 aEntry.mValue = nullptr; in GetNextEntry() 966 VerifyOrExit((mValue != nullptr) && (mValueLength != 0)); in AppendTo() 967 error = aMessage.AppendBytes(mValue, mValueLength); in AppendTo() 975 if (mValue == nullptr) in AppendTo() 990 error = aMessage.AppendBytes(mValue, mValueLength); in AppendTo()
|
D | dns_types.hpp | 1133 mValue = aValue; in TxtEntry()
|
/openthread-2.7.6/src/core/meshcop/ |
D | meshcop.cpp | 120 return (Encoding::BigEndian::ReadUint64(aJoinerId.m8) & mask) == (mValue & mask); in Matches() 132 uint64_t value = mValue; in CopyTo() 162 return IsValid() && (mLength == aOther.mLength) && ((mValue & mask) == (aOther.mValue & mask)); in operator ==() 171 string.Append("0x%04x", static_cast<uint16_t>(mValue)); in ToString() 175 string.Append("0x%08x", static_cast<uint32_t>(mValue)); in ToString() 179 … string.Append("0x%x-%08x", static_cast<uint32_t>(mValue >> 32), static_cast<uint32_t>(mValue)); in ToString()
|
D | meshcop.hpp | 176 uint64_t GetValue(void) const { return mValue; } in GetValue()
|
D | dataset_manager.hpp | 217 uint8_t mValue[Dataset::kMaxValueSize]; member in ot::MeshCoP::DatasetManager::DatasetTlv
|
D | dataset_manager_ftd.cpp | 302 SuccessOrExit(error = aMessage.Read(aOffset + sizeof(Tlv), mValue, GetLength())); in ReadFromMessage()
|
/openthread-2.7.6/tests/unit/ |
D | test_lookup_table.cpp | 45 : mValue(aValue) in TableEntryBase() 49 uint8_t mValue; member
|
D | test_cmd_line_parser.cpp | 55 ValueType mValue; member 77 printf(aPrintFormat, testCase->mValue); in VerifyParser() 88 VerifyOrQuit(value == testCase->mValue, "Parser failed"); in VerifyParser()
|
D | test_dns.cpp | 1239 VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mKey, expectedKeyLength) == 0); in TestDnsTxtEntry() 1240 VerifyOrQuit(txtEntry.mValue[expectedKeyLength] == static_cast<uint8_t>('=')); in TestDnsTxtEntry() 1241 …VerifyOrQuit(memcmp(&txtEntry.mValue[expectedKeyLength + sizeof(uint8_t)], expectedTxtEntry.mValue, in TestDnsTxtEntry() 1251 … VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mValue, txtEntry.mValueLength) == 0); in TestDnsTxtEntry() 1266 txtEntry.mValue = kValue1; in TestDnsTxtEntry() 1283 txtEntry.mValue = nullptr; in TestDnsTxtEntry() 1307 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'B'), "GetNextEntry() got inco… in TestDnsTxtEntry() 1312 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'E'), "GetNextEntry() got inco… in TestDnsTxtEntry()
|
/openthread-2.7.6/include/openthread/ |
D | dns.h | 93 …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-2.7.6/src/core/utils/ |
D | srp_client_buffers.cpp | 64 entry->mTxtEntry.mValue = entry->mTxtBuffer; in AllocateService()
|
/openthread-2.7.6/src/cli/ |
D | cli_joiner.cpp | 57 …mInterpreter.OutputLine("0x%llx/%u", static_cast<unsigned long long>(discerner->mValue), discerner… in ProcessDiscerner()
|
D | cli.cpp | 292 error = aArg.ParseAsUint64(aDiscerner.mValue); in ParseJoinerDiscerner() 1443 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData() 1450 if (entry.mValue != nullptr) in OutputDnsTxtData() 1453 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData()
|
/openthread-2.7.6/src/core/thread/ |
D | dua_manager.cpp | 66 mDelay.mValue = 0; in DuaManager() 308 VerifyOrExit(mle.IsAttached(), mDelay.mValue = 0); in HandleNotifierEvents() 409 if (mDelay.mValue == 0) in UpdateTimeTickerRegistration() 524 mDelay.mValue = 0; in PerformNextRegistration()
|
D | dua_manager.hpp | 250 uint32_t mValue; // Non-zero indicates timer should start. member
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_ftd.cpp | 739 SuccessOrExit(error = mEncoder.WriteUint64(joinerInfo.mSharedId.mDiscerner.mValue)); in HandlePropertyGet() 779 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyInsert() 824 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertyRemove()
|
D | ncp_base_mtd.cpp | 1841 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet() 1862 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()
|