msec
unsigned long long bps, msec;
msec = elapsed.tv_sec * 1000 + elapsed.tv_nsec / 1000000;
if (msec == 0)
msec = 1;
bps = st.bytes * 1000 / msec;
int res, i, j, msec = -1, nfds;
msec = tv->tv_sec * 1000 + (tv->tv_usec + 999) / 1000;
res = poll(pop->event_set, nfds, msec);
msec(start, end));
int edns_opt_list_append_keepalive(struct edns_option** list, int msec,
data[0] = (uint8_t)((msec >> 8) & 0xff);
data[1] = (uint8_t)(msec & 0xff);
int edns_opt_list_append_keepalive(struct edns_option** list, int msec,
comm_point_start_listening(struct comm_point* c, int newfd, int msec)
c->fd==-1?newfd:c->fd, msec);
if(msec != -1 && msec != 0) {
c->timeout->tv_sec = msec/1000;
c->timeout->tv_usec = (msec%1000)*1000;
if(msec == 0 || !c->timeout) {
if(ub_event_add(c->ev->ev, msec==0?NULL:c->timeout) != 0) {
void comm_point_start_listening(struct comm_point* c, int newfd, int msec);
int msec = -1;
msec = t->tv_sec*1000 + t->tv_usec/1000;
pret = poll(&fds, 1, msec);
int tube_wait_timeout(struct tube* tube, int msec)
ret = poll(&fds, 1, msec);
int tube_wait_timeout(struct tube* tube, int msec)
msec /* wait for timeout */,
int tube_wait_timeout(struct tube* tube, int msec);
aic_timer_reset(aic_timer_t *timer, u_int msec, ahd_callback_t *func,
nticks = msec;
aic_scb_timer_reset(struct scb *scb, u_int msec)
nticks = msec;
dwhdmi_phy_wait_i2c_done(struct dwhdmi_softc *sc, int msec)
msec -= 10;
if (msec <= 0)
uint8_t msec;
msec = 4;
if (msec-- == 0) {
iavf_arq_wait(struct iavf_softc *sc, int msec)
timeout_add_msec(&sc->sc_admin_timeout, msec);
unsigned int msec)
for (i = 0; i < msec; i++) {
unsigned int slot, unsigned int msec)
return (mcx_cmdq_poll(sc, cqe, msec));
"mcxcmd", msec * 1000);
int msec = SCARG(uap, timeout);
if (msec != INFTIM) {
if (msec < 0)
ts.tv_sec = msec / 1000;
ts.tv_nsec = (msec - (ts.tv_sec * 1000)) * 1000000;
int msec;
TCPT_RANGESET(msec, t * tcp_backoff[tp->t_rxtshift],
TCP_TIMER_ARM(tp, TCPT_PERSIST, msec);
mandoc_asprintf(&cp, "%s(%s)", man->title, man->msec);
assert(man->msec);
mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
if (man->msec == NULL)
mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
assert(meta->msec != NULL);
mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec);
assert(meta->msec);
mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec);
man->meta.msec = mandoc_strdup("");
free(man->meta.msec);
man->meta.msec = man->meta.os = NULL;
man->meta.msec = mandoc_strdup(n->string);
man->meta.msec = mandoc_strdup("");
else if ('\0' != man->meta.msec[0] &&
(NULL != (p = mandoc_a2msec(man->meta.msec))))
mpage->sec = meta->msec;
if (*meta->msec != '\0' || *meta->title != '\0') {
mpage->sec = mandoc_strdup(meta->msec);
if (meta->arch != NULL && meta->msec != NULL)
meta->msec, meta->arch);
else if (meta->msec != NULL)
mandoc_asprintf(&cp, "%s(%s)", meta->title, meta->msec);
if (meta->msec == NULL)
mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec);
if (NULL == meta->msec)
meta->title, meta->msec);
mdoc->title, (mdoc->msec == NULL ? "" : mdoc->msec),
if (mdoc->msec != NULL) {
md_word(mdoc->msec);
if (mdoc->msec != NULL) {
md_word(mdoc->msec);
if (meta->msec == NULL)
mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec);
if (NULL == meta->msec)
meta->title, meta->msec);
n->child->type == ROFFT_TEXT && mdoc->meta.msec != NULL)
mandoc_xr_add(mdoc->meta.msec, n->child->string, -1, -1);
if (mdoc->meta.msec == NULL)
if (*mdoc->meta.msec == '4')
if (*mdoc->meta.msec == '2')
if (*mdoc->meta.msec == '3')
if (*mdoc->meta.msec == '9')
free(mdoc->meta.msec);
mdoc->meta.msec = NULL;
mdoc->meta.msec = mandoc_strdup(nn->string);
free(man->meta.msec);
char *msec; /* Manual section, usually a digit. */
if (meta->msec != NULL)
printf("sec = \"%s\"\n", meta->msec);
ttwait(int msec)
if ((poll(pfd, 1, msec)) == 0)
io_set_timeout(struct io *io, int msec)
io_debug("%s(%p, %d)", __func__, io, msec);
io->timeout = msec;
%type <v.number> yesno no optlist optlist_l option demotecount msec
msec : MSEC NUMBER {
| SPFDELAY msec {
| SPFHOLDTIME msec {
io_set_timeout(struct io *io, int msec)
io_debug("io_set_timeout(%p, %d)\n", io, msec);
io->timeout = msec;
int msec;
msec = dtio->reconnect_timeout;
if(msec == 0) {
dtio->reconnect_timeout = msec*2;
msec);
tv.tv_sec = msec/1000;
tv.tv_usec = (msec%1000)*1000;
static void dtio_reconnect_slow(struct dt_io_thread* dtio, int msec)
dtio->reconnect_timeout = msec;
int edns_opt_list_append_keepalive(struct edns_option** list, int msec,
data[0] = (uint8_t)((msec >> 8) & 0xff);
data[1] = (uint8_t)(msec & 0xff);
int edns_opt_list_append_keepalive(struct edns_option** list, int msec,
comm_point_start_listening(struct comm_point* c, int newfd, int msec)
c->fd==-1?newfd:c->fd, msec);
if(msec != -1 && msec != 0) {
c->timeout->tv_sec = msec/1000;
c->timeout->tv_usec = (msec%1000)*1000;
if(msec == 0 || !c->timeout) {
if(ub_event_add(c->ev->ev, msec==0?NULL:c->timeout) != 0) {
void comm_point_start_listening(struct comm_point* c, int newfd, int msec);
int msec = -1;
msec = t->tv_sec*1000 + t->tv_usec/1000;
pret = poll(&fds, 1, msec);
int tube_wait_timeout(struct tube* tube, int msec)
ret = poll(&fds, 1, msec);
int tube_wait_timeout(struct tube* tube, int msec)
msec /* wait for timeout */,
int tube_wait_timeout(struct tube* tube, int msec);