/external/v8/test/intl/date-format/ |
H A D | format-is-bound.js | 32 var dateArray = [Date.now(), Date.now(), Date.now()];
|
/external/v8/test/webkit/ |
H A D | dfg-int32-to-double-on-set-local-and-exit.js | 37 a = Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now(); 42 return Date.now() + Date.now() + Date.now() + Date.now() [all...] |
H A D | dfg-int32-to-double-on-set-local-and-sometimes-exit.js | 37 a = Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now(); 44 return Date.now() + Date.now() + Date.now() + Date.now() [all...] |
/external/v8/test/mjsunit/ |
H A D | d8-performance-now.js | 30 // Test the performance.now() function of d8. This test only makes sense with 33 if (this.performance && performance.now) { 35 var start_test = performance.now(); 37 for (var start = performance.now(); 39 start = performance.now()) { 40 var end = performance.now(); 44 var next = performance.now();
|
/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/libcxx/test/std/utilities/time/time.clock/time.clock.steady/ |
H A D | 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/ |
H A D | DNSListener.java | 22 * @param now 27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
|
/external/lldb/tools/debugserver/source/ |
H A D | DNBTimer.h | 67 // Reset the time value to now 93 // Return the number of microseconds elapsed between now and the 100 struct timeval now; local 101 gettimeofday (&now, NULL); 102 uint64_t now_usec = (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec; 107 m_timeval = now; 113 struct timeval now; local 114 gettimeofday (&now, NULL); 115 uint64_t now_usec = (uint64_t)(now 124 struct timeval now; local 141 struct timespec now; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 83 Timestamp t = new Timestamp(now, cpath); 84 assertEquals(now, t.getTimestamp()); 85 assertNotSame(now, t.getTimestamp()); 92 new Timestamp(now, cpath).toString();
|
/external/lldb/test/expression_command/timeout/ |
H A D | wait-a-while.c | 22 struct timeval now; local 23 gettimeofday(&now, NULL); 24 interval = target - now.tv_sec * 1000000 + now.tv_usec;
|
/external/vboot_reference/host/lib/ |
H A D | extract_vmlinuz.c | 16 uint64_t now = 0; local 27 now += keyblock->key_block_size; 28 if (now > kpart_size) 31 preamble = (VbKernelPreambleHeader *)(kpart_data + now); 32 now += preamble->preamble_size; 33 if (now > kpart_size) 36 kblob_data = kpart_data + now; 39 if (!kblob_data || (now + kblob_size) > kpart_size)
|
/external/toybox/toys/other/ |
H A D | uptime.c | 27 struct tm * now; local 35 now = localtime(&tmptime); 43 xprintf(" %02d:%02d:%02d up ", now->tm_hour, now->tm_min, now->tm_sec);
|
/external/libcxx/test/std/thread/futures/futures.async/ |
H A D | async.pass.cpp | 71 Clock::time_point t0 = Clock::now(); 73 Clock::time_point t1 = Clock::now(); 79 Clock::time_point t0 = Clock::now(); 81 Clock::time_point t1 = Clock::now(); 87 Clock::time_point t0 = Clock::now(); 89 Clock::time_point t1 = Clock::now(); 95 Clock::time_point t0 = Clock::now(); 97 Clock::time_point t1 = Clock::now(); 104 Clock::time_point t0 = Clock::now(); 106 Clock::time_point t1 = Clock::now(); [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
H A D | Timestamp_ImplTest.java | 39 private Date now = new Date(); field in class:Timestamp_ImplTest 46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/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/bison/lib/ |
H A D | timevar.c | 200 get_time (now) 201 struct timevar_time_def *now; 203 now->user = 0; 204 now->sys = 0; 205 now->wall = 0; 213 now->wall = times (&tms) * ticks_to_msec; 215 now->user = tms.tms_utime * ticks_to_msec; 216 now->sys = tms.tms_stime * ticks_to_msec; 218 now->user = (tms.tms_utime + tms.tms_cutime) * ticks_to_msec; 219 now 289 struct timevar_time_def now; local 340 struct timevar_time_def now; local 401 struct timevar_time_def now; local 423 struct timevar_time_def now; local 453 struct timevar_time_def now; local [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
H A D | HttpDateGenerator.java | 77 long now = System.currentTimeMillis(); 78 if (now - this.dateAsLong > 1000) { 80 this.dateAsText = this.dateformat.format(new Date(now)); 81 this.dateAsLong = now;
|
/external/libcxx/test/std/utilities/time/time.clock/time.clock.system/ |
H A D | from_time_t.pass.cpp | 22 C::time_point t1 = C::from_time_t(C::to_time_t(C::now()));
|
H A D | to_time_t.pass.cpp | 22 std::time_t t1 = C::to_time_t(C::now());
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-165637.js | 39 var start = Date.now(); 45 return Date.now() - start;
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
H A D | mutex_time_point.pass.cpp | 34 time_point t0 = Clock::now(); 35 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); 37 time_point t1 = Clock::now(); 44 time_point t0 = Clock::now(); 45 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)); 47 time_point t1 = Clock::now();
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
H A D | try_lock_shared_until.pass.cpp | 37 time_point t0 = Clock::now(); 38 assert(m.try_lock_shared_until(Clock::now() + ms(300)) == true); 39 time_point t1 = Clock::now(); 47 time_point t0 = Clock::now(); 48 assert(m.try_lock_shared_until(Clock::now() + ms(250)) == false); 49 time_point t1 = Clock::now();
|
H A D | try_lock_until.pass.cpp | 36 time_point t0 = Clock::now(); 37 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 38 time_point t1 = Clock::now(); 46 time_point t0 = Clock::now(); 47 assert(m.try_lock_until(Clock::now() + ms(250)) == false); 48 time_point t1 = Clock::now();
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
H A D | try_lock_until.pass.cpp | 34 time_point t0 = Clock::now(); 35 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 36 time_point t1 = Clock::now(); 44 time_point t0 = Clock::now(); 45 assert(m.try_lock_until(Clock::now() + ms(250)) == false); 46 time_point t1 = Clock::now();
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
H A D | try_lock_until.pass.cpp | 34 time_point t0 = Clock::now(); 35 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 36 time_point t1 = Clock::now(); 46 time_point t0 = Clock::now(); 47 assert(m.try_lock_until(Clock::now() + ms(250)) == false); 48 time_point t1 = Clock::now();
|