Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 25 of 53) sorted by relevance

123

/external/webrtc/webrtc/base/
Dratetracker.cc41 uint32_t current_time = Time(); in ComputeRateForInterval() local
53 if (current_time > in ComputeRateForInterval()
56 current_time - bucket_start_time_milliseconds_ + in ComputeRateForInterval()
65 TimeDiff(current_time, initialization_time_milliseconds_); in ComputeRateForInterval()
95 uint32_t current_time = Time(); in ComputeTotalRate() local
96 if (TimeIsLaterOrEqual(current_time, initialization_time_milliseconds_)) { in ComputeTotalRate()
101 TimeDiff(current_time, initialization_time_milliseconds_)); in ComputeTotalRate()
110 uint32_t current_time = Time(); in AddSamples() local
114 current_time >= bucket_start_time_milliseconds_ + bucket_milliseconds_; in AddSamples()
123 ((current_time - bucket_start_time_milliseconds_) / bucket_milliseconds_); in AddSamples()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_xsrfutil.py51 current_time=TEST_TIME))
59 current_time=later15mins))
67 current_time=later2hours))
74 current_time=later15mins))
81 current_time=later15mins))
88 current_time=later15mins))
95 current_time=later15mins))
102 current_time=later15mins))
/external/toybox/toys/pending/
Ddumpleases.c41 int64_t written_time , current_time, exp; in dumpleases_main() local
48 current_time = time(NULL); in dumpleases_main()
50 if(current_time < written_time) written_time = current_time; in dumpleases_main()
60 if (exp <= current_time) { in dumpleases_main()
66 unsigned expires = exp - current_time; in dumpleases_main()
/external/vboot_reference/tests/
Dvboot_api_devmode_tests.c139 static int current_time; variable
174 current_time = 0; in ResetMocks()
228 now = current_time; in VbExKeyboardRead()
244 current_time = current_ticks / TICKS_PER_MSEC; in VbExSleepMs()
245 VBDEBUG(("VbExSleepMs(%d) -> %d\n", msec, current_time)); in VbExSleepMs()
253 VBDEBUG(("VbExBeep(%d, %d) at %d msec\n", msec, frequency, current_time)); in VbExBeep()
258 abs(current_time - expected_event[current_event].time) < TIME_FUZZ ) { in VbExBeep()
292 VBDEBUG((" current_time is %d msec\n", current_time)); in VbExDisplayScreen()
/external/ceres-solver/internal/ceres/
Dwall_time.cc83 const double current_time = WallTimeInSeconds(); in AddEvent() local
84 const double relative_time_delta = current_time - last_event_time_; in AddEvent()
85 const double absolute_time_delta = current_time - start_time_; in AddEvent()
86 last_event_time_ = current_time; in AddEvent()
/external/vulkan-validation-layers/demos/smoke/
DShellXcb.cpp283 double current_time = timer.get(); in loop_poll() local
284 double profile_start_time = current_time; in loop_poll()
304 add_game_time(static_cast<float>(t - current_time)); in loop_poll()
308 current_time = t; in loop_poll()
311 if (current_time - profile_start_time >= 5.0) { in loop_poll()
312 const double fps = profile_present_count / (current_time - profile_start_time); in loop_poll()
315 current_time - profile_start_time << " seconds " << in loop_poll()
319 profile_start_time = current_time; in loop_poll()
DShellAndroid.cpp198 double current_time = timer.get(); in run() local
221 add_game_time(static_cast<float>(t - current_time)); in run()
225 current_time = t; in run()
DShellWin32.cpp221 double current_time = timer.get(); in run() local
246 add_game_time(static_cast<float>(t - current_time)); in run()
250 current_time = t; in run()
/external/libweave/third_party/libuweave/src/
Dmacaroon_context.c7 bool uw_macaroon_context_create_(uint32_t current_time, in uw_macaroon_context_create_() argument
18 new_context->current_time = current_time; in uw_macaroon_context_create_()
Dmacaroon_context.h15 uint32_t current_time; // In number of seconds since Jan 1st 2000 00:00:00 member
20 bool uw_macaroon_context_create_(uint32_t current_time,
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dxsrfutil.py78 def validate_token(key, token, user_id, action_id="", current_time=None): argument
102 if current_time is None:
103 current_time = time.time()
105 if current_time - token_time > DEFAULT_TIMEOUT_SECS:
/external/google-breakpad/src/client/windows/tests/crash_generation_app/
Dcrash_generation_app.cc141 SYSTEMTIME current_time; in AppendTextToEditBox() local
142 GetLocalTime(&current_time); in AppendTextToEditBox()
147 current_time.wMonth, in AppendTextToEditBox()
148 current_time.wDay, in AppendTextToEditBox()
149 current_time.wYear, in AppendTextToEditBox()
150 current_time.wHour, in AppendTextToEditBox()
151 current_time.wMinute, in AppendTextToEditBox()
152 current_time.wSecond, in AppendTextToEditBox()
/external/autotest/server/hosts/
Dabstract_ssh.py518 current_time = int(time.time())
519 end_time = current_time + timeout
521 while not timeout or current_time < end_time:
522 if self.is_up(timeout=end_time - current_time):
530 current_time = int(time.time())
578 current_time = int(time.time())
580 end_time = current_time + timeout
583 warn_time = current_time + warning_timer
603 while not timeout or current_time < end_time:
605 new_boot_id = self.get_boot_id(timeout=end_time-current_time)
[all …]
/external/webrtc/webrtc/modules/video_coding/test/
Dstream_generator.cc24 StreamGenerator::StreamGenerator(uint16_t start_seq_num, int64_t current_time) in StreamGenerator() argument
25 : packets_(), sequence_number_(start_seq_num), start_time_(current_time) {} in StreamGenerator()
27 void StreamGenerator::Init(uint16_t start_seq_num, int64_t current_time) { in Init() argument
30 start_time_ = current_time; in Init()
Dstream_generator.h30 StreamGenerator(uint16_t start_seq_num, int64_t current_time);
31 void Init(uint16_t start_seq_num, int64_t current_time);
/external/ipsec-tools/src/racoon/
Dschedule.c72 static time_t current_time __P((void));
86 now = current_time(); in schedular()
114 now = current_time(); in schedular()
147 new->xtime = current_time() + tick;
180 current_time() in current_time() function
/external/libchrome/base/time/
Dpr_time_unittest.cc75 time_t current_time = 0; in TEST_F() local
76 time(&current_time); in TEST_F()
82 localtime_s(&local_time, &current_time); in TEST_F()
85 localtime_r(&current_time, &local_time); in TEST_F()
89 PRTime current_time64 = static_cast<PRTime>(current_time) * PR_USEC_PER_SEC; in TEST_F()
/external/e2fsprogs/ext2ed/
Ddisk.c144 time_t current_time; in log_changes() local
152 current_time=time (NULL); in log_changes()
155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) &current_time),device_name); in log_changes()
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.cc93 const uint32_t current_time = rtc::Time(); in TimeUntilNextProcess() local
94 if (current_time < last_process_time_ms_) { in TimeUntilNextProcess()
98 const uint32_t elapsed_time = current_time - last_process_time_ms_; in TimeUntilNextProcess()
687 const uint32_t current_time = rtc::Time(); in ProcessFrameP() local
689 (next_frame_time_ > current_time) ? next_frame_time_ - current_time : 0; in ProcessFrameP()
/external/v8/src/
Dfutex-emulation.cc117 base::TimeTicks current_time = start_time; in Wait() local
166 current_time = base::TimeTicks::Now(); in Wait()
167 if (current_time >= timeout_time) { in Wait()
172 base::TimeDelta time_until_timeout = timeout_time - current_time; in Wait()
/external/autotest/client/site_tests/desktopui_SonicExtension/
Dtest_utils.py329 current_time = 0
331 while current_time < duration:
335 cpu_usage[current_time] = self._get_avg_cpu_usage(
337 current_time += interval
/external/libusb/libusb/
Dio.c1061 struct timespec current_time; in calculate_timeout() local
1068 r = usbi_backend->clock_gettime(USBI_CLOCK_MONOTONIC, &current_time); in calculate_timeout()
1075 current_time.tv_sec += timeout / 1000; in calculate_timeout()
1076 current_time.tv_nsec += (timeout % 1000) * 1000000; in calculate_timeout()
1078 if (current_time.tv_nsec > 1000000000) { in calculate_timeout()
1079 current_time.tv_nsec -= 1000000000; in calculate_timeout()
1080 current_time.tv_sec++; in calculate_timeout()
1083 TIMESPEC_TO_TIMEVAL(&transfer->timeout, &current_time); in calculate_timeout()
/external/fio/engines/
Dwindowsaio.c240 DWORD current_time; in timeout_expired() local
242 current_time = GetTickCount(); in timeout_expired()
244 if ((end_count > start_count) && current_time >= end_count) in timeout_expired()
246 else if (current_time < start_count && current_time > end_count) in timeout_expired()
/external/boringssl/src/ssl/
Ds3_both.c561 const uint32_t current_time = time(NULL); in ssl_fill_hello_random() local
567 p[0] = current_time >> 24; in ssl_fill_hello_random()
568 p[1] = current_time >> 16; in ssl_fill_hello_random()
569 p[2] = current_time >> 8; in ssl_fill_hello_random()
570 p[3] = current_time; in ssl_fill_hello_random()
/external/webrtc/webrtc/system_wrappers/source/
Dclock.cc127 void GetTime(FILETIME* current_time) const { in GetTime()
153 current_time->dwHighDateTime = filetime_ref_as_ul.HighPart; in GetTime()
154 current_time->dwLowDateTime = filetime_ref_as_ul.LowPart; in GetTime()

123