Searched defs:now (Results 1 - 25 of 609) sorted by relevance

1234567891011>>

/external/swiftshader/third_party/LLVM/unittests/Support/
H A DTimeValue.cpp18 sys::TimeValue now = sys::TimeValue::now(); local
20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
/external/valgrind/helgrind/tests/
H A Dcond_timedwait_test.c9 struct timespec now; local
10 memset(&now, 0, sizeof(now));
13 pthread_cond_timedwait(&cond, &mutex, &now);
/external/curl/lib/
H A Dspeedcheck.c40 struct curltime now)
46 data->state.keeps_speed = now;
49 timediff_t howlong = Curl_timediff(now, data->state.keeps_speed);
63 /* faster right now */
39 Curl_speedcheck(struct Curl_easy *data, struct curltime now) argument
/external/curl/src/
H A Dtool_util.c42 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
96 struct timeval now; local
108 struct timeval now; local
[all...]
/external/llvm/unittests/Support/
H A DTimeValueTest.cpp18 sys::TimeValue now = sys::TimeValue::now(); local
20 EXPECT_TRUE(std::abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
/external/python/cpython2/Doc/includes/sqlite3/
H A Dadapter_datetime.py12 now = datetime.datetime.now() variable
13 cur.execute("select ?", (now,))
H A Dpysqlite_datetime.py9 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/
H A Dadapter_datetime.py13 now = datetime.datetime.now() variable
14 cur.execute("select ?", (now,))
H A Dpysqlite_datetime.py9 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/tensorflow/tensorflow/core/platform/cloud/
H A Dnow_seconds_env.h37 void SetNowSeconds(uint64 now) { argument
39 now_ = now;
/external/vulkan-validation-layers/demos/smoke/
H A DGame.cpp24 auto now = std::chrono::system_clock::now(); local
25 auto elapsed = now - start_time;
/external/blktrace/btt/
H A Dtrace.c25 time_t now = time(NULL); local
30 if (verbose && ((now - last_vtrace) > 0)) {
34 last_vtrace = now;
/external/curl/tests/libtest/
H A Dtestutil.c36 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
86 struct timeval now; local
98 struct timeval now; local
[all...]
/external/ipsec-tools/src/racoon/
H A Dthrottle.c99 time_t now; local
104 now = time(NULL);
111 if (te->penalty < now) {
146 remaining = te->penalty - now;
152 te->penalty = now + new;
/external/jmdns/src/javax/jmdns/impl/
H A DDNSListener.java22 * @param now
27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
/external/libchrome/base/test/
H A Dsimple_test_clock.cc23 void SimpleTestClock::SetNow(Time now) { argument
25 now_ = now;
/external/ltp/testcases/kernel/controllers/freezer/
H A Dtimed_forkbomb.c31 struct timeval start, now; local
78 if (gettimeofday(&now, NULL) && (errno != EINTR))
80 } while ((now.tv_sec - start.tv_sec) <= duration);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
H A Dtestfrmw.c45 struct tm *now; local
52 now = localtime(&nw);
53 if (now == NULL)
57 now->tm_hour, now->tm_min, now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
H A Dtestfrmw.c50 struct tm *now; local
55 now = localtime(&nw);
56 if (now == NULL)
59 printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min,
60 now->tm_sec);

Completed in 1213 milliseconds

1234567891011>>