/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);
|
/device/generic/goldfish/network/netmgr/ |
timestamp.cpp | 24 static Timestamp Timestamp::now() { function in class:Timestamp
|
/external/curl/src/ |
tool_util.c | 42 struct timeval now; local 49 now.tv_sec = (long)(milliseconds / 1000); 50 now.tv_usec = (long)((milliseconds % 1000) * 1000); 51 return now; 65 struct timeval now; local 68 now.tv_sec = tsnow.tv_sec; 69 now.tv_usec = tsnow.tv_nsec / 1000; 78 (void)gettimeofday(&now, NULL); 81 now.tv_sec = (long)time(NULL); 82 now.tv_usec = 0 97 struct timeval now; local 109 struct timeval now; local [all...] |
/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 32 if (verbose && ((now - last_vtrace) > 0)) { 36 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/opencensus-java/api/src/main/java/io/opencensus/common/ |
Clock.java | 32 public abstract Timestamp now(); method in class:Clock
|
/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/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_;
|
/build/soong/ui/metrics/ |
time.go | 42 func (t *timeTracerImpl) now() uint64 { func 43 return uint64(time.Now().UnixNano()) 47 t.beginAt(name, desc, t.now()) 55 return t.endAt(t.now())
|
/external/adhd/cras/src/server/ |
audio_thread_log.h | 54 struct timespec now; local 56 clock_gettime(CLOCK_MONOTONIC_RAW, &now); 58 (event << 24) | (now.tv_sec & 0x00ffffff); 59 log->log[log->write_pos].nsec = now.tv_nsec;
|
/external/boringssl/src/crypto/x509/ |
x509_time_test.cc | 233 time_t now = time(NULL); local 235 bssl::UniquePtr<ASN1_TIME> asn1_before(ASN1_TIME_adj(NULL, now, -1, 0)); 236 bssl::UniquePtr<ASN1_TIME> asn1_after(ASN1_TIME_adj(NULL, now, 1, 0));
|
/external/curl/lib/ |
psl.c | 49 struct curltime now = Curl_now(); local 51 return now.tv_sec; 58 time_t now; local 64 now = now_seconds(); 65 if(!pslcache->psl || pslcache->expires <= now) { 73 now = now_seconds(); 74 if(!pslcache->psl || pslcache->expires <= now) { 82 expires = now < TIME_T_MAX - PSL_TTL? now + PSL_TTL: TIME_T_MAX;
|
/external/curl/tests/unit/ |
unit1606.c | 52 struct curltime now = {1, 0}; local 63 result = Curl_speedcheck(easy, now); 67 now.tv_sec = ++counter; 71 finaltime = (int)(now.tv_sec - 1);
|
/external/e2fsprogs/lib/ext2fs/ |
progress.c | 77 time_t now; local 83 now = time(0); 84 if (now == last_update) 86 last_update = now;
|
/external/grpc-grpc/src/core/lib/transport/ |
bdp_estimator.cc | 43 gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); local 44 gpr_timespec dt_ts = gpr_time_sub(now, ping_start_time_); 84 return grpc_core::ExecCtx::Get()->Now() + inter_ping_delay_;
|
/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;
|