Searched refs:tv (Results 276 - 300 of 514) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/bootp-298/IPConfiguration.bproj/
H A DDHCPv6Socket.c373 struct timeval tv; local
378 tv.tv_sec = 1; /* close it after 1 second of non-use */
379 tv.tv_usec = 0;
380 timer_set_relative(S_globals->timer_callout, tv,
H A Dbootp_session.c261 struct timeval tv; local
266 tv.tv_sec = 1; /* close it after 1 second of non-use */
267 tv.tv_usec = 0;
268 timer_set_relative(session->timer_callout, tv,
H A Dlinklocal.c395 struct timeval tv; local
397 tv.tv_sec = LINKLOCAL_RETRY_TIME_SECS;
398 tv.tv_usec = 0;
399 timer_set_relative(linklocal->timer, tv,
/macosx-10.10.1/bootp-298/bootplib/
H A Dhostlist.c117 hp->tv = *tv_p;
H A Dsubnets.c145 struct timeval tv; local
147 gettimeofday(&tv, 0);
151 sec = tv.tv_sec - tvp.tv_sec;
152 usec = tv.tv_usec - tvp.tv_usec;
158 tv.tv_sec, tv.tv_usec, sec, usec, msg);
162 tv.tv_sec, tv.tv_usec, 0, 0, msg);
163 tvp = tv;
/macosx-10.10.1/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread-private.c179 struct timeval tv;
181 if ((result = gettimeofday(&tv, NULL)))
184 tp->tv_sec = tv.tv_sec;
185 tp->tv_nsec = tv.tv_usec * 1000;
/macosx-10.10.1/file_cmds-242/dd/
H A Ddd.c116 struct timeval tv; local
210 (void)gettimeofday(&tv, (struct timezone *)NULL);
211 st.start = tv.tv_sec + tv.tv_usec * 1e-6;
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/tests/
H A Dcomvario.sh602 nameref tv=test_variants[i]
604 out.stderr="${ { out.stdout="${ ${SHELL} -o nounset -o errexit -c "${tv.cmd}" ; (( out.res=$? )) ; }" ; } 2>&1 ; }"
606 for pat in "${tv.stdoutpattern[@]}" ; do
607 [[ "${out.stdout}" == ${pat} ]] || err_exit "${tv.testname}: Expected stdout of $(printf '%q\n' "${tv.cmd}") to match $(printf '%q\n' "${pat}"), got $(printf '%q\n' "${out.stdout}")"
609 [[ "${out.stderr}" == '' ]] || err_exit "${tv.testname}: Expected empty stderr for $(printf '%q\n' "${tv.cmd}"), got $(printf '%q\n' "${out.stderr}")"
610 (( out.res == 0 )) || err_exit "${tv.testname}: Unexpected exit code ${out.res} for $(printf '%q\n' "${tv.cmd}")"
/macosx-10.10.1/libxml2-26/libxml2/
H A Dnanoftp.c739 struct timeval tv; local
742 tv.tv_sec = 0;
743 tv.tv_usec = 0;
746 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) {
1545 struct timeval tv; local
1550 tv.tv_sec = 15;
1551 tv.tv_usec = 0;
1556 res = select(ctxt->controlFd + 1, &rfd, NULL, &efd, &tv);
1727 struct timeval tv; local
1765 tv
1901 struct timeval tv; local
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A Dnanoftp.c738 struct timeval tv; local
741 tv.tv_sec = 0;
742 tv.tv_usec = 0;
745 switch(select(ctxt->controlFd + 1, &rfd, NULL, NULL, &tv)) {
1543 struct timeval tv; local
1548 tv.tv_sec = 15;
1549 tv.tv_usec = 0;
1554 res = select(ctxt->controlFd + 1, &rfd, NULL, &efd, &tv);
1725 struct timeval tv; local
1763 tv
1899 struct timeval tv; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsd.c601 struct timeval tv, delta; local
604 microtime(&tv);
606 timersub(&tv, lasttime, &delta);
618 *lasttime = tv;
/macosx-10.10.1/vim-55/src/
H A Dif_mzsch.c173 static int mzscheme_to_vim(Scheme_Object *obj, typval_T *tv, int depth,
2740 mzscheme_to_vim(Scheme_Object *obj, typval_T *tv, int depth, argument
2748 tv->v_type = VAR_NUMBER;
2749 tv->vval.v_number = 0;
2755 copy_tv(found, tv);
2758 tv->v_type = VAR_NUMBER;
2759 tv->vval.v_number = 0;
2763 tv->v_type = VAR_NUMBER;
2764 tv->vval.v_number = SCHEME_INT_VAL(obj);
2768 tv
[all...]
H A Dif_lua.c336 luaV_pushtypval(lua_State *L, typval_T *tv) argument
338 if (tv == NULL) luaL_error(L, "null type");
339 switch (tv->v_type)
342 lua_pushstring(L, (char *) tv->vval.v_string);
345 lua_pushinteger(L, (int) tv->vval.v_number);
349 lua_pushnumber(L, (lua_Number) tv->vval.v_float);
353 list_T *l = tv->vval.v_list;
380 dict_T *d = tv->vval.v_dict;
938 typval_T *tv = eval_expr((char_u *) luaL_checkstring(L, 1), NULL); local
939 if (tv
[all...]
/macosx-10.10.1/efax-38/efax/
H A Defaxlib.c804 unsigned long count, tv ; local
825 tv = a ;
827 err = err || fread4 ( &tv, f ) ;
833 err = err || fseek ( f->f, tv, SEEK_SET ) ;
854 type == 5 ? (long) ftv : tv, tag, tagname(tag) ) ;
860 f->page->w = tv ;
863 f->page->h = tv ;
866 if ( tv == 1 ) {
868 } else if ( tv == 3 ) {
875 f->page->black_is_zero = tv ;
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_hotfiles.c165 struct timeval tv; local
195 microtime(&tv); /* Times are base on GMT time. */
211 hfsmp->hfc_timeout = SWAP_BE32 (hotfileinfo.timeleft) + tv.tv_sec ;
222 hfsmp->hfc_timebase = tv.tv_sec + 1;
246 hfsmp->hfc_timeout = tv.tv_sec + HFC_DEFAULT_DURATION;
250 hfsmp->hfc_timebase = tv.tv_sec + 1;
303 struct timeval tv; local
377 microtime(&tv);
378 listp->hfl_duration = tv.tv_sec - hfsmp->hfc_timebase;
436 struct timeval tv; local
723 struct timeval tv; local
[all...]
/macosx-10.10.1/libresolv-57/
H A Dres_send.c290 evTimeSpec(struct timeval tv) argument
294 ts.tv_sec = tv.tv_sec;
295 ts.tv_nsec = tv.tv_usec * 1000;
312 struct timeval tv; local
314 tv.tv_sec = ts.tv_sec;
315 tv.tv_usec = ts.tv_nsec / 1000;
316 return (tv);
1570 struct timeval tv, *tvp = NULL; local
1576 tvp = &tv;
1577 tv
[all...]
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnetd/
H A Dsys_term.c1290 struct timeval tv; local
1308 gettimeofday (&tv, NULL);
1309 utmpx.ut_tv.tv_sec = tv.tv_sec;
1310 utmpx.ut_tv.tv_usec = tv.tv_usec;
1432 struct timeval tv; local
1452 gettimeofday (&tv, NULL);
1453 utxp->ut_tv.tv_sec = tv.tv_sec;
1454 utxp->ut_tv.tv_usec = tv.tv_usec;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap_r/
H A Dthr_posix.c222 struct timeval tv = {0,0};
223 select( 0, NULL, NULL, NULL, &tv );
/macosx-10.10.1/OpenSSL098-52/src/apps/
H A Docsp.c1231 struct timeval tv; local
1257 tv.tv_usec = 0;
1258 tv.tv_sec = req_timeout;
1259 rv = select(fd + 1, NULL, (void *)&confds, NULL, &tv);
1279 tv.tv_usec = 0;
1280 tv.tv_sec = req_timeout;
1282 rv = select(fd + 1, (void *)&confds, NULL, NULL, &tv);
1284 rv = select(fd + 1, NULL, (void *)&confds, NULL, &tv);
/macosx-10.10.1/bootp-298/bootpd.tproj/
H A DmacNC.c97 struct timeval tv; local
99 gettimeofday(&tv, 0);
103 timeval_subtract(tv, tvp, &result);
105 tv.tv_sec, tv.tv_usec, result.tv_sec, result.tv_usec, msg);
109 tv.tv_sec, tv.tv_usec, 0, 0, msg);
110 tvp = tv;
/macosx-10.10.1/libpcap-48/libpcap/
H A Dpcap-sita.c717 struct timeval tv; local
721 tv.tv_sec = 2;
722 tv.tv_usec = 0;
734 retval = select(max_fs + 1, &working_set, NULL, NULL, &tv);
903 struct timeval tv; local
911 tv.tv_sec = 5;
912 tv.tv_usec = 0;
920 retval = select(fd + 1, &w_fds, NULL, NULL, &tv);
/macosx-10.10.1/ntp-92/ntpd/
H A Drefclock_trak.c319 ppsev.tv.tv_sec += (u_int32) JAN_1970;
320 TVTOTS(&ppsev.tv,&up->tstamp);
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dcheckpw.c410 struct timeval tv; local
421 tv.tv_sec = (long) delta;
422 tv.tv_usec = 0;
423 switch(select(fd + 1, 0, &wfds, &efds, &tv)) {
573 struct timeval tv; local
583 tv.tv_sec = (long) delta;
584 tv.tv_usec = 0;
585 switch(select(fd + 1, &rfds, 0, &efds, &tv)) {
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dmail_queue.c329 struct timeval tv; local
347 tp = &tv;
/macosx-10.10.1/ruby-106/ruby/
H A Dthread_pthread.c385 struct timeval tv; local
401 ret = gettimeofday(&tv, 0);
404 now.tv_sec = tv.tv_sec;
405 now.tv_nsec = tv.tv_usec * 1000;
800 struct timeval tv; local
809 gettimeofday(&tv, 0);
810 ts.tv_sec = tv.tv_sec + 60;
811 ts.tv_nsec = tv.tv_usec * 1000;

Completed in 611 milliseconds

<<11121314151617181920>>