/openbsd-current/usr.bin/mandoc/ |
H A D | mandoc.c | 165 mandoc_normdate(struct roff_node *nch, struct roff_node *nbl) argument 172 if (nch == NULL) { 180 if (*nch->string == '\0') { 181 mandoc_msg(MANDOCERR_DATE_MISSING, nch->line, 182 nch->pos, "%s", roff_name[nbl->tok]); 185 if (strcmp(nch->string, "$" "Mdocdate$") == 0) 190 if (a2time(&t, "$" "Mdocdate: %b %d %Y $", nch->string) || 191 a2time(&t, "%b %d, %Y", nch->string)) { 194 mandoc_msg(MANDOCERR_DATE_FUTURE, nch->line, 195 nch [all...] |
H A D | mdoc_validate.c | 518 const struct roff_node *nch; local 524 nch = mdoc->last->last; 525 if (nch == NULL || nch->type != ROFFT_TEXT) 527 lc = strchr(nch->string, '\0') - 1; 528 if (lc < nch->string) 537 mandoc_msg(MANDOCERR_DELIM, nch->line, 538 nch->pos + (int)(lc - nch->string), "%s%s %s", roff_name[tok], 539 nch 545 const struct roff_node *nch; local 1067 struct roff_node *n, *nch; local 1092 struct roff_node *nch; /* The first child of the .Tg node. */ local 1236 struct roff_node *np, *nch; local 1300 struct roff_node *n, *nch; local 1517 struct roff_node *n, *nch; local 1547 struct roff_node *np, *nch; local 1695 struct roff_node *nbl, *nit, *nch; local 1833 struct roff_node *nbl, *nh, *nch, *nnext; local 2032 struct roff_node *nch; local 2119 struct roff_node *np, *nch, *next, *prev; local 2211 struct roff_node *n, *nch; local 2450 struct roff_node *nch; local 2567 struct roff_node *n, *nch; local 2588 struct roff_node *n, *nch; local 2806 struct roff_node *n, *nch; local [all...] |
H A D | mdoc_state.c | 209 struct roff_node *nch; local 212 for (nch = n->child; nch != NULL; nch = nch->next) 213 setsec(nch, sec);
|
H A D | man_validate.c | 553 struct roff_node *nch; local 555 if ((nch = n->child) == NULL) { 559 if (nch->next == NULL) { 561 n->line, n->pos, "MR %s", nch->string); 564 if (mandoc_xr_add(nch->next->string, nch->string, nch->line, nch->pos)) 565 mandoc_msg(MANDOCERR_XR_SELF, nch->line, nch [all...] |
H A D | mdoc_markdown.c | 1399 const struct roff_node *nch; local 1403 for (nch = n->child; nch != NULL; nch = nch->next) 1404 md_word(nch->string); 1407 for (nch = n->child; nch != NULL; nch = nch [all...] |
/openbsd-current/gnu/lib/libreadline/examples/ |
H A D | rl.c | 80 int opt, fd, nch; local 91 fd = nch = 0; 113 nch = atoi(optarg); 114 if (nch < 0) 140 if (nch > 0) 141 rl_num_chars_to_read = nch;
|
/openbsd-current/usr.bin/vi/common/ |
H A D | cut.h | 67 #define CBNAME(sp, cbp, nch) { \ 69 L__name = isupper(nch) ? tolower(nch) : (nch); \
|
H A D | exf.c | 740 u_long nlno, nch; local 864 rval = ex_writefp(sp, name, fp, fm, tm, &nlno, &nch, 0); 922 "%s: new file: %lu lines, %lu characters", p, nlno, nch); 930 len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch);
|
/openbsd-current/usr.bin/aucat/ |
H A D | dsp.c | 387 unsigned int nch; local 413 nch = p->nch; 437 for (c = nch; c > 0; c--) { 447 for (c = 0; c < nch; c++) 460 for (c = 0; c < nch; c++) { 468 for (c = 0; c < nch; c++) { 524 * initialize resampler with ibufsz/obufsz factor and "nch" channels 528 unsigned int oblksz, int nch) 550 p->nch 527 resamp_init(struct resamp *p, unsigned int iblksz, unsigned int oblksz, int nch) argument 684 enc_init(struct conv *p, struct aparams *par, int nch) argument 880 dec_init(struct conv *p, struct aparams *par, int nch) argument 921 int i, j, nch, istart, inext, onext, ostart, y, v; local 967 int i, j, nch, istart, inext, onext, ostart, v; local 1010 int inch, onch, nch; local [all...] |
H A D | dsp.h | 89 int nch; member in struct:resamp 99 int nch; member in struct:conv 107 int nch; member in struct:cmap
|
H A D | afile.h | 31 int nch; /* file channel count */ member in struct:afile
|
H A D | afile.c | 57 le16_t nch; member in struct:wav_fmt 91 be16_t nch; member in struct:aiff_comm::aiff_commbase 129 be32_t nch; member in struct:au_hdr 255 if (f->nch == 0 || f->nch > NCHAN_MAX) { 258 log_putu(f->nch); 327 f->nch = le16_get(&fmt.nch); 436 le16_set(&hdr.fmt.nch, f->nch); 866 afile_open(struct afile *f, char *path, int hdr, int flags, struct aparams *par, int rate, int nch) argument [all...] |
H A D | aucat.c | 147 allocbuf(int nfr, int nch, int bps) argument 151 if (nch < 0 || nch > NCHAN_MAX || bps < 0 || bps > 4) { 155 fsize = nch * bps; 224 int imin, int imax, int omin, int omax, int nch, 232 par, rate, nch)) { 237 s->imax = (imax != -1) ? imax : s->imin + s->afile.nch - 1; 239 s->omax = (omax != -1) ? omax : s->omin + s->afile.nch - 1; 250 log_putu(s->afile.nch); 307 s->bpf = s->afile.par.bps * s->afile.nch; 223 slot_new(char *path, int mode, struct aparams *par, int hdr, int imin, int imax, int omin, int omax, int nch, int rate, int dup, int vol, long long pos) argument 1410 long nch, off, cmin, cmax; local 1479 int dup, imin, imax, omin, omax, nch, off, rate, vol, bufsz, hdr, mode; local [all...] |
/openbsd-current/usr.bin/sndiod/ |
H A D | dsp.c | 317 unsigned int nch; local 343 nch = p->nch; 367 for (c = nch; c > 0; c--) { 377 for (c = 0; c < nch; c++) 390 for (c = 0; c < nch; c++) { 398 for (c = 0; c < nch; c++) { 454 * initialize resampler with ibufsz/obufsz factor and "nch" channels 458 unsigned int oblksz, int nch) 480 p->nch 457 resamp_init(struct resamp *p, unsigned int iblksz, unsigned int oblksz, int nch) argument 614 enc_init(struct conv *p, struct aparams *par, int nch) argument 707 dec_init(struct conv *p, struct aparams *par, int nch) argument 748 int i, j, nch, istart, inext, onext, ostart, y, v; local 794 int i, j, nch, istart, inext, onext, ostart, v; local 837 int inch, onch, nch; local [all...] |
H A D | dsp.h | 89 int nch; member in struct:resamp 99 int nch; member in struct:conv 107 int nch; member in struct:cmap
|
H A D | dev.c | 482 int icount, i, offs, vol, nch; local 525 nch = s->mix.cmap.nch; 531 offs += nch; 537 offs += nch; 557 icmax = i->opt->pmin + i->mix.nch - 1; 568 jcmax = j->opt->pmin + j->mix.nch - 1; 602 int i, vol, offs, nch; local 640 nch = s->sub.cmap.nch; [all...] |
H A D | dev.h | 67 int nch; /* number of play chans */ member in struct:slot::__anon64 79 int nch; /* number of rec chans */ member in struct:slot::__anon65
|
H A D | sock.c | 711 s->sub.nch = rchan; 722 log_putu(s->opt->rmin + s->sub.nch - 1); 732 s->mix.nch = pchan; 739 log_putu(s->opt->pmin + s->mix.nch - 1); 1132 log_puti(s->opt->pmin + s->mix.nch - 1); 1138 log_puti(s->opt->rmin + s->sub.nch - 1); 1242 m->u.par.pchan = htons(s->mix.nch); 1244 m->u.par.rchan = htons(s->sub.nch);
|
/openbsd-current/usr.bin/less/ |
H A D | decode.c | 712 int nch; local 732 nch = 0; 734 if (nch > 0) 736 usercmd[nch] = (char)c; 737 usercmd[nch+1] = '\0'; 738 nch++; 782 while (nch > 1) { 783 ungetcc(usercmd[--nch]);
|
/openbsd-current/lib/libsndio/ |
H A D | sioctl_sun.c | 45 int nch; /* channels in the level control */ member in struct:volume 123 vol->nch = dev.un.v.num_channels; 127 vol->nch, vol->mute_idx >= 0 ? "mute" : "no mute"); 187 if (vol->level_idx >= 0 && addr >= 0 && addr < vol->nch) { 195 ctrl.un.value.num_channels = vol->nch; 196 for (i = 0; i < vol->nch; i++) 208 if (vol->mute_idx >= 0 && addr >= 0 && addr < vol->nch) { 223 for (i = 0; i < vol->nch; i++) { 243 ctrl.un.value.num_channels = vol->nch; 254 for (i = 0; i < vol->nch; [all...] |
/openbsd-current/lib/libc/net/ |
H A D | res_comp.c | 352 int nch = *dn++; local 359 } else if (periodchar(nch) || nch == '\0') { 366 pch = ch, ch = nch;
|
/openbsd-current/sys/dev/usb/ |
H A D | uaudio.c | 221 unsigned int nch; member in struct:uaudio_softc::uaudio_unit 285 int bps, bits, nch; /* audio encoding */ member in struct:uaudio_softc::uaudio_alt 1202 if (!uaudio_getnum(p, 1, &u->nch)) 1288 u->nch = 0; 1334 if (!uaudio_getnum(&p, 1, &u->nch)) 1337 "in, nch = %d, term = 0x%x, assoc = %d\n", 1338 u->id, u->nch, u->term, assoc); 1364 u->nch = s->nch; 1366 "out, id = %d, nch 2406 unsigned int term, fmt, ctl, fmt_type, fmt_map, nch; local 2446 unsigned int type, bps, bits, nch, nrates, rate_min, rate_max, rates; local 4197 int i, nch, val, req_num; local 4266 int i, nch; local [all...] |
/openbsd-current/sys/dev/pv/ |
H A D | hyperv.c | 1033 struct hv_channel *ch, *nch; local 1035 nch = malloc(sizeof(*nch), M_DEVBUF, M_ZERO | M_NOWAIT); 1036 if (nch == NULL) { 1041 nch->ch_sc = sc; 1042 hv_guid_sprint(&co->co_chan.chm_chtype, nch->ch_ident, 1043 sizeof(nch->ch_ident)); 1050 nch->ch_flags |= CHF_BATCHED; 1052 KASSERT((((vaddr_t)&nch->ch_monprm) & 0x7) == 0); 1053 memset(&nch [all...] |
/openbsd-current/usr.bin/vi/ex/ |
H A D | ex_write.c | 268 u_long *nch, int silent) 283 *nch = 0; 357 *nch = ccnt; 267 ex_writefp(SCR *sp, char *name, FILE *fp, MARK *fm, MARK *tm, u_long *nlno, u_long *nch, int silent) argument
|
/openbsd-current/sbin/sysctl/ |
H A D | sysctl.c | 1805 static struct nchstats nch; local 1811 bzero(&nch, sizeof(struct nchstats)); 1824 if (sysctl(mib, 2, &nch, &size, NULL, 0) == -1) 1832 (void)printf("%llu\n", nch.ncs_goodhits); 1835 (void)printf("%llu\n", nch.ncs_neghits); 1838 (void)printf("%llu\n", nch.ncs_badhits); 1841 (void)printf("%llu\n", nch.ncs_falsehits); 1844 (void)printf("%llu\n", nch.ncs_miss); 1847 (void)printf("%llu\n", nch.ncs_long); 1850 (void)printf("%llu\n", nch [all...] |