HomeSort by relevance Sort by last modified time
    Searched defs:now (Results 176 - 200 of 809) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/google-benchmark/src/
timers.cc 185 std::time_t now = Clock::to_time_t(Clock::now()); local
193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now));
196 ::localtime_r(&now, &timeinfo);
201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now));
204 ::gmtime_r(&now, &timeinfo);
  /external/google-breakpad/src/client/windows/crash_generation/
client_info.cc 163 FILETIME now = {0}; local
164 GetSystemTimeAsFileTime(&now);
171 time_now.HighPart = now.dwHighDateTime;
172 time_now.LowPart = now.dwLowDateTime;
  /external/grpc-grpc/src/core/lib/gpr/
sync_windows.cc 76 gpr_timespec now = gpr_now(abs_deadline.clock_type); local
77 int64_t now_ms = (int64_t)now.tv_sec * 1000 + now.tv_nsec / 1000000;
  /external/grpc-grpc/src/core/lib/iomgr/
iocp_windows.cc 50 grpc_millis now = grpc_core::ExecCtx::Get()->Now(); local
51 if (deadline < now) return 0;
52 grpc_millis timeout = deadline - now;
54 return static_cast<DWORD>(deadline - now);
  /external/grpc-grpc/test/core/iomgr/
tcp_client_uv_test.cc 161 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); local
167 polling_deadline = grpc_timespec_to_millis_round_up(now);
  /external/grpc-grpc/test/cpp/naming/
resolver_component_tests_runner_invoker.cc 78 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); local
79 if (gpr_time_cmp(now, overall_deadline) > 0 || abort_wait_for_child) break;
  /external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
KeepAliveEnforcer.java 58 long now = ticker.nanoTime(); local
61 valid = compareNanos(lastValidPingTime + IMPLICIT_PERMIT_TIME_NANOS, now) <= 0;
63 valid = compareNanos(lastValidPingTime + minTimeNanos, now) <= 0;
69 lastValidPingTime = now;
  /external/icu/icu4c/source/test/compat/
tzdate.c 112 time_t now; local
116 time(&now);
117 ts = *localtime(&now);
127 now = mktime(&ts);
128 ts = *localtime(&now);
134 return (double)now;
  /external/iperf3/src/
timer.c 126 struct iperf_time now; local
129 getnow( nowP, &now );
144 t->time = now;
156 struct iperf_time now, diff; local
161 getnow( nowP, &now );
165 past = iperf_time_diff(&timers->time, &now, &diff);
179 struct iperf_time now; local
183 getnow( nowP, &now );
189 if (iperf_time_compare(&t->time, &now) > 0)
191 (t->timer_proc)( t->client_data, &now );
205 struct iperf_time now; local
    [all...]
  /external/libbrillo/brillo/
backoff_entry.cc 58 base::TimeTicks now = ImplGetTimeNow(); local
59 if (exponential_backoff_release_time_ <= now)
61 return exponential_backoff_release_time_ - now;
76 base::TimeTicks now = ImplGetTimeNow();
79 (now - exponential_backoff_release_time_).InMilliseconds();
81 // Release time is further than now, we are managing it.
109 return base::TimeTicks::Now();
  /external/libchrome/base/message_loop/
message_loop_task_runner_perftest.cc 51 base::TimeTicks start = base::TimeTicks::Now();
52 base::TimeTicks now; local
75 now = base::TimeTicks::Now();
76 } while (now - start < kPostTaskPerfTestDuration);
80 (now - start).InMicroseconds() / static_cast<double>(num_posted),
156 base::TimeTicks start = base::TimeTicks::Now();
157 base::TimeTicks now; local
169 now = base::TimeTicks::Now();
    [all...]
  /external/libchrome/base/
rand_util_unittest.cc 163 const base::TimeTicks now = base::TimeTicks::Now(); local
166 const base::TimeTicks end = base::TimeTicks::Now();
169 << (end - now).InMicroseconds() << "µs";
  /external/libchrome/base/task/sequence_manager/
sequence_manager_perftest.cc 33 PerfTestTimeDomain() : MockTimeDomain(TimeTicks::Now()) {}
177 ThreadTicks start = ThreadTicks::Now();
178 ThreadTicks now;
184 now = ThreadTicks::Now(); member in class:base::sequence_manager::SequenceManagerPerfTest
186 } while (now - start < TimeDelta::FromSeconds(5));
189 (now - start).InMicroseconds() / static_cast<double>(num_iterations),
  /external/libchrome/base/timer/
timer.cc 170 desired_run_time_ = Now() + delay_;
186 TimeTicks Timer::Now() const {
190 return tick_clock_ ? tick_clock_->NowTicks() : TimeTicks::Now();
208 scheduled_run_time_ = desired_run_time_ = Now() + delay;
242 // Now() can be expensive, so only call it if we know the user has changed
244 TimeTicks now = Now(); local
247 if (desired_run_time_ > now) {
249 PostNewScheduledTask(desired_run_time_ - now);
  /external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
wait_until_pred.pass.cpp 36 static time_point now() function in struct:Clock
40 steady_clock::now().time_since_epoch()
68 Clock::time_point t0 = Clock::now();
71 Clock::time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
wait_until_pred.pass.cpp 36 static time_point now() function in struct:Clock
40 steady_clock::now().time_since_epoch()
72 Clock::time_point t0 = Clock::now();
75 Clock::time_point t1 = Clock::now();
  /external/libcxx/utils/google-benchmark/src/
timers.cc 185 std::time_t now = Clock::to_time_t(Clock::now()); local
193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now));
196 ::localtime_r(&now, &timeinfo);
201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now));
204 ::gmtime_r(&now, &timeinfo);
  /external/libevent/
evthread_pthread.c 144 struct timeval now, abstime; local
146 evutil_gettimeofday(&now, NULL);
147 evutil_timeradd(&now, tv, &abstime);
  /external/libxcam/xcore/
xcam_mutex.h 82 struct timeval now; local
85 gettimeofday (&now, NULL);
86 now.tv_usec += time_in_us;
88 abstime.tv_sec += now.tv_sec + now.tv_usec / 1000000;
89 abstime.tv_nsec = (now.tv_usec % 1000000) * 1000;
  /external/linux-kselftest/tools/testing/selftests/timers/
nanosleep.c 103 struct timespec now, target, rel; local
106 if (clock_gettime(clockid, &now))
108 target = timespec_add(now, ns);
112 clock_gettime(clockid, &now);
114 if (!in_order(target, now))
118 clock_gettime(clockid, &now);
122 target = timespec_add(now, ns);
124 clock_gettime(clockid, &now);
126 if (!in_order(target, now))
threadtest.c 123 time_t start, now, runtime; local
171 while (time(&now) < start + runtime) {
175 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now));
  /external/ltp/testcases/kernel/timers/leapsec/
leapsec_timer.c 43 static const char *strtime(const struct timespec *now);
88 struct timespec now; local
93 now.tv_sec = tx->time.tv_sec;
94 now.tv_nsec = tx->time.tv_usec * 1000;
101 tst_resm(TINFO, "%s adjtimex: %s", strtime(&now), msgs[r]);
104 strtime(&now), r);
107 static const char *strtime(const struct timespec *now)
111 if (snprintf(fmt, sizeof(fmt), "%%F %%T.%09ld %%z", now->tv_nsec) < 0) {
115 if (!strftime(buf, sizeof(buf), fmt, localtime(&now->tv_sec))) {
124 struct timespec now, target local
150 struct timespec now, leap, start; local
212 struct timespec now; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
14-1.c 52 struct timeval now; local
54 SAFE_FUNC(gettimeofday(&now, NULL));
55 return now.tv_sec * 1000000LL + now.tv_usec;
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
stress.c 88 struct timespec now; local
109 ret = clock_gettime(CLOCK_REALTIME, &now);
143 ret = clock_gettime(CLOCK_MONOTONIC, &now);
167 ret = pthread_cond_timedwait(pcnd, pmtx, &now);
251 /* Every threads were created; we now just wait */
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
Path.java 70 String now; local
73 now = path.substring(0, path.indexOf('/'));
75 now = path;
79 Matcher m = component.matcher(now);
104 throw new RuntimeException(now + " is invalid path.");

Completed in 827 milliseconds

1 2 3 4 5 6 78 91011>>