Searched refs:kMinId (Results 1 – 2 of 2) sorted by relevance
512 void MarkAsInUse(uint8_t aId) { mRemoveTimes[aId - kMinId].SetValue(kInUse); } in MarkAsInUse()524 static constexpr uint8_t kMinId = 1; member in ot::NetworkData::Leader::ContextIds536 …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];
1420 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()