/netbsd-6-1-5-RELEASE/usr.sbin/timed/timed/ |
H A D | globals.h | 139 #define tvtomsround(tv) ((tv).tv_sec*1000 + ((tv).tv_usec + 500)/1000)
|
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | dotlock.c | 56 struct timeval tv; local 62 (void)gettimeofday(&tv, NULL); 67 cookie = pid ^ tv.tv_usec;
|
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/ |
H A D | evutil.c | 206 evutil_gettimeofday(struct timeval *tv, struct timezone *tz) argument 210 if(tv == NULL) 214 tv->tv_sec = (long) tb.time; 215 tv->tv_usec = ((int) tb.millitm) * 1000;
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/clients/tools/ |
H A D | ldapwhoami.c | 154 struct timeval tv; local 160 tv.tv_sec = 0; 161 tv.tv_usec = 100000; 163 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
|
/netbsd-6-1-5-RELEASE/usr.bin/chpass/ |
H A D | 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);
|
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/tests/ |
H A D | lock.c | 50 struct timeval tv; local 52 gettimeofday(&tv, NULL); 53 return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | kernhist.h | 48 struct timeval tv; /* time stamp */ member in struct:kern_history_ent 155 microtime(&_e_->tv); \ 185 printf("%06" PRIu64 ".%06d ", e->tv.tv_sec, e->tv.tv_usec);
|
/netbsd-6-1-5-RELEASE/usr.sbin/mrinfo/ |
H A D | mrinfo.c | 427 struct timeval tv, now; local 439 tv.tv_sec = et.tv_sec - now.tv_sec; 440 tv.tv_usec = et.tv_usec - now.tv_usec; 442 if (tv.tv_usec < 0) { 443 tv.tv_usec += 1000000L; 444 --tv.tv_sec; 446 if (tv.tv_sec < 0) 447 tv.tv_sec = tv.tv_usec = 0; 449 count = poll(set, 1, tv [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/transp/ |
H A D | transp_sockets.c | 165 get_mount_client(char *unused_host, struct sockaddr_in *sin, struct timeval *tv, int *sock, u_long mnt_version) argument 214 if ((client = clntudp_create(sin, MOUNTPROG, mnt_version, *tv, sock)) == NULL) { 430 struct timeval tv; local 442 tv.tv_sec = 2; /* retry every 2 seconds, but also timeout */ 443 tv.tv_usec = 0; 454 clnt = clntudp_create(sin, NFS_PROGRAM, nfs_version, tv, &sock); 460 tv.tv_sec = 6; 467 tv);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | entropy.c | 125 struct timeval tv; 146 (void) gettimeofday( &rdata.tv, NULL );
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/common/ |
H A D | wpa_ctrl.c | 203 struct timeval tv; local 237 tv.tv_sec = 2; 238 tv.tv_usec = 0; 241 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 316 struct timeval tv; local 318 tv.tv_sec = 0; 319 tv.tv_usec = 0; 322 select(ctrl->s + 1, &rfds, NULL, NULL, &tv);
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/postscreen/ |
H A D | postscreen_misc.c | 11 /* char *psc_format_delta_time(buf, tv, delta) 13 /* struct timeval tv; 23 /* tv (past) and the present, formats the time difference with 71 char *psc_format_delta_time(VSTRING *buf, struct timeval tv, argument 78 PSC_CALC_DELTA(pdelay, now, tv);
|
/netbsd-6-1-5-RELEASE/usr.bin/passwd/ |
H A D | yp_passwd.c | 225 struct timeval tv; local 313 tv.tv_sec = 2; 314 tv.tv_usec = 0; 316 xdr_yppasswd, &ypp, xdr_int, &status, tv); 387 struct timeval tv; local 451 tv.tv_sec = 2; 452 tv.tv_usec = 0; 454 xdr_yppasswd, &ypp, xdr_int, &status, tv);
|
/netbsd-6-1-5-RELEASE/usr.bin/eject/ |
H A D | am_glue.c | 48 static struct timeval tv = { 5, 0 }; variable in typeref:struct:timeval 113 (void)clnt_control(clnt, CLSET_RETRY_TIMEOUT, (void *)&tv);
|
/netbsd-6-1-5-RELEASE/dist/dhcp/server/ |
H A D | omapi.c | 680 omapi_value_t *tv = (omapi_value_t *)0; local 688 status = omapi_get_value_str (ref, id, "handle", &tv); 690 status = omapi_handle_td_lookup (lp, tv -> value); 692 omapi_value_dereference (&tv, MDL); 704 status = omapi_get_value_str (ref, id, "ip-address", &tv); 708 tv -> value -> u.buffer.value, 709 tv -> value -> u.buffer.len, MDL); 711 omapi_value_dereference (&tv, MDL); 733 status = omapi_get_value_str (ref, id, "dhcp-client-identifier", &tv); 737 tv 1297 omapi_value_t *tv = (omapi_value_t *)0; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/ |
H A D | os-local.c | 174 struct timeval tv, *opt_tv = NULL; local 177 tv = ld->ld_options.ldo_tm_net; 178 opt_tv = &tv; 182 s, opt_tv ? (intmax_t)tv.tv_sec : -1, async); 262 if( opt_tv != NULL ) timeout = TV2MILLISEC( &tv ); 300 rc = select( ldap_int_tblsize, z, &wfds, z, opt_tv ? &tv : NULL );
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | wpa_debug.c | 38 struct os_time tv; local 43 os_get_time(&tv); 46 fprintf(out_file, "%ld.%06u: ", (long) tv.sec, 47 (unsigned int) tv.usec); 50 printf("%ld.%06u: ", (long) tv.sec, (unsigned int) tv.usec);
|
/netbsd-6-1-5-RELEASE/sys/compat/common/ |
H A D | rtsock_14.c | 95 struct timeval tv; local 120 TIMESPEC_TO_TIMEVAL(&tv, &ifp->if_data.ifi_lastchange); 121 timeval_to_timeval50(&tv, &oifm.ifm_data.ifi_lastchange); 134 struct timeval tv; local 157 TIMESPEC_TO_TIMEVAL(&tv, &ifp->if_data.ifi_lastchange); 158 timeval_to_timeval50(&tv, &ifm->ifm_data.ifi_lastchange);
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | randomid.c | 215 struct timeval tv; local 251 gettimeofday(&tv, NULL); 252 p->ru_reseed = tv.tv_sec + p->ru_out; 301 struct timeval tv; local 303 gettimeofday(&tv, NULL); 304 if (p->ru_counter >= p->ru_max || tv.tv_sec > p->ru_reseed)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/ |
H A D | syscalls.c | 298 struct timeval tv; local 300 rv = gettimeofday (&tv, 0); 302 printf ("gettimeofday: %ld sec %ld usec to 0x%x\n", tv.tv_sec, 303 tv.tv_usec, tvaddr); 304 mem_put_si (tvaddr, tv.tv_sec); 305 mem_put_si (tvaddr + 4, tv.tv_usec);
|
/netbsd-6-1-5-RELEASE/sys/netiso/ |
H A D | tp_param.h | 102 #define TP_RANGESET(tv, value, min, max) \ 103 ((tv = value) > (max) ? (tv = max) : (tv < min ? tv = min : tv))
|
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/ |
H A D | server.c | 111 struct timeval tv; local 195 memset(&tv, 0, sizeof tv); 196 tv.tv_sec = 1; 198 evtimer_add(&server_ev_second, &tv); 458 struct timeval tv; local 480 memset(&tv, 0, sizeof tv); 481 tv.tv_sec = 1; 482 evtimer_add(&server_ev_second, &tv); [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/ |
H A D | plugin.c | 128 struct ld_plugin_tv tv[tv_size]; local 145 tv[i].tv_tag = LDPT_MESSAGE; 146 tv[i].tv_u.tv_message = message; 149 tv[i].tv_tag = LDPT_REGISTER_CLAIM_FILE_HOOK; 150 tv[i].tv_u.tv_register_claim_file = register_claim_file; 153 tv[i].tv_tag = LDPT_ADD_SYMBOLS; 154 tv[i].tv_u.tv_add_symbols = add_symbols; 157 tv[i].tv_tag = LDPT_NULL; 158 tv[i].tv_u.tv_val = 0; 160 status = (*onload)(tv); [all...] |
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/xz/ |
H A D | file_io.c | 242 struct timespec tv[2]; local 243 tv[0].tv_sec = pair->src_st.st_atime; 244 tv[0].tv_nsec = atime_nsec; 245 tv[1].tv_sec = pair->src_st.st_mtime; 246 tv[1].tv_nsec = mtime_nsec; 248 (void)futimens(pair->dest_fd, tv); 252 struct timeval tv[2]; local 253 tv[0].tv_sec = pair->src_st.st_atime; 254 tv[0].tv_usec = atime_nsec / 1000; 255 tv[ [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/ktruss/ |
H A D | dump.c | 346 struct timeval tv; member in union:timeholder 352 temp.tv.tv_sec = temp.tv.tv_usec = 0; 361 if (prevtime.tv.tv_sec == 0) 362 temp.tv.tv_sec = temp.tv.tv_usec = 0; 365 &prevtime.tv, &temp.tv); 366 prevtime.tv.tv_sec = kth->ktr_otv.tv_sec; 367 prevtime.tv [all...] |