/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/ |
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_mutex_trylock/ |
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_once/ |
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_self/ |
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/sem_getvalue/ |
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/sem_init/ |
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/sem_open/ |
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/kernel/timers/leapsec/ |
leapsec_timer.c | 43 static const char *strtime(const struct timespec *now); 88 struct timespec now; local 93 now.tv_sec = tx->time.tv_sec; 94 now.tv_nsec = tx->time.tv_usec * 1000; 101 tst_resm(TINFO, "%s adjtimex: %s", strtime(&now), msgs[r]); 104 strtime(&now), r); 107 static const char *strtime(const struct timespec *now) 111 if (snprintf(fmt, sizeof(fmt), "%%F %%T.%09ld %%z", now->tv_nsec) < 0) { 115 if (!strftime(buf, sizeof(buf), fmt, localtime(&now->tv_sec))) { 124 struct timespec now, target local 150 struct timespec now, leap, start; local 212 struct timespec now; local [all...] |
/external/libcxx/test/std/utilities/time/time.clock/time.clock.steady/ |
now.pass.cpp | 16 // static time_point now(); 24 C::time_point t1 = C::now(); 25 C::time_point t2 = C::now();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.clock/time.clock.steady/ |
now.pass.cpp | 16 // static time_point now(); 24 C::time_point t1 = C::now(); 25 C::time_point t2 = C::now();
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
ceil.fail.cpp | 25 std::chrono::ceil<int>(std::chrono::system_clock::now());
|
floor.fail.cpp | 25 std::chrono::floor<int>(std::chrono::system_clock::now());
|
round.fail.cpp | 25 std::chrono::round<int>(std::chrono::system_clock::now());
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cast/ |
ceil.fail.cpp | 25 std::chrono::ceil<int>(std::chrono::system_clock::now());
|
floor.fail.cpp | 25 std::chrono::floor<int>(std::chrono::system_clock::now());
|
round.fail.cpp | 25 std::chrono::round<int>(std::chrono::system_clock::now());
|
/external/python/cpython2/Doc/includes/sqlite3/ |
adapter_datetime.py | 12 now = datetime.datetime.now() variable 13 cur.execute("select ?", (now,))
|
/external/python/cpython3/Doc/includes/sqlite3/ |
adapter_datetime.py | 13 now = datetime.datetime.now() variable 14 cur.execute("select ?", (now,))
|
/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);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/ |
JobStatusTest.java | 52 final long now = JobSchedulerService.sElapsedRealtimeClock.millis(); local 56 assertEquals(1, createJobStatus(0, now - 1000).getFractionRunTime(), DELTA); 57 assertEquals(0, createJobStatus(0, now + 1000).getFractionRunTime(), DELTA); 59 assertEquals(1, createJobStatus(now - 1000, Long.MAX_VALUE).getFractionRunTime(), DELTA); 60 assertEquals(0, createJobStatus(now + 1000, Long.MAX_VALUE).getFractionRunTime(), DELTA); 62 assertEquals(0, createJobStatus(now, now + 2000).getFractionRunTime(), DELTA); 63 assertEquals(0.25, createJobStatus(now - 500, now + 1500).getFractionRunTime(), DELTA); 64 assertEquals(0.5, createJobStatus(now - 1000, now + 1000).getFractionRunTime(), DELTA) [all...] |
/frameworks/base/core/java/android/os/ |
ConditionVariable.java | 124 long now = System.currentTimeMillis(); local 125 long end = now + timeout; 126 while (!mCondition && now < end) { 128 this.wait(end-now); 132 now = System.currentTimeMillis();
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
MidiBtleTimeTracker.java | 40 public MidiBtleTimeTracker(long now) { 42 mBaseHostTimeNanos = now; 43 mPreviousNow = now; 49 * @param now 53 public long convertTimestampToNanotime(int timestamp, long now) { 63 if ((now - mPreviousNow) > (RANGE_NANOS / 2)) { 65 long minimumTimeNanos = (now - mBaseHostTimeNanos) 78 if (timestampHostNanos > now) { 80 mBaseHostTimeNanos = now; 81 timestampHostNanos = now; [all...] |
/external/curl/lib/ |
timeval.c | 34 struct curltime now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 42 now.tv_sec = (time_t) (milliseconds / 1000); 43 now.tv_usec = (unsigned int) (milliseconds % 1000) * 1000; 46 return now; 60 struct timeval now; local 74 (void)gettimeofday(&now, NULL); 75 cnow.tv_sec = now.tv_sec; 76 cnow.tv_usec = (unsigned int)now.tv_usec 127 struct timeval now; local 142 struct curltime now; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
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);
|