/external/qemu/distrib/sdl-1.2.15/src/timer/macos/ |
H A D | SDL_MPWtimer.c | 50 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 D | SDL_systimer.c | 70 Uint32 stop, now; local 80 now = SDL_GetTicks(); 82 } while ( stop > now );
|
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/ |
H A D | SDL_systimer.c | 75 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 D | AlarmManagerTest.java | 75 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 D | pth_inconsistent_cond_wait.c | 77 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 D | alarm.c | 63 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 D | deferred_gpu_command_service.cc | 118 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 D | window_list_provider_impl_unittest.cc | 32 // 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 D | trace_event_android.cc | 189 TimeTicks now = TimeTicks::NowFromSystemTraceTime(); local 190 double now_in_seconds = now.ToInternalValue() / 1000000.0;
|
/external/chromium_org/base/files/ |
H A D | file_unittest.cc | 332 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 D | discardable_memory_manager.cc | 96 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 D | delay_based_time_source.cc | 193 // 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 D | signature_validator_win.cc | 107 base::Time now = base::Time::NowFromSystemTime(); local 108 FILETIME filetime_now = now.ToFileTime();
|
/external/chromium_org/chrome/browser/chromeos/power/ |
H A D | peripheral_battery_observer.cc | 205 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 D | timezone_util.cc | 86 // 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 D | activity_log_unittest.cc | 287 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 D | history_querying_unittest.cc | 175 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 D | user_policy_signin_service_mobile.cc | 152 // 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 D | history_data_store_unittest.cc | 151 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 D | printer_job_queue_handler.cc | 93 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 D | validation.cc | 21 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 D | metrics_state_manager.cc | 93 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 D | login_database_unittest.cc | 64 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 D | cloud_policy_refresh_scheduler_unittest.cc | 45 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 D | mock_quota_manager_unittest.cc | 189 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);
|