Home
last modified time | relevance | path

Searched refs:icnt (Results 1 – 7 of 7) sorted by relevance

/openbsd/usr.bin/aucat/
H A Daucat.c489 cnt = (*icnt < *ocnt) ? *icnt : *ocnt; in slot_getcnt()
490 *icnt = cnt; in slot_getcnt()
581 icnt = s->round; in slot_mix_badd()
584 if (icnt == 0) in slot_mix_badd()
625 ocnt = icnt; in rec_filt_resamp()
650 icnt = itodo; in slot_sub_bcopy()
652 icnt = s->skip; in slot_sub_bcopy()
653 s->skip -= icnt; in slot_sub_bcopy()
655 itodo -= icnt; in slot_sub_bcopy()
663 icnt = itodo; in slot_sub_bcopy()
[all …]
H A Ddsp.c361 resamp_getcnt(struct resamp *p, int *icnt, int *ocnt) in resamp_getcnt() argument
367 idiff = (long long)*icnt * p->oblksz; in resamp_getcnt()
372 *icnt = (odiff + p->diff) / p->oblksz; in resamp_getcnt()
385 resamp_do(struct resamp *p, adata_t *in, adata_t *out, int icnt, int ocnt) in resamp_do() argument
414 ifr = icnt; in resamp_do()
/openbsd/lib/libc/net/
H A Dgetifaddrs.c50 int icnt = 1; in getifaddrs() local
107 ++icnt; in getifaddrs()
127 ++icnt; in getifaddrs()
158 if (icnt + dcnt + ncnt == 1) { in getifaddrs()
163 data = malloc(sizeof(struct ifaddrs) * icnt + dcnt + ncnt); in getifaddrs()
170 data += sizeof(struct ifaddrs) * icnt; in getifaddrs()
173 memset(ifa, 0, sizeof(struct ifaddrs) * icnt); in getifaddrs()
/openbsd/games/hunt/hunt/
H A Dplayit.c58 static int icnt = 0; variable
61 #define GETCHR() (--icnt < 0 ? getchr() : *iptr++)
206 icnt = read(Socket, ibuf, sizeof ibuf); in getchr()
207 if (icnt <= 0) { in getchr()
211 icnt--; in getchr()
/openbsd/bin/csh/
H A Dglob.c616 int icnt, c; in backeval() local
625 icnt = 0; in backeval()
701 if (icnt == 0) { in backeval()
706 icnt = read(pvec[0], tibuf, BUFSIZ); in backeval()
707 while (icnt == -1 && errno == EINTR); in backeval()
708 if (icnt <= 0) { in backeval()
712 for (i = 0; i < icnt; i++) in backeval()
717 --icnt; in backeval()
/openbsd/usr.bin/sndiod/
H A Ddsp.c291 resamp_getcnt(struct resamp *p, int *icnt, int *ocnt) in resamp_getcnt() argument
297 idiff = (long long)*icnt * p->oblksz; in resamp_getcnt()
302 *icnt = (odiff + p->diff) / p->oblksz; in resamp_getcnt()
315 resamp_do(struct resamp *p, adata_t *in, adata_t *out, int icnt, int ocnt) in resamp_do() argument
344 ifr = icnt; in resamp_do()
/openbsd/sys/dev/isa/
H A Dwds.c198 wds_cmd(struct wds_softc *sc, u_int8_t *ibuf, int icnt) in wds_cmd() argument
206 while (icnt--) { in wds_cmd()