/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/python/cpython2/Doc/includes/sqlite3/ |
adapter_datetime.py | 12 now = datetime.datetime.now() variable 13 cur.execute("select ?", (now,))
|
pysqlite_datetime.py | 9 now = datetime.datetime.now() variable 11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now)) 15 print now, "=>", row[1], type(row[1])
|
/external/python/cpython3/Doc/includes/sqlite3/ |
adapter_datetime.py | 13 now = datetime.datetime.now() variable 14 cur.execute("select ?", (now,))
|
pysqlite_datetime.py | 9 now = datetime.datetime.now() variable 11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now)) 15 print(now, "=>", row[1], type(row[1]))
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
TimeValue.cpp | 18 sys::TimeValue now = sys::TimeValue::now(); local 20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/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);
|
/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...] |
/hardware/interfaces/radio/config/1.0/vts/functional/ |
radio_config_hidl_hal_test.cpp | 58 auto now = std::chrono::system_clock::now(); local 60 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD));
|
/system/core/base/ |
chrono_utils.cpp | 24 boot_clock::time_point boot_clock::now() { function in class:android::base::boot_clock
|
/art/openjdkjvmti/ |
ti_timers.cc | 79 struct timespec now; local 80 clock_gettime(CLOCK_MONOTONIC, &now); 81 *nanos_ptr = now.tv_sec * 1000000000LL + now.tv_nsec;
|
/device/generic/goldfish/dhcp/client/ |
timer.cpp | 21 uint64_t now() { function 32 mExpires = now() + seconds * 1000u; 36 return now() >= mExpires; 40 uint64_t current = now();
|
/external/autotest/site_utils/ |
count_jobs_unittest.py | 47 """Always returns the same 'now' value""" 49 def now(self): member in class:TestCountJobs.test_count_jobs.FakeDatetime 50 """Return a fake 'now', rather than rely on the system's clock."""
|
/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/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/tensorflow/tensorflow/core/common_runtime/ |
allocator_retry.cc | 41 uint64 now = env_->NowMicros(); local 43 deadline_micros = now + max_millis_to_wait * 1000; 46 if (now < deadline_micros) { 49 (deadline_micros - now) / 1000);
|
/external/vulkan-validation-layers/demos/smoke/ |
Game.cpp | 24 auto now = std::chrono::system_clock::now(); local 25 auto elapsed = now - start_time;
|
/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_;
|
/hardware/interfaces/radio/1.0/vts/functional/ |
radio_hidl_hal_test.cpp | 61 auto now = std::chrono::system_clock::now(); local 63 status = cv.wait_until(lock, now + std::chrono::seconds(sec));
|
sap_hidl_hal_test.cpp | 46 auto now = std::chrono::system_clock::now(); local 48 status = cv.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD));
|
/hardware/interfaces/radio/1.1/vts/functional/ |
radio_hidl_hal_test.cpp | 66 auto now = std::chrono::system_clock::now(); local 68 status = cv.wait_until(lock, now + std::chrono::seconds(sec));
|
/hardware/interfaces/radio/1.2/vts/functional/ |
radio_hidl_hal_test.cpp | 72 auto now = std::chrono::system_clock::now(); local 74 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD));
|
/system/core/fastboot/ |
util.cpp | 38 double now() { function
|