| /freebsd-10-stable/contrib/sendmail/src/ |
| D | convtime.c | 123 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/ |
| D | clock.c | 64 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/ |
| D | keyboard.c | 57 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/ |
| D | ping.c | 221 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/ |
| D | ping6.c | 290 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/ |
| D | value-prof.c | 649 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()
|
| D | tree-profile.c | 142 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()
|
| D | value-prof.h | 58 } intvl; /* Interval histogram data. */ member
|
| /freebsd-10-stable/usr.sbin/timed/timed/ |
| D | readmsg.c | 72 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/ |
| D | vmbus_chan.c | 1287 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/ |
| D | sh.c | 2234 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()
|