Searched refs:kMinId (Results 1 – 2 of 2) sorted by relevance
230 void MarkAsInUse(uint8_t aId) { mRemoveTimes[aId - kMinId].SetValue(kInUse); } in MarkAsInUse()239 static constexpr uint8_t kMinId = 1; member in ot::NetworkData::Leader::ContextIds251 …bool IsUnallocated(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kUnal… in IsUnallocated()252 … bool IsInUse(uint8_t aId) const { return mRemoveTimes[aId - kMinId].GetValue() == kInUse; } in IsInUse()253 TimeMilli GetRemoveTime(uint8_t aId) const { return mRemoveTimes[aId - kMinId]; } in GetRemoveTime()255 … void MarkAsUnallocated(uint8_t aId) { mRemoveTimes[aId - kMinId].SetValue(kUnallocated); } in MarkAsUnallocated()257 TimeMilli mRemoveTimes[kMaxId - kMinId + 1];
1321 for (uint8_t id = kMinId; id <= kMaxId; id++) in Clear()1331 for (uint8_t id = kMinId; id <= kMaxId; id++) in GetUnallocatedId()1364 mRemoveTimes[aId - kMinId].SetValue(time); in SetRemoveTime()1372 for (uint8_t id = kMinId; id <= kMaxId; id++) in HandleTimer()