/external/webrtc/call/ |
D | simulated_network_unittest.cc | 44 Timestamp current_time = start_time; in TEST() local 48 while (current_time - start_time < kRuntime) { in TEST() 49 if (current_time >= next_packet_time) { in TEST() 51 packet_size.bytes<size_t>(), current_time.us(), next_id}); in TEST() 60 current_time = std::min(next_packet_time, next_delivery); in TEST() 61 if (current_time >= next_delivery) { in TEST() 63 network.DequeueDeliverablePackets(current_time.us())) { in TEST() 98 Timestamp current_time = start_time; in TEST() local 105 while (current_time - start_time < kRuntime) { in TEST() 106 if (current_time >= next_packet_time) { in TEST() [all …]
|
/external/webrtc/rtc_base/ |
D | rate_tracker.cc | 41 int64_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() 97 int64_t current_time = Time(); in ComputeTotalRate() local 98 if (current_time <= initialization_time_milliseconds_) { in ComputeTotalRate() 103 TimeDiff(current_time, initialization_time_milliseconds_)); in ComputeTotalRate() 113 int64_t current_time = Time(); in AddSamples() local 118 current_time >= bucket_start_time_milliseconds_ + bucket_milliseconds_; in AddSamples() 128 ((current_time - bucket_start_time_milliseconds_) / bucket_milliseconds_); in AddSamples()
|
/external/webrtc/test/time_controller/ |
D | simulated_time_controller.cc | 100 Timestamp current_time = CurrentTime(); in RunReadyRunners() local 110 runner->GetNextRunTime() <= current_time) { in RunReadyRunners() 123 runner->RunReady(current_time); in RunReadyRunners() 135 Timestamp current_time = CurrentTime(); in NextRunTime() local 140 if (next_run_time <= current_time) in NextRunTime() 141 return current_time; in NextRunTime() 212 Timestamp current_time = impl_.CurrentTime(); in AdvanceTime() local 213 Timestamp target_time = current_time + duration; in AdvanceTime() 214 RTC_DCHECK_EQ(current_time.us(), rtc::TimeMicros()); in AdvanceTime() 215 while (current_time < target_time) { in AdvanceTime() [all …]
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/arduino/ |
D | command_responder.cc | 29 int32_t current_time, const char* found_command, in RespondToCommand() argument 52 score, current_time); in RespondToCommand() 55 last_command_time = current_time; in RespondToCommand() 60 last_command_time = current_time; in RespondToCommand() 65 last_command_time = current_time; in RespondToCommand() 73 if (last_command_time < (current_time - 3000)) { in RespondToCommand()
|
/external/python/oauth2client/tests/ |
D | test_crypt.py | 201 current_time = 123456 204 'exp': current_time + crypt.MAX_TOKEN_LIFETIME_SECS + 1, 208 return_value=current_time) 216 current_time = 123456 218 'iat': current_time + crypt.CLOCK_SKEW_SECS + 1, 219 'exp': current_time + crypt.MAX_TOKEN_LIFETIME_SECS - 1, 223 return_value=current_time) 231 current_time = 123456 233 'iat': current_time, 234 'exp': current_time - crypt.CLOCK_SKEW_SECS - 1, [all …]
|
/external/toybox/toys/pending/ |
D | dumpleases.c | 41 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/tensorflow/tensorflow/lite/micro/examples/micro_speech/himax_we1_evb/ |
D | command_responder.cc | 25 int32_t current_time, const char* found_command, in RespondToCommand() argument 30 score, current_time); in RespondToCommand() 32 last_command_time = current_time; in RespondToCommand() 36 last_command_time = current_time; in RespondToCommand() 43 if (last_command_time < (current_time - 3000)) { in RespondToCommand()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/time/ |
D | 1-1.c | 21 time_t current_time; in main() local 23 current_time = time(NULL); in main() 24 printf("%ju secs since the Epoch\n", (uintmax_t) current_time); in main() 26 if (current_time != -1) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/ctime/ |
D | 1-1.c | 19 time_t current_time; in main() local 22 time(¤t_time); in main() 23 result = ctime(¤t_time); in main() 30 ctime(¤t_time)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/ |
D | 1-1.c | 19 time_t current_time; in main() local 22 current_time = time(NULL); in main() 24 timeptr = localtime(¤t_time); in main() 27 printf("date: %s", (asctime(localtime((¤t_time))))); in main()
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter_unittest.cc | 180 args.current_time = base::TimeSeconds(41); in TEST() 202 args.current_time = base::TimeSeconds(10000); in TEST() 230 args.current_time = base::TimeSeconds(input.last_trace_timestamp() + 60 * 10); in TEST() 243 static_cast<uint64_t>(args.current_time.count())); in TEST() 259 args.current_time = base::TimeSeconds(input.last_trace_timestamp() + 60 * 10); in TEST() 272 static_cast<uint64_t>(args.current_time.count())); in TEST() 280 static_cast<uint64_t>(args.current_time.count())); in TEST() 316 args.current_time = base::TimeSeconds(99); in TEST() 344 args.current_time = base::TimeSeconds(60 * 60); in TEST() 365 args.current_time = base::TimeSeconds(60 * 60); in TEST() [all …]
|
/external/vboot_reference/tests/ |
D | vboot_api_devmode_tests.c | 139 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/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 156 current_time=curr_time)) 174 current_time=curr_time, 198 current_time=curr_time, 215 current_time=curr_time, 236 current_time=TEST_TIME)) 244 current_time=later15mins)) 252 current_time=later2hours)) 259 current_time=later15mins)) 266 current_time=later15mins)) 273 current_time=later15mins)) [all …]
|
/external/python/cryptography/src/cryptography/ |
D | fernet.py | 50 current_time = int(time.time()) 52 return self._encrypt_from_parts(data, current_time, iv) 54 def _encrypt_from_parts(self, data, current_time, iv): argument 65 b"\x80" + struct.pack(">Q", current_time) + iv + ciphertext 109 current_time = int(time.time()) 111 if timestamp + ttl < current_time: 114 if current_time + _MAX_CLOCK_SKEW < timestamp:
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ |
D | main_functions.cc | 132 const int32_t current_time = LatestAudioTimestamp(); in loop() local 135 error_reporter, previous_time, current_time, &how_many_new_slices); in loop() 140 previous_time = current_time; in loop() 166 output, current_time, &found_command, &score, &is_new_command); in loop() 175 RespondToCommand(error_reporter, current_time, found_command, score, in loop()
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ceva/ |
D | main_functions.cc | 155 const int32_t current_time = LatestAudioTimestamp(); in detection_loop() local 160 error_reporter, previous_time, current_time, &how_many_new_slices); in detection_loop() 168 previous_time = current_time; in detection_loop() 195 output, current_time, &found_command, &score, &is_new_command); in detection_loop() 204 RespondToCommand(error_reporter, current_time, found_command, score, in detection_loop()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | xsrfutil.py | 66 def validate_token(key, token, user_id, action_id="", current_time=None): argument 90 if current_time is None: 91 current_time = time.time() 93 if current_time - token_time > DEFAULT_TIMEOUT_SECS:
|
/external/libcups/scheduler/ |
D | main.c | 115 time_t current_time, /* Current time */ in main() local 704 current_time = time(NULL); in main() 705 event_time = current_time; in main() 706 expire_time = current_time; in main() 710 senddoc_time = current_time; in main() 906 current_time = time(NULL); in main() 912 if (DirtyCleanTime && current_time >= DirtyCleanTime) in main() 921 if (SleepJobs > 0 && current_time >= SleepJobs && in main() 934 if ((current_time - netif_time) >= 60) in main() 936 netif_time = current_time; in main() [all …]
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3evb/ |
D | command_responder.cc | 26 int32_t current_time, const char* found_command, in RespondToCommand() argument 29 int32_t TimeSinceLastCommand = (current_time - g_PreviousCommandTimestamp); in RespondToCommand() 56 g_PreviousCommandTimestamp = current_time; in RespondToCommand() 58 score, current_time); in RespondToCommand()
|
/external/webrtc/test/network/ |
D | network_emulation.cc | 39 Timestamp current_time = clock_->CurrentTime(); in OnPacketReceived() local 43 Timestamp::Micros(*next_time_us) - current_time), in OnPacketReceived() 46 Timestamp current_time = clock_->CurrentTime(); in OnPacketReceived() local 47 Process(current_time); in OnPacketReceived() 54 RTC_DCHECK_GE(*next_time_us, current_time.us()); in OnPacketReceived() 55 return Timestamp::Micros(*next_time_us) - current_time; in OnPacketReceived() 216 Timestamp current_time = clock_->CurrentTime(); in SendPacket() local 218 stats_.first_packet_sent_time = current_time; in SendPacket() 221 stats_.last_packet_sent_time = current_time; in SendPacket() 329 Timestamp current_time = clock_->CurrentTime(); in UpdateReceiveStats() local [all …]
|
/external/python/cryptography/tests/ |
D | test_fernet.py | 72 current_time = calendar.timegm(iso8601.parse_date(now).utctimetuple()) 73 monkeypatch.setattr(time, "time", lambda: current_time) 80 current_time = calendar.timegm(iso8601.parse_date(now).utctimetuple()) 81 monkeypatch.setattr(time, "time", lambda: current_time) 112 current_time = calendar.timegm(iso8601.parse_date(ts).utctimetuple()) 113 monkeypatch.setattr(time, "time", lambda: current_time) 127 current_time = 1526138327 128 monkeypatch.setattr(time, "time", lambda: current_time) 130 assert f.extract_timestamp(token) == current_time
|
/external/rust/crates/nom/tests/ |
D | mp4.rs | 62 current_time: u32, field 92 current_time: u32, field 119 current_time: be_u32 >> 142 current_time: current_time, 171 current_time: be_u32 >> 194 current_time: current_time,
|
/external/python/cryptography/tests/x509/ |
D | test_ocsp.py | 334 current_time = datetime.datetime.utcnow().replace(microsecond=0) 335 this_update = current_time - datetime.timedelta(days=1) 348 current_time = datetime.datetime.utcnow().replace(microsecond=0) 349 this_update = current_time - datetime.timedelta(days=1) 364 current_time = datetime.datetime.utcnow().replace(microsecond=0) 365 this_update = current_time - datetime.timedelta(days=1) 376 assert (current_time - resp.produced_at).total_seconds() < 10 392 current_time = datetime.datetime.utcnow().replace(microsecond=0) 393 this_update = current_time - datetime.timedelta(days=1) 416 current_time = datetime.datetime.utcnow().replace(microsecond=0) [all …]
|
/external/toolchain-utils/crosperf/ |
D | experiment_status.py | 39 current_time = time.time() 41 elapsed_time = current_time - self.experiment.start_time 47 self.new_job_start_time = current_time 49 elapsed_time - (current_time - self.new_job_start_time)) 74 (current_time - self.new_job_start_time)))
|
/external/google-breakpad/src/client/windows/tests/crash_generation_app/ |
D | crash_generation_app.cc | 141 SYSTEMTIME current_time; in AppendTextToEditBox() local 142 GetLocalTime(¤t_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()
|