Lines Matching refs:now
207 const auto now = std::chrono::steady_clock::now(); in authenticate() local
216 if (mLockOut.nextAttempt > now) { in authenticate()
220 std::chrono::milliseconds>(mLockOut.nextAttempt - now).count(); in authenticate()
247 mLockOut.nextAttempt = now + std::chrono::seconds(10); in authenticate()
248 mLockOut.expiration = now + std::chrono::minutes(10); in authenticate()
250 mLockOut.nextAttempt = now + std::chrono::seconds(3); in authenticate()
251 mLockOut.expiration = now + std::chrono::minutes(1); in authenticate()
253 mLockOut.nextAttempt = now + std::chrono::milliseconds(500); in authenticate()
254 mLockOut.expiration = now + std::chrono::seconds(10); in authenticate()
270 const auto now = std::chrono::steady_clock::now(); in checkIfLockoutCleared() local
271 if (now > mLockOut.expiration) { in checkIfLockoutCleared()
274 } else if (now > mLockOut.nextAttempt) { in checkIfLockoutCleared()