Searched refs:tv (Results 1 - 25 of 345) sorted by relevance

1234567891011>>

/external/qemu/slirp/
H A Dtcp_timer.h117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \
118 (tv) = (value); \
119 if ((tv) < (tvmin)) \
120 (tv) = (tvmin); \
121 else if ((tv) > (tvmax)) \
122 (tv) = (tvmax); \
/external/qemu/slirp-android/
H A Dtcp_timer.h117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \
118 (tv) = (value); \
119 if ((tv) < (tvmin)) \
120 (tv) = (tvmin); \
121 else if ((tv) > (tvmax)) \
122 (tv) = (tvmax); \
/external/chromium_org/third_party/libjpeg_turbo/
H A Dtjutil.c61 struct timeval tv; local
62 if(gettimeofday(&tv, NULL)<0) return 0.0;
63 else return (double)tv.tv_sec+((double)tv.tv_usec/1000000.);
/external/ltrace/
H A Dsummary.c38 struct timeval tv; member in struct:entry_st
49 struct timeval tv; member in struct:opt_c_struct
57 struct timeval tv; local
58 gettimeofday(&tv, NULL);
61 diff.tv_sec = tv.tv_sec - start.tv_sec;
62 if (tv.tv_usec >= start.tv_usec) {
63 diff.tv_usec = tv.tv_usec - start.tv_usec;
66 diff.tv_usec = 1000000 + tv.tv_usec - start.tv_usec;
77 struct entry_st entry = { *namep, st->count, st->tv };
82 data->tot_usecs += 1000000 * st->tv
[all...]
/external/chromium_org/third_party/libevent/test/
H A Dtest-time.c48 struct timeval tv; local
56 tv.tv_sec = 0;
57 tv.tv_usec = rand_int(50000);
58 if (tv.tv_usec % 2)
59 evtimer_add(ev[j], &tv);
69 struct timeval tv; local
80 tv.tv_sec = 0;
81 tv.tv_usec = rand_int(50000);
82 evtimer_add(ev[i], &tv);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_time.c54 struct timeval tv; local
55 gettimeofday(&tv, NULL);
56 return tv.tv_usec + tv.tv_sec*1000000LL;
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/
H A Dnasm-eval.h15 yasm_expr *nasm_evaluate (scanner sc, void *scprivate, struct tokenval *tv,
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_time.c54 struct timeval tv; local
55 gettimeofday(&tv, NULL);
56 return tv.tv_usec + tv.tv_sec*1000000LL;
/external/chromium_org/third_party/libevent/sample/
H A Dtime-test.c35 struct timeval tv; local
43 evutil_timerclear(&tv);
44 tv.tv_sec = 2;
45 event_add(timeout, &tv);
52 struct timeval tv; local
60 evutil_timerclear(&tv);
61 tv.tv_sec = 2;
62 event_add(&timeout, &tv);
/external/clang/test/CodeGenCXX/
H A Ddebug-info-alias.cpp31 using tv = void;
32 // CHECK: null} ; [ DW_TAG_typedef ] [tv<int>] {{.*}} [from ]
33 tv<int> *tvp;
/external/e2fsprogs/lib/uuid/
H A Duuid_time.c58 struct timeval tv; local
69 tv.tv_sec = clock_reg / 10000000;
70 tv.tv_usec = (clock_reg % 10000000) / 10;
73 *ret_tv = tv;
75 return tv.tv_sec;
124 struct timeval tv; local
137 time_reg = uuid_time(buf, &tv);
166 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, (long)tv.tv_usec,
/external/fio/
H A Dtime.c24 struct timeval tv; local
43 fio_gettime(&tv, NULL);
48 ts = utime_since_now(&tv);
73 struct timeval tv; local
78 fio_gettime(&tv, NULL);
79 if (utime_since(&td->epoch, &tv) >= td->o.ramp_time) {
99 struct timeval tv; local
103 fio_gettime(&tv, NULL);
108 elapsed = utime_since_now(&tv);
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dconio_posix.cc29 timeval tv; local
32 tv.tv_sec = 0;
33 tv.tv_usec = 0;
37 select(STDIN_FILENO + 1, &rdfs, NULL, NULL, &tv);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/common/
H A Dfps.h20 struct timeval tv; local
21 if ((0 == start_tv_retv) && (0 == gettimeofday(&tv, NULL)))
22 return (tv.tv_sec - start_tv.tv_sec) + tv.tv_usec * usec_to_sec;
/external/chromium_org/third_party/skia/src/ports/
H A DSkTime_Unix.cpp36 struct timeval tv; local
37 gettimeofday(&tv, NULL);
38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds
/external/ppp/pppd/plugins/radius/
H A Dutil.c56 struct timeval tv; local
58 tv.tv_sec = (int) msecs / 1000;
59 tv.tv_usec = (msecs % 1000) * 1000;
61 select(0,(fd_set *)NULL,(fd_set *)NULL,(fd_set *)NULL, &tv);
/external/skia/src/ports/
H A DSkTime_Unix.cpp36 struct timeval tv; local
37 gettimeofday(&tv, NULL);
38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds
/external/valgrind/main/none/tests/s390x/
H A Dtest.h58 struct timeval tv; local
60 tv.tv_sec = sec;
61 tv.tv_usec = usec;
63 svc5(SYS_select, 0,0,0,0,(unsigned long) &tv);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dcycleclock.h144 struct timeval tv;
145 gettimeofday(&tv, NULL);
146 return static_cast<int64>((tv.tv_sec + tv.tv_usec * 0.000001)
151 struct timeval tv;
152 gettimeofday(&tv, NULL);
153 return static_cast<int64>((tv.tv_sec + tv.tv_usec * 0.000001)
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dcycleclock.h142 struct timeval tv;
143 gettimeofday(&tv, NULL);
144 return static_cast<int64>((tv.tv_sec + tv.tv_usec * 0.000001)
149 struct timeval tv;
150 gettimeofday(&tv, NULL);
151 return static_cast<int64>((tv.tv_sec + tv.tv_usec * 0.000001)
/external/bison/lib/
H A Dtimevar.c287 struct timevar_def *tv = &timevars[timevar]; local
295 tv->used = 1;
298 if (tv->standalone)
325 context->timevar = tv;
376 struct timevar_def *tv = &timevars[timevar]; local
382 tv->used = 1;
386 if (tv->standalone)
388 tv->standalone = 1;
390 get_time (&tv->start_time);
400 struct timevar_def *tv local
422 struct timevar_def *tv = &timevars[timevar]; local
478 struct timevar_def *tv = &timevars[(timevar_id_t) id]; local
[all...]
/external/chromium_org/base/
H A Dos_compat_android.cc24 int futimes(int fd, const struct timeval tv[2]) { argument
25 if (tv == NULL)
28 if (tv[0].tv_usec < 0 || tv[0].tv_usec >= 1000000 ||
29 tv[1].tv_usec < 0 || tv[1].tv_usec >= 1000000) {
36 ts[0].tv_sec = tv[0].tv_sec;
37 ts[0].tv_nsec = tv[0].tv_usec * 1000;
38 ts[1].tv_sec = tv[1].tv_sec;
39 ts[1].tv_nsec = tv[
[all...]
H A Dos_compat_android.h13 extern "C" int futimes(int fd, const struct timeval tv[2]);
/external/tremolo/Tremolo/
H A Dmisc.c91 struct timeval tv; local
95 gettimeofday(&tv,&tz);
115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000);
121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv
148 struct timeval tv; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
H A DSDL_systimer.c91 pth_time_t tv; local
92 tv.tv_sec = ms/1000;
93 tv.tv_usec = (ms%1000)*1000;
94 pth_nap(tv);
99 struct timespec elapsed, tv;
101 struct timeval tv;
116 tv.tv_sec = elapsed.tv_sec;
117 tv.tv_nsec = elapsed.tv_nsec;
118 was_error = nanosleep(&tv, &elapsed);
128 tv
[all...]

Completed in 5050 milliseconds

1234567891011>>