Searched refs:tv (Results 201 - 225 of 514) sorted by relevance

1234567891011>>

/macosx-10.10.1/dtrace-147/libdtrace/
H A Ddt_work.c59 struct timespec tv; local
90 tv.tv_sec = (earliest - now) / NANOSEC;
91 tv.tv_nsec = (earliest - now) % NANOSEC;
94 * Wait for either 'tv' nanoseconds to pass or to receive notification
98 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv);
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxtouch.c31 #include <tv.h>
/macosx-10.10.1/libpcap-48/libpcap/
H A Dpcap-snf.c100 struct timeval tv; local
104 tv.tv_sec = ts_nanosec / _NSEC_PER_SEC;
105 tv.tv_usec = (ts_nanosec % _NSEC_PER_SEC) / 1000;
106 return tv;
/macosx-10.10.1/ntp-92/libntp/
H A Dntp_random.c301 struct timeval tv; local
304 GETTIMEOFDAY(&tv, NULL);
305 ntp_srandom(getpid() ^ tv.tv_sec ^ tv.tv_usec ^ junk);
H A Dsystime.c97 struct timeval tv; /* seconds and microseconds */ local
103 GETTIMEOFDAY(&tv, NULL);
104 now->l_i = tv.tv_sec + JAN_1970;
110 dtemp = (tv.tv_usec + dtemp) * 1e-6 + sys_residual;
/macosx-10.10.1/ntp-92/util/
H A Dntptime.c86 struct timeval tv; local
289 tv.tv_sec = ntv.time.tv_sec;
290 tv.tv_usec = ntv.time.tv_frac_sec;
291 TVTOTS(&tv, &ts);
/macosx-10.10.1/remote_cmds-47/yppush.tproj/
H A Dyppush.c142 struct timeval tv; local
144 tv.tv_sec=0; tv.tv_usec=0;
163 (xdrproc_t)xdr_void, NULL, tv)) {
/macosx-10.10.1/rsync-45/rsync/
H A Dauthenticate.c62 struct timeval tv; local
67 sys_gettimeofday(&tv);
68 SIVAL(input, 16, tv.tv_sec);
69 SIVAL(input, 20, tv.tv_usec);
/macosx-10.10.1/screen-22/screen/
H A Dsched.c263 struct timeval tv; local
272 tv.tv_sec = tv.tv_usec = 0;
273 if (select(FD_SETSIZE, &r, &w, (fd_set *)0, &tv) == -1)
/macosx-10.10.1/shell_cmds-179/script/
H A Dscript.c93 struct timeval tv, *tvp; local
171 tvp = &tv;
181 tv.tv_sec = flushtime;
182 tv.tv_usec = 0;
/macosx-10.10.1/system_cmds-643.1.1/passwd.tproj/
H A Dnis_passwd.c102 struct timeval tv; local
167 tv.tv_sec = 2;
168 tv.tv_usec = 0;
170 (xdrproc_t)xdr_yppasswd, &yppasswd, (xdrproc_t)xdr_int, &ok, tv);
/macosx-10.10.1/tcl-105/tcl/tcl/unix/
H A DtclUnixTime.c618 struct timeval tv;
620 (void) gettimeofday(&tv, NULL);
621 timePtr->sec = tv.tv_sec;
622 timePtr->usec = tv.tv_usec;
605 struct timeval tv; local
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dzselect.c71 struct timeval tv, *tvptr = NULL; local
154 tvptr = &tv;
155 tv.tv_sec = (long)(tempnum / 100);
156 tv.tv_usec = (long)(tempnum % 100) * 10000L;
/macosx-10.10.1/ntp-92/lib/isc/unix/
H A Dapp.c308 struct timeval tv, *tvp; local
315 tv.tv_sec = 0;
316 tv.tv_usec = 0;
317 tvp = &tv;
330 tv.tv_sec = us / 1000000;
331 tv.tv_usec = us % 1000000;
332 tvp = &tv;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dinit.c354 struct timeval tv; local
356 tv.tv_usec = 0;
357 tv.tv_sec = strtol( opt, &next, 10 );
358 if ( next != opt && next[ 0 ] == '\0' && tv.tv_sec > 0 ) {
359 (void)ldap_set_option( NULL, attrs[i].offset, (const void *)&tv );
513 struct timeval tv; local
515 tv.tv_usec = 0;
516 tv.tv_sec = strtol( value, &next, 10 );
517 if ( next != value && next[ 0 ] == '\0' && tv.tv_sec > 0 ) {
518 (void)ldap_set_option( NULL, attrs[i].offset, (const void *)&tv );
[all...]
H A Dldap_sync.c659 struct timeval tv = { 0 }, local
734 tv.tv_sec = ls->ls_timelimit;
735 tvp = &tv;
759 tv.tv_sec = 0;
760 tv.tv_usec = 100000;
763 LDAP_MSG_RECEIVED, &tv, &res );
862 struct timeval tv, local
876 tv.tv_sec = ls->ls_timeout;
877 tv.tv_usec = 0;
878 tvp = &tv;
[all...]
/macosx-10.10.1/tcl-105/tk/tk/library/ttk/
H A Dtreeview.tcl284 ## between $tv $item1 $item2 --
294 proc ttk::treeview::between {tv item1 item2} {
297 ScanBetween $tv $item1 $item2 {}
304 proc ttk::treeview::ScanBetween {tv item1 item2 item} {
314 foreach child [$tv children $item] {
315 ScanBetween $tv $item1 $item2 $child
/macosx-10.10.1/Heimdal-398.1.2/lib/libedit/src/
H A Dterm.c1392 const struct termcapval *tv; local
1418 for (tv = tval; tv->name != NULL; tv++)
1419 if (strcmp(tv->name, what) == 0)
1422 if (tv->name != NULL)
1425 if (tv == &tval[T_pt] || tv == &tval[T_km] ||
1426 tv == &tval[T_am] || tv
1470 const struct termcapval *tv; local
[all...]
/macosx-10.10.1/libedit-40/src/
H A Dterminal.c1332 const struct termcapval *tv; local
1358 for (tv = tval; tv->name != NULL; tv++)
1359 if (strcmp(tv->name, what) == 0)
1362 if (tv->name != NULL)
1365 if (tv == &tval[T_pt] || tv == &tval[T_km] ||
1366 tv == &tval[T_am] || tv
1410 const struct termcapval *tv; local
[all...]
/macosx-10.10.1/vim-55/src/
H A Deval.c59 * "tv" is NULL
63 * "tv" is NULL
67 * "tv" points to the (first) list item value
73 * "tv" points to the dict item value
78 * "tv" points to the Dictionary typval_T
308 * Initializing a union does not work, leave tv.vval empty to get zero's.
388 static int ex_let_vars __ARGS((char_u *arg, typval_T *tv, int copy, int semicolon, int var_count, char_u *nextchars));
402 static char_u *ex_let_one __ARGS((char_u *arg, typval_T *tv, int copy, char_u *endchars, char_u *op));
414 static void item_lock __ARGS((typval_T *tv, int deep, int lock));
415 static int tv_islocked __ARGS((typval_T *tv));
1034 typval_T tv; local
1137 typval_T tv; local
1266 typval_T tv; local
1299 typval_T tv; local
1343 typval_T tv; local
1539 typval_T *tv; local
1776 typval_T tv; local
2195 typval_T tv; local
2844 typval_T tv; local
3117 typval_T tv; local
5726 typval_T tv; local
7267 typval_T tv; local
8520 typval_T *tv; local
9801 typval_T tv; local
10703 typval_T *tv = NULL; local
18981 typval_T *tv = NULL; local
22514 typval_T tv; local
[all...]
H A Dif_ruby.c909 static VALUE vim_to_ruby(typval_T *tv) argument
913 if (tv->v_type == VAR_STRING)
915 result = rb_str_new2(tv->vval.v_string == NULL
916 ? "" : (char *)(tv->vval.v_string));
918 else if (tv->v_type == VAR_NUMBER)
920 result = INT2NUM(tv->vval.v_number);
923 else if (tv->v_type == VAR_FLOAT)
925 result = rb_float_new(tv->vval.v_float);
928 else if (tv->v_type == VAR_LIST)
930 list_T *list = tv
975 typval_T *tv; local
[all...]
/macosx-10.10.1/iodbc-42.5/iodbc/iodbc/trace/
H A Dtrace.c673 struct timeval tv; local
690 gettimeofday (&tv, NULL);
691 tv.tv_sec -= starttime.tv_sec;
692 tv.tv_usec -= starttime.tv_usec;
693 if (tv.tv_usec < 0)
695 tv.tv_sec--;
696 tv.tv_usec += 1000000L;
698 trace_emit ("\n[%06ld.%06ld]\n", tv.tv_sec, tv.tv_usec);
/macosx-10.10.1/OpenSSH-189/openssh/
H A Ddefines.h448 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \
449 (ts)->tv_sec = (tv)->tv_sec; \
450 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
455 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \
456 (tv)->tv_sec = (ts)->tv_sec; \
457 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
/macosx-10.10.1/file_cmds-242/cp/
H A Dutils.c354 static struct timeval tv[2]; local
364 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
365 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
367 if (islink ? 0 : utimes(to.p_path, tv)) {
369 if (islink ? lutimes(to.p_path, tv) : utimes(to.p_path, tv)) {
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dsaslutil.c360 struct timeval tv; local
364 if (!gettimeofday(&tv))
366 if (!gettimeofday(&tv, NULL))
371 ret[0] ^= (unsigned short) (tv.tv_sec & 0xFFFF);
373 ret[1] ^= (unsigned short) (tv.tv_usec >> 16);
374 ret[2] ^= (unsigned short) (tv.tv_usec & 0xFFFF);

Completed in 260 milliseconds

1234567891011>>