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

1 2 3 4 5 6 7 8 9

  /src/lib/libc/compat/sys/
compat_settimeofday.c 62 struct timeval tv; variable in typeref:struct:timeval
63 timeval50_to_timeval(tv50, &tv);
64 return __settimeofday50(&tv, tvp);
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_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...]
  /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/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;
  /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/sys/compat/common/
kern_time_30.c 68 struct timeval tv; local in function:compat_30_sys_ntp_gettime
77 TIMESPEC_TO_TIMEVAL(&tv, &ntv.time);
78 timeval_to_timeval50(&tv, &ntv30.time);
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...]
clockctl_50.c 71 struct timeval tv; local in function:compat50_clockctlioctl
74 error = copyin(args->tv, &tv50, sizeof(tv50));
77 timeval50_to_timeval(&tv50, &tv);
78 error = settimeofday1(&tv, false, args->tzp, l, false);
rtsock_14.c 105 struct timeval tv; local in function:compat_14_rt_oifmsg
131 TIMESPEC_TO_TIMEVAL(&tv, &ifi.ifi_lastchange);
132 timeval_to_timeval50(&tv, &oifm.ifm_data.ifi_lastchange);
146 struct timeval tv; local in function:compat_14_iflist
170 TIMESPEC_TO_TIMEVAL(&tv, &ifi.ifi_lastchange);
171 timeval_to_timeval50(&tv, &ifm->ifm_data.ifi_lastchange);
  /src/tests/lib/libc/gen/
t_time.c 94 struct timeval tv = { 0, 0 }; local in function:ATF_TC_BODY
98 ATF_REQUIRE(gettimeofday(&tv, NULL) == 0);
102 (int64_t)t1, (int64_t)tv.tv_sec);
104 if (t1 > tv.tv_sec || t2 < tv.tv_sec)
t_raise.c 130 struct timespec tv, tr; local in function:ATF_TC_BODY
140 tv.tv_sec = 0;
141 tv.tv_nsec = 2;
150 ATF_REQUIRE(nanosleep(&tv, &tr) == 0);
  /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/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/arch/ia64/stand/efi/libefi/
time.c 215 struct timeval tv; local in function:time
216 EFI_GetTimeOfDay(&tv, 0);
219 *tloc = tv.tv_sec;
220 return tv.tv_sec;
  /src/sys/compat/sys/
clockctl.h 43 const struct timeval50 *tv; member in struct:clockctl50_settimeofday
  /src/sys/dev/acpi/acpica/
OsdSchedule.c 176 struct timeval tv; local in function:AcpiOsGetTimer
184 microtime(&tv);
185 t = (UINT64)10 * tv.tv_usec;
186 t += (UINT64)10000000 * tv.tv_sec;
  /src/sys/external/isc/libsodium/dist/test/default/
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/sys/
clockctl.h 43 const struct timeval *tv; member in struct:clockctl_settimeofday
  /src/tests/lib/librt/
t_sched.c 203 struct timespec tv; local in function:ATF_TC_BODY
212 ATF_REQUIRE(sched_rr_get_interval(-INT_MAX, &tv) != 0);
  /src/usr.bin/chpass/
pw_yp.c 111 struct timeval tv; local in function:pw_yp
196 tv.tv_sec = 5;
197 tv.tv_usec = 0;
199 xdr_yppasswd, &yppw, xdr_int, &status, tv);
  /src/usr.bin/who/
utmpentry.h 51 struct timeval tv; member in struct:utmpentry
  /src/usr.sbin/ypset/
ypset.c 113 struct timeval tv; local in function:bind_tohost
130 tv.tv_sec = 15;
131 tv.tv_usec = 0;
134 client = clntudp_create(sin, YPBINDPROG, YPBINDVERS, tv, &sock);
142 xdr_ypbind_setdom, &ypsd, xdr_void, NULL, tv);
  /src/lib/libcurses/
ctrace.c 95 struct timeval tv; local in function:__CTRACE
96 gettimeofday(&tv, NULL);
98 (long long)tv.tv_sec, (long)tv.tv_usec);

Completed in 89 milliseconds

1 2 3 4 5 6 7 8 9