Searched defs:now (Results 151 - 175 of 760) sorted by last modified time

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/timer/macos/
H A DSDL_systimer.c70 Uint32 stop, now; local
80 now = SDL_GetTicks();
82 } while ( stop > now );
/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/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/distrib/sdl-1.2.15/src/timer/riscos/
H A DSDL_systimer.c86 Uint32 now,then,elapsed; local
115 now = SDL_GetTicks();
116 elapsed = (now-then);
117 then = now;
/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/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/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_wimpvideo.c187 Uint32 now = SDL_GetTicks(); local
188 while (!hasFocus && SDL_GetTicks() - now < 5000)
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c953 Uint32 now; local
955 now = SDL_GetTicks();
959 switch_time = now + 1500;
961 switch_time = now + 200;
963 } else if ( (int)(switch_time-now) <= 0 ) {
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestblitspeed.c259 else if (0) /* !!! FIXME: we handle some commandlines elsewhere now */
366 Uint32 now = 0; local
376 now = SDL_GetTicks();
377 end = now + testms;
382 if (now - last > 1000)
384 last = now;
396 now = SDL_GetTicks();
397 } while (now < end);
H A Dtestoverlay.c330 Uint32 then, now; local
577 now = SDL_GetTicks();
578 printf("Conversion Time: %d milliseconds\n", now-then);
587 now = SDL_GetTicks();
588 printf("Time: %d milliseconds\n", now-then);
H A Dtestsprite.c161 Uint32 then, now, frames; local
316 now = SDL_GetTicks();
317 if ( now > then ) {
319 ((double)frames*1000)/(now-then));
H A Dtestvidinfo.c79 Uint32 then, now; local
120 now = SDL_GetTicks();
121 seconds = (float)(now - then) / 1000.0f;
149 now = SDL_GetTicks();
150 seconds = (float)(now - then) / 1000.0f;
180 now = SDL_GetTicks();
181 seconds = (float)(now - then) / 1000.0f;
211 now = SDL_GetTicks();
212 seconds = (float)(now - then) / 1000.0f;
242 now
[all...]
H A Dtestwin.c244 Uint32 then, now; local
369 now = SDL_GetTicks();
370 printf("Time: %d milliseconds\n", now-then);
/external/qemu/hw/android/goldfish/
H A Dpipe.c400 /* Nope, we don't handle these for now. */
427 /* Do the evil switch now */
661 D("pingpong buffer is now %d bytes", newsize);
808 /* For now, limit to 500 KB/s in both directions */
851 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); local
853 DD("%s: TICK! now=%lld sendExpiration=%lld recvExpiration=%lld\n",
854 __FUNCTION__, now, pipe->sendExpiration, pipe->recvExpiration);
859 if (pipe->sendExpiration && now > pipe->sendExpiration) {
863 if (pipe->recvExpiration && now > pipe->recvExpiration) {
H A Dtimer.c134 int64_t now; member in struct:rtc_state
138 * (i.e. it has read the low 32-bit of s->now, but not the high 32-bits yet */
145 qemu_put_be64(f, s->now);
156 s->now = qemu_get_be64(f);
165 s->now = (int64_t)time(NULL) * 1000000000;
166 return s->now;
168 return s->now >> 32;
/external/qemu/hw/arm/
H A Darmv7m_nvic.c276 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); local
279 s->systick.tick += now;
286 s->systick.tick -= now;
/external/qemu/hw/core/
H A Ddma.c41 int now[2]; member in struct:dma_regs
140 r->now[ADDR] = r->base[ADDR] << d->dshift;
141 r->now[COUNT] = 0;
167 val = (r->base[COUNT] << d->dshift) - r->now[COUNT];
169 val = r->now[ADDR] + r->now[COUNT] * dir;
352 r->now[COUNT], (r->base[COUNT] + 1) << ncont);
353 r->now[COUNT] = n;
408 hwaddr addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADDR];
430 hwaddr addr = ((r->pageh & 0x7f) << 24) | (r->page << 16) | r->now[ADD
[all...]
/external/qemu/hw/mips/
H A Dcputimer.c35 uint64_t now, next; local
38 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);
40 (uint32_t)muldiv64(now, TIMER_FREQ, get_ticks_per_sec());
41 next = now + muldiv64(wait, get_ticks_per_sec(), TIMER_FREQ);
/external/qemu/
H A Dqemu-timer.c546 int64_t now, last; local
560 now = get_clock_realtime();
562 clock->last = now;
563 if (now < last) {
564 notifier_list_notify(&clock->reset_notifiers, &now);
566 return now;
/external/qemu/telephony/
H A Dandroid_modem.c1720 /* the PDU is now owned by the receiver */
1891 time_t now = time(NULL); local
1899 utc = *gmtime( &now );
1900 local = *localtime( &now );
1920 /* now replace every / in the timezone name by a "!"
2038 /* Note: For now, hard-code the IP address of our
2469 { "+CMGF=0", NULL, handleEndOfInit }, /* now is a goof time to send the current tme and timezone */
H A Dsms.c109 /* now, try to write it to the destination */
1291 /* now create each SMS PDU */
1615 SmsTimeStampRec now[1]; local
1647 sms_timestamp_now( now );
1649 result = smspdu_create_deliver_utf8( utf8, utf8len, from, now );
H A Dsysdeps_posix.c290 /* we can't free the channel right now because it */
385 SysTime now = sys_time_ms(); local
387 if (now >= when) {
432 SysTime now = sys_time_ms(); local
436 if (first->when <= now) {
440 SysTime diff = first->when - now;
487 SysTime now = sys_time_ms(); local
492 if (timer->when > now)
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 );
H A Dtest2.c29 SysTime now = sys_time_ms(); local
32 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. );
34 sys_timer_set( timer, now + DELAY, timer_func, timer );
/external/ppp/pppd/
H A Dmain.c347 * Initialize magic number generator now so that protocols may
525 * If we're doing dial-on-demand, set up the interface now.
1217 struct timeval now; local
1221 || gettimeofday(&now, NULL) < 0)
1223 link_connect_time = now.tv_sec - start_time.tv_sec;
1312 * calltimeout - Call any timeout routines which are now due.

Completed in 222 milliseconds

1234567891011>>