/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/c-ares/ |
ares__timeval.c | 28 struct timeval now; local 30 now.tv_sec = milliseconds / 1000; 31 now.tv_usec = (milliseconds % 1000) * 1000; 32 return now; 46 struct timeval now; local 49 now.tv_sec = tsnow.tv_sec; 50 now.tv_usec = tsnow.tv_nsec / 1000; 59 (void)gettimeofday(&now, NULL); 62 now.tv_sec = (long)time(NULL); 63 now.tv_usec = 0 78 struct timeval now; local 90 struct timeval now; local [all...] |
ares_send.c | 46 struct timeval now; local 132 now = ares__tvnow(); 133 ares__send_query(channel, query, &now);
|
ares_timeout.c | 39 struct timeval now; local 48 now = ares__tvnow(); 58 offset = ares__timeoffset(&now, &query->timeout);
|
/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;
|
/external/curl/lib/ |
timeval.c | 34 struct timeval now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 42 now.tv_sec = (long) (milliseconds / 1000); 43 now.tv_usec = (long) (milliseconds % 1000) * 1000; 46 return now; 60 struct timeval now; local 63 now.tv_sec = tsnow.tv_sec; 64 now.tv_usec = tsnow.tv_nsec / 1000; 73 (void)gettimeofday(&now, NULL) 92 struct timeval now; local 104 struct timeval now; local [all...] |
/external/curl/src/ |
tool_util.c | 42 struct timeval now; local 48 now.tv_sec = (long)(milliseconds / 1000); 49 now.tv_usec = (milliseconds % 1000) * 1000; 50 return now; 64 struct timeval now; local 67 now.tv_sec = tsnow.tv_sec; 68 now.tv_usec = tsnow.tv_nsec / 1000; 77 (void)gettimeofday(&now, NULL); 80 now.tv_sec = (long)time(NULL); 81 now.tv_usec = 0 96 struct timeval now; local 108 struct timeval now; local [all...] |
/external/curl/tests/libtest/ |
testutil.c | 36 struct timeval now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 40 return now; 54 struct timeval now; local 57 now.tv_sec = tsnow.tv_sec; 58 now.tv_usec = tsnow.tv_nsec / 1000; 67 (void)gettimeofday(&now, NULL); 70 now.tv_sec = (long)time(NULL); 71 now.tv_usec = 0 86 struct timeval now; local 98 struct timeval now; local [all...] |
/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);
|
/external/skia/tests/ |
PDFMetadataAttributeTest.cpp | 22 SkTime::DateTime now; local 23 SkTime::GetDateTime(&now); 24 doc->setMetadata(&info[0], info.count(), &now, &now);
|
/external/skia/tools/VisualBench/ |
TimingStateMachine.cpp | 62 double now = now_ms(); local 63 fLastMeasurement = (now - fStartTime) / (FLAGS_frames * fLoops); 69 fStartTime = now;
|
/external/webrtc/webrtc/libjingle/xmpp/ |
pingtask.cc | 59 uint32_t now = rtc::Time(); local 62 if (ping_response_deadline_ != 0 && now >= ping_response_deadline_) { 68 if (now >= next_ping_time_) { 74 ping_response_deadline_ = now + ping_timeout_millis_; 75 next_ping_time_ = now + ping_period_millis_;
|
/system/core/fastboot/ |
util.cpp | 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));
|