Home
last modified time | relevance | path

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

/openthread-latest/src/core/common/
Dtime.hpp96 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/
Dmeshcop.cpp124 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()
Dmeshcop.hpp177 uint64_t GetValue(void) const { return mValue; } in GetValue()
/openthread-latest/tests/unit/
Dtest_heap_array.cpp53 : 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
Dtest_cmd_line_parser.cpp57 ValueType mValue; member
79 printf(aPrintFormat, testCase->mValue); in VerifyParser()
90 VerifyOrQuit(value == testCase->mValue, "Parser failed"); in VerifyParser()
Dtest_dns.cpp1662 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()
Dtest_dso.cpp98 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/
Dchecksum.hpp114 : mValue(0) in Checksum()
119 uint16_t GetValue(void) const { return mValue; } in GetValue()
135 uint16_t mValue; member in ot::Checksum
Dchecksum.cpp51 uint16_t newValue = mValue; in AddUint8()
59 if (newValue < mValue) in AddUint8()
64 mValue = newValue; in AddUint8()
Ddns_types.cpp1071 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()
Ddns_types.hpp1295 mValue = aValue; in Init()
/openthread-latest/src/cli/
Dcli_joiner.cpp65 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()
Dcli_utils.cpp245 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()
Dcli_commissioner.cpp174 … 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/
Dble.c150 …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/
Ddns.h95 …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-latest/src/core/utils/
Dsrp_client_buffers.cpp64 entry->mTxtEntry.mValue = entry->mTxtBuffer; in AllocateService()
/openthread-latest/include/openthread/platform/
Dble.h130 uint8_t *mValue; ///< The value of an attribute member
/openthread-latest/src/core/thread/
Ddua_manager.cpp68 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()
Ddua_manager.hpp268 uint32_t mValue; // Non-zero indicates timer should start. member
/openthread-latest/src/core/radio/
Dtrel_interface.cpp278 aExtAddress.Set(entry.mValue); in ParsePeerInfoTxtData()
285 memcpy(aExtPanId.m8, entry.mValue, sizeof(MeshCoP::ExtendedPanId)); in ParsePeerInfoTxtData()
Dble_secure.cpp530 packet.mValue = mPacketBuffer; in HandleTransport()
552 …IgnoreReturnValue(AsCoreType(aInstance).Get<Ble::BleSecure>().HandleBleReceive(aPacket->mValue, aP… in otPlatBleGattServerOnWriteRequest()
/openthread-latest/src/ncp/
Dncp_base_ftd.cpp743 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()
Dncp_base_mtd.cpp1922 SuccessOrExit(error = mEncoder.WriteUint64(discerner->mValue)); in HandlePropertyGet()
1943 SuccessOrExit(error = mDecoder.ReadUint64(discerner.mValue)); in HandlePropertySet()