/openthread-latest/src/core/meshcop/ |
D | timestamp.cpp | 43 void Timestamp::ConvertTo(Info &aInfo) const in ConvertTo() 50 void Timestamp::SetFrom(const Info &aInfo) in SetFrom() 57 void Timestamp::SetToInvalid(void) in SetToInvalid() 64 bool Timestamp::IsValid(void) const in IsValid() 70 void Timestamp::SetToOrphanAnnounce(void) in SetToOrphanAnnounce() 77 bool Timestamp::IsOrphanAnnounce(void) const in IsOrphanAnnounce() 82 uint64_t Timestamp::GetSeconds(void) const in GetSeconds() 87 void Timestamp::SetSeconds(uint64_t aSeconds) in SetSeconds() 93 void Timestamp::SetTicks(uint16_t aTicks) in SetTicks() 98 void Timestamp::SetAuthoritative(bool aAuthoritative) in SetAuthoritative() [all …]
|
D | timestamp.hpp | 55 class Timestamp : public Clearable<Timestamp> class 165 static int Compare(const Timestamp &aFirst, const Timestamp &aSecond); 168 bool operator==(const Timestamp &aOther) const { return Compare(*this, aOther) == 0; } in operator ==() 169 bool operator!=(const Timestamp &aOther) const { return Compare(*this, aOther) != 0; } in operator !=() 170 bool operator>(const Timestamp &aOther) const { return Compare(*this, aOther) > 0; } in operator >() 171 bool operator<(const Timestamp &aOther) const { return Compare(*this, aOther) < 0; } in operator <() 172 bool operator>=(const Timestamp &aOther) const { return Compare(*this, aOther) >= 0; } in operator >=() 173 bool operator<=(const Timestamp &aOther) const { return Compare(*this, aOther) <= 0; } in operator <=()
|
D | dataset.hpp | 479 Error ReadTimestamp(Type aType, Timestamp &aTimestamp) const; 492 Error WriteTimestamp(Type aType, const Timestamp &aTimestamp); 700 template <> struct Dataset::TypeFor<Dataset::kActiveTimestamp> { using Type = Timestamp; }; 701 template <> struct Dataset::TypeFor<Dataset::kPendingTimestamp> { using Type = Timestamp; }; 759 template <> inline void Dataset::Info::Get<Dataset::kActiveTimestamp>(Timestamp &aTimestamp) const in Get() 764 template <> inline void Dataset::Info::Get<Dataset::kPendingTimestamp>(Timestamp &aTimestamp) const in Get() 769 template <> inline void Dataset::Info::Set<Dataset::kActiveTimestamp>(const Timestamp &aTimestamp) in Set() 775 template <> inline void Dataset::Info::Set<Dataset::kPendingTimestamp>(const Timestamp &aTimestamp) in Set()
|
D | dataset_updater.cpp | 62 Timestamp activeTimestamp; in RequestUpdate() 63 Timestamp pendingTimestamp; in RequestUpdate() 160 Timestamp newTimestamp; in HandleDatasetChanged() 161 Timestamp requestedTimestamp; in HandleDatasetChanged()
|
D | dataset_manager.hpp | 82 const Timestamp &GetTimestamp(void) const { return mNetworkTimestamp; } in GetTimestamp() 316 Timestamp mLocalTimestamp; 317 Timestamp mNetworkTimestamp; 428 Error ReadActiveTimestamp(Timestamp &aTimestamp) const;
|
D | dataset_manager_ftd.cpp | 55 Timestamp activeTimestamp; in ProcessSetOrReplaceRequest() 76 Timestamp pendingTimestamp; in ProcessSetOrReplaceRequest() 272 Timestamp timestamp; in GenerateLocal() 410 Timestamp activeTimestamp; in ApplyActiveDataset()
|
D | dataset.cpp | 427 Timestamp activeTimestamp; in WriteTlvsFrom() 435 Timestamp pendingTimestamp; in WriteTlvsFrom() 544 Error Dataset::ReadTimestamp(Type aType, Timestamp &aTimestamp) const in ReadTimestamp() 561 Error Dataset::WriteTimestamp(Type aType, const Timestamp &aTimestamp) in WriteTimestamp() 563 return WriteTlv(TimestampTlvFor(aType), &aTimestamp, sizeof(Timestamp)); in WriteTimestamp()
|
D | dataset_manager.cpp | 280 compare = Timestamp::Compare(mNetworkTimestamp, mLocalTimestamp); in Save() 449 Timestamp timestamp; in SyncLocalWithLeader() 898 Error PendingDatasetManager::ReadActiveTimestamp(Timestamp &aTimestamp) const in ReadActiveTimestamp() 960 Timestamp activeTimestamp; in HandleDelayTimer()
|
D | meshcop_tlvs.hpp | 508 typedef SimpleTlvInfo<Tlv::kActiveTimestamp, Timestamp> ActiveTimestampTlv; 546 typedef SimpleTlvInfo<Tlv::kPendingTimestamp, Timestamp> PendingTimestampTlv;
|
/openthread-latest/tests/unit/ |
D | test_meshcop.cpp | 118 MeshCoP::Timestamp t1; in TestTimestamp() 119 MeshCoP::Timestamp t2; in TestTimestamp() 120 MeshCoP::Timestamp::Info info; in TestTimestamp() 127 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t1) == 0); in TestTimestamp() 136 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t2) == 0); in TestTimestamp() 143 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) > 0); in TestTimestamp() 144 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t1) < 0); in TestTimestamp() 147 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) == 0); in TestTimestamp() 154 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) > 0); in TestTimestamp() 155 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t1) < 0); in TestTimestamp() [all …]
|
/openthread-latest/src/cli/ |
D | README_DATASET.md | 20 - Active Timestamp 36 - Pending Timestamp 48 Active Timestamp: 1 108 Active Timestamp: 1 161 Active Timestamp: 10 186 Active Timestamp: 1691070443 218 Pending Timestamp: 1696177379 219 Active Timestamp: 1696177379 244 Pending Timestamp: 1696177379 245 Active Timestamp: 1696177379 [all …]
|
D | README_COMMISSIONING.md | 19 Active Timestamp: 1 105 Active Timestamp: 1
|
D | README_SRP.md | 19 Active Timestamp: 1
|
D | README_NETDATA.md | 21 Active Timestamp: 1
|
D | README_HISTORY.md | 25 ## Timestamp Format
|
/openthread-latest/src/core/utils/ |
D | history_tracker.hpp | 303 class Timestamp class in ot::Utils::HistoryTracker 326 uint16_t Add(uint16_t aMaxSize, Timestamp aTimestamps[]); 327 void UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]); 330 const Timestamp aTimestamps[], 362 Timestamp mTimestamps[kMaxSize];
|
D | history_tracker.cpp | 486 void HistoryTracker::Timestamp::SetToNow(void) in SetToNow() 499 uint32_t HistoryTracker::Timestamp::GetDurationTill(TimeMilli aTime) const in GetDurationTill() 519 uint16_t HistoryTracker::List::Add(uint16_t aMaxSize, Timestamp aTimestamps[]) in Add() 537 const Timestamp aTimestamps[], in Iterate() 573 void HistoryTracker::List::UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]) in UpdateAgedEntries()
|
/openthread-latest/examples/apps/cli/ |
D | README.md | 27 Active Timestamp: 1
|
/openthread-latest/src/core/thread/ |
D | mle_tlvs.hpp | 205 typedef SimpleTlvInfo<Tlv::kActiveTimestamp, MeshCoP::Timestamp> ActiveTimestampTlv; 210 typedef SimpleTlvInfo<Tlv::kPendingTimestamp, MeshCoP::Timestamp> PendingTimestampTlv;
|
D | mle.hpp | 1055 Error ReadAndSaveActiveDataset(const MeshCoP::Timestamp &aActiveTimestamp) const; 1056 Error ReadAndSavePendingDataset(const MeshCoP::Timestamp &aPendingTimestamp) const; 1066 …Error ReadAndSaveDataset(MeshCoP::Dataset::Type aDatasetType, const MeshCoP::Timestamp &aTimestamp…
|
D | mle.cpp | 2151 MeshCoP::Timestamp activeTimestamp; in SendAnnounce() 2844 MeshCoP::Timestamp activeTimestamp; in HandleLeaderData() 2845 MeshCoP::Timestamp pendingTimestamp; in HandleLeaderData() 3254 MeshCoP::Timestamp timestamp; in HandleChildIdResponse() 3655 MeshCoP::Timestamp timestamp; in HandleAnnounce() 3656 MeshCoP::Timestamp pendingActiveTimestamp; in HandleAnnounce() 3674 …timestampCompare = MeshCoP::Timestamp::Compare(timestamp, Get<MeshCoP::ActiveDatasetManager>()… in HandleAnnounce() 5129 const MeshCoP::Timestamp ×tamp = Get<MeshCoP::ActiveDatasetManager>().GetTimestamp(); in AppendActiveTimestampTlv() 5141 const MeshCoP::Timestamp ×tamp = Get<MeshCoP::PendingDatasetManager>().GetTimestamp(); in AppendPendingTimestampTlv() 5474 Error Mle::RxMessage::ReadAndSaveActiveDataset(const MeshCoP::Timestamp &aActiveTimestamp) const in ReadAndSaveActiveDataset() [all …]
|
D | mle_router.cpp | 2080 MeshCoP::Timestamp timestamp; in HandleChildIdRequest() 2598 MeshCoP::Timestamp timestamp; in HandleDataRequest()
|