HomeSort by: relevance | last modified time | path
    Searched refs:tv (Results 1 - 25 of 89) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/util/
os_time.c 58 struct timespec tv; local
59 clock_gettime(CLOCK_MONOTONIC, &tv);
60 return tv.tv_nsec + tv.tv_sec*INT64_C(1000000000);
64 struct timeval tv;
65 gettimeofday(&tv, NULL);
66 return tv.tv_usec*INT64_C(1000) + tv.tv_sec*INT64_C(1000000000);
  /xsrc/external/mit/MesaLib.old/dist/src/util/
os_time.c 60 struct timespec tv; local
61 clock_gettime(CLOCK_MONOTONIC, &tv);
62 return tv.tv_nsec + tv.tv_sec*INT64_C(1000000000);
66 struct timeval tv;
67 gettimeofday(&tv, NULL);
68 return tv.tv_usec*INT64_C(1000) + tv.tv_sec*INT64_C(1000000000);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
msm_priv.h 134 get_abs_timeout(struct drm_msm_timespec *tv, uint64_t ns)
142 tv->tv_sec = t.tv_sec + ns / NSEC_PER_SEC;
143 tv->tv_nsec = t.tv_nsec + ns % NSEC_PER_SEC;
144 if (tv->tv_nsec >= NSEC_PER_SEC) { /* handle nsec overflow */
145 tv->tv_nsec -= NSEC_PER_SEC;
146 tv->tv_sec++;
  /xsrc/external/mit/xorg-server/dist/Xi/
queryst.c 82 xValuatorState *tv; local
142 tv = (xValuatorState *) buf;
143 tv->class = ValuatorClass;
144 tv->length = sizeof(xValuatorState) + v->numAxes * 4;
145 tv->num_valuators = v->numAxes;
146 tv->mode = valuator_get_mode(dev, 0);
147 tv->mode |= (dev->proximity &&
  /xsrc/external/mit/xorg-server.old/dist/Xi/
queryst.c 85 xValuatorState *tv; local
150 tv = (xValuatorState *) buf;
151 tv->class = ValuatorClass;
152 tv->length = sizeof(xValuatorState) + v->numAxes * 4;
153 tv->num_valuators = v->numAxes;
154 tv->mode = valuator_get_mode(dev, 0);
155 tv->mode |= (dev->proximity && !dev->proximity->in_proximity) ? OutOfProximity : 0;
  /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/
etnaviv_priv.h 208 static inline void get_abs_timeout(struct drm_etnaviv_timespec *tv, uint64_t ns)
212 tv->tv_sec = t.tv_sec + ns / NSEC_PER_SEC;
213 tv->tv_nsec = t.tv_nsec + ns % NSEC_PER_SEC;
214 if (tv->tv_nsec >= NSEC_PER_SEC) {
215 tv->tv_nsec -= NSEC_PER_SEC;
216 tv->tv_sec++;
  /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/linux/
ps2.c 38 struct timeval tv; local
54 tv.tv_sec = 0;
55 tv.tv_usec = 100 * 1000;
56 n = select (fd + 1, &set, 0, 0, &tv);
ms.c 41 struct timeval tv; local
57 tv.tv_sec = 0;
58 tv.tv_usec = 100 * 1000;
59 n = select (fd + 1, &set, 0, 0, &tv);
  /xsrc/external/bsd/libuuid_ul/dist/
gen_uuid.c 198 struct timeval tv; local
239 if (fscanf(state_f, "clock: %04x tv: %lu %lu adj: %d\n",
256 gettimeofday(&tv, NULL);
257 if ((tv.tv_sec < last.tv_sec) ||
258 ((tv.tv_sec == last.tv_sec) &&
259 (tv.tv_usec < last.tv_usec))) {
262 last = tv;
263 } else if ((tv.tv_sec == last.tv_sec) &&
264 (tv.tv_usec == last.tv_usec)) {
270 last = tv;
    [all...]
  /xsrc/external/mit/libdrm/dist/freedreno/msm/
msm_priv.h 106 static inline void get_abs_timeout(struct drm_msm_timespec *tv, uint64_t ns)
111 tv->tv_sec = t.tv_sec + s;
112 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
  /xsrc/external/mit/libXfont/dist/src/fc/
fsio.c 80 struct timeval tv; local
86 tv.tv_usec = 0;
87 tv.tv_sec = timeout;
90 ret = Select (fs_fd + 1, NULL, &w_mask, NULL, &tv);
429 struct timeval tv; local
436 tv.tv_sec = ms / 1000;
437 tv.tv_usec = (ms % 1000) * 1000;
440 result = Select(conn->fs_fd + 1, &r_mask, NULL, &e_mask, &tv);
  /xsrc/external/mit/libXfont2/dist/src/fc/
fsio.c 76 struct timeval tv; local
82 tv.tv_usec = 0;
83 tv.tv_sec = timeout;
86 ret = Select (fs_fd + 1, NULL, &w_mask, NULL, &tv);
433 struct timeval tv; local
440 tv.tv_sec = ms / 1000;
441 tv.tv_usec = (ms % 1000) * 1000;
444 result = Select(conn->fs_fd + 1, &r_mask, NULL, &e_mask, &tv);
  /xsrc/external/mit/xorg-server.old/dist/hw/sun/
sunKbd.c 72 #define tvminus(tv, tv1, tv2) /* tv = tv1 - tv2 */ \
77 (tv).tv_usec = (tv1).tv_usec - (tv2).tv_usec; \
78 (tv).tv_sec = (tv1).tv_sec - (tv2).tv_sec;
80 #define tvplus(tv, tv1, tv2) /* tv = tv1 + tv2 */ \
81 (tv).tv_sec = (tv1).tv_sec + (tv2).tv_sec; \
82 (tv).tv_usec = (tv1).tv_usec + (tv2).tv_usec; \
83 if ((tv).tv_usec > 1000000) { \
84 (tv).tv_usec -= 1000000;
101 struct timeval tv; local
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/egl/eglut/
eglut.c 66 struct timeval tv; local
68 (void) gettimeofday(&tv, NULL );
71 (void) gettimeofday(&tv, &tz);
73 return tv.tv_sec * 1000 + tv.tv_usec / 1000;
  /xsrc/external/mit/xf86-video-intel/dist/test/
test_display.c 154 void test_timer_start(struct test_display *t, struct timespec *tv)
156 clock_gettime(CLOCK_MONOTONIC, tv);
159 double test_timer_stop(struct test_display *t, struct timespec *tv)
168 return (now.tv_sec - tv->tv_sec) + 1e-9*(now.tv_nsec - tv->tv_nsec);
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
test_display.c 154 void test_timer_start(struct test_display *t, struct timespec *tv)
156 clock_gettime(CLOCK_MONOTONIC, tv);
159 double test_timer_stop(struct test_display *t, struct timespec *tv)
168 return (now.tv_sec - tv->tv_sec) + 1e-9*(now.tv_nsec - tv->tv_nsec);
test.h 110 void test_timer_start(struct test_display *t, struct timespec *tv);
111 double test_timer_stop(struct test_display *t, struct timespec *tv);
  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
winclipboardwndproc.c 80 struct timeval tv; local
100 tv.tv_sec = dwStopTime - (GetTickCount () / 1000);
101 tv.tv_usec = 0;
104 if (tv.tv_sec < 0)
112 &tv); /* No timeout */
  /xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/
msm_priv.h 106 static inline void get_abs_timeout(struct drm_msm_timespec *tv, uint64_t ns)
111 tv->tv_sec = t.tv_sec + s;
112 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
  /xsrc/external/mit/libdrm/dist/etnaviv/
etnaviv_priv.h 199 static inline void get_abs_timeout(struct drm_etnaviv_timespec *tv, uint64_t ns)
204 tv->tv_sec = t.tv_sec + s;
205 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
texture_from_pixmap.c 219 struct timeval tv; local
221 gettimeofday(&tv, NULL);
222 data->animate.next_frame = tv.tv_sec * 1000 + tv.tv_usec / 1000;
236 struct timeval tv; local
239 gettimeofday(&tv, NULL);
240 now = tv.tv_sec * 1000 + tv.tv_usec / 1000;
245 gettimeofday(&tv, NULL);
246 now = tv.tv_sec * 1000 + tv.tv_usec / 1000
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/tnl_dd/
t_dd_vertex.h 73 } tv; member in union:__anon2704
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl_dd/
t_dd_vertex.h 73 } tv; member in union:__anon5023
  /xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/
wndproc.c 64 struct timeval tv; local
97 tv.tv_sec = remainingTime / 1000;
98 tv.tv_usec = (remainingTime % 1000) * 1000;
109 &tv); /* Timeout */
  /xsrc/external/mit/xorg-server.old/dist/glx/
glxdricommon.c 45 struct timeval tv; local
50 if (gettimeofday(&tv, NULL) == 0) {
51 ust[0] = (tv.tv_sec * 1000000) + tv.tv_usec;

Completed in 36 milliseconds

1 2 3 4