/external/chromium_org/cc/resources/ |
tile_priority.cc | 29 float time_delta) { 30 float time_per_dist = time_delta / (current - previous); 42 float time_delta) { 43 float time_per_dist = time_delta / (current - previous); 100 float time_delta, 112 if (time_delta == 0.0f) 124 target_bounds.right(), time_delta); 127 target_bounds.x(), time_delta); 130 target_bounds.bottom(), time_delta); 133 target_bounds.y(), time_delta); [all...] |
/external/chromium_org/media/ffmpeg/ |
ffmpeg_common_unittest.cc | 75 TimeDelta time_delta = ConvertFromTimeBase(time_base, test_data[i][2]); local 77 EXPECT_EQ(time_delta.InMicroseconds(), test_data[i][3]); 78 EXPECT_EQ(ConvertToTimeBase(time_base, time_delta), test_data[i][4]);
|
/external/chromium_org/chrome/browser/history/ |
visitsegment_database.h | 82 // Sets the duration of the |duration_id| to |time_delta|. 84 base::TimeDelta time_delta); 87 // true on success and sets |duration_id| and |time_delta| appropriately. 91 base::TimeDelta* time_delta);
|
/cts/tests/tests/app/src/android/app/cts/ |
AlarmManagerTest.java | 42 private final int TIME_DELTA = 1000; 83 assertEquals(mMockAlarmReceiver.rtcTime, mWakeupTime, TIME_DELTA); 95 assertEquals(mMockAlarmReceiver.rtcTime, mWakeupTime, TIME_DELTA); 107 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); 119 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA);
|
/external/chromium_org/base/process/ |
process_metrics_openbsd.cc | 124 int64 time_delta = time - last_time_; local 125 DCHECK_NE(time_delta, 0); 127 if (time_delta == 0)
|
process_metrics_win.cc | 225 int64 time_delta = time - last_time_; local 226 DCHECK_NE(0U, time_delta); 227 if (time_delta == 0) 230 // We add time_delta / 2 so the result is rounded. 231 int cpu = static_cast<int>((system_time_delta * 100 + time_delta / 2) / 232 time_delta);
|
process_metrics_mac.cc | 269 int64 time_delta = time - last_time_; local 270 DCHECK_NE(0U, time_delta); 271 if (time_delta == 0) 277 return static_cast<double>(system_time_delta * 100.0) / time_delta;
|
/external/chromium_org/v8/src/platform/ |
elapsed-timer.h | 97 // Returns |true| if the specified |time_delta| has elapsed since the 100 bool HasExpired(TimeDelta time_delta) const { 102 return Elapsed() >= time_delta;
|
/external/chromium_org/chrome/utility/media_galleries/ |
picasa_album_table_reader_unittest.cc | 75 base::TimeDelta time_delta = albums[0].timestamp - folders[0].timestamp; local 77 EXPECT_EQ(test_time_delta, time_delta.InDays());
|
/external/chromium_org/content/renderer/pepper/ |
pepper_video_destination_host.cc | 92 base::TimeDelta time_delta = 95 time_delta.InMicroseconds() * base::Time::kNanosecondsPerMicrosecond;
|
pepper_video_source_host.cc | 194 base::TimeDelta time_delta = base::TimeDelta::FromMicroseconds( local 196 PP_TimeTicks timestamp = time_delta.InSecondsF();
|
/external/chromium_org/ui/gfx/animation/ |
linear_animation.cc | 50 base::TimeDelta time_delta = base::TimeDelta::FromMicroseconds( local 52 SetStartTime(start_time() - time_delta);
|
/external/chromium_org/chrome/browser/captive_portal/ |
testing_utils.h | 33 void AdvanceTime(const base::TimeDelta& time_delta);
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_traffic_detector.cc | 117 base::TimeDelta time_delta = base::Time::Now() - start_time_; local 118 UMA_HISTOGRAM_LONG_TIMES("LocalDiscovery.DetectorRestartTime", time_delta); 171 base::TimeDelta time_delta = base::Time::Now() - start_time_; local 173 time_delta);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-stale-test-expectations-entries | 57 time_delta = datetime.datetime.now() - parsed_time 58 return time_delta.days > 90
|
/external/chromium_org/net/quic/crypto/ |
strike_register_test.cc | 271 int32 time_delta = rand() % (window * 4); local 272 time_delta -= window * 2; 273 const uint32 time = current_time + time_delta; 274 if (time_delta < 0 && time > current_time) {
|
/external/chromium_org/media/cast/rtcp/ |
rtcp_unittest.cc | 419 base::TimeDelta time_delta = base::TimeDelta::FromMilliseconds(1000); local 420 input_time += time_delta; 430 EXPECT_EQ((out_2 - out_1), time_delta); 434 time_delta = base::TimeDelta::FromMilliseconds(500); 435 input_time += time_delta; 445 EXPECT_EQ((out_3 - out_2), time_delta);
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf_rt.c | 324 fprintf(me->fRt, "rtPERF: [%ld] ", TIME_DELTA(dRate->last_reporting, me->first_time)/1000000); 357 delay_add(dDelay, TIME_DELTA(perf->time, dDelay->last_timestamp)); 547 int steps = TIME_DELTA(perf->time, me->dRate[i].last_reporting); 563 TIME_DELTA(me->dRate[i].last_reporting, me->first_time)/1000000, 574 TIME_DELTA(me->dRate[i].last_reporting, me->first_time)/1000000, 591 unsigned long delta = TIME_DELTA(perf->time, me->dRate[i].last_timestamp); 680 me->dSTS->last_burst = TIME_DELTA(perf->time, me->dSTS->dBurst.last_timestamp); 691 me->dSTS->dSingle.n + 1, me->dSTS->size_min, 1e-6 * TIME_DELTA(perf->time, me->dSTS->dSingle.last_timestamp)); 702 me->dSTS->dBurst.n + 1, me->dSTS->size_min, 1e-6 * TIME_DELTA(perf->time, me->dSTS->dBurst.last_timestamp)); 704 delay_add(&me->dSTS->dABurst, TIME_DELTA(perf->time, me->dSTS->dBurst.last_timestamp)) [all...] |
/external/chromium_org/base/threading/ |
watchdog.h | 49 void ArmSomeTimeDeltaAgo(const TimeDelta& time_delta);
|
watchdog.cc | 88 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { 89 ArmAtStartTime(TimeTicks::Now() - time_delta);
|
/external/netperf/ |
hist.h | 78 void HIST_add(register HIST h, int time_delta);
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_common.h | 86 #define TIME_DELTA(time, base) \
|
/external/chromium/base/threading/ |
watchdog.cc | 48 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { 49 ArmAtStartTime(TimeTicks::Now() - time_delta);
|
/external/chromium_org/content/browser/android/ |
download_controller_android_impl.cc | 273 base::TimeDelta time_delta; local 274 item->TimeRemaining(&time_delta); 279 item->GetId(), item->PercentComplete(), time_delta.InMilliseconds());
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
perf_unittest.c | 37 assert(TIME_DELTA(t2, t1) == 123457); /* DELTA */ 52 assert(TIME_DELTA(t2, t1) == 1000000); /* DELTA */ 89 delta = TIME_DELTA(t2, t1);
|