Home
last modified time | relevance | path

Searched refs:intvl (Results 1 – 11 of 11) sorted by relevance

/freebsd-10-stable/contrib/sendmail/src/
Dconvtime.c123 pintvl(intvl, brief) in pintvl() argument
124 time_t intvl; in pintvl()
131 if (intvl == 0 && !brief)
133 if (intvl == NOW)
137 se = intvl % 60;
138 intvl /= 60;
139 mi = intvl % 60;
140 intvl /= 60;
141 hr = intvl % 24;
142 intvl /= 24;
[all …]
/freebsd-10-stable/contrib/sendmail/libsm/
Dclock.c64 sm_seteventm(intvl, func, arg) in sm_seteventm() argument
65 int intvl; in sm_seteventm()
77 return sm_sigsafe_seteventm(intvl, func, arg);
87 sm_sigsafe_seteventm(intvl, func, arg) in sm_sigsafe_seteventm() argument
88 int intvl; in sm_sigsafe_seteventm()
103 if (intvl <= 0)
108 ival.tv_sec = intvl / 1000;
109 ival.tv_usec = (intvl - ival.tv_sec * 1000) * 10;
115 nowi = now + (time_t)(intvl / 1000);
175 intvl = SmEventQueue->ev_time - now;
[all …]
/freebsd-10-stable/usr.bin/systat/
Dkeyboard.c57 struct timeval last, intvl, now, tm; in keyboard() local
62 intvl.tv_sec = delay / 1000000; in keyboard()
63 intvl.tv_usec = delay % 1000000; in keyboard()
70 tm.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec; in keyboard()
71 tm.tv_usec = last.tv_usec + intvl.tv_usec - now.tv_usec; in keyboard()
104 intvl.tv_sec = delay / 1000000; in keyboard()
105 intvl.tv_usec = delay % 1000000; in keyboard()
/freebsd-10-stable/sbin/ping/
Dping.c221 struct timeval last, intvl; in main() local
806 intvl.tv_sec = 0; in main()
807 intvl.tv_usec = 10000; in main()
809 intvl.tv_sec = interval / 1000; in main()
810 intvl.tv_usec = interval % 1000 * 1000; in main()
825 timeout.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec; in main()
826 timeout.tv_usec = last.tv_usec + intvl.tv_usec - now.tv_usec; in main()
888 intvl.tv_usec = 0; in main()
890 intvl.tv_sec = 2 * tmax / 1000; in main()
891 if (!intvl.tv_sec) in main()
[all …]
/freebsd-10-stable/sbin/ping6/
Dping6.c290 struct timeval last, intvl; in main() local
448 intvl.tv_sec = (long)t; in main()
449 intvl.tv_usec = in main()
450 (long)((t - intvl.tv_sec) * 1000000); in main()
451 if (intvl.tv_sec < 0) in main()
454 if (intvl.tv_sec == 0 && intvl.tv_usec < 1) { in main()
456 intvl.tv_usec = 1; in main()
1076 intvl.tv_sec = 0; in main()
1077 intvl.tv_usec = 10000; in main()
1079 intvl.tv_sec = interval / 1000; in main()
[all …]
/freebsd-10-stable/contrib/gcc/
Dvalue-prof.c649 for (i = 0; i < histogram->hdata.intvl.steps; i++) in tree_mod_subtract_transform()
663 for (i = 0; i < histogram->hdata.intvl.steps; i++) in tree_mod_subtract_transform()
669 if (i == histogram->hdata.intvl.steps) in tree_mod_subtract_transform()
761 hist->hdata.intvl.int_start = 0; in tree_divmod_values_to_profile()
762 hist->hdata.intvl.steps = 2; in tree_divmod_values_to_profile()
806 hist->hdata.intvl.int_start, in tree_find_values_to_profile()
807 (hist->hdata.intvl.int_start in tree_find_values_to_profile()
808 + hist->hdata.intvl.steps - 1)); in tree_find_values_to_profile()
810 hist->n_counters = hist->hdata.intvl.steps + 2; in tree_find_values_to_profile()
Dtree-profile.c142 tree start = build_int_cst_type (integer_type_node, value->hdata.intvl.int_start); in tree_gen_interval_profiler()
143 tree steps = build_int_cst_type (unsigned_type_node, value->hdata.intvl.steps); in tree_gen_interval_profiler()
Dvalue-prof.h58 } intvl; /* Interval histogram data. */ member
/freebsd-10-stable/usr.sbin/timed/timed/
Dreadmsg.c72 readmsg(int type, char *machfrom, struct timeval *intvl, struct netinfo *netfrom) in readmsg() argument
168 timevaladd(&rtout, intvl); in readmsg()
/freebsd-10-stable/sys/dev/hyperv/vmbus/
Dvmbus_chan.c1287 sbintime_t intvl; in vmbus_chan_pollcfg_task() local
1293 intvl = SBT_1S / arg->poll_hz; in vmbus_chan_pollcfg_task()
1294 if (intvl == 0) in vmbus_chan_pollcfg_task()
1295 intvl = 1; in vmbus_chan_pollcfg_task()
1296 if (intvl == chan->ch_poll_intvl) { in vmbus_chan_pollcfg_task()
1300 chan->ch_poll_intvl = intvl; in vmbus_chan_pollcfg_task()
/freebsd-10-stable/contrib/tcsh/
Dsh.c2234 int intvl, cnt; in mailchk() local
2244 intvl = (cnt && number(*vp)) ? (--cnt, getn(*vp++)) : MAILINTVL; in mailchk()
2245 if (intvl < 1) in mailchk()
2246 intvl = 1; in mailchk()
2247 if (chktim + intvl > t) in mailchk()