Home
last modified time | relevance | path

Searched refs:mValue (Results 1 – 21 of 21) sorted by relevance

/openthread-2.7.6/src/core/common/
Dtime.hpp89 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/
Dchecksum.hpp89 : mValue(0) in Checksum()
94 uint16_t GetValue(void) const { return mValue; } in GetValue()
106 uint16_t mValue; member in ot::Checksum
Dchecksum.cpp46 uint16_t newValue = mValue; in AddUint8()
54 if (newValue < mValue) in AddUint8()
59 mValue = newValue; in AddUint8()
Ddns_types.cpp922 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()
Ddns_types.hpp1133 mValue = aValue; in TxtEntry()
/openthread-2.7.6/src/core/meshcop/
Dmeshcop.cpp120 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()
Dmeshcop.hpp176 uint64_t GetValue(void) const { return mValue; } in GetValue()
Ddataset_manager.hpp217 uint8_t mValue[Dataset::kMaxValueSize]; member in ot::MeshCoP::DatasetManager::DatasetTlv
Ddataset_manager_ftd.cpp302 SuccessOrExit(error = aMessage.Read(aOffset + sizeof(Tlv), mValue, GetLength())); in ReadFromMessage()
/openthread-2.7.6/tests/unit/
Dtest_lookup_table.cpp45 : mValue(aValue) in TableEntryBase()
49 uint8_t mValue; member
Dtest_cmd_line_parser.cpp55 ValueType mValue; member
77 printf(aPrintFormat, testCase->mValue); in VerifyParser()
88 VerifyOrQuit(value == testCase->mValue, "Parser failed"); in VerifyParser()
Dtest_dns.cpp1239 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/
Ddns.h93 …const uint8_t *mValue; ///< The TXT record value or already encoded TXT-DATA (depending on `… member
Djoiner.h80 uint64_t mValue; ///< Discerner value (the lowest `mLength` bits specify the discerner). member
/openthread-2.7.6/src/core/utils/
Dsrp_client_buffers.cpp64 entry->mTxtEntry.mValue = entry->mTxtBuffer; in AllocateService()
/openthread-2.7.6/src/cli/
Dcli_joiner.cpp57 …mInterpreter.OutputLine("0x%llx/%u", static_cast<unsigned long long>(discerner->mValue), discerner… in ProcessDiscerner()
Dcli.cpp292 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/
Ddua_manager.cpp66 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()
Ddua_manager.hpp250 uint32_t mValue; // Non-zero indicates timer should start. member
/openthread-2.7.6/src/ncp/
Dncp_base_ftd.cpp739 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()
Dncp_base_mtd.cpp1841 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet()
1862 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()