/hardware/ril/librilutils/ |
librilutils.c | 21 struct timespec now; local 22 clock_gettime(CLOCK_MONOTONIC, &now); 23 return now.tv_sec * 1000000000LL + now.tv_nsec;
|
/development/tools/idegen/src/ |
Stopwatch.java | 25 long now = System.currentTimeMillis(); local 26 Log.info(label + ": " + (now - last) + "ms"); 27 last = now;
|
/external/valgrind/helgrind/tests/ |
cond_timedwait_test.c | 9 struct timespec now; local 10 memset(&now, 0, sizeof(now)); 13 pthread_cond_timedwait(&cond, &mutex, &now);
|
/ndk/tests/device/test-gnustl-2/jni/ |
hello.cpp | 5 time_t now = 0; local 9 std::cout << now; local
|
/external/blktrace/btt/ |
trace.c | 25 time_t now = time(NULL); local 30 if (verbose && ((now - last_vtrace) > 0)) { 34 last_vtrace = now;
|
plat.c | 69 double now = TO_SEC(ts); local 76 pp->first_ts = pp->last_ts = now; 79 } else if ((now - pp->first_ts) >= plat_freq) { 85 pp->first_ts = pp->last_ts = now; 89 pp->last_ts = now;
|
/external/lldb/test/expression_command/timeout/ |
wait-a-while.c | 22 struct timeval now; local 23 gettimeofday(&now, NULL); 24 interval = target - now.tv_sec * 1000000 + now.tv_usec;
|
/external/llvm/unittests/Support/ |
TimeValueTest.cpp | 18 sys::TimeValue now = sys::TimeValue::now(); local 20 EXPECT_TRUE(std::abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/system/core/fastboot/ |
util.c | 38 double now() function
|
/system/security/keystore/ |
keystore_keymaster_enforcement.h | 41 time_t now = time(NULL); variable 42 if (now == static_cast<time_t>(-1)) { 45 } else if (now < 0) { 54 uint64_t now_date = static_cast<uint64_t>(now) * 1000 + 999; 59 time_t now = time(NULL); variable 60 if (now == static_cast<time_t>(-1)) { 63 } else if (now < 0) { 71 uint64_t now_date = static_cast<uint64_t>(now) * 1000;
|
/external/e2fsprogs/lib/ext2fs/ |
progress.c | 70 time_t now; local 76 now = time(0); 77 if (now == last_update) 79 last_update = now;
|
/external/ipsec-tools/src/racoon/ |
throttle.c | 99 time_t now; local 104 now = time(NULL); 111 if (te->penalty < now) { 146 remaining = te->penalty - now; 152 te->penalty = now + new;
|
/external/libpcap/msdos/ |
bin2c.c | 19 time_t now = time (NULL);
local 31 argv[1], ctime(&now));
|
/external/toybox/toys/other/ |
uptime.c | 27 struct tm * now; local 35 now = localtime(&tmptime); 43 xprintf(" %02d:%02d:%02d up ", now->tm_hour, now->tm_min, now->tm_sec);
|
/external/vboot_reference/firmware/2lib/ |
2secdata.c | 55 /* Read this now to make sure crossystem has it even in rec mode. */ 92 uint32_t now; local 98 if (vb2_secdata_get(ctx, param, &now) == VB2_SUCCESS && now == value)
|
/external/vboot_reference/host/lib/ |
extract_vmlinuz.c | 16 uint64_t now = 0; local 27 now += keyblock->key_block_size; 28 if (now > kpart_size) 31 preamble = (VbKernelPreambleHeader *)(kpart_data + now); 32 now += preamble->preamble_size; 33 if (now > kpart_size) 36 kblob_data = kpart_data + now; 39 if (!kblob_data || (now + kblob_size) > kpart_size)
|
/external/wpa_supplicant_8/src/ap/ |
tkip_countermeasures.c | 71 struct os_reltime now; local 92 os_get_reltime(&now); 93 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 102 hapd->michael_mic_failure = now;
|
/frameworks/av/services/mediaresourcemanager/ |
ServiceLog.cpp | 35 time_t now = time(0); local 37 strftime(buf, sizeof(buf), "%m-%d %T", localtime(&now));
|
/frameworks/base/libs/hwui/renderthread/ |
TimeLord.cpp | 37 nsecs_t now = systemTime(CLOCK_MONOTONIC); local 38 nsecs_t jitterNanos = now - mFrameTimeNanos; 41 mFrameTimeNanos = now - lastFrameOffset;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
LatencyTracker.java | 51 long now = SystemClock.uptimeMillis(); local 52 return (int) (now - mStartTime);
|
/system/extras/tests/icachetest/ |
icache_main.c | 11 struct timeval now, tm; local 19 gettimeofday(&now, 0); 22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); 26 gettimeofday(&now, 0); 29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
CodeSigner_ImplTest.java | 39 private Date now = new Date(); field in class:CodeSigner_ImplTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
Timestamp_ImplTest.java | 39 private Date now = new Date(); field in class:Timestamp_ImplTest 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/external/apache-http/src/org/apache/http/protocol/ |
HttpDateGenerator.java | 77 long now = System.currentTimeMillis(); local 78 if (now - this.dateAsLong > 1000) { 80 this.dateAsText = this.dateformat.format(new Date(now)); 81 this.dateAsLong = now;
|
/external/iptables/iptables/ |
ip6tables-save.c | 78 time_t now = time(NULL); local 81 IPTABLES_VERSION, ctime(&now)); 114 now = time(NULL); 116 printf("# Completed on %s", ctime(&now));
|