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

1 2 3 4 5 6 7 8 9

  /src/lib/libc/compat/gen/
compat_utime.c 64 struct timeval tv[2], *tvp; local
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/compat/sys/
compat_gettimeofday.c 55 struct timeval tv; local
58 if ((rv = __gettimeofday50(&tv, tzp)) == -1)
60 timeval_to_timeval50(&tv, tv50);
compat_settimeofday.c 62 struct timeval tv; local
63 timeval50_to_timeval(tv50, &tv);
64 return __settimeofday50(&tv, tvp);
compat_utimes.c 57 struct timeval tv[2]; local
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
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
84 timeval50_to_timeval(&tv50[0], &tv[0])
    [all...]
  /src/lib/libc/gen/
utime.c 52 struct timeval tv[2], *tvp; local
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
48 getmicrouptime(&tv);
49 timersub(&tv, lasttime, &delta);
57 *lasttime = tv;
70 struct timeval tv, delta; local
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
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
77 TIMESPEC_TO_TIMEVAL(&tv, &ntv.time);
78 timeval_to_timeval50(&tv, &ntv30.time);
kern_uipc_socket_50.c 157 struct timeval tv; local
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
    [all...]
clockctl_50.c 71 struct timeval tv; local
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
131 TIMESPEC_TO_TIMEVAL(&tv, &ifi.ifi_lastchange);
132 timeval_to_timeval50(&tv, &oifm.ifm_data.ifi_lastchange);
146 struct timeval tv; local
170 TIMESPEC_TO_TIMEVAL(&tv, &ifi.ifi_lastchange);
171 timeval_to_timeval50(&tv, &ifm->ifm_data.ifi_lastchange);
  /src/tests/lib/librumphijack/
h_client.c 52 struct timeval tv; local
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
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
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/lib/libcurses/
ctrace.c 95 struct timeval tv; local
96 gettimeofday(&tv, NULL);
98 (long long)tv.tv_sec, (long)tv.tv_usec);
  /src/sys/arch/ia64/stand/efi/libefi/
time.c 209 struct timeval tv; local
210 EFI_GetTimeOfDay(&tv, 0);
213 *tloc = tv.tv_sec;
214 return tv.tv_sec;
  /src/sys/arch/mips/alchemy/dev/
aurtc.c 139 aurtc_gettime(todr_chip_handle_t tch, struct timeval *tv)
144 tv->tv_sec = GETREG(PC_COUNTER_READ_0);
153 struct timeval tv; local
156 tv = *tvp;
164 PUTREG(PC_COUNTER_WRITE0, 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
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/
chacha20.c 6 void tv(void) function
171 tv();
keygen.c 38 const KeygenTV *tv; local
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/libc/gen/
t_time.c 94 struct timeval tv = { 0, 0 }; local
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)
  /src/usr.bin/chpass/
pw_yp.c 111 struct timeval tv; local
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
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);

Completed in 38 milliseconds

1 2 3 4 5 6 7 8 9