Home
last modified time | relevance | path

Searched refs:kMinId (Results 1 – 2 of 2) sorted by relevance

/openthread-3.6.0/src/core/thread/
Dnetwork_data_leader.hpp512 void MarkAsInUse(uint8_t aId) { mRemoveTimes[aId - kMinId].SetValue(kInUse); } in MarkAsInUse()
524 static constexpr uint8_t kMinId = 1; member in ot::NetworkData::Leader::ContextIds
536 …bool IsUnallocated(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kUnal… in IsUnallocated()
537 … bool IsInUse(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kInUse; } in IsInUse()
538 TimeMilli GetRemoveTime(uint8_t aId) const { return mRemoveTimes[aId - kMinId]; } in GetRemoveTime()
540 … void MarkAsUnallocated(uint8_t aId) { mRemoveTimes[aId - kMinId].SetValue(kUnallocated); } in MarkAsUnallocated()
542 TimeMilli mRemoveTimes[kMaxId - kMinId + 1];
Dnetwork_data_leader_ftd.cpp1420 for (uint8_t id = kMinId; id <= kMaxId; id++) in Clear()
1433 aId = kMinId; in GetUnallocatedId()
1439 for (uint8_t id = kMinId; id <= kMaxId; id++) in GetUnallocatedId()
1477 mRemoveTimes[aId - kMinId].SetValue(time); in SetRemoveTime()
1489 for (uint8_t id = kMinId; id <= kMaxId; id++) in HandleTimer()