/external/u-boot/arch/m68k/lib/ |
time.c | 36 uint start, now, tmp; local 53 start = now = timerp->tcn; 54 while (now < start + tmp) 55 now = timerp->tcn; 156 unsigned short now, diff; local 159 now = timerp->pcntr; 160 diff = -(now - lastinc); 163 lastinc = now;
|
/external/u-boot/arch/nds32/cpu/n1213/ag101/ |
timer.c | 96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); local 98 ulong now = readl(&tmr->timer3_counter) / local 102 debug("%s(): now = %lx, lastdec = %lx\n", __func__, now, lastdec); 104 if (lastdec >= now) { 109 timestamp += lastdec - now; 114 * nts = ts + ld + (TLV - now) 116 * (TLV-now) amount of time after passing though -1 120 timestamp += lastdec + TIMER_LOAD_VAL - now; 123 lastdec = now; 155 unsigned long now, last = readl(&tmr->timer3_counter); local [all...] |
/external/v8/src/base/platform/ |
condition-variable.cc | 100 Time now = Time::FromTimespec(ts); local 103 Time now = Time::NowFromSystemTime(); local 105 Time end_time = now + rel_time; 106 DCHECK_GE(end_time, now);
|
semaphore.cc | 54 TimeTicks now = TimeTicks::Now(); local 55 TimeTicks end = now + rel_time; 58 if (now >= end) { 63 ts = (end - now).ToMachTimespec(); 69 now = TimeTicks::Now(); 166 TimeTicks now = TimeTicks::Now(); 167 TimeTicks end = now + rel_time [all...] |
/external/v8/src/ |
counters-inl.h | 22 base::TimeTicks now = RuntimeCallTimer::Now(); local 23 if (parent) parent->Pause(now); 24 Resume(now); 28 void RuntimeCallTimer::Pause(base::TimeTicks now) { 30 elapsed_ += (now - start_ticks_); 34 void RuntimeCallTimer::Resume(base::TimeTicks now) { 36 start_ticks_ = now; 41 base::TimeTicks now = RuntimeCallTimer::Now(); [all...] |
/external/v8/tools/clusterfuzz/ |
v8_mock.js | 69 if (property == "now") { 81 // Mock performace.now(). 83 performance.now = function () { return 1.2; } 94 // Note, for now we just use noop forwarding proxies, because they already 79 })(); function
|
/external/webrtc/webrtc/base/ |
rtccertificate_unittests.cc | 93 uint64_t now = NowSeconds(); local 94 EXPECT_FALSE(HasExpiredSeconds(certificate, now)); 97 EXPECT_FALSE(HasExpiredSeconds(certificate, now + 30*60)); 101 uint64_t now = NowSeconds(); local 103 GenerateCertificateWithExpires(now); 104 EXPECT_EQ(now, ExpiresSeconds(certificate)); 109 uint64_t now = NowSeconds(); local 111 GenerateCertificateWithExpires(now + 1); 112 // Now it should not have expired. 113 EXPECT_FALSE(HasExpiredSeconds(certificate, now)); [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
tick_util.cc | 18 return TicksToMilliseconds(TickTime::Now().Ticks()); 22 return TicksToMicroseconds(TickTime::Now().Ticks()); 93 DWORD now = timeGetTime(); local 95 DWORD old = InterlockedExchange(last_time_get_time_ptr, now); 96 if (now < old) { 97 // If now is earlier than old, there may have been a race between 101 if (old > 0xf0000000 && now < 0x0fffffff) { 106 return now + (num_wrap_time_get_time << 32);
|
/external/webrtc/webrtc/video/ |
vie_remb.cc | 115 int64_t now = clock_->TimeInMilliseconds(); local 117 if (now - last_remb_time_ < kRembSendIntervalMs) { 121 last_remb_time_ = now;
|
/external/webrtc/webrtc/voice_engine/ |
monitor_module.cc | 58 int64_t now = TickTime::MillisecondTimestamp(); local 60 return kAverageProcessUpdateTimeMs - (now - _lastProcessTime);
|
/frameworks/base/cmds/incidentd/src/ |
Throttler.cpp | 52 int64_t now = android::elapsedRealtime(); local 53 if (now > mRefractoryPeriodMs + mLastRefractoryMs) { 54 mLastRefractoryMs = now;
|
/art/openjdkjvmti/ |
ti_phase.cc | 90 // TODO: Block events now. 104 jvmtiPhase now = PhaseUtil::current_phase_; local 105 DCHECK(now == JVMTI_PHASE_ONLOAD || 106 now == JVMTI_PHASE_PRIMORDIAL || 107 now == JVMTI_PHASE_START || 108 now == JVMTI_PHASE_LIVE || 109 now == JVMTI_PHASE_DEAD); 110 *phase_ptr = now; 115 jvmtiPhase now = PhaseUtil::current_phase_; local 116 DCHECK(now == JVMTI_PHASE_ONLOAD | [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
MockReceiver.java | 58 long now = SystemClock.elapsedRealtime(); local 59 final long endTime = now + timeout; 61 while (!sReceived && now < endTime) { 63 sBlocker.wait(endTime - now); 66 now = SystemClock.elapsedRealtime();
|
PendingIntentStubActivity.java | 51 long now = SystemClock.elapsedRealtime(); local 52 final long endTime = now + timeout; 54 while (!sCreated && now < endTime) { 56 sBlocker.wait(endTime - now); 59 now = SystemClock.elapsedRealtime();
|
/device/generic/goldfish/network/netmgr/ |
poller.cpp | 34 Pollable::Timestamp now = Pollable::Clock::now(); local 36 if (deadline <= now) { 43 auto timeout = deadline - now; 145 Pollable::Timestamp now = Pollable::Clock::now(); local 147 if (pollable->getTimeout() <= now) {
|
/device/google/wahoo/folio_daemon/ |
main.cpp | 97 time_t now = time(NULL); local 107 } else if (now > lastWarn + WARN_PERIOD) { 109 lastWarn = now;
|
/external/adhd/cras/src/server/ |
cras_tm.c | 104 struct timespec now; local 115 clock_gettime(CLOCK_MONOTONIC_RAW, &now); 117 if (timespec_sooner(min, &now)) { 123 subtract_timespecs(min, &now, ts); 129 struct timespec now; local 132 clock_gettime(CLOCK_MONOTONIC_RAW, &now); 141 if (timespec_sooner(&t->ts, &now)) {
|
/external/curl/docs/examples/ |
imap-multi.c | 43 struct timeval now; local 46 now.tv_sec = (long)time(NULL); 47 now.tv_usec = 0; 49 return now;
|
pop3-multi.c | 43 struct timeval now; local 46 now.tv_sec = (long)time(NULL); 47 now.tv_usec = 0; 49 return now;
|
/external/curl/lib/ |
rand.c | 89 struct curltime now = Curl_now(); local 91 randseed += (unsigned int)now.tv_usec + (unsigned int)now.tv_sec;
|
/external/curl/src/ |
tool_cb_dbg.c | 59 struct tm *now; local 68 now = localtime(&secs); /* not thread safe but we don't care */ 70 now->tm_hour, now->tm_min, now->tm_sec, (long)tv.tv_usec); 80 /* Ok, this is somewhat hackish but we do it undocumented for now */
|
/external/curl/tests/unit/ |
unit1303.c | 52 #define NOW(x,y) now.tv_sec = x; now.tv_usec = y 62 * N various values of now 77 struct curltime now; variable in typeref:struct:curltime 142 NOW(run[i].now_s, run[i].now_us); 144 timeout = Curl_timeleft(data, &now, run[i].connecting);
|
/external/grpc-grpc/src/core/lib/gpr/ |
time_posix.cc | 68 struct timespec now; local 77 syscall(SYS_clock_gettime, clockid_for_gpr_clock[clock_type], &now); 79 clock_gettime(clockid_for_gpr_clock[clock_type], &now); 81 return gpr_from_timespec(now, clock_type); 104 gpr_timespec now; local 108 now.clock_type = clock; 112 now.tv_sec = now_tv.tv_sec; 113 now.tv_nsec = now_tv.tv_usec * 1000; 117 now.tv_sec = (int64_t)(now_dbl * 1e-9); 118 now.tv_nsec = (int32_t)(now_dbl - ((double)now.tv_sec) * 1e9) 145 gpr_timespec now; local [all...] |
/external/grpc-grpc/src/php/lib/Grpc/ |
AbstractCall.php | 54 $now = Timeval::now(); variable 56 $deadline = $now->add($delta);
|
/external/grpc-grpc/test/core/debug/ |
stats_test.cc | 37 grpc_stats_data now; local 38 grpc_stats_collect(&now); 40 grpc_stats_diff(&now, &begin_, &delta);
|