/external/qemu/slirp/ |
H A D | tcp_timer.h | 117 #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 D | tcp_timer.h | 117 #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 D | tjutil.c | 61 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 D | summary.c | 38 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 D | test-time.c | 48 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 D | os_time.c | 54 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 D | nasm-eval.h | 15 yasm_expr *nasm_evaluate (scanner sc, void *scprivate, struct tokenval *tv,
|
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_time.c | 54 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 D | time-test.c | 35 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 D | debug-info-alias.cpp | 31 using tv = void; 32 // CHECK: null} ; [ DW_TAG_typedef ] [tv<int>] {{.*}} [from ] 33 tv<int> *tvp;
|
/external/e2fsprogs/lib/uuid/ |
H A D | uuid_time.c | 58 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 D | time.c | 24 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 D | conio_posix.cc | 29 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 D | fps.h | 20 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 D | SkTime_Unix.cpp | 36 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 D | util.c | 56 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 D | SkTime_Unix.cpp | 36 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 D | test.h | 58 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 D | cycleclock.h | 144 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 D | cycleclock.h | 142 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 D | timevar.c | 287 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 D | os_compat_android.cc | 24 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 D | os_compat_android.h | 13 extern "C" int futimes(int fd, const struct timeval tv[2]);
|
/external/tremolo/Tremolo/ |
H A D | misc.c | 91 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 D | SDL_systimer.c | 91 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...] |