Searched refs:tv (Results 251 - 275 of 514) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/ntp-92/include/
H A Dtimepps-SunOS.h394 struct timeval tv; member in struct:ppsclockev
447 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec;
448 infobuf.assert_timestamp.tv_nsec = ev.tv.tv_usec * 1000;
/macosx-10.10.1/shell_cmds-179/who/
H A Dutmpentry.c307 e->tv.tv_sec = up->ut_time;
308 e->tv.tv_usec = 0;
338 e->tv = up->ut_tv;
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/ras/
H A Dras2tif.c93 struct timeval tv; local
105 gettimeofday(&tv, (struct timezone *) NULL);
106 ct = localtime(&tv.tv_sec);
/macosx-10.10.1/tcpdump-61/tcpdump/
H A DsctpConstants.h536 #define TIMEVAL_TO_TIMESPEC(tv, ts) \
538 (ts)->tv_sec = (tv)->tv_sec; \
539 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
/macosx-10.10.1/lukemftp-14/tnftp/libedit/
H A Dterm.c1281 const struct termcapval *tv; local
1305 for (tv = tval; tv->name != NULL; tv++)
1306 if (strcmp(tv->name, what) == 0)
1309 if (tv->name != NULL) {
1310 if (tv == &tval[T_pt] || tv == &tval[T_km] ||
1311 tv == &tval[T_am] || tv
[all...]
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/setkey/
H A Dtest-pfkey.c104 struct timeval tv;
105 tv.tv_sec = 1;
106 tv.tv_usec = 0;
107 if (setsockopt(so, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) {
/macosx-10.10.1/mail_cmds-30/mail/
H A Daux.c350 struct timeval tv[2]; local
354 (void)gettimeofday(&tv[0], (struct timezone *)NULL);
355 tv[0].tv_sec++;
356 TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);
357 (void)utimes(name, tv);
/macosx-10.10.1/ntp-92/ntpd/
H A Dntp_timer.c183 struct timeval tv; local
184 size_t tv_size = sizeof(tv);
186 if (0 == sysctlbyname(which ? "kern.sleeptime" : "kern.waketime", &tv, &tv_size, NULL, 0)) {
187 if (tv.tv_sec != tvals[which].tv_sec) {
188 tvals[which] = tv;
/macosx-10.10.1/OpenSSL098-52/src/crypto/conf/
H A Dconf_def.c219 CONF_VALUE *v=NULL,*tv; local
400 if ((tv=_CONF_get_section(conf,psection))
402 tv=_CONF_new_section(conf,psection);
403 if (tv == NULL)
409 /* ts=(STACK_OF(CONF_VALUE) *)tv->value;*/
413 tv=sv;
417 if (_CONF_add_string(conf, tv, v) == 0)
424 v->section=tv->section;
/macosx-10.10.1/OpenSSL098-52/src/fips/rand/
H A Dfips_rand_selftest.c330 #define fips_rand_test(key, tv) \
331 do_rand_test(key, sizeof key, tv, sizeof(tv)/sizeof(AES_PRNG_TV))
334 AES_PRNG_TV *tv, int ntv)
342 FIPS_rand_seed(tv[i].V, 16);
343 FIPS_rand_set_dt(tv[i].DT);
345 if (memcmp(R, tv[i].R, 16))
333 do_rand_test(unsigned char *key, int keylen, AES_PRNG_TV *tv, int ntv) argument
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/
H A Dapp.c434 struct timeval tv, *tvp; local
454 tv.tv_sec = 0;
455 tv.tv_usec = 0;
456 tvp = &tv;
469 tv.tv_sec = us / 1000000;
470 tv.tv_usec = us % 1000000;
471 tvp = &tv;
/macosx-10.10.1/postfix-255/postfix/src/tlsmgr/
H A Dtlsmgr.c504 struct timeval tv; local
513 GETTIMEOFDAY(&tv);
514 RAND_seed(&tv, sizeof(struct timeval));
827 struct timeval tv; local
841 GETTIMEOFDAY(&tv);
842 tv.tv_sec ^= getpid();
843 RAND_seed(&tv, sizeof(struct timeval));
/macosx-10.10.1/system_cmds-643.1.1/at.tproj/
H A Dat.c684 struct timeval tv[2]; local
690 if (gettimeofday(&tv[0], NULL))
694 now = tv[0].tv_sec;
736 tv[0].tv_sec = tv[1].tv_sec = mktime(t);
737 if (tv[0].tv_sec != -1)
738 return tv[0].tv_sec;
/macosx-10.10.1/tcsh-65/tcsh/
H A Ded.screen.c448 struct termcapval *tv; local
479 for (tv = tval; tv->name != NULL; tv++)
480 if (strcmp(tv->name, what) == 0)
483 if (tv->name != NULL) {
484 if (tv == &tval[T_pt] || tv == &tval[T_km] ||
485 tv == &tval[T_am] || tv
[all...]
/macosx-10.10.1/smb-759.0/kernel/netsmb/
H A Dsmb_trantcp.c161 struct timeval tv; local
170 tv.tv_sec = SMBSBTIMO;
171 tv.tv_usec = 0;
172 error = sock_setsockopt(so, SOL_SOCKET, SO_RCVTIMEO, &tv, (int)sizeof(tv));
176 error = sock_setsockopt(so, SOL_SOCKET, SO_SNDTIMEO, &tv, (int)sizeof(tv));
255 tv.tv_sec = 2;
256 tv.tv_usec = 0;
257 while ((error = sock_connectwait(so, &tv))
[all...]
/macosx-10.10.1/libxml2-26/libxml2/
H A Dnanohttp.c458 struct timeval tv; local
491 tv.tv_sec = timeout;
492 tv.tv_usec = 0;
502 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv);
532 struct timeval tv;
615 tv.tv_sec = timeout;
616 tv.tv_usec = 0;
630 if ((select(ctxt->fd + 1, &rfd, NULL, NULL, &tv) < 1)
858 struct timeval tv; local
943 tv
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A Dnanohttp.c453 struct timeval tv; local
486 tv.tv_sec = timeout;
487 tv.tv_usec = 0;
497 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv);
527 struct timeval tv;
610 tv.tv_sec = timeout;
611 tv.tv_usec = 0;
625 if ((select(ctxt->fd + 1, &rfd, NULL, NULL, &tv) < 1)
853 struct timeval tv; local
938 tv
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/
H A Dtail.c105 #include <tv.h>
425 Tv_t tv; local
636 tv.tv_sec = 1;
637 tv.tv_nsec = 0;
642 else if (sh_checksig(context) || tvsleep(&tv, NiL))
689 if (sh_checksig(context) || tvsleep(&tv, NiL))
/macosx-10.10.1/sudo-73/src/
H A Dldap.c1628 struct timeval tv, *tvp = NULL; local
1643 tv.tv_sec = ldap_conf.timeout;
1644 tv.tv_usec = 0;
1645 tvp = &tv;
2025 struct timeval tv; local
2026 tv.tv_sec = ldap_conf.timeout;
2027 tv.tv_usec = 0;
2029 (long)tv.tv_sec), 1);
2030 rc = ldap_set_option(ld, LDAP_OPT_TIMEOUT, &tv);
2033 (long)tv
2040 struct timeval tv; local
2304 struct timeval tv, *tvp = NULL; local
2577 struct timeval tv, *tvp = NULL; local
[all...]
H A Dsudo_edit.c78 struct timeval tv, tv1, tv2; local
237 mtim_get(&sb, &tv);
238 if (tf[i].osize == sb.st_size && timevalcmp(&tf[i].omtim, &tv, ==)) {
/macosx-10.10.1/Heimdal-398.1.2/lib/kadm5/
H A Dad.c586 *samvals[2], *dnsvals[2], *spnvals[5], *upnvals[2], *tv[2]; local
737 a->mod_values = tv;
738 tv[0] = "9223372036854775807"; /* "never" */
739 tv[1] = NULL;
771 a->mod_values = tv;
772 tv[0] = "9223372036854775807"; /* "never" */
773 tv[1] = NULL;
1086 char *tv[2] = { NULL, NULL }; local
1198 asprintf(&tv[0], "%llu", wt);
1202 a->mod_values = tv;
[all...]
/macosx-10.10.1/cups-408/cups/cups/
H A Ddebug.c29 _cups_gettimeofday(struct timeval *tv, /* I - Timeval struct */ argument
34 tv->tv_sec = (long)timebuffer.time;
35 tv->tv_usec = timebuffer.millitm * 1000;
/macosx-10.10.1/postfix-255/postfix/src/postcat/
H A Dpostcat.c150 struct timeval tv; local
330 REC_TYPE_TIME_SCAN(STR(buffer), tv); local
331 time = tv.tv_sec;
/macosx-10.10.1/apr-32/apr/apr/network_io/win32/
H A Dsockets.c326 struct timeval tv, *tvptr; local
354 tv.tv_sec = (long)apr_time_sec(sock->timeout);
355 tv.tv_usec = (int)apr_time_usec(sock->timeout);
356 tvptr = &tv;
/macosx-10.10.1/apr-32/apr/apr/poll/unix/
H A Dport.c93 struct timespec tv, *tvptr; local
101 tv.tv_sec = (long) apr_time_sec(timeout);
102 tv.tv_nsec = (long) apr_time_usec(timeout) * 1000;
103 tvptr = &tv;

Completed in 349 milliseconds

<<11121314151617181920>>