/src/lib/libc/compat/sys/ |
compat_utimes.c | 57 struct timeval tv[2]; variable in typeref:struct:timeval[2] 60 timeval50_to_timeval(&tv50[0], &tv[0]); 61 timeval50_to_timeval(&tv50[1], &tv[1]); 63 return __utimes50(path, tv50 ? tv : NULL); 69 struct timeval tv[2]; local in function:lutimes 72 timeval50_to_timeval(&tv50[0], &tv[0]); 73 timeval50_to_timeval(&tv50[1], &tv[1]); 75 return __lutimes50(path, tv50 ? tv : NULL); 81 struct timeval tv[2]; local in function:futimes 84 timeval50_to_timeval(&tv50[0], &tv[0]) [all...] |
compat_gettimeofday.c | 55 struct timeval tv; variable in typeref:struct:timeval 58 if ((rv = __gettimeofday50(&tv, tzp)) == -1) 60 timeval_to_timeval50(&tv, tv50);
|
compat_settimeofday.c | 62 struct timeval tv; variable in typeref:struct:timeval 63 timeval50_to_timeval(tv50, &tv); 64 return __settimeofday50(&tv, tvp);
|
/src/lib/libc/gen/ |
utime.c | 52 struct timeval tv[2], *tvp; local in function:utime 59 tv[0].tv_sec = times->actime; 60 tv[1].tv_sec = times->modtime; 61 tv[0].tv_usec = tv[1].tv_usec = 0; 62 tvp = tv;
|
/src/sys/kern/ |
kern_rate.c | 45 struct timeval tv, delta; local in function:ratecheck 48 getmicrouptime(&tv); 49 timersub(&tv, lasttime, &delta); 57 *lasttime = tv; 70 struct timeval tv, delta; local in function:ppsratecheck 73 getmicrouptime(&tv); 74 timersub(&tv, lasttime, &delta); 86 *lasttime = tv;
|
subr_time_arith.c | 99 tvtohz(const struct timeval *tv) 124 sec = tv->tv_sec; 125 usec = tv->tv_usec; 131 if (tv->tv_sec > INT_MAX) 133 if (tv->tv_sec < 0) 166 struct timeval tv; local in function:tstohz 175 tv.tv_sec = ts->tv_sec; 176 tv.tv_usec = (ts->tv_nsec + 999)/1000; 177 if (tv.tv_usec >= 1000000) { 178 if (__predict_false(tv.tv_sec == __type_max(time_t)) [all...] |
/src/tests/libexec/ld.elf_so/ |
t_dl_symver.sh | 42 for tv in 0 1 2; do 45 -o file:$(datadir)/symver-output-ref-stdout.v$tv-v$lv \ 46 -e file:$(datadir)/symver-output-ref-stderr.v$tv-v$lv \ 47 -x "LD_LIBRARY_PATH=$(atf_get_srcdir)/h_helper_symver_dso$lv $(atf_get_srcdir)/h_dl_symver_v$tv"
|
/src/lib/libc/compat/gen/ |
compat_utime.c | 64 struct timeval tv[2], *tvp; variable in typeref:struct:timeval[2] 71 tv[0].tv_sec = times50->actime; 72 tv[1].tv_sec = times50->modtime; 73 tv[0].tv_usec = tv[1].tv_usec = 0; 74 tvp = tv;
|
/src/games/tetris/ |
input.c | 52 #define TV_POS(tv) \ 53 ((tv)->tv_sec > 0 || ((tv)->tv_sec == 0 && (tv)->tv_usec > 0)) 124 struct timeval tv; local in function:tsleep 127 tv.tv_sec = 0; 128 tv.tv_usec = fallrate; 129 while (TV_POS(&tv)) 130 if (rwait(&tv) && read(0, &c, 1) != 1)
|
/src/sys/external/isc/libsodium/dist/test/default/ |
pwhash_argon2i.exp | 4 [tv] pwhash failure (maybe intentional): [3] 7 [tv] pwhash failure (maybe intentional): [6]
|
sign.exp | 3 ed25519ph tv sig: [98a70222f0b8121aa9d30f813d683f809e462b469c7ff87639499bb94e6dae4131f85042463c2a355a2003d062adf5aaa10b8c61e636062aaad11c2a26083406]
|
keygen.c | 38 const KeygenTV *tv; local in function:tv_keygen 44 tv = &tvs[i]; 45 key = (unsigned char *) sodium_malloc(tv->key_len); 46 key[tv->key_len - 1U] = 0; 48 tv->fn(key); 49 if (key[tv->key_len - 1U] != 0) {
|
/src/sys/compat/common/ |
kern_uipc_socket_50.c | 157 struct timeval tv; local in function:uipc_socket_50_setopt1 169 timeval50_to_timeval(&otv, &tv); 172 if (tv.tv_sec < 0 || tv.tv_usec < 0 || tv.tv_usec >= 1000000) { 176 if (tv.tv_sec > (INT_MAX - tv.tv_usec / tick) / hz) { 181 optval = tv.tv_sec * hz + tv.tv_usec / tick; 182 if (optval == 0 && tv.tv_usec != 0 216 struct timeval tv; local in function:uipc_socket_50_sbts [all...] |
/src/lib/libc/sys/ |
settimeofday.c | 59 settimeofday(const struct timeval *tv, const void *tzp) 69 rv = ____settimeofday50(tv, tzp); 92 args.tv = tv;
|
/src/sys/dev/sun/ |
vuid_event.h | 69 struct timeval tv; local in function:firm_gettime 70 getmicrotime(&tv); 71 fev->time.tv_sec = (long)tv.tv_sec; 72 fev->time.tv_usec = (long)tv.tv_usec;
|
/src/sys/external/bsd/drm2/include/linux/ |
time.h | 68 do_gettimeofday(struct timeval *tv) 70 microtime(tv); 108 struct timeval tv; local in function:ns_to_timeval 111 TIMESPEC_TO_TIMEVAL(&tv, &ts); 113 return tv; 117 timeval_to_ns(const struct timeval *tv) 119 return (((int64_t)tv->tv_sec * 1000000000UL) + (tv->tv_usec * 1000ul));
|
/src/sys/netinet/ |
tcp_timer.h | 177 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 178 (tv) = (value); \ 179 if ((tv) < (tvmin)) \ 180 (tv) = (tvmin); \ 181 if ((tv) > (tvmax)) \ 182 (tv) = (tvmax); \
|
/src/tests/lib/librumphijack/ |
h_client.c | 52 struct timeval tv; local in function:main 56 tv.tv_sec = 0; 57 tv.tv_usec = 1; 64 rv = select(pipefd[0]+1, &rfds, NULL, NULL, &tv); 75 struct timeval tv; local in function:main 78 tv.tv_sec = 0; 79 tv.tv_usec = 1; 85 rv = select(100, &rfds, &wfds, &efds, &tv); 91 rv = select(0, NULL, NULL, NULL, &tv);
|
/src/sys/arch/sparc64/dev/ |
vrtc.c | 71 vrtc_gettime(todr_chip_handle_t handle, struct timeval *tv) 78 tv->tv_sec = tod; 79 tv->tv_usec = 0; 84 vrtc_settime(todr_chip_handle_t handle, struct timeval *tv) 86 if (hv_tod_set(tv->tv_sec) != H_EOK)
|
/src/sys/dev/ic/ |
pl031.c | 53 plrtc_gettime(todr_chip_handle_t tch, struct timeval *tv) 57 tv->tv_sec = RTC_READ(sc, RTCDR); 58 tv->tv_usec = 0; 64 plrtc_settime(todr_chip_handle_t tch, struct timeval *tv) 68 RTC_WRITE(sc, RTCLR, tv->tv_sec);
|
/src/sys/modules/examples/current_time/ |
current_time.c | 48 struct timeval tv; local in function:print_current_time 55 getmicrotime(&tv); 56 clock_secs_to_ymdhms(tv.tv_sec, &dt);
|
/src/usr.bin/rump_dhcpclient/ |
common.h | 36 #define timeval_to_double(tv) ((tv)->tv_sec * 1.0 + (tv)->tv_usec * 1.0e-6)
|
/src/lib/libm/noieee_src/ |
n_exp2f.c | 100 double tv, twopk, u, z; local in function:exp2f 130 tv = exp2ft[i0]; 131 u = tv * z; 132 tv = tv + u * (P1 + z * P2) + u * (z * z) * (P3 + z * P4); 135 return (tv * twopk);
|
/src/lib/libm/src/ |
s_exp2f.c | 120 double tv, twopk, u, z; local in function:exp2f 154 tv = exp2ft[i0]; 155 u = tv * z; 156 tv = tv + u * (P1 + z * P2) + u * (z * z) * (P3 + z * P4); 159 return (tv * twopk);
|
/src/games/worm/ |
worm.c | 72 static WINDOW *tv; variable in typeref:typename:WINDOW * 143 tv = newwin(LINES-1, COLS-1, 1, 0); 144 box(tv, '*', '*'); 145 scrollok(tv, FALSE); 151 wrefresh(tv); 203 wmove(tv, pos->y, pos->x); 204 waddch(tv, chr); 246 wmove(tv, bp->y, bp->x); 247 } while(winch(tv) != ' '); 257 waddch(tv, value+'0') [all...] |