/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | pmksa_cache_auth.c | 94 struct os_time now; local 96 os_get_time(&now); 97 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { 112 struct os_time now; local 117 os_get_time(&now); 118 sec = pmksa->pmksa->expiration - now.sec; 244 struct os_time now; local 256 os_get_time(&now); 257 entry->expiration = now.sec;
|
/external/chromium/build/mac/ |
H A D | strip_save_dsym | 296 now = time.time() 297 os.utime(macho, (now, now)) 298 os.utime(dsym, (now, now))
|
/external/dropbear/ |
H A D | progressmeter.c | 112 time_t now; local 124 now = time(NULL); 128 elapsed = now - last_update; 130 elapsed = now - start; 216 last_update = now;
|
/external/e2fsprogs/debugfs/ |
H A D | lsdel.c | 86 time_t now; local 101 now = current_fs->now ? current_fs->now : time(0); 135 (secs && ((unsigned) abs(now - secs) > inode.i_dtime)))
|
/external/ipsec-tools/src/racoon/ |
H A D | schedule.c | 83 time_t now, delta; local 86 now = current_time(); 94 if (now < p->xtime) { 114 now = current_time(); 116 delta = p->xtime - now;
|
/external/openssh/ |
H A D | progressmeter.c | 122 time_t now; local 134 now = time(NULL); 138 elapsed = now - last_update; 140 elapsed = now - start; 226 last_update = now;
|
/external/qemu/distrib/sdl-1.2.15/src/timer/ |
H A D | SDL_timer.c | 106 Uint32 now, ms; local 112 now = SDL_GetTicks(); 117 if ( (int)(now - t->last_alarm) > (int)ms ) { 120 if ( (now - t->last_alarm) < t->interval ) { 123 t->last_alarm = now;
|
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_client.c | 323 os_time_t now) 359 entry->next_try = now + entry->next_wait; 377 struct os_time now; local 387 os_get_time(&now); 392 if (now.sec >= entry->next_try && 393 radius_client_retransmit(radius, entry, now.sec)) { 422 if (first < now.sec) 423 first = now.sec; 424 eloop_register_timeout(first - now.sec, 0, 429 (long int) (first - now 321 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument 485 struct os_time now; local 697 struct os_time now; local [all...] |
/external/wpa_supplicant_8/src/radius/ |
H A D | radius_client.c | 323 os_time_t now) 359 entry->next_try = now + entry->next_wait; 377 struct os_time now; local 387 os_get_time(&now); 392 if (now.sec >= entry->next_try && 393 radius_client_retransmit(radius, entry, now.sec)) { 422 if (first < now.sec) 423 first = now.sec; 424 eloop_register_timeout(first - now.sec, 0, 429 (long int) (first - now 321 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument 485 struct os_time now; local 697 struct os_time now; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_client.c | 323 os_time_t now) 359 entry->next_try = now + entry->next_wait; 377 struct os_time now; local 387 os_get_time(&now); 392 if (now.sec >= entry->next_try && 393 radius_client_retransmit(radius, entry, now.sec)) { 422 if (first < now.sec) 423 first = now.sec; 424 eloop_register_timeout(first - now.sec, 0, 429 (long int) (first - now 321 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument 485 struct os_time now; local 697 struct os_time now; local [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
H A D | port.cc | 62 uint32 now) { 70 return pings_since_last_response[maximum_failures - 1] + rtt_estimate < now; 77 uint32 now) { 82 return pings_since_last_response[0] + maximum_time < now; 363 // (if one exists) should now be readable. 661 void Connection::UpdateState(uint32 now) { argument 672 pings << ", rtt=" << rtt << ", now=" << now; local 680 (last_ping_received_ + CONNECTION_READ_TIMEOUT <= now)) { 682 << now 58 TooManyFailures( const std::vector<uint32>& pings_since_last_response, uint32 maximum_failures, uint32 rtt_estimate, uint32 now) argument 74 TooLongWithoutResponse( const std::vector<uint32>& pings_since_last_response, uint32 maximum_time, uint32 now) argument 728 Ping(uint32 now) argument [all...] |
/external/chromium/base/ |
H A D | time_win_unittest.cc | 51 TimeTicks now = TimeTicks::Now(); local 52 int64 milliseconds = (now - last).InMilliseconds(); 57 last = now;
|
H A D | timer.h | 150 // to this now-defunct task. 178 // By now the delayed_task_ in the Timer does not point to us anymore. 239 // then we have nothing more to do now. 253 const TimeTicks now = TimeTicks::Now(); local 254 if (now < trigger_time_) { 255 DelayFor(trigger_time_ - now);
|
/external/chromium/net/url_request/ |
H A D | url_request_throttler_entry.cc | 133 base::TimeTicks now = GetTimeNow(); local 139 std::max(std::max(now, earliest_time), 163 return (recommended_sending_time - now).InMillisecondsRoundedUp(); 172 // return "now" so that retries are not delayed.
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Suppliers.java | 169 long now = Platform.systemNanoTime(); 170 if (nanos == 0 || now - nanos >= 0) { 175 nanos = now + durationNanos;
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
H A D | DNSTask.java | 137 * @param now 141 public DNSOutgoing addAnswer(DNSOutgoing out, DNSRecord rec, long now) throws IOException { argument 144 newOut.addAnswer(rec, now); 156 newOut.addAnswer(rec, now);
|
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
H A D | Prober.java | 61 long now = System.currentTimeMillis(); 62 if (now - this.getDns().getLastThrottleIncrement() < DNSConstants.PROBE_THROTTLE_COUNT_INTERVAL) { 67 this.getDns().setLastThrottleIncrement(now);
|
/external/qemu/telephony/ |
H A D | test2.c | 29 SysTime now = sys_time_ms(); local 32 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); 34 sys_timer_set( timer, now + DELAY, timer_func, timer );
|
/external/webkit/Source/WebCore/platform/graphics/android/utils/ |
H A D | LinearAllocator.cpp | 59 double now = currentTimeMS(); 60 if (now - s_lastLogged > 5) { 61 s_lastLogged = now;
|
/external/webkit/Tools/WebKitTestRunner/win/ |
H A D | TestControllerWin.cpp | 148 DWORD now = ::GetTickCount(); local 149 if (now > end) 154 DWORD result = ::MsgWaitForMultipleObjectsEx(objectCount, objects, end - now, QS_ALLINPUT, MWMO_INPUTAVAILABLE);
|
/external/wpa_supplicant_8/hostapd/ |
H A D | dump_state.c | 69 time_t now; local 91 time(&now); 92 fprintf(f, "hostapd state dump - %s", ctime(&now));
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | safe_browsing_database_unittest.cc | 495 const Time now = Time::Now(); local 502 &full_hashes, now)); 509 &full_hashes, now)); 514 &full_hashes, now)); 519 &full_hashes, now)); 524 &full_hashes, now)); 529 &full_hashes, now)); 534 &full_hashes, now)); 539 &full_hashes, now)); 545 &full_hashes, now)); 777 const Time now = Time::Now(); local 1396 const Time now = Time::Now(); local [all...] |
/external/chromium/chrome/browser/password_manager/ |
H A D | login_database_unittest.cc | 210 base::Time now = base::Time::Now(); local 215 // Create one for now and +/- 1 day. 216 EXPECT_TRUE(AddTimestampedLogin(db.get(), "2", "foo2", now - one_day)); 217 EXPECT_TRUE(AddTimestampedLogin(db.get(), "3", "foo3", now)); 218 EXPECT_TRUE(AddTimestampedLogin(db.get(), "4", "foo4", now + one_day)); 226 EXPECT_TRUE(db->GetLoginsCreatedBetween(now, base::Time(), &result)); 231 db->RemoveLoginsCreatedBetween(now, base::Time());
|
/external/chromium/chrome/browser/policy/ |
H A D | cloud_policy_controller.cc | 304 base::Time now(base::Time::NowFromSystemTime()); 308 last_refresh = now; 324 refresh_at = now; 350 refresh_at = now + base::TimeDelta::FromMilliseconds( 358 refresh_at = now + base::TimeDelta::FromMilliseconds( 369 int64 delay = std::max<int64>((refresh_at - now).InMilliseconds(), 0);
|
/external/chromium/chrome/common/net/gaia/ |
H A D | gaia_authenticator.cc | 129 __time32_t now = _time32(0); local 131 time_t now = time(0); local 134 if (now > next_allowed_auth_attempt_time_) { 135 next_allowed_auth_attempt_time_ = now + 1; 138 if (now - next_allowed_auth_attempt_time_ > 2 * 60) { 147 next_allowed_auth_attempt_time_ = now + delay_;
|