/external/swiftshader/third_party/LLVM/unittests/Support/ |
H A D | 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/ |
H A D | cond_timedwait_test.c | 9 struct timespec now; local 10 memset(&now, 0, sizeof(now)); 13 pthread_cond_timedwait(&cond, &mutex, &now);
|
/external/curl/lib/ |
H A D | speedcheck.c | 40 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 D | 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 96 struct timeval now; local 108 struct timeval now; local [all...] |
/external/llvm/unittests/Support/ |
H A D | TimeValueTest.cpp | 18 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 D | adapter_datetime.py | 12 now = datetime.datetime.now() variable 13 cur.execute("select ?", (now,))
|
H A D | 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/ |
H A D | adapter_datetime.py | 13 now = datetime.datetime.now() variable 14 cur.execute("select ?", (now,))
|
H A D | 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/tensorflow/tensorflow/core/platform/cloud/ |
H A D | now_seconds_env.h | 37 void SetNowSeconds(uint64 now) { argument 39 now_ = now;
|
/external/vulkan-validation-layers/demos/smoke/ |
H A D | Game.cpp | 24 auto now = std::chrono::system_clock::now(); local 25 auto elapsed = now - start_time;
|
/external/blktrace/btt/ |
H A D | trace.c | 25 time_t now = time(NULL); local 30 if (verbose && ((now - last_vtrace) > 0)) { 34 last_vtrace = now;
|
/external/curl/tests/libtest/ |
H A D | 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 86 struct timeval now; local 98 struct timeval now; local [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | 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/jmdns/src/javax/jmdns/impl/ |
H A D | DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
|
/external/libchrome/base/test/ |
H A D | simple_test_clock.cc | 23 void SimpleTestClock::SetNow(Time now) { argument 25 now_ = now;
|
/external/ltp/testcases/kernel/controllers/freezer/ |
H A D | timed_forkbomb.c | 31 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 D | testfrmw.c | 45 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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 D | testfrmw.c | 50 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);
|