Searched refs:timer (Results 1 - 25 of 77) sorted by relevance

1234

/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-timer.c37 pixman_timer_t *timer; local in function:dump_timers
39 for (timer = timers; timer != NULL; timer = timer->next)
42 timer->name,
43 timer->total,
44 timer->n_times,
45 timer->total / (double)timer
50 pixman_timer_register(pixman_timer_t * timer) argument
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A DWaitFor.c107 static void DoTimer(OsTimerPtr timer, CARD32 now);
122 * Compute timeout until next timer, running
128 OsTimerPtr timer; local in function:check_timers
130 if ((timer = first_timer()) != NULL) {
132 int timeout = timer->expires - now;
138 if (timeout < timer->delta + 250)
247 static inline Bool timer_pending(OsTimerPtr timer) { argument
248 return !xorg_list_is_empty(&timer->list);
251 /* If time has rewound, re-run every affected timer.
256 OsTimerPtr timer; local in function:CheckAllTimers
273 DoTimer(OsTimerPtr timer,CARD32 now) argument
286 OsTimerPtr timer; local in function:DoTimers
298 TimerSet(OsTimerPtr timer,int flags,CARD32 millis,OsTimerCallback func,void * arg) argument
349 TimerForce(OsTimerPtr timer) argument
362 TimerCancel(OsTimerPtr timer) argument
372 TimerFree(OsTimerPtr timer) argument
390 OsTimerPtr timer, tmp; local in function:TimerInit
437 ScreenSaverTimeoutExpire(OsTimerPtr timer,CARD32 now,void * arg) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/os/
H A DWaitFor.c126 static void DoTimer(OsTimerPtr timer, CARD32 now, OsTimerPtr *prev);
401 /* If time has rewound, re-run every affected timer.
406 OsTimerPtr timer; local in function:CheckAllTimers
412 for (timer = timers; timer; timer = timer->next) {
413 if (timer->expires - now > timer->delta + 250) {
414 TimerForce(timer);
421 DoTimer(OsTimerPtr timer,CARD32 now,OsTimerPtr * prev) argument
433 TimerSet(OsTimerPtr timer,int flags,CARD32 millis,OsTimerCallback func,pointer arg) argument
487 TimerForce(OsTimerPtr timer) argument
504 TimerCancel(OsTimerPtr timer) argument
521 TimerFree(OsTimerPtr timer) argument
541 OsTimerPtr timer; local in function:TimerInit
585 ScreenSaverTimeoutExpire(OsTimerPtr timer,CARD32 now,pointer arg) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dos_time.h67 os_localtime(const time_t *timer, struct tm *buf) argument
70 return localtime_s(buf, timer) ? NULL : buf;
72 return localtime_r(timer, buf);
/xsrc/external/mit/xorg-server.old/dist/config/
H A Ddbus-core.c43 OsTimerPtr timer; member in struct:dbus_core_info
48 static CARD32 reconnect_timer(OsTimerPtr timer, CARD32 time, pointer arg);
78 if (bus_info.timer) {
79 TimerFree(bus_info.timer);
80 bus_info.timer = NULL;
119 if (bus_info.timer)
120 TimerFree(bus_info.timer);
121 bus_info.timer = TimerSet(NULL, 0, 1, reconnect_timer, NULL);
188 reconnect_timer(OsTimerPtr timer, CARD32 time, pointer arg) argument
191 TimerFree(bus_info.timer);
[all...]
/xsrc/external/mit/xorg-server/dist/config/
H A Ddbus-core.c43 OsTimerPtr timer; member in struct:dbus_core_info
48 static CARD32 reconnect_timer(OsTimerPtr timer, CARD32 time, void *arg);
74 if (bus_info.timer) {
75 TimerFree(bus_info.timer);
76 bus_info.timer = NULL;
113 if (bus_info.timer)
114 TimerFree(bus_info.timer);
115 bus_info.timer = TimerSet(NULL, 0, 1, reconnect_timer, NULL);
180 reconnect_timer(OsTimerPtr timer, CARD32 time, void *arg) argument
183 TimerFree(bus_info.timer);
[all...]
/xsrc/external/mit/xorg-server/dist/present/
H A Dpresent_fake.c31 OsTimerPtr timer; member in struct:present_fake_vblank
55 present_fake_do_timer(OsTimerPtr timer, argument
63 TimerFree(fake_vblank->timer);
75 TimerFree(fake_vblank->timer); /* TimerFree will call TimerCancel() */
105 fake_vblank->timer = TimerSet(NULL, 0, delay, present_fake_do_timer, fake_vblank);
106 if (!fake_vblank->timer) {
/xsrc/external/mit/xgc/dist/
H A Dconstants.h62 #define start_timer() timer(StartTimer)
63 #define end_timer() timer(EndTimer)
H A Dtests.c29 /* timer(flag)
36 ** from our timer, and just concentrate on the time used in the X calls.
40 timer(int flag) function in typeref:typename:long
51 long elapsedtime; /* how long since we started the timer */
85 fprintf(stderr,"Invalid flag in timer()\n");
98 fprintf(stderr,"Invalid flag in timer()\n");
119 timer(StartTimer);
124 totaltime = timer(EndTimer);
151 timer(StartTimer);
156 totaltime = timer(EndTime
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dbackspecular.c45 timer(int value) function in typeref:typename:void
48 glutTimerFunc(timeout, timer, 0);
72 glutTimerFunc(timeout, timer, 0);
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dspiceqxl_main_loop.c164 SpiceTimer *timer = (SpiceTimer*)arg; local in function:xorg_timer_callback
166 timer->func(timer->opaque);
172 SpiceTimer *timer = calloc(sizeof(SpiceTimer), 1); local in function:timer_add
174 timer->func = func;
175 timer->opaque = opaque;
176 return timer;
179 static void timer_start(SpiceTimer *timer, uint32_t ms) argument
181 timer->xorg_timer = TimerSet(timer
185 timer_cancel(SpiceTimer * timer) argument
190 timer_remove(SpiceTimer * timer) argument
[all...]
H A Ddfps.c82 FrameTimer *timer = (FrameTimer*)arg; local in function:xorg_timer_callback
84 timer->func(timer->opaque);
90 FrameTimer *timer = calloc(sizeof(FrameTimer), 1); local in function:timer_add
92 timer->xorg_timer = TimerSet(NULL, 0, 1e9 /* TODO: infinity? */, xorg_timer_callback, timer);
93 timer->func = func;
94 timer->opaque = opaque;
95 return timer;
98 static void timer_start(FrameTimer *timer, uint32_ argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dsecuritysrv.h71 OsTimerPtr timer; /* timer for this auth */ member in struct:__anon8d0a645a0108
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dsecuritysrv.h70 OsTimerPtr timer; /* timer for this auth */ member in struct:__anon5fcfc06d0108
/xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
H A DglutEvent.cpp25 * DESCRIPTION: list of timer callbacks
37 static GLUTtimer *__glutTimerList = 0; // list of timer callbacks
43 * DESCRIPTION: register a new timer callback
48 GLUTtimer *timer, *other; local in function:glutTimerFunc
55 timer = freeTimerList;
56 freeTimerList = timer->next;
58 timer = new GLUTtimer();
59 if (!timer)
63 timer->func = timerFunc;
64 timer
86 GLUTtimer *timer; local in function:handleTimeouts
[all...]
/xsrc/external/mit/libXaw/dist/src/
H A DRepeater.c46 if ((rw)->repeater.timer) { \
47 XtRemoveTimeOut((rw)->repeater.timer); \
48 (rw)->repeater.timer = 0; \
223 rw->repeater.timer = 0; /* timer is removed */
234 rw->repeater.timer = ADD_TIMEOUT(rw, (unsigned long)rw->repeater.next_delay);
252 cnew->repeater.timer = 0;
288 rw->repeater.timer = ADD_TIMEOUT(rw, (unsigned long)rw->repeater.initial_delay);
H A DTip.c251 tip->tip.timer = 0;
268 if (tip->tip.timer)
269 XtRemoveTimeOut(tip->tip.timer);
542 if (info->tip->tip.timer) {
543 XtRemoveTimeOut(info->tip->tip.timer);
544 info->tip->tip.timer = 0;
552 info->tip->tip.timer =
569 info->tip->tip.timer = 0;
610 /* If any button is pressed, timer is 0 */
613 add_timeout = info->tip->tip.timer !
[all...]
/xsrc/external/mit/libXaw/dist/include/X11/Xaw/
H A DRepeaterP.h59 int next_delay; /* next amount for timer */
60 XtIntervalId timer; /* timer that will fire */ member in struct:__anonf754e8080208
H A DTipP.h63 XtIntervalId timer; member in struct:_TipPart
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_event.c115 GLUTtimer *timer, *other; local in function:glutTimerFunc
127 timer = freeTimerList;
128 freeTimerList = timer->next;
130 timer = (GLUTtimer *) malloc(sizeof(GLUTtimer));
131 if (!timer)
135 timer->func = timerFunc;
138 timer->timeout.val = interval * TICKS_PER_MILLISECOND;
140 timer->timeout.tv_sec = (int) interval / 1000;
141 timer->timeout.tv_usec = (int) (interval % 1000) * 1000;
143 timer
168 GLUTtimer *timer; local in function:handleTimeouts
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
H A Dlnx_acpi.c43 lnxACPIReopen(OsTimerPtr timer, CARD32 time, pointer arg) argument
46 TimerFree(timer);
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/
H A Dlnx_acpi.c43 lnxACPIReopen(OsTimerPtr timer, CARD32 time, void *arg) argument
46 TimerFree(timer);
/xsrc/external/mit/xorg-server/dist/render/
H A Danimcur.c58 OsTimerPtr timer; member in struct:_AnimCur
125 * The cursor animation timer has expired, go display any relevant cursor changes
130 AnimCurTimerNotify(OsTimerPtr timer, CARD32 now, void *arg) argument
162 TimerCancel(GetAnimCur(cur)->timer);
188 ac->timer = TimerSet(ac->timer, 0, ac->elts[0].delay,
338 ac->timer = TimerSet(NULL, 0, 0, AnimCurTimerNotify, NULL);
341 if (ac->timer)
346 TimerFree(ac->timer);
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinauth.c124 pAuth->timer = NULL;
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxsync.c82 static CARD32 dmxSyncCallback(OsTimerPtr timer, CARD32 time, pointer arg) argument

Completed in 42 milliseconds

1234