Searched defs:now (Results 151 - 175 of 760) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
H A DSDL_MPWtimer.c50 UnsignedWide now; local
52 Microseconds(&now);
53 start = WideTo64bit(now);
62 UnsignedWide now; local
64 Microseconds(&now);
65 return (Uint32)((WideTo64bit(now)-start)/1000);
H A DSDL_systimer.c70 Uint32 stop, now; local
80 now = SDL_GetTicks();
82 } while ( stop > now );
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/
H A DSDL_systimer.c75 DWORD now, ticks; local
81 now = GetTickCount();
95 now = timeGetTime();
99 if ( now < start ) {
100 ticks = (TIME_WRAP_VALUE-start) + now;
102 ticks = (now - start);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAlarmManagerTest.java75 long now = new Date().getTime();
77 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent);
81 assertScheduledAlarm(now, pendingIntent, scheduledAlarm);
88 long now = new Date().getTime();
90 alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME, now, AlarmManager.INTERVAL_HOUR, pendingIntent);
94 assertRepeatingScheduledAlarm(now, AlarmManager.INTERVAL_HOUR, pendingIntent, scheduledAlarm);
101 long now = new Date().getTime();
103 alarmManager.set(AlarmManager.ELAPSED_REALTIME, now, pendingIntent);
107 assertScheduledAlarm(now, pendingIntent, scheduledAlarm);
140 private void assertScheduledAlarm(long now, PendingInten argument
145 assertRepeatingScheduledAlarm(long now, long interval, PendingIntent pendingIntent, ShadowAlarmManager.ScheduledAlarm scheduledAlarm) argument
[all...]
/external/valgrind/main/drd/tests/
H A Dpth_inconsistent_cond_wait.c77 struct timeval now; local
82 gettimeofday(&now, 0);
84 deadline.tv_sec = now.tv_sec + 2;
85 deadline.tv_nsec = now.tv_usec * 1000;
/external/bluetooth/bluedroid/osi/src/
H A Dalarm.c63 static period_ms_t now(void);
127 alarm->deadline = now() + deadline;
187 static period_ms_t now(void) { function
249 int64_t next_exp = next->deadline - now();
/external/chromium_org/android_webview/browser/
H A Ddeferred_gpu_command_service.cc118 const base::Time now = base::Time::Now(); local
125 // Only run old tasks if we are not really idle right now.
126 base::TimeDelta age(now - idle_tasks_.front().first);
/external/chromium_org/athena/wm/
H A Dwindow_list_provider_impl_unittest.cc32 // Return a string which defines the order of windows in |now| using the indices
36 const aura::Window::Windows& now) {
37 if (original.size() != now.size())
40 for (aura::Window::Windows::const_iterator it = now.begin();
41 it != now.end(); ++it) {
35 GetWindowOrder(const aura::Window::Windows& original, const aura::Window::Windows& now) argument
/external/chromium_org/base/debug/
H A Dtrace_event_android.cc189 TimeTicks now = TimeTicks::NowFromSystemTraceTime(); local
190 double now_in_seconds = now.ToInternalValue() / 1000000.0;
/external/chromium_org/base/files/
H A Dfile_unittest.cc332 base::Time now = base::Time::Now() + base::TimeDelta::FromSeconds(2); local
336 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue());
337 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue());
338 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue());
/external/chromium_org/base/memory/
H A Ddiscardable_memory_manager.cc96 TimeTicks now = Now();
104 PurgeIfNotUsedSinceTimestampUntilUsageIsWithinLimitWithLockAcquired(now,
114 info->last_usage = now;
130 TimeTicks now = Now(); local
133 info->last_usage = now;
136 now, memory_limit_);
/external/chromium_org/cc/scheduler/
H A Ddelay_based_time_source.cc193 // If we started at now=0, and 60FPs (all times in milliseconds):
194 // now=0 target=16.667 PostDelayedTask(16)
199 // now=16 target=16.667
201 // Since we can't post a 0.667 ms task to get to now=16, we just treat this as a
202 // tick. Then, we update target to be 33.333. We now post another task based on
203 // the difference between our target and now:
204 // now=16 tick_target=16.667 new_target=33.333 -->
208 // now=0 tick_target=0 new_target=16.667 -->
210 // now=16 tick_target=16.667 new_target=33.333 -->
212 // now
236 NextTickTarget(base::TimeTicks now) argument
269 PostNextTickTask(base::TimeTicks now) argument
[all...]
/external/chromium_org/chrome/app/
H A Dsignature_validator_win.cc107 base::Time now = base::Time::NowFromSystemTime(); local
108 FILETIME filetime_now = now.ToFileTime();
/external/chromium_org/chrome/browser/chromeos/power/
H A Dperipheral_battery_observer.cc205 base::TimeTicks now = testing_clock_ ? testing_clock_->NowTicks() : local
207 if (now - battery.last_notification_timestamp <
/external/chromium_org/chrome/browser/chromeos/system/
H A Dtimezone_util.cc86 // Instead of using the raw_offset, use the offset in effect now.
90 UDate now = icu::Calendar::getNow(); local
92 timezone.getOffset(now, false, raw_offset, dst_offset, status);
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dactivity_log_unittest.cc287 base::Time now = base::Time::Now(); local
292 now,
305 now - base::TimeDelta::FromSeconds(1),
318 now - base::TimeDelta::FromSeconds(2),
329 now - base::TimeDelta::FromSeconds(3),
388 base::Time now = base::Time::Now(); local
394 now - base::TimeDelta::FromSeconds(i),
/external/chromium_org/chrome/browser/history/
H A Dhistory_querying_unittest.cc175 Time now = Time::Now().LocalMidnight(); local
178 now - (test_entries[i].days_ago * TimeDelta::FromDays(1));
/external/chromium_org/chrome/browser/policy/cloud/
H A Duser_policy_signin_service_mobile.cc152 // The service is now initialized - if the client is not yet registered, then
170 base::Time now = base::Time::Now(); local
177 if (now > last_check_time && now < next_check_time)
178 try_registration_delay = next_check_time - now;
/external/chromium_org/chrome/browser/ui/app_list/search/
H A Dhistory_data_store_unittest.cc151 const base::Time now = base::Time::Now(); local
153 store()->SetUpdateTime(kQuery, now);
161 EXPECT_EQ(now, it->second.update_time);
173 EXPECT_EQ(now, it->second.update_time);
/external/chromium_org/chrome/service/cloud_print/
H A Dprinter_job_queue_handler.cc93 base::Time now = time_provider_->GetNow(); local
96 if (scheduled_retry < now) {
99 return scheduled_retry - now;
/external/chromium_org/components/autofill/core/browser/
H A Dvalidation.cc21 const base::Time& now) {
36 return IsValidCreditCardExpirationDate(cc_year, cc_month, now);
41 const base::Time& now) {
43 now.LocalExplode(&now_exploded);
19 IsValidCreditCardExpirationDate(const base::string16& year, const base::string16& month, const base::Time& now) argument
39 IsValidCreditCardExpirationDate(int year, int month, const base::Time& now) argument
/external/chromium_org/components/metrics/
H A Dmetrics_state_manager.cc93 const base::Time now = base::Time::Now(); local
103 : now.ToTimeT());
107 : now.ToTimeT());
112 now - base::Time::FromTimeT(client_info_backup->installation_date);
/external/chromium_org/components/password_manager/core/browser/
H A Dlogin_database_unittest.cc64 base::Time now = base::Time::Now(); local
73 non_html_auth.date_created = now;
84 html_form.date_created = now;
107 db_.RemoveLoginsCreatedBetween(now, base::Time());
616 base::Time now = base::Time::Now(); local
621 // Create one for now and +/- 1 day.
622 EXPECT_TRUE(AddTimestampedLogin(&db_, "2", "foo2", now - one_day, true));
623 EXPECT_TRUE(AddTimestampedLogin(&db_, "3", "foo3", now, true));
624 EXPECT_TRUE(AddTimestampedLogin(&db_, "4", "foo4", now + one_day, true));
632 EXPECT_TRUE(db_.GetLoginsCreatedBetween(now, bas
655 base::Time now = base::Time::Now(); local
688 db_.RemoveLoginsSyncedBetween(base::Time(), now); local
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_refresh_scheduler_unittest.cc45 base::Time now = base::Time::NowFromSystemTime(); variable
49 ((now - initial_age) - base::Time::UnixEpoch()).InMilliseconds());
86 base::Time now(base::Time::NowFromSystemTime());
102 // this is the current time, "now"
109 // elapsed = now - |last_update_| then the delay is more than
117 EXPECT_GE(GetLastDelay(), offset_from_last_refresh - (now - last_update_));
246 // Perform that fetch now.
/external/chromium_org/content/browser/quota/
H A Dmock_quota_manager_unittest.cc189 base::Time now = base::Time::Now(); local
198 manager()->AddOrigin(kOrigin1, kTemporary, kClientFile, now - an_hour);
208 manager()->AddOrigin(kOrigin2, kTemporary, kClientFile, now);
218 GetModifiedOrigins(kTemporary, now - a_minute);

Completed in 1403 milliseconds

1234567891011>>