Home
last modified time | relevance | path

Searched refs:wmax (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/lib/libedit/
Dtokenizer.c79 Char *wptr, *wmax; /* Space and limit on the word buffer */ in TYPE() local
138 tok->wmax = tok->wspace + WINCR; in TYPE()
397 if (tok->wptr >= tok->wmax - 4) { in FUN()
398 size_t size = tok->wmax - tok->wspace + WINCR; in FUN()
413 tok->wmax = s + size; in FUN()
/openbsd/src/usr.bin/sndiod/
Dsock.h31 unsigned int wmax; /* max bytes we're allowed to write */ member
Dsock.c214 f->wmax += s->round * s->sub.bpf; in sock_slot_flush()
216 logx(4, "%s%u: flush, wmax -> %d", s->name, s->unit, f->wmax); in sock_slot_flush()
310 f->wmax = f->rmax = 0; in sock_new()
894 f->wmax = 0; in sock_execmsg()
1219 if (f->slot != NULL && f->wmax > 0 && f->slot->sub.buf.used > 0) { in sock_buildmsg()
1225 if (size > f->wmax) in sock_buildmsg()
1226 size = f->wmax; in sock_buildmsg()
1235 f->wmax -= size; in sock_buildmsg()
1445 f->wmax = 0; in sock_write()