HomeSort by: relevance | last modified time | path
    Searched defs:timer (Results 1 - 25 of 27) sorted by relevancy

1 2

  /xsrc/external/mit/pixman/dist/pixman/
pixman-timer.c 37 pixman_timer_t *timer; local
39 for (timer = timers; timer != NULL; timer = timer->next)
42 timer->name,
43 timer->total,
44 timer->n_times,
45 timer->total / (double)timer->n_times)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/tests/
backspecular.c 45 timer(int value) function
48 glutTimerFunc(timeout, timer, 0);
72 glutTimerFunc(timeout, timer, 0);
  /xsrc/external/mit/xorg-server/dist/Xext/
securitysrv.h 70 OsTimerPtr timer; /* timer for this auth */ member in struct:__anon9767
  /xsrc/external/mit/xorg-server/dist/config/
dbus-core.c 43 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)
183 TimerFree(bus_info.timer);
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/Xext/
securitysrv.h 71 OsTimerPtr timer; /* timer for this auth */ member in struct:__anon10335
  /xsrc/external/mit/xorg-server/dist/present/
present_fake.c 31 OsTimerPtr timer; member in struct:present_fake_vblank
55 present_fake_do_timer(OsTimerPtr timer,
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/xorg-server.old/dist/config/
dbus-core.c 43 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)
191 TimerFree(bus_info.timer);
    [all...]
  /xsrc/external/mit/libXaw/dist/include/X11/Xaw/
RepeaterP.h 59 int next_delay; /* next amount for timer */
60 XtIntervalId timer; /* timer that will fire */ member in struct:__anon5745
TipP.h 63 XtIntervalId timer; member in struct:_TipPart
  /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
glutEvent.cpp 25 * 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
55 timer = freeTimerList;
56 freeTimerList = timer->next;
58 timer = new GLUTtimer();
59 if (!timer)
63 timer->func = timerFunc;
64 timer->value = value
86 GLUTtimer *timer; local
    [all...]
  /xsrc/external/mit/xedit/dist/
xedit.h 61 XtIntervalId timer; member in struct:_xedit_hints
  /xsrc/external/mit/xf86-video-qxl/dist/src/
dfps.c 75 } Timer;
82 FrameTimer *timer = (FrameTimer*)arg; local
84 timer->func(timer->opaque);
90 FrameTimer *timer = calloc(sizeof(FrameTimer), 1); local
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;
    [all...]
spiceqxl_main_loop.c 157 } Timer;
164 SpiceTimer *timer = (SpiceTimer*)arg; local
166 timer->func(timer->opaque);
172 SpiceTimer *timer = calloc(sizeof(SpiceTimer), 1); local
174 timer->func = func;
175 timer->opaque = opaque;
176 return timer;
179 static void timer_start(SpiceTimer *timer, uint32_t ms)
181 timer->xorg_timer = TimerSet(timer->xorg_timer, 0 /* flags */
    [all...]
  /xsrc/external/mit/xgc/dist/
tests.c 29 /* timer(flag)
36 ** from our timer, and just concentrate on the time used in the X calls.
40 timer(int flag) function
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(EndTimer)
    [all...]
  /xsrc/external/mit/xorg-server/dist/os/
WaitFor.c 107 static void DoTimer(OsTimerPtr timer, CARD32 now);
122 * Compute timeout until next timer, running
128 OsTimerPtr timer; local
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) {
248 return !xorg_list_is_empty(&timer->list);
251 /* If time has rewound, re-run every affected timer.
256 OsTimerPtr timer; local
286 OsTimerPtr timer; local
390 OsTimerPtr timer, tmp; local
    [all...]
utils.c 1222 struct itimerval timer; local
1226 timer.it_interval.tv_sec = 0;
1227 timer.it_interval.tv_usec = 0;
1228 timer.it_value.tv_sec = 0;
1229 timer.it_value.tv_usec = 0;
1230 (void) setitimer(ITIMER_REAL, &timer, 0);
1238 struct itimerval timer; local
1242 timer.it_interval.tv_sec = 0;
1243 timer.it_interval.tv_usec = SmartScheduleInterval * 1000;
1244 timer.it_value.tv_sec = 0
    [all...]
  /xsrc/external/mit/xorg-server/dist/render/
animcur.c 58 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)
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.old/dist/os/
WaitFor.c 126 static void DoTimer(OsTimerPtr timer, CARD32 now, OsTimerPtr *prev);
401 /* If time has rewound, re-run every affected timer.
406 OsTimerPtr timer; local
412 for (timer = timers; timer; timer = timer->next) {
413 if (timer->expires - now > timer->delta + 250) {
414 TimerForce(timer);
541 OsTimerPtr timer; local
    [all...]
utils.c 1140 struct itimerval timer; local
1144 timer.it_interval.tv_sec = 0;
1145 timer.it_interval.tv_usec = 0;
1146 timer.it_value.tv_sec = 0;
1147 timer.it_value.tv_usec = 0;
1148 (void) setitimer (ITIMER_REAL, &timer, 0);
1154 struct itimerval timer; local
1158 timer.it_interval.tv_sec = 0;
1159 timer.it_interval.tv_usec = SmartScheduleInterval * 1000;
1160 timer.it_value.tv_sec = 0
    [all...]
  /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
glut_event.c 115 GLUTtimer *timer, *other; local
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->value = value
168 GLUTtimer *timer; local
    [all...]
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
amdgpu_dri2.c 318 OsTimerPtr timer; member in struct:_DRI2FrameEvent
678 TimerCancel(event->timer);
679 TimerFree(event->timer);
818 * from coming back early (due to timer granularity and rounding
854 CARD32 amdgpu_dri2_deferred_event(OsTimerPtr timer, CARD32 now, pointer data)
870 * DIX timer facility uses real-time clock.
928 event_info->timer = TimerSet(NULL, 0, delay, amdgpu_dri2_deferred_event,
932 amdgpu_dri2_deferred_event(event_info->timer, now, event_info);
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
radeon_dri2.c 412 OsTimerPtr timer; member in struct:_DRI2FrameEvent
778 TimerCancel(event->timer);
779 TimerFree(event->timer);
915 * from coming back early (due to timer granularity and rounding
951 CARD32 radeon_dri2_deferred_event(OsTimerPtr timer, CARD32 now, pointer data)
967 * DIX timer facility uses real-time clock.
1025 event_info->timer = TimerSet(NULL, 0, delay, radeon_dri2_deferred_event,
1029 radeon_dri2_deferred_event(event_info->timer, now, event_info);
  /xsrc/external/mit/xf86-input-synaptics/dist/src/
synapticsstr.h 203 CARD32 timer_time; /* when timer last fired */
204 OsTimerPtr timer; /* for tap processing, etc */ member in struct:_SynapticsPrivateRec
  /xsrc/external/mit/xf86-video-intel/dist/tools/
virtual.c 79 #define TIMER 0x4
189 #define timer pfd[0].fd macro
543 DBG(TIMER, ("%s timer active? %d\n", __func__, ctx->timer_active));
548 /* reset timer */
549 count = read(ctx->timer, &count, sizeof(count));
3584 DBG(POLL, ("polling - enable timer? %d, nfd=%d, ndisplay=%d\n", ctx.timer_active, ctx.nfd, ctx.ndisplay));
3593 /* pfd[0] is the timer, pfd[1] is the local display, pfd[2] is the mouse, pfd[3+] are the remotes */
3738 if (ctx.timer_active && read(ctx.timer, &count, sizeof(count)) > 0) {
3741 DBG(TIMER, ("%s timer expired (count=%ld)\n", DisplayString(ctx.display->dpy), (long)count))
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/tools/
virtual.c 78 #define TIMER 0x4
177 #define timer pfd[0].fd macro
512 DBG(TIMER, ("%s timer active? %d\n", __func__, ctx->timer_active));
517 /* reset timer */
518 count = read(ctx->timer, &count, sizeof(count));
3356 DBG(POLL, ("polling - enable timer? %d, nfd=%d, ndisplay=%d\n", ctx.timer_active, ctx.nfd, ctx.ndisplay));
3361 /* pfd[0] is the timer, pfd[1] is the local display, pfd[2] is the mouse, pfd[3+] are the remotes */
3463 if (ctx.timer_active && read(ctx.timer, &count, sizeof(count)) > 0) {
3466 DBG(TIMER, ("%s timer expired (count=%ld)\n", DisplayString(ctx.display->dpy), (long)count))
    [all...]

Completed in 19 milliseconds

1 2