/netbsd-6-1-5-RELEASE/dist/dhcp/dhcpctl/ |
H A D | dhcpctl.c | 172 omapi_value_t *tv = (omapi_value_t *)0; local 176 status = omapi_get_value_str (h, (omapi_object_t *)0, value_name, &tv); 180 switch (tv -> value -> type) { 187 len = tv -> value -> u.buffer.len; 195 omapi_typed_data_dereference (&tv -> value, MDL); 201 omapi_typed_data_dereference (&tv -> value, MDL); 205 switch (tv -> value -> type) { 207 ip = htonl (tv -> value -> u.integer); 214 tv -> value -> u.buffer.value, 215 tv 262 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 295 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 327 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 383 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 412 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/common/ |
H A D | kern_time_30.c | 64 struct timeval tv; local 69 TIMESPEC_TO_TIMEVAL(&tv, &ntv.time); 70 timeval_to_timeval50(&tv, &ntv30.time);
|
/netbsd-6-1-5-RELEASE/usr.bin/rump_dhcpclient/ |
H A D | common.h | 36 #define timeval_to_double(tv) ((tv)->tv_sec * 1.0 + (tv)->tv_usec * 1.0e-6)
|
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/osd/ |
H A D | osd-target.c | 90 targv_t tv; local 98 (void) memset(&tv, 0x0, sizeof(tv)); 142 if (!read_conf_file(cf, &tv, &dv, &ev)) { 152 if (tv.c == 0) { 158 if (target_init(&g, &tv, TargetName, i) != 0) {
|
/netbsd-6-1-5-RELEASE/lib/libm/src/ |
H A D | s_exp2f.c | 99 double tv, twopk, u, z; local 133 tv = exp2ft[i0]; 134 u = tv * z; 135 tv = tv + u * (P1 + z * P2) + u * (z * z) * (P3 + z * P4); 138 return (tv * twopk);
|
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/ |
H A D | utmp.c | 131 struct timeval tv; local 142 (void)gettimeofday(&tv, NULL); 144 login_utmpx(&wu->utx, username, "tmux", tty, &tv); 147 login_utmp(&wu->ut, username, "tmux", tty, &tv); 155 struct timeval tv; local 160 (void)gettimeofday(&tv, NULL); 162 logout_utmpx(&wu->utx, &tv); 165 logout_utmp(&wu->ut, &tv);
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_history.c | 92 struct timeval tv; local 108 tv.tv_sec = tv.tv_usec = 0; 129 * earlier than the current tv, set the time and history 132 if (tv.tv_sec == 0 || 133 timercmp(&hists[lcv]->e[cur[lcv]].tv, &tv, <)) { 134 tv = hists[lcv]->e[cur[lcv]].tv;
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/ |
H A D | utils.c | 645 time_get(struct timeval *tv) argument 650 gettimeofday(tv, NULL); 652 tv->tv_sec = (long)time(NULL); 653 tv->tv_usec = 0; 658 time_mark(struct timeval *tv) argument 665 if (tv == NULL) 667 tv = &thistime; 672 gettimeofday(tv, NULL); 674 tv->tv_sec = (long)time(NULL); 675 tv 712 double2tv(struct timeval *tv, double d) argument [all...] |
/netbsd-6-1-5-RELEASE/games/worm/ |
H A D | worm.c | 73 static WINDOW *tv; variable 132 tv = newwin(LINES-1, COLS-1, 1, 0); 133 box(tv, '*', '*'); 134 scrollok(tv, FALSE); 140 wrefresh(tv); 196 wmove(tv, pos->y, pos->x); 197 waddch(tv, chr); 239 wmove(tv, bp->y, bp->x); 240 } while(winch(tv) != ' '); 250 waddch(tv, valu [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 135 struct timeval now, tv; local 139 absolute_deflate(&now, &tv); 141 tv.tv_sec += vt->tv_sec; 142 tv.tv_usec += vt->tv_usec; 143 while (tv.tv_usec >= 1000000) { 144 tv.tv_sec += 1; 145 tv.tv_usec -= 1000000; 148 absolute_inflate(&tv, rt); 161 struct timeval now, tv; local 171 tv 195 gettimeofday(struct timeval *tv, struct timezone *tz) argument 220 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | net_write.c | 57 struct timeval tv, *tvp; local 68 tv.tv_sec = timeout; 69 tv.tv_usec = 0; 70 tvp = &tv;
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/kernel/sys/ |
H A D | ppsclock.h | 44 struct timeval tv; member in struct:ppsclockev
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/ |
H A D | mkstemps.c | 84 struct timeval tv; local 102 gettimeofday (&tv, NULL); 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/ |
H A D | mkstemps.c | 84 struct timeval tv; local 102 gettimeofday (&tv, NULL); 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/ |
H A D | mkstemps.c | 80 struct timeval tv; local 98 gettimeofday (&tv, NULL); 99 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/netbsd-6-1-5-RELEASE/sys/dev/acpi/acpica/ |
H A D | OsdSchedule.c | 174 struct timeval tv; local 181 microtime(&tv); 182 t = (UINT64)10 * tv.tv_usec; 183 t += (UINT64)10000000 * tv.tv_sec;
|
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/libs/libgroff/ |
H A D | tmpname.cpp | 83 timeval tv; local 84 gettimeofday(&tv, NULL); 85 uint64_t random_time_bits = ((uint64_t)tv.tv_usec << 16) ^ tv.tv_sec;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/ |
H A D | mkstemps.c | 84 struct timeval tv; local 102 gettimeofday (&tv, NULL); 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | fifo_rdonly_bug.c | 76 struct timeval tv; local 107 tv.tv_sec = 1; 108 tv.tv_usec = 0; 110 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) {
|
H A D | fifo_rdwr_bug.c | 52 struct timeval tv; local 74 tv.tv_sec = 1; 75 tv.tv_usec = 0; 77 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) {
|
H A D | read_wait.c | 70 struct timeval tv; local 90 tv.tv_usec = 0; 91 tv.tv_sec = timeout; 92 tp = &tv;
|
H A D | readable.c | 60 struct timeval tv; local 77 tv.tv_sec = 0; 78 tv.tv_usec = 0; 84 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) {
|
H A D | select_bug.c | 45 struct timeval tv; local 53 tv.tv_sec = delay; 54 tv.tv_usec = 0; 57 switch (select(fd + 1, &readfds, (fd_set *) 0, &readfds, &tv)) {
|
H A D | writable.c | 60 struct timeval tv; local 77 tv.tv_sec = 0; 78 tv.tv_usec = 0; 84 switch (select(fd + 1, (fd_set *) 0, &write_fds, &except_fds, &tv)) {
|
H A D | write_wait.c | 69 struct timeval tv; local 89 tv.tv_usec = 0; 90 tv.tv_sec = timeout; 91 tp = &tv;
|