/openthread-latest/tests/unit/ |
D | test_url.cpp | 45 VerifyOrQuit(!strcmp(args.GetValue("baudrate"), "115200")); in TestSimple() 46 VerifyOrQuit(args.GetValue("not-exists") == nullptr); in TestSimple() 47 VerifyOrQuit(args.GetValue("last-value-wrong-position", url) == nullptr); in TestSimple() 48 VerifyOrQuit(args.GetValue("last-value-before-url", url - 1) == nullptr); in TestSimple() 49 VerifyOrQuit(args.GetValue("last-value-after-url", url + sizeof(url)) == nullptr); in TestSimple() 61 VerifyOrQuit(args.GetValue("last-value-wrong-position", url) == nullptr); in TestSimpleNoQueryString() 62 VerifyOrQuit(args.GetValue("last-value-before-url", url - 1) == nullptr); in TestSimpleNoQueryString() 63 VerifyOrQuit(args.GetValue("last-value-after-url", url + sizeof(url)) == nullptr); in TestSimpleNoQueryString() 76 VerifyOrQuit((arg = args.GetValue("rtscts")) != nullptr); in TestEmptyValue() 77 VerifyOrQuit(args.GetValue("rtscts", arg) == nullptr); in TestEmptyValue() [all …]
|
D | test_heap_array.cpp | 75 uint16_t GetValue(void) const { return mValue; } in GetValue() function in ot::Entry 109 VerifyOrQuit(aEntry.GetValue() == static_cast<uint16_t>(aExpectedValue)); in VerifyEntry() 111 VerifyOrQuit(aArray.ContainsMatching(aEntry.GetValue())); in VerifyEntry() 112 VerifyOrQuit(aArray.FindMatching(aEntry.GetValue()) == &aEntry); in VerifyEntry() 376 VerifyOrQuit(entry->GetValue() == 0); in TestHeapArray() 384 VerifyOrQuit(entry->GetValue() == 0); in TestHeapArray()
|
D | test_checksum.cpp | 464 VerifyOrQuit(checksum.GetValue() == 0, "Incorrect initial checksum value"); in TestExampleVector() 467 VerifyOrQuit(checksum.GetValue() == kTestVectorChecksum); in TestExampleVector() 468 VerifyOrQuit(checksum.GetValue() == CalculateChecksum(kTestVector, sizeof(kTestVector)), ); in TestExampleVector()
|
/openthread-latest/src/core/thread/ |
D | network_data_tlvs.hpp | 191 uint8_t *GetValue(void) { return reinterpret_cast<uint8_t *>(this) + sizeof(NetworkDataTlv); } in GetValue() function in ot::NetworkData::NetworkDataTlv 198 …const uint8_t *GetValue(void) const { return reinterpret_cast<const uint8_t *>(this) + sizeof(Netw… in GetValue() function in ot::NetworkData::NetworkDataTlv 517 return reinterpret_cast<HasRouteEntry *>(GetValue() + (aIndex * sizeof(HasRouteEntry))); in GetEntry() 529 … return reinterpret_cast<const HasRouteEntry *>(GetValue() + (aIndex * sizeof(HasRouteEntry))); in GetEntry() 537 HasRouteEntry *GetFirstEntry(void) { return reinterpret_cast<HasRouteEntry *>(GetValue()); } in GetFirstEntry() 544 …uteEntry *GetFirstEntry(void) const { return reinterpret_cast<const HasRouteEntry *>(GetValue()); } in GetFirstEntry() 555 return reinterpret_cast<HasRouteEntry *>(GetValue() + GetLength() - sizeof(HasRouteEntry)); in GetLastEntry() 567 … return reinterpret_cast<const HasRouteEntry *>(GetValue() + GetLength() - sizeof(HasRouteEntry)); in GetLastEntry() 1040 … return reinterpret_cast<BorderRouterEntry *>(GetValue() + (aIndex * sizeof(BorderRouterEntry))); in GetEntry() 1052 …return reinterpret_cast<const BorderRouterEntry *>(GetValue() + (aIndex * sizeof(BorderRouterEntry… in GetEntry() [all …]
|
D | network_data_leader.cpp | 512 subTlv = As<MeshCoP::Tlv>(Tlv::FindTlv(dataTlv->GetValue(), dataTlv->GetLength(), aType)); in FindCommissioningDataSubTlv() 525 aValue = BigEndian::ReadUint16(subTlv->GetValue()); in ReadCommissioningDataUint16SubTlv() 548 subTlv = reinterpret_cast<const MeshCoP::Tlv *>(dataTlv->GetValue()); in GetCommissioningDataset() 549 endTlv = reinterpret_cast<const MeshCoP::Tlv *>(dataTlv->GetValue() + dataTlv->GetLength()); in GetCommissioningDataset() 606 SuccessOrExit(error = response->AppendBytes(dataTlv->GetValue(), dataTlv->GetLength())); in ProcessCommissionerGetRequest()
|
D | thread_tlvs.hpp | 322 … return *reinterpret_cast<const Ip6::Address *>(GetValue() + (aIndex * sizeof(Ip6::Address))); in GetIp6Address()
|
D | network_data_leader.hpp | 533 …bool IsUnallocated(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kUnal… in IsUnallocated() 534 … bool IsInUse(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kInUse; } in IsInUse()
|
D | time_sync_service.cpp | 213 if (mLastTimeSyncReceived.GetValue() == 0) in CheckAndHandleChanges()
|
/openthread-latest/src/core/mac/ |
D | sub_mac_csl_receiver.cpp | 189 LogDebg("CSL sleep %lu", ToUlong(mCslTimer.GetNow().GetValue())); in HandleCslTimer() 198 winStart = mCslSampleTime.GetValue() - timeAhead; in HandleCslTimer() 204 winStart = ot::TimerMicro::GetNow().GetValue(); in HandleCslTimer() 210 Get<Radio>().UpdateCslSampleTime(mCslSampleTime.GetValue()); in HandleCslTimer() 233 elapsed = curTime - mCslLastSync.GetValue(); in GetCslWindowEdges() 249 now = TimerMicro::GetNow().GetValue(); in GetLocalTime() 281 sampleTime = mCslSampleTime.GetValue() - mCslPeriod * kUsPerTenSymbols; in LogReceived()
|
/openthread-latest/src/lib/url/ |
D | url.hpp | 84 const char *GetValue(const char *aName, const char *aLastValue = nullptr) const; 101 bool HasParam(const char *aName) const { return (GetValue(aName) != nullptr); } in HasParam()
|
D | url.cpp | 82 const char *Url::GetValue(const char *aName, const char *aLastValue) const in GetValue() function in ot::Url::Url 127 VerifyOrExit((str = GetValue(aName)) != nullptr, error = OT_ERROR_NOT_FOUND); in ParseUint32() 169 VerifyOrExit((str = GetValue(aName)) != nullptr, error = OT_ERROR_NOT_FOUND); in ParseInt32()
|
/openthread-latest/src/posix/platform/ |
D | spinel_manager.cpp | 141 iidString = mUrl.GetValue("iid"); in GetIidListFromUrl() 142 iidListString = mUrl.GetValue("iid-list"); in GetIidListFromUrl() 187 …for (const char *arg = nullptr; (arg = mUrl.GetValue("forkpty-arg", arg)) != nullptr; nodeId = arg) in VirtualTimeInit()
|
/openthread-latest/src/core/net/ |
D | checksum.cpp | 85 uint16_t checksum = GetValue(); in WriteToMessage() 159 if (checksum.GetValue() != kValidRxChecksum) in VerifyMessageChecksum() 244 aHeader.SetChecksum(~checksum.GetValue()); in UpdateIp4HeaderChecksum()
|
D | checksum.hpp | 114 uint16_t GetValue(void) const { return mValue; } in GetValue() function in ot::Checksum
|
/openthread-latest/src/core/utils/ |
D | slaac_address.hpp | 179 … bool IsDeprecating(void) const { return (mExpirationTime.GetValue() != kNotDeprecated); }; in IsDeprecating() 186 if (mExpirationTime.GetValue() == kNotDeprecated) in SetExpirationTime()
|
D | ping_sender.cpp | 136 SuccessOrExit(message->Append(BigEndian::HostSwap32(now.GetValue()))); in SendPing() 148 …Get<Utils::Otns>().EmitPingRequest(mConfig.GetDestination(), mConfig.mSize, now.GetValue(), mConfi… in SendPing()
|
D | history_tracker.hpp | 126 void SetInitTime(void) { mData32 = TimerMilli::GetNow().GetValue(); } in SetInitTime() 308 bool IsDistantPast(void) const { return (mTime.GetValue() == kDistantPast); } in IsDistantPast()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_alarm.cpp | 43 uint32_t otPlatAlarmMilliGetNow(void) { return Core::Get().GetNow().GetValue(); } in otPlatAlarmMilliGetNow()
|
D | nexus_misc.cpp | 140 uint32_t now = Core::Get().GetNow().GetValue(); in LogVarArgs()
|
D | nexus_core.cpp | 150 rxFrame.mInfo.mRxInfo.mTimestamp = (mNow.GetValue() * 1000u); in ProcessRadio()
|
/openthread-latest/src/core/common/ |
D | time.hpp | 91 uint32_t GetValue(void) const { return mValue; } in GetValue() function in ot::Time
|
D | tlvs.hpp | 120 uint8_t *GetValue(void); 129 const uint8_t *GetValue(void) const;
|
D | tlvs.cpp | 47 uint8_t *Tlv::GetValue(void) in GetValue() function in ot::Tlv 52 const uint8_t *Tlv::GetValue(void) const in GetValue() function in ot::Tlv
|
/openthread-latest/tests/nexus/ |
D | test_large_network.cpp | 120 Log("Network stabilized after %u sec", nexus.GetNow().GetValue() / Time::kOneSecondInMsec); in Test()
|
/openthread-latest/src/core/meshcop/ |
D | meshcop.hpp | 171 uint64_t GetValue(void) const { return mValue; } in GetValue() function in ot::MeshCoP::JoinerDiscerner
|