Searched refs:now (Results 1 - 25 of 659) sorted by relevance

1234567891011>>

/external/srec/portable/src/
H A Dptimestamp.c36 struct _timeb now;
38 _ftime(&now);
39 timestamp->secs = now.time;
40 timestamp->msecs = now.millitm;
42 struct timespec now;
43 clock_gettime(CLOCK_REALTIME, &now);
44 timestamp->secs = now.tv_sec;
45 timestamp->msecs = now.tv_nsec / MSECOND2NSECOND;
/external/chromium/chrome/browser/debugger/manual_tests/resources/
H A Dfib.js6 var started = Date.now();
10 if (Date.now() - started >= 100) {
/external/jmdns/src/javax/jmdns/impl/
H A DDNSListener.java22 * @param now
27 void updateRecord(DNSCache dnsCache, long now, DNSEntry record); argument
/external/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/chromium/chrome/common/
H A Dthumbnail_score_unittest.cc10 base::Time now = base::Time::Now(); local
12 ThumbnailScore nothing_good(0.5, false, false, now);
13 ThumbnailScore not_at_top(0.5, false, true, now);
14 ThumbnailScore bad_clipping(0.5, true, false, now);
15 ThumbnailScore life_is_awesome(0.5, true, true, now);
29 base::Time now = base::Time::Now(); local
30 base::Time last_year = now - base::TimeDelta::FromDays(365);
33 ThumbnailScore newie_but_crappie(0.9, true, true, now);
40 base::Time now = base::Time::Now(); local
42 ThumbnailScore no_redirects(0.5, true, true, now);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/nds/
H A DSDL_systimer.c49 Uint32 now; local
50 now=timers2ms(TIMER0_DATA, TIMER1_DATA);
51 while((Uint32)timers2ms(TIMER0_DATA, TIMER1_DATA)<now+ms);
/external/qemu/telephony/
H A Dtest1.c23 SysTime now = sys_time_ms(); local
26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. );
28 sys_timer_set( timer, now + 2000, timer_func, timer );
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DTimestampTest.java39 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/chromium/net/base/
H A Dhost_cache_unittest.cc33 base::TimeTicks now; local
42 cache.Set(Key("foobar.com"), OK, AddressList(), now);
48 now += base::TimeDelta::FromSeconds(5);
52 cache.Set(Key("foobar2.com"), OK, AddressList(), now);
58 now += base::TimeDelta::FromSeconds(4);
61 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now));
62 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now));
64 // Advance to t=10; entry1 is now expired.
65 now += base::TimeDelta::FromSeconds(1);
67 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), now)
93 base::TimeTicks now; local
117 base::TimeTicks now; local
178 base::TimeTicks now = base::TimeTicks() + base::TimeDelta::FromSeconds(10); local
183 cache.Set(Key(hostname), OK, AddressList(), now); local
198 cache.Set(Key(hostname), ERR_NAME_NOT_RESOLVED, AddressList(), now); local
242 base::TimeTicks now = base::TimeTicks() + kSuccessEntryTTL; local
278 base::TimeTicks now; local
313 base::TimeTicks now; local
361 base::TimeTicks now; local
375 base::TimeTicks now; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/mint/
H A DSDL_systimer.c78 Uint32 now = start; local
81 now = SDL_Atari_hz200;
84 now = *((volatile long *)_hz_200);
88 return((now*5)-start);
93 Uint32 now; local
95 now = SDL_GetTicks();
96 while ((SDL_GetTicks()-now)<ms){
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
H A DSDL_syssem.c102 struct timeval now; local
124 * This time is now plus the timeout.
126 gettimeofday(&now, NULL);
129 now.tv_usec += (timeout % 1000) * 1000;
130 now.tv_sec += timeout / 1000;
133 if ( now.tv_usec >= 1000000 ) {
134 now.tv_usec -= 1000000;
135 now.tv_sec ++;
139 ts_timeout.tv_sec = now.tv_sec;
140 ts_timeout.tv_nsec = now
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DTimestamp_ImplTest.java40 private Date now = new Date(); field in class:Timestamp_ImplTest
47 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
H A Dtimestamp.js12 var now = new Date().getTime();
13 shouldBeTrue('now != 0');
23 shouldBeTrue('now - 1 <= t'); // Avoid rounding errors
24 if (now - 1 > t) {
25 debug(" now - 1 = " + (now-1));
/external/bison/lib/
H A Dtimevar.c200 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 DHttpDateGenerator.java72 long now = System.currentTimeMillis();
73 if (now - this.dateAsLong > 1000) {
75 this.dateAsText = this.dateformat.format(new Date(now));
76 this.dateAsLong = now;
/external/chromium/chrome/browser/history/
H A Dhistory_unittest_base.cc24 int64 now = base::Time::Now().ToInternalValue(); local
26 sql_time.push_back(StringPrintf("%" PRId64, now)); // last_visit_time
27 sql_time.push_back(StringPrintf("%" PRId64, now)); // visit_time
28 sql_time.push_back(StringPrintf("%" PRId64, now)); // time_slot
/external/webkit/Tools/QueueStatusServer/handlers/
H A Dnextpatch.py54 now = datetime.now()
56 active_work_items.deactivate_expired(now)
57 next_item = active_work_items.next_item(work_item_ids, now)
/external/chromium/base/synchronization/
H A Dcondition_variable_posix.cc46 struct timeval now; local
47 gettimeofday(&now, NULL);
50 abstime.tv_sec = now.tv_sec + (usecs / Time::kMicrosecondsPerSecond);
51 abstime.tv_nsec = (now.tv_usec + (usecs % Time::kMicrosecondsPerSecond)) *
55 DCHECK_GE(abstime.tv_sec, now.tv_sec); // Overflow paranoia
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
H A DSDL_systimer.c75 struct timespec now; local
76 clock_gettime(CLOCK_MONOTONIC,&now);
77 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_nsec-start.tv_nsec)/1000000;
81 struct timeval now;
82 gettimeofday(&now, NULL);
83 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
102 Uint32 then, now, elapsed;
121 now
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
H A DSDL_MPWtimer.c50 UnsignedWide now; local
52 Microseconds(&now);
53 start = WideTo64bit(now);
62 UnsignedWide now; local
64 Microseconds(&now);
65 return (Uint32)((WideTo64bit(now)-start)/1000);
/external/qemu/distrib/sdl-1.2.15/src/timer/win32/
H A DSDL_systimer.c75 DWORD now, ticks; local
81 now = GetTickCount();
95 now = timeGetTime();
99 if ( now < start ) {
100 ticks = (TIME_WRAP_VALUE-start) + now;
102 ticks = (now - start);
/external/webkit/Source/JavaScriptCore/wtf/
H A DCurrentTime.cpp259 GTimeVal now; local
260 g_get_current_time(&now);
261 return static_cast<double>(now.tv_sec) + static_cast<double>(now.tv_usec / 1000000.0);
268 wxDateTime now = wxDateTime::UNow(); local
269 return (double)now.GetTicks() + (double)(now.GetMillisecond() / 1000.0);
290 struct timeval now; local
291 gettimeofday(&now, 0);
292 return now
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dtkip_countermeasures.c71 struct os_time now; local
91 os_get_time(&now);
92 if (now.sec > hapd->michael_mic_failure + 60) {
99 hapd->michael_mic_failure = now.sec;
/external/wpa_supplicant_8/src/ap/
H A Dtkip_countermeasures.c71 struct os_time now; local
91 os_get_time(&now);
92 if (now.sec > hapd->michael_mic_failure + 60) {
99 hapd->michael_mic_failure = now.sec;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dtkip_countermeasures.c71 struct os_time now; local
91 os_get_time(&now);
92 if (now.sec > hapd->michael_mic_failure + 60) {
99 hapd->michael_mic_failure = now.sec;

Completed in 516 milliseconds

1234567891011>>