/external/curl/src/ |
tool_cb_prg.c | 116 struct timeval now = tvnow(); local 134 else if((tvdiff(now, bar->prevtime) < 100L) && point < total) 140 if(tvdiff(now, bar->prevtime) < 100L) 168 bar->prevtime = now;
|
/external/e2fsprogs/debugfs/ |
lsdel.c | 87 time_t now; local 102 now = current_fs->now ? current_fs->now : time(0); 136 (secs && (labs(now - secs) > (long) inode.i_dtime)))
|
/external/e2fsprogs/misc/ |
findsuper.c | 185 /* Now, go looking for the superblock! */ 198 time_t now, diff; local 200 now = time(0); 201 diff = now - last; 204 s = ctime(&now); 214 last = now;
|
/external/f2fs-tools/fsck/ |
quotaio.c | 51 time_t now; local 53 time(&now); 58 now + q->dq_h->qh_info.dqi_bgrace; 67 now + q->dq_h->qh_info.dqi_igrace;
|
/external/fio/ |
helper_thread.c | 88 struct timeval now; local 98 gettimeofday(&now, NULL); 101 memcpy(&tv, &now, sizeof(tv)); 102 memcpy(&last_du, &now, sizeof(last_du)); 103 memcpy(&last_ss, &now, sizeof(last_ss)); 109 since_du = mtime_since(&last_du, &now); 129 since_ss = mtime_since(&last_ss, &now);
|
mutex.c | 146 struct timeval now; local 148 gettimeofday(&now, NULL); 149 return mtime_since(t, &now) >= msecs;
|
/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/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/jmdns/src/javax/jmdns/impl/tasks/ |
Responder.java | 120 long now = System.currentTimeMillis(); local 122 if (knownAnswer.isStale(now)) {
|
/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/ |
rand_util_unittest.cc | 147 const base::TimeTicks now = base::TimeTicks::Now(); local 150 const base::TimeTicks end = base::TimeTicks::Now(); 153 << (end - now).InMicroseconds() << "µs";
|
/external/libchrome/base/timer/ |
timer.cc | 140 desired_run_time_ = Now() + delay_; 156 TimeTicks Timer::Now() const { 157 return tick_clock_ ? tick_clock_->NowTicks() : TimeTicks::Now(); 176 scheduled_run_time_ = desired_run_time_ = Now() + delay; 208 // Now() can be expensive, so only call it if we know the user has changed 210 TimeTicks now = Now(); local 213 if (desired_run_time_ > now) { 215 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/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 | 60 struct timeval now; local 62 SAFE_FUNC(gettimeofday(&now, NULL)); 63 return now.tv_sec * 1000000LL + now.tv_usec;
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
stress.c | 91 struct timespec now; local 112 ret = clock_gettime(CLOCK_REALTIME, &now); 146 ret = clock_gettime(CLOCK_MONOTONIC, &now); 170 ret = pthread_cond_timedwait(pcnd, pmtx, &now); 254 /* 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.");
|
/external/oauth/core/src/main/java/net/oauth/ |
SimpleOAuthValidator.java | 25 * is close to now and the signature is valid. Each check may be overridden. 90 long now = currentTimeMsec(); local 91 long min = now - timestampWindow; 92 long max = now + timestampWindow;
|
/external/perfetto/src/base/ |
unix_task_runner.cc | 122 TimeMillis now = GetWallTimeMs(); local 131 if (now >= it->first) {
|
/external/skia/gm/ |
SkAnimTimer.h | 152 double now = SkTime::GetNSecs(); local 153 fBaseTimeNanos += now - fCurrTimeNanos; 154 fCurrTimeNanos = now;
|