lib/libc/net/res_comp.c
352
int nch = *dn++;
lib/libc/net/res_comp.c
359
} else if (periodchar(nch) || nch == '\0') {
lib/libc/net/res_comp.c
366
pch = ch, ch = nch;
lib/libc/regex/regcomp.c
674
if (nch(p, cs) == 1) { /* optimize singleton sets */
lib/libc/regex/regcomp.c
92
static int nch(struct parse *, cset *);
lib/libedit/tty.c
59
wint_t nch, och; /* Internal and termio rep of chars */
lib/libedit/tty.c
910
for (tp = tty_map; tp->nch != (wint_t)-1; tp++) {
lib/libedit/tty.c
911
new[0] = (wchar_t)t_n[tp->nch];
lib/libsndio/sioctl_sun.c
123
vol->nch = dev.un.v.num_channels;
lib/libsndio/sioctl_sun.c
127
vol->nch, vol->mute_idx >= 0 ? "mute" : "no mute");
lib/libsndio/sioctl_sun.c
187
if (vol->level_idx >= 0 && addr >= 0 && addr < vol->nch) {
lib/libsndio/sioctl_sun.c
195
ctrl.un.value.num_channels = vol->nch;
lib/libsndio/sioctl_sun.c
196
for (i = 0; i < vol->nch; i++)
lib/libsndio/sioctl_sun.c
208
if (vol->mute_idx >= 0 && addr >= 0 && addr < vol->nch) {
lib/libsndio/sioctl_sun.c
223
for (i = 0; i < vol->nch; i++) {
lib/libsndio/sioctl_sun.c
243
ctrl.un.value.num_channels = vol->nch;
lib/libsndio/sioctl_sun.c
254
for (i = 0; i < vol->nch; i++) {
lib/libsndio/sioctl_sun.c
277
for (i = 0; i < vol->nch; i++) {
lib/libsndio/sioctl_sun.c
296
ctrl.un.value.num_channels = vol->nch;
lib/libsndio/sioctl_sun.c
309
for (i = 0; i < vol->nch; i++) {
lib/libsndio/sioctl_sun.c
314
for (i = 0; i < vol->nch; i++) {
lib/libsndio/sioctl_sun.c
45
int nch; /* channels in the level control */
sbin/sysctl/sysctl.c
1802
static struct nchstats nch;
sbin/sysctl/sysctl.c
1808
bzero(&nch, sizeof(struct nchstats));
sbin/sysctl/sysctl.c
1821
if (sysctl(mib, 2, &nch, &size, NULL, 0) == -1)
sbin/sysctl/sysctl.c
1829
(void)printf("%llu\n", nch.ncs_goodhits);
sbin/sysctl/sysctl.c
1832
(void)printf("%llu\n", nch.ncs_neghits);
sbin/sysctl/sysctl.c
1835
(void)printf("%llu\n", nch.ncs_badhits);
sbin/sysctl/sysctl.c
1838
(void)printf("%llu\n", nch.ncs_falsehits);
sbin/sysctl/sysctl.c
1841
(void)printf("%llu\n", nch.ncs_miss);
sbin/sysctl/sysctl.c
1844
(void)printf("%llu\n", nch.ncs_long);
sbin/sysctl/sysctl.c
1847
(void)printf("%llu\n", nch.ncs_pass2);
sbin/sysctl/sysctl.c
1850
(void)printf("%llu\n", nch.ncs_2passes);
sbin/sysctl/sysctl.c
1853
(void)printf("%llu\n", nch.ncs_revhits);
sbin/sysctl/sysctl.c
1856
(void)printf("%llu\n", nch.ncs_revmiss);
sbin/sysctl/sysctl.c
1859
(void)printf("%llu\n", nch.ncs_dothits);
sbin/sysctl/sysctl.c
1862
(void)printf("%llu\n", nch.ncs_dotdothits);
sys/dev/audio.c
2319
vol->nch = dev->un.v.num_channels;
sys/dev/audio.c
2412
ctrl.un.value.num_channels = vol->nch;
sys/dev/audio.c
2418
for (i = 0; i < vol->nch; i++) {
sys/dev/audio.c
96
int nch; /* channels in the value control */
sys/dev/pv/hyperv.c
1033
struct hv_channel *ch, *nch;
sys/dev/pv/hyperv.c
1035
nch = malloc(sizeof(*nch), M_DEVBUF, M_ZERO | M_NOWAIT);
sys/dev/pv/hyperv.c
1036
if (nch == NULL) {
sys/dev/pv/hyperv.c
1041
nch->ch_sc = sc;
sys/dev/pv/hyperv.c
1042
hv_guid_sprint(&co->co_chan.chm_chtype, nch->ch_ident,
sys/dev/pv/hyperv.c
1043
sizeof(nch->ch_ident));
sys/dev/pv/hyperv.c
1050
nch->ch_flags |= CHF_BATCHED;
sys/dev/pv/hyperv.c
1052
KASSERT((((vaddr_t)&nch->ch_monprm) & 0x7) == 0);
sys/dev/pv/hyperv.c
1053
memset(&nch->ch_monprm, 0, sizeof(nch->ch_monprm));
sys/dev/pv/hyperv.c
1054
nch->ch_monprm.mp_connid = VMBUS_CONNID_EVENT;
sys/dev/pv/hyperv.c
1057
nch->ch_monprm.mp_connid = co->co_chan.chm_connid;
sys/dev/pv/hyperv.c
1060
nch->ch_mgroup = co->co_chan.chm_montrig / VMBUS_MONTRIG_LEN;
sys/dev/pv/hyperv.c
1061
nch->ch_mindex = co->co_chan.chm_montrig % VMBUS_MONTRIG_LEN;
sys/dev/pv/hyperv.c
1062
nch->ch_flags |= CHF_MONITOR;
sys/dev/pv/hyperv.c
1065
nch->ch_id = co->co_chan.chm_chanid;
sys/dev/pv/hyperv.c
1067
memcpy(&nch->ch_type, &co->co_chan.chm_chtype, sizeof(ch->ch_type));
sys/dev/pv/hyperv.c
1068
memcpy(&nch->ch_inst, &co->co_chan.chm_chinst, sizeof(ch->ch_inst));
sys/dev/pv/hyperv.c
1072
if (!memcmp(&ch->ch_type, &nch->ch_type, sizeof(ch->ch_type)) &&
sys/dev/pv/hyperv.c
1073
!memcmp(&ch->ch_inst, &nch->ch_inst, sizeof(ch->ch_inst)))
sys/dev/pv/hyperv.c
1079
sc->sc_dev.dv_xname, nch->ch_ident);
sys/dev/pv/hyperv.c
1081
free(nch, M_DEVBUF, sizeof(*nch));
sys/dev/pv/hyperv.c
1089
free(nch, M_DEVBUF, sizeof(*nch));
sys/dev/pv/hyperv.c
1093
nch->ch_state = HV_CHANSTATE_OFFERED;
sys/dev/pv/hyperv.c
1095
TAILQ_INSERT_TAIL(&sc->sc_channels, nch, ch_entry);
sys/dev/pv/hyperv.c
1099
printf("%s: channel %u: \"%s\"", sc->sc_dev.dv_xname, nch->ch_id,
sys/dev/pv/hyperv.c
1100
nch->ch_ident);
sys/dev/pv/hyperv.c
1101
if (nch->ch_flags & CHF_MONITOR)
sys/dev/usb/uaudio.c
1253
if (!uaudio_getnum(p, 1, &u->nch))
sys/dev/usb/uaudio.c
1339
u->nch = 0;
sys/dev/usb/uaudio.c
1386
if (!uaudio_getnum(&p, 1, &u->nch))
sys/dev/usb/uaudio.c
1390
u->id, u->nch, u->term, assoc);
sys/dev/usb/uaudio.c
1416
u->nch = s->nch;
sys/dev/usb/uaudio.c
1419
u->id, id, u->nch, u->term, assoc);
sys/dev/usb/uaudio.c
1426
DPRINTF("%02u: mixer, nch = %u:\n", u->id, u->nch);
sys/dev/usb/uaudio.c
1440
for (i = 0; i < s->nch; i++) {
sys/dev/usb/uaudio.c
1441
for (j = 0; j < u->nch; j++) {
sys/dev/usb/uaudio.c
1466
u->nch = u->src_list->nch;
sys/dev/usb/uaudio.c
1467
DPRINTF("%02u: selector, nch = %u\n", u->id, u->nch);
sys/dev/usb/uaudio.c
1476
u->nch = s->nch;
sys/dev/usb/uaudio.c
1487
u->id, id, u->nch, size);
sys/dev/usb/uaudio.c
1504
for (j = 0; j < u->nch; j++) {
sys/dev/usb/uaudio.c
1524
u->nch = s->nch;
sys/dev/usb/uaudio.c
1526
u->id, type, id, u->nch);
sys/dev/usb/uaudio.c
1537
u->id, type, u->nch);
sys/dev/usb/uaudio.c
1915
a->nch, a->bits, a->bps);
sys/dev/usb/uaudio.c
1930
p->palt ? p->palt->nch : 0,
sys/dev/usb/uaudio.c
1933
p->ralt ? p->ralt->nch : 0,
sys/dev/usb/uaudio.c
232
unsigned int nch;
sys/dev/usb/uaudio.c
2491
unsigned int term, fmt, ctl, fmt_type, fmt_map, nch;
sys/dev/usb/uaudio.c
2511
if (!uaudio_getnum(p, 1, &nch))
sys/dev/usb/uaudio.c
2513
a->nch = nch;
sys/dev/usb/uaudio.c
2531
unsigned int type, bps, bits, nch, nrates, rate_min, rate_max, rates;
sys/dev/usb/uaudio.c
2544
if (!uaudio_getnum(p, 1, &nch))
sys/dev/usb/uaudio.c
2574
a->nch = nch;
sys/dev/usb/uaudio.c
2633
a->nch = 0;
sys/dev/usb/uaudio.c
2706
if (a->nch > anext->nch)
sys/dev/usb/uaudio.c
2708
else if (a->nch == anext->nch) {
sys/dev/usb/uaudio.c
297
int bps, bits, nch; /* audio encoding */
sys/dev/usb/uaudio.c
3024
bpa = a->bps * a->nch;
sys/dev/usb/uaudio.c
3327
bpf = a->bps * a->nch;
sys/dev/usb/uaudio.c
3449
(sc->params->palt->nch * sc->params->palt->bps);
sys/dev/usb/uaudio.c
3617
bpf = a->bps * a->nch;
sys/dev/usb/uaudio.c
3716
bpf = a->bps * a->nch;
sys/dev/usb/uaudio.c
3763
(sc->params->ralt->nch * sc->params->ralt->bps);
sys/dev/usb/uaudio.c
3858
if (p->palt && p->palt->nch > pchan)
sys/dev/usb/uaudio.c
3859
pchan = p->palt->nch;
sys/dev/usb/uaudio.c
3860
if (p->ralt && p->ralt->nch > rchan)
sys/dev/usb/uaudio.c
3861
rchan = p->ralt->nch;
sys/dev/usb/uaudio.c
4111
if (p->palt->nch != ap->channels)
sys/dev/usb/uaudio.c
4115
if (p->ralt->nch != ar->channels)
sys/dev/usb/uaudio.c
4165
ap->channels = p->palt->nch;
sys/dev/usb/uaudio.c
4173
ar->channels = p->ralt->nch;
sys/dev/usb/uaudio.c
4318
int i, nch, val, req_num;
sys/dev/usb/uaudio.c
4350
nch = uaudio_mixer_nchan(m, NULL);
sys/dev/usb/uaudio.c
4351
ctl->un.value.num_channels = nch;
sys/dev/usb/uaudio.c
4352
for (i = 0; i < nch; i++) {
sys/dev/usb/uaudio.c
4387
int i, nch;
sys/dev/usb/uaudio.c
4409
nch = uaudio_mixer_nchan(m, NULL);
sys/dev/usb/uaudio.c
4410
ctl->un.value.num_channels = nch;
sys/dev/usb/uaudio.c
4411
for (i = 0; i < nch; i++) {
usr.bin/aucat/afile.c
129
be32_t nch;
usr.bin/aucat/afile.c
251
if (f->nch == 0 || f->nch > NCHAN_MAX) {
usr.bin/aucat/afile.c
252
logx(1, "%s: %u: unsupported number of channels", f->path, f->nch);
usr.bin/aucat/afile.c
306
f->nch = le16_get(&fmt.nch);
usr.bin/aucat/afile.c
408
le16_set(&hdr.fmt.nch, f->nch);
usr.bin/aucat/afile.c
410
le32_set(&hdr.fmt.byterate, f->rate * f->par.bps * f->nch);
usr.bin/aucat/afile.c
411
le16_set(&hdr.fmt.blkalign, f->par.bps * f->nch);
usr.bin/aucat/afile.c
441
f->nch = be16_get(&comm.base.nch);
usr.bin/aucat/afile.c
565
f->endpos = f->startpos + f->par.bps * f->nch * nfr;
usr.bin/aucat/afile.c
57
le16_t nch;
usr.bin/aucat/afile.c
588
bpf = f->nch * f->par.bps;
usr.bin/aucat/afile.c
597
be16_set(&hdr.comm.nch, f->nch);
usr.bin/aucat/afile.c
664
f->nch = be32_get(&hdr.nch);
usr.bin/aucat/afile.c
707
be32_set(&hdr.nch, f->nch);
usr.bin/aucat/afile.c
803
struct aparams *par, int rate, int nch)
usr.bin/aucat/afile.c
814
f->nch = nch;
usr.bin/aucat/afile.c
91
be16_t nch;
usr.bin/aucat/afile.h
31
int nch; /* file channel count */
usr.bin/aucat/aucat.c
1262
long nch, off, cmin, cmax;
usr.bin/aucat/aucat.c
1266
nch = strtol(s, &next, 10);
usr.bin/aucat/aucat.c
1272
cmin = nch;
usr.bin/aucat/aucat.c
1278
nch = cmax - cmin + 1;
usr.bin/aucat/aucat.c
1282
if (nch < 0 || nch >= NCHAN_MAX)
usr.bin/aucat/aucat.c
1287
*rnch = nch;
usr.bin/aucat/aucat.c
1324
int dup, imin, imax, omin, omax, nch, off, rate, vol, bufsz, hdr, mode;
usr.bin/aucat/aucat.c
1336
nch = 2;
usr.bin/aucat/aucat.c
1360
if (!opt_nch(optarg, &nch, &off))
usr.bin/aucat/aucat.c
1385
omax = off + nch - 1;
usr.bin/aucat/aucat.c
1389
nch, rate, dup, vol, pos))
usr.bin/aucat/aucat.c
1410
imax = off + nch - 1;
usr.bin/aucat/aucat.c
1414
nch, rate, dup, 0, pos))
usr.bin/aucat/aucat.c
146
allocbuf(int nfr, int nch, int bps)
usr.bin/aucat/aucat.c
151
if (nch < 0 || nch > NCHAN_MAX || bps < 0 || bps > 4) {
usr.bin/aucat/aucat.c
155
fsize = nch * bps;
usr.bin/aucat/aucat.c
208
s->afile.nch, s->imin, s->imax, s->omin, s->omax,
usr.bin/aucat/aucat.c
267
int imin, int imax, int omin, int omax, int nch,
usr.bin/aucat/aucat.c
276
par, rate, nch)) {
usr.bin/aucat/aucat.c
281
s->imax = (imax != -1) ? imax : s->imin + s->afile.nch - 1;
usr.bin/aucat/aucat.c
283
s->omax = (omax != -1) ? omax : s->omin + s->afile.nch - 1;
usr.bin/aucat/aucat.c
310
s->bpf = s->afile.par.bps * s->afile.nch;
usr.bin/aucat/aucat.c
327
0, s->afile.nch - 1, s->imin, s->imax,
usr.bin/aucat/aucat.c
331
dec_init(&s->conv, &s->afile.par, s->afile.nch);
usr.bin/aucat/aucat.c
332
s->convbuf = allocbuf(s->round, s->afile.nch, sizeof(adata_t));
usr.bin/aucat/aucat.c
336
s->afile.nch);
usr.bin/aucat/aucat.c
337
s->resampbuf = allocbuf(dev_round, s->afile.nch, sizeof(adata_t));
usr.bin/aucat/aucat.c
343
0, s->afile.nch - 1, s->omin, s->omax, s->dup);
usr.bin/aucat/aucat.c
346
s->afile.nch);
usr.bin/aucat/aucat.c
347
s->resampbuf = allocbuf(dev_round, s->afile.nch, sizeof(adata_t));
usr.bin/aucat/aucat.c
350
enc_init(&s->conv, &s->afile.par, s->afile.nch);
usr.bin/aucat/aucat.c
351
s->convbuf = allocbuf(s->round, s->afile.nch, sizeof(adata_t));
usr.bin/aucat/aucat.c
362
dev_round * s->afile.nch * sizeof(adata_t));
usr.bin/aucat/aucat.c
365
s->round * s->afile.nch * sizeof(adata_t));
usr.bin/aucat/aucat.c
368
bufsz * s->afile.nch * sizeof(adata_t));
usr.bin/aucat/dsp.c
1004
p->nch = nch;
usr.bin/aucat/dsp.c
1011
if (dup && nch > 0) {
usr.bin/aucat/dsp.c
1012
if (inch > nch)
usr.bin/aucat/dsp.c
1013
p->join = inch / nch;
usr.bin/aucat/dsp.c
1014
else if (onch > nch)
usr.bin/aucat/dsp.c
1015
p->expand = onch / nch;
usr.bin/aucat/dsp.c
1021
p->nch, p->join, p->nch, p->ostart, p->onext, p->istart, p->inext);
usr.bin/aucat/dsp.c
375
unsigned int nch;
usr.bin/aucat/dsp.c
401
nch = p->nch;
usr.bin/aucat/dsp.c
417
for (c = nch; c > 0; c--) {
usr.bin/aucat/dsp.c
427
for (c = 0; c < nch; c++)
usr.bin/aucat/dsp.c
440
for (c = 0; c < nch; c++) {
usr.bin/aucat/dsp.c
448
for (c = 0; c < nch; c++) {
usr.bin/aucat/dsp.c
504
unsigned int oblksz, int nch)
usr.bin/aucat/dsp.c
526
p->nch = nch;
usr.bin/aucat/dsp.c
578
for (f = todo * p->nch; f > 0; f--) {
usr.bin/aucat/dsp.c
631
for (f = todo * p->nch; f > 0; f--) {
usr.bin/aucat/dsp.c
646
enc_init(struct conv *p, struct aparams *par, int nch)
usr.bin/aucat/dsp.c
652
p->nch = nch;
usr.bin/aucat/dsp.c
675
(aparams_enctostr(par, enc_str), enc_str), p->nch);
usr.bin/aucat/dsp.c
716
for (f = todo * p->nch; f > 0; f--) {
usr.bin/aucat/dsp.c
792
for (f = todo * p->nch; f > 0; f--) {
usr.bin/aucat/dsp.c
821
for (f = todo * p->nch; f > 0; f--)
usr.bin/aucat/dsp.c
829
dec_init(struct conv *p, struct aparams *par, int nch)
usr.bin/aucat/dsp.c
836
p->nch = nch;
usr.bin/aucat/dsp.c
858
(aparams_enctostr(par, enc_str), enc_str), p->nch);
usr.bin/aucat/dsp.c
869
int i, j, nch, istart, inext, onext, ostart, y, v;
usr.bin/aucat/dsp.c
880
nch = p->nch;
usr.bin/aucat/dsp.c
889
for (j = nch; j > 0; j--) {
usr.bin/aucat/dsp.c
911
int i, j, nch, istart, inext, onext, ostart, v;
usr.bin/aucat/dsp.c
922
nch = p->nch;
usr.bin/aucat/dsp.c
931
for (j = nch; j > 0; j--) {
usr.bin/aucat/dsp.c
957
offs += p->nch;
usr.bin/aucat/dsp.c
962
offs += p->nch;
usr.bin/aucat/dsp.c
976
int inch, onch, nch;
usr.bin/aucat/dsp.c
996
nch = (inch < onch) ? inch : onch;
usr.bin/aucat/dsp.c
997
isubmax = isubmin + nch - 1;
usr.bin/aucat/dsp.c
998
osubmax = osubmin + nch - 1;
usr.bin/aucat/dsp.h
107
int nch;
usr.bin/aucat/dsp.h
89
int nch;
usr.bin/aucat/dsp.h
99
int nch;
usr.bin/less/decode.c
712
int nch;
usr.bin/less/decode.c
732
nch = 0;
usr.bin/less/decode.c
734
if (nch > 0)
usr.bin/less/decode.c
736
usercmd[nch] = (char)c;
usr.bin/less/decode.c
737
usercmd[nch+1] = '\0';
usr.bin/less/decode.c
738
nch++;
usr.bin/less/decode.c
782
while (nch > 1) {
usr.bin/less/decode.c
783
ungetcc(usercmd[--nch]);
usr.bin/mandoc/html.c
365
const struct roff_node *nch;
usr.bin/mandoc/html.c
380
for (nch = n->child; nch != NULL; nch = nch->next)
usr.bin/mandoc/html.c
381
if (nch->type != ROFFT_TEXT)
usr.bin/mandoc/html.c
809
struct roff_node *nch;
usr.bin/mandoc/html.c
824
if (href != NULL && (nch = n->child) != NULL) {
usr.bin/mandoc/html.c
828
nch = NULL;
usr.bin/mandoc/html.c
830
while (nch != NULL && nch->type == ROFFT_TEXT)
usr.bin/mandoc/html.c
831
nch = nch->next;
usr.bin/mandoc/html.c
832
if (nch == NULL)
usr.bin/mandoc/man_term.c
204
struct roff_node *nch;
usr.bin/mandoc/man_term.c
210
(nch = roff_node_child(n->body)) != NULL &&
usr.bin/mandoc/man_term.c
211
nch->type == ROFFT_TBL)
usr.bin/mandoc/man_validate.c
561
struct roff_node *nch;
usr.bin/mandoc/man_validate.c
563
if ((nch = n->child) == NULL) {
usr.bin/mandoc/man_validate.c
567
if (nch->next == NULL) {
usr.bin/mandoc/man_validate.c
569
n->line, n->pos, "MR %s", nch->string);
usr.bin/mandoc/man_validate.c
572
if (mandoc_xr_add(nch->next->string, nch->string, nch->line, nch->pos))
usr.bin/mandoc/man_validate.c
573
mandoc_msg(MANDOCERR_XR_SELF, nch->line, nch->pos,
usr.bin/mandoc/man_validate.c
574
"MR %s %s", nch->string, nch->next->string);
usr.bin/mandoc/man_validate.c
575
if ((nch = nch->next->next) == NULL || nch->next == NULL)
usr.bin/mandoc/man_validate.c
578
mandoc_msg(MANDOCERR_ARG_EXCESS, nch->next->line, nch->next->pos,
usr.bin/mandoc/man_validate.c
579
"MR ... %s", nch->next->string);
usr.bin/mandoc/man_validate.c
580
while (nch->next != NULL)
usr.bin/mandoc/man_validate.c
581
roff_node_delete(man, nch->next);
usr.bin/mandoc/mandoc.c
165
mandoc_normdate(struct roff_node *nch, struct roff_node *nbl)
usr.bin/mandoc/mandoc.c
172
if (nch == NULL) {
usr.bin/mandoc/mandoc.c
180
if (*nch->string == '\0') {
usr.bin/mandoc/mandoc.c
181
mandoc_msg(MANDOCERR_DATE_MISSING, nch->line,
usr.bin/mandoc/mandoc.c
182
nch->pos, "%s", roff_name[nbl->tok]);
usr.bin/mandoc/mandoc.c
185
if (strcmp(nch->string, "$" "Mdocdate$") == 0)
usr.bin/mandoc/mandoc.c
190
if (a2time(&t, "$" "Mdocdate: %b %d %Y $", nch->string) ||
usr.bin/mandoc/mandoc.c
191
a2time(&t, "%b %d, %Y", nch->string)) {
usr.bin/mandoc/mandoc.c
194
mandoc_msg(MANDOCERR_DATE_FUTURE, nch->line,
usr.bin/mandoc/mandoc.c
195
nch->pos, "%s %s", roff_name[nbl->tok], cp);
usr.bin/mandoc/mandoc.c
196
else if (*nch->string != '$' &&
usr.bin/mandoc/mandoc.c
197
strcmp(nch->string, cp) != 0)
usr.bin/mandoc/mandoc.c
198
mandoc_msg(MANDOCERR_DATE_NORM, nch->line,
usr.bin/mandoc/mandoc.c
199
nch->pos, "%s %s", roff_name[nbl->tok], cp);
usr.bin/mandoc/mandoc.c
205
if (a2time(&t, "%Y-%m-%d", nch->string) == 0)
usr.bin/mandoc/mandoc.c
206
mandoc_msg(MANDOCERR_DATE_BAD, nch->line, nch->pos,
usr.bin/mandoc/mandoc.c
207
"%s %s", roff_name[nbl->tok], nch->string);
usr.bin/mandoc/mandoc.c
209
mandoc_msg(MANDOCERR_DATE_FUTURE, nch->line, nch->pos,
usr.bin/mandoc/mandoc.c
210
"%s %s", roff_name[nbl->tok], nch->string);
usr.bin/mandoc/mandoc.c
212
mandoc_msg(MANDOCERR_DATE_LEGACY, nch->line, nch->pos,
usr.bin/mandoc/mandoc.c
213
"Dd %s", nch->string);
usr.bin/mandoc/mandoc.c
217
return mandoc_strdup(nch->string);
usr.bin/mandoc/mdoc_markdown.c
1408
const struct roff_node *nch;
usr.bin/mandoc/mdoc_markdown.c
1412
for (nch = n->child; nch != NULL; nch = nch->next)
usr.bin/mandoc/mdoc_markdown.c
1413
md_word(nch->string);
usr.bin/mandoc/mdoc_markdown.c
1416
for (nch = n->child; nch != NULL; nch = nch->next) {
usr.bin/mandoc/mdoc_markdown.c
1417
md_uri(nch->string);
usr.bin/mandoc/mdoc_markdown.c
1418
if (nch->next != NULL) {
usr.bin/mandoc/mdoc_state.c
209
struct roff_node *nch;
usr.bin/mandoc/mdoc_state.c
212
for (nch = n->child; nch != NULL; nch = nch->next)
usr.bin/mandoc/mdoc_state.c
213
setsec(nch, sec);
usr.bin/mandoc/mdoc_validate.c
1005
while (nch != NULL) {
usr.bin/mandoc/mdoc_validate.c
1008
mdoc->last = nch;
usr.bin/mandoc/mdoc_validate.c
1009
assert(nch->type == ROFFT_TEXT);
usr.bin/mandoc/mdoc_validate.c
1010
cp = nch->string;
usr.bin/mandoc/mdoc_validate.c
1013
nch = nch->next;
usr.bin/mandoc/mdoc_validate.c
1089
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
1093
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
1094
assert(nch->type == ROFFT_TEXT);
usr.bin/mandoc/mdoc_validate.c
1096
if ((p = mdoc_a2st(nch->string)) == NULL) {
usr.bin/mandoc/mdoc_validate.c
1098
nch->line, nch->pos, "St %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
1103
nch->flags |= NODE_NOPRT;
usr.bin/mandoc/mdoc_validate.c
1105
roff_word_alloc(mdoc, nch->line, nch->pos, p);
usr.bin/mandoc/mdoc_validate.c
1114
struct roff_node *nch; /* The first child of the .Tg node. */
usr.bin/mandoc/mdoc_validate.c
1131
nt = nch = n->child;
usr.bin/mandoc/mdoc_validate.c
1132
if (nch == NULL && nn != NULL && nn->child != NULL &&
usr.bin/mandoc/mdoc_validate.c
1149
if (nch != NULL && nch->next != NULL) {
usr.bin/mandoc/mdoc_validate.c
1150
mandoc_msg(MANDOCERR_ARG_EXCESS, nch->next->line,
usr.bin/mandoc/mdoc_validate.c
1151
nch->next->pos, "Tg ... %s", nch->next->string);
usr.bin/mandoc/mdoc_validate.c
1152
while (nch->next != NULL)
usr.bin/mandoc/mdoc_validate.c
1153
roff_node_delete(mdoc, nch->next);
usr.bin/mandoc/mdoc_validate.c
1258
struct roff_node *np, *nch;
usr.bin/mandoc/mdoc_validate.c
1274
nch = np->child;
usr.bin/mandoc/mdoc_validate.c
1276
if (nch == NULL) {
usr.bin/mandoc/mdoc_validate.c
1281
nch = nch->next;
usr.bin/mandoc/mdoc_validate.c
1283
if (nch != NULL)
usr.bin/mandoc/mdoc_validate.c
1285
nch->line, nch->pos, "Bf ... %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
1322
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
1327
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
1328
cp = nch->string;
usr.bin/mandoc/mdoc_validate.c
1342
mandoc_msg(MANDOCERR_FN_PAREN, nch->line, nch->pos + pos, "%s", cp);
usr.bin/mandoc/mdoc_validate.c
1539
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
1543
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
1552
if (nch != NULL && ((att = mdoc_a2att(nch->string)) == NULL))
usr.bin/mandoc/mdoc_validate.c
1554
nch->line, nch->pos, "At %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
1558
roff_word_alloc(mdoc, nch->line, nch->pos, att);
usr.bin/mandoc/mdoc_validate.c
1559
nch->flags |= NODE_NOPRT;
usr.bin/mandoc/mdoc_validate.c
1569
struct roff_node *np, *nch;
usr.bin/mandoc/mdoc_validate.c
1574
nch = np->child;
usr.bin/mandoc/mdoc_validate.c
1576
if (nch == NULL)
usr.bin/mandoc/mdoc_validate.c
1581
} else if (nch != NULL)
usr.bin/mandoc/mdoc_validate.c
1583
nch->line, nch->pos, "An ... %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
1717
struct roff_node *nbl, *nit, *nch;
usr.bin/mandoc/mdoc_validate.c
1751
if ((nch = nit->head->child) != NULL)
usr.bin/mandoc/mdoc_validate.c
1754
nch->type == ROFFT_TEXT ? nch->string :
usr.bin/mandoc/mdoc_validate.c
1755
roff_name[nch->tok]);
usr.bin/mandoc/mdoc_validate.c
1771
for (nch = nit->child; nch != NULL; nch = nch->next) {
usr.bin/mandoc/mdoc_validate.c
1772
if (nch->type != ROFFT_BODY)
usr.bin/mandoc/mdoc_validate.c
1774
if (i++ && nch->flags & NODE_LINE)
usr.bin/mandoc/mdoc_validate.c
1776
nch->line, nch->pos, "Ta");
usr.bin/mandoc/mdoc_validate.c
1855
struct roff_node *nbl, *nh, *nch, *nnext;
usr.bin/mandoc/mdoc_validate.c
1863
if ((nch = nh->child) == NULL)
usr.bin/mandoc/mdoc_validate.c
1866
nch->line, nch->pos, "Bl ... %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
1867
while (nch != NULL) {
usr.bin/mandoc/mdoc_validate.c
1868
roff_node_delete(mdoc, nch);
usr.bin/mandoc/mdoc_validate.c
1869
nch = nh->child;
usr.bin/mandoc/mdoc_validate.c
1898
for (nch = nh->child; nch != NULL; nch = nch->next)
usr.bin/mandoc/mdoc_validate.c
1906
for (nch = nh->child; nch != NULL; nch = nnext) {
usr.bin/mandoc/mdoc_validate.c
1907
argv->value[i++] = nch->string;
usr.bin/mandoc/mdoc_validate.c
1908
nch->string = NULL;
usr.bin/mandoc/mdoc_validate.c
1909
nnext = nch->next;
usr.bin/mandoc/mdoc_validate.c
1910
roff_node_delete(NULL, nch);
usr.bin/mandoc/mdoc_validate.c
2054
struct roff_node *nch;
usr.bin/mandoc/mdoc_validate.c
2056
nch = mdoc->last->child;
usr.bin/mandoc/mdoc_validate.c
2058
if (nch == NULL) {
usr.bin/mandoc/mdoc_validate.c
2063
assert(nch->type == ROFFT_TEXT);
usr.bin/mandoc/mdoc_validate.c
2065
if ( ! strcmp(nch->string, "on")) {
usr.bin/mandoc/mdoc_validate.c
2069
if ( ! strcmp(nch->string, "off")) {
usr.bin/mandoc/mdoc_validate.c
2074
mandoc_msg(MANDOCERR_SM_BAD, nch->line, nch->pos,
usr.bin/mandoc/mdoc_validate.c
2075
"%s %s", roff_name[mdoc->last->tok], nch->string);
usr.bin/mandoc/mdoc_validate.c
2076
roff_node_relink(mdoc, nch);
usr.bin/mandoc/mdoc_validate.c
2141
struct roff_node *np, *nch, *next, *prev;
usr.bin/mandoc/mdoc_validate.c
2161
for (nch = np->child->next; nch != NULL; nch = next) {
usr.bin/mandoc/mdoc_validate.c
2164
if (rsord[i] == nch->tok)
usr.bin/mandoc/mdoc_validate.c
2168
mandoc_msg(MANDOCERR_RS_BAD, nch->line, nch->pos,
usr.bin/mandoc/mdoc_validate.c
2169
"%s", roff_name[nch->tok]);
usr.bin/mandoc/mdoc_validate.c
2171
} else if (nch->tok == MDOC__J || nch->tok == MDOC__B)
usr.bin/mandoc/mdoc_validate.c
2181
if ((next = nch->next) != NULL)
usr.bin/mandoc/mdoc_validate.c
2182
next->prev = nch->prev;
usr.bin/mandoc/mdoc_validate.c
2184
if ((prev = nch->prev) != NULL)
usr.bin/mandoc/mdoc_validate.c
2185
prev->next = nch->next;
usr.bin/mandoc/mdoc_validate.c
2187
nch->prev = nch->next = NULL;
usr.bin/mandoc/mdoc_validate.c
2211
nch->prev = prev;
usr.bin/mandoc/mdoc_validate.c
2214
np->child->prev = nch;
usr.bin/mandoc/mdoc_validate.c
2215
nch->next = np->child;
usr.bin/mandoc/mdoc_validate.c
2216
np->child = nch;
usr.bin/mandoc/mdoc_validate.c
2219
prev->next->prev = nch;
usr.bin/mandoc/mdoc_validate.c
2220
nch->next = prev->next;
usr.bin/mandoc/mdoc_validate.c
2221
prev->next = nch;
usr.bin/mandoc/mdoc_validate.c
2233
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
2237
for (nch = n->child; nch != NULL; nch = nch->next) {
usr.bin/mandoc/mdoc_validate.c
2238
if (nch->type != ROFFT_TEXT)
usr.bin/mandoc/mdoc_validate.c
2240
cp = nch->string;
usr.bin/mandoc/mdoc_validate.c
2248
n->tag = mandoc_strdup(nch->string);
usr.bin/mandoc/mdoc_validate.c
2472
struct roff_node *nch;
usr.bin/mandoc/mdoc_validate.c
2493
(nch = mdoc->last->child) == NULL ? "" :
usr.bin/mandoc/mdoc_validate.c
2494
nch->type == ROFFT_TEXT ? nch->string :
usr.bin/mandoc/mdoc_validate.c
2495
roff_name[nch->tok]);
usr.bin/mandoc/mdoc_validate.c
2516
if ((nch = mdoc->last->child) == NULL ||
usr.bin/mandoc/mdoc_validate.c
2517
nch->type != ROFFT_TEXT || nch->next != NULL)
usr.bin/mandoc/mdoc_validate.c
2522
dist = similar(nch->string, *testsec);
usr.bin/mandoc/mdoc_validate.c
2529
mandoc_msg(MANDOCERR_SEC_TYPO, nch->line, nch->pos,
usr.bin/mandoc/mdoc_validate.c
2530
"Sh %s instead of %s", nch->string, goodsec);
usr.bin/mandoc/mdoc_validate.c
2589
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
2592
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
2593
if (nch->next == NULL) {
usr.bin/mandoc/mdoc_validate.c
2595
n->line, n->pos, "Xr %s", nch->string);
usr.bin/mandoc/mdoc_validate.c
2597
assert(nch->next == n->last);
usr.bin/mandoc/mdoc_validate.c
2598
if(mandoc_xr_add(nch->next->string, nch->string,
usr.bin/mandoc/mdoc_validate.c
2599
nch->line, nch->pos))
usr.bin/mandoc/mdoc_validate.c
2601
nch->line, nch->pos, "Xr %s %s",
usr.bin/mandoc/mdoc_validate.c
2602
nch->string, nch->next->string);
usr.bin/mandoc/mdoc_validate.c
2610
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
2625
if ((nch = n->child) != NULL &&
usr.bin/mandoc/mdoc_validate.c
2626
nch->type == ROFFT_TEXT &&
usr.bin/mandoc/mdoc_validate.c
2627
strcmp(nch->string, tag) == 0)
usr.bin/mandoc/mdoc_validate.c
2641
if ((nch = n->child) != NULL &&
usr.bin/mandoc/mdoc_validate.c
2642
(nch->tok == MDOC_Pp || nch->tok == ROFF_br ||
usr.bin/mandoc/mdoc_validate.c
2643
nch->tok == ROFF_sp)) {
usr.bin/mandoc/mdoc_validate.c
2644
mandoc_msg(MANDOCERR_PAR_SKIP, nch->line, nch->pos,
usr.bin/mandoc/mdoc_validate.c
2645
"%s after %s", roff_name[nch->tok],
usr.bin/mandoc/mdoc_validate.c
2647
roff_node_delete(mdoc, nch);
usr.bin/mandoc/mdoc_validate.c
2649
if ((nch = n->last) != NULL &&
usr.bin/mandoc/mdoc_validate.c
2650
(nch->tok == MDOC_Pp || nch->tok == ROFF_br)) {
usr.bin/mandoc/mdoc_validate.c
2651
mandoc_msg(MANDOCERR_PAR_SKIP, nch->line, nch->pos,
usr.bin/mandoc/mdoc_validate.c
2652
"%s at the end of %s", roff_name[nch->tok],
usr.bin/mandoc/mdoc_validate.c
2654
roff_node_delete(mdoc, nch);
usr.bin/mandoc/mdoc_validate.c
2826
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
2832
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
2834
if (nch != NULL) {
usr.bin/mandoc/mdoc_validate.c
2835
macro = !strcmp(nch->string, "Open") ? "Ox" :
usr.bin/mandoc/mdoc_validate.c
2836
!strcmp(nch->string, "Net") ? "Nx" :
usr.bin/mandoc/mdoc_validate.c
2837
!strcmp(nch->string, "Free") ? "Fx" :
usr.bin/mandoc/mdoc_validate.c
2838
!strcmp(nch->string, "DragonFly") ? "Dx" : NULL;
usr.bin/mandoc/mdoc_validate.c
2842
mdoc->last = nch;
usr.bin/mandoc/mdoc_validate.c
2843
nch = nch->next;
usr.bin/mandoc/mdoc_validate.c
2853
if (nch == NULL) {
usr.bin/mandoc/mdoc_validate.c
2873
*nch->string = (char)toupper((unsigned char)*nch->string);
usr.bin/mandoc/mdoc_validate.c
518
const struct roff_node *nch;
usr.bin/mandoc/mdoc_validate.c
524
nch = mdoc->last->last;
usr.bin/mandoc/mdoc_validate.c
525
if (nch == NULL || nch->type != ROFFT_TEXT)
usr.bin/mandoc/mdoc_validate.c
527
lc = strchr(nch->string, '\0') - 1;
usr.bin/mandoc/mdoc_validate.c
528
if (lc < nch->string)
usr.bin/mandoc/mdoc_validate.c
537
mandoc_msg(MANDOCERR_DELIM, nch->line,
usr.bin/mandoc/mdoc_validate.c
538
nch->pos + (int)(lc - nch->string), "%s%s %s", roff_name[tok],
usr.bin/mandoc/mdoc_validate.c
539
nch == mdoc->last->child ? "" : " ...", nch->string);
usr.bin/mandoc/mdoc_validate.c
545
const struct roff_node *nch;
usr.bin/mandoc/mdoc_validate.c
557
nch = mdoc->last->last;
usr.bin/mandoc/mdoc_validate.c
558
if (nch == NULL || nch->type != ROFFT_TEXT)
usr.bin/mandoc/mdoc_validate.c
560
lc = strchr(nch->string, '\0') - 1;
usr.bin/mandoc/mdoc_validate.c
561
if (lc <= nch->string)
usr.bin/mandoc/mdoc_validate.c
572
if (lc > nch->string + 1 && lc[-2] == '\\' &&
usr.bin/mandoc/mdoc_validate.c
579
for (cp = lc; cp >= nch->string; cp--)
usr.bin/mandoc/mdoc_validate.c
584
if (lc > nch->string + 1 && lc[-2] == '.' && lc[-1] == '.')
usr.bin/mandoc/mdoc_validate.c
598
for (cp = lc; cp >= nch->string; cp--)
usr.bin/mandoc/mdoc_validate.c
603
if (lc == nch->string + 1 && lc[-1] == '|')
usr.bin/mandoc/mdoc_validate.c
610
if (lc == nch->string + 1 && !isalnum((unsigned char)lc[-1]))
usr.bin/mandoc/mdoc_validate.c
617
for (cp = lc - 1; cp >= nch->string; cp--) {
usr.bin/mandoc/mdoc_validate.c
620
if (cp > nch->string && cp[-1] == ',')
usr.bin/mandoc/mdoc_validate.c
630
mandoc_msg(MANDOCERR_DELIM_NB, nch->line,
usr.bin/mandoc/mdoc_validate.c
631
nch->pos + (int)(lc - nch->string), "%s%s %s", roff_name[tok],
usr.bin/mandoc/mdoc_validate.c
632
nch == mdoc->last->child ? "" : " ...", nch->string);
usr.bin/mandoc/mdoc_validate.c
992
struct roff_node *n, *nch;
usr.bin/mandoc/mdoc_validate.c
998
nch = n->child;
usr.bin/mandoc/mdoc_validate.c
999
assert(nch->type == ROFFT_TEXT);
usr.bin/sndiod/dev.c
1268
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1269
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1276
dec_init(&s->mix.dec, &s->par, s->mix.nch);
usr.bin/sndiod/dev.c
1278
xmalloc(s->round * s->mix.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1282
s->mix.nch);
usr.bin/sndiod/dev.c
1284
xmalloc(d->round * s->mix.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1296
s->opt->rmin, s->opt->rmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1297
s->opt->rmin, s->opt->rmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1303
s->opt->pmin, s->opt->pmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1304
s->opt->pmin, s->opt->pmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1309
s->sub.nch);
usr.bin/sndiod/dev.c
1311
xmalloc(d->round * s->sub.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1314
enc_init(&s->sub.enc, &s->par, s->sub.nch);
usr.bin/sndiod/dev.c
1316
xmalloc(s->round * s->sub.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1327
d->round * s->sub.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1330
s->round * s->sub.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1333
s->appbufsz * s->sub.nch * sizeof(adata_t));
usr.bin/sndiod/dev.c
1345
s->mix.bpf = s->par.bps * s->mix.nch;
usr.bin/sndiod/dev.c
1350
s->sub.bpf = s->par.bps * s->sub.nch;
usr.bin/sndiod/dev.c
1413
s->mix.nch = s->opt->pmax - s->opt->pmin + 1;
usr.bin/sndiod/dev.c
1415
s->sub.nch = s->opt->rmax - s->opt->rmin + 1;
usr.bin/sndiod/dev.c
1564
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1565
s->opt->rmin, s->opt->rmin + s->sub.nch - 1), chans_str),
usr.bin/sndiod/dev.c
429
icmax = i->opt->pmin + i->mix.nch - 1;
usr.bin/sndiod/dev.c
440
jcmax = j->opt->pmin + j->mix.nch - 1;
usr.bin/sndiod/dev.h
68
int nch; /* number of play chans */
usr.bin/sndiod/dev.h
80
int nch; /* number of rec chans */
usr.bin/sndiod/dsp.c
306
unsigned int nch;
usr.bin/sndiod/dsp.c
332
nch = p->nch;
usr.bin/sndiod/dsp.c
348
for (c = nch; c > 0; c--) {
usr.bin/sndiod/dsp.c
358
for (c = 0; c < nch; c++)
usr.bin/sndiod/dsp.c
371
for (c = 0; c < nch; c++) {
usr.bin/sndiod/dsp.c
379
for (c = 0; c < nch; c++) {
usr.bin/sndiod/dsp.c
435
unsigned int oblksz, int nch)
usr.bin/sndiod/dsp.c
457
p->nch = nch;
usr.bin/sndiod/dsp.c
509
for (f = todo * p->nch; f > 0; f--) {
usr.bin/sndiod/dsp.c
562
for (f = todo * p->nch; f > 0; f--) {
usr.bin/sndiod/dsp.c
577
enc_init(struct conv *p, struct aparams *par, int nch)
usr.bin/sndiod/dsp.c
583
p->nch = nch;
usr.bin/sndiod/dsp.c
606
(aparams_enctostr(par, enc_str), enc_str), p->nch);
usr.bin/sndiod/dsp.c
647
for (f = todo * p->nch; f > 0; f--) {
usr.bin/sndiod/dsp.c
665
dec_init(struct conv *p, struct aparams *par, int nch)
usr.bin/sndiod/dsp.c
672
p->nch = nch;
usr.bin/sndiod/dsp.c
694
(aparams_enctostr(par, enc_str), enc_str), p->nch);
usr.bin/sndiod/dsp.c
705
int i, j, nch, istart, inext, onext, ostart, y, v;
usr.bin/sndiod/dsp.c
716
nch = p->nch;
usr.bin/sndiod/dsp.c
725
for (j = nch; j > 0; j--) {
usr.bin/sndiod/dsp.c
747
int i, j, nch, istart, inext, onext, ostart, v;
usr.bin/sndiod/dsp.c
758
nch = p->nch;
usr.bin/sndiod/dsp.c
767
for (j = nch; j > 0; j--) {
usr.bin/sndiod/dsp.c
793
offs += p->nch;
usr.bin/sndiod/dsp.c
798
offs += p->nch;
usr.bin/sndiod/dsp.c
812
int inch, onch, nch;
usr.bin/sndiod/dsp.c
832
nch = (inch < onch) ? inch : onch;
usr.bin/sndiod/dsp.c
833
isubmax = isubmin + nch - 1;
usr.bin/sndiod/dsp.c
834
osubmax = osubmin + nch - 1;
usr.bin/sndiod/dsp.c
840
p->nch = nch;
usr.bin/sndiod/dsp.c
847
if (dup && nch > 0) {
usr.bin/sndiod/dsp.c
848
if (inch > nch)
usr.bin/sndiod/dsp.c
849
p->join = inch / nch;
usr.bin/sndiod/dsp.c
850
else if (onch > nch)
usr.bin/sndiod/dsp.c
851
p->expand = onch / nch;
usr.bin/sndiod/dsp.c
857
p->nch, p->join, p->nch, p->ostart, p->onext, p->istart, p->inext);
usr.bin/sndiod/dsp.h
107
int nch;
usr.bin/sndiod/dsp.h
89
int nch;
usr.bin/sndiod/dsp.h
99
int nch;
usr.bin/sndiod/sock.c
631
s->sub.nch = rchan;
usr.bin/sndiod/sock.c
638
s->mix.nch = pchan;
usr.bin/sndiod/sock.c
950
enc_init(&conv, &s->par, s->mix.nch);
usr.bin/sndiod/sock.c
997
m->u.par.pchan = htons(s->mix.nch);
usr.bin/sndiod/sock.c
999
m->u.par.rchan = htons(s->sub.nch);
usr.bin/vi/common/cut.h
67
#define CBNAME(sp, cbp, nch) { \
usr.bin/vi/common/cut.h
69
L__name = isupper(nch) ? tolower(nch) : (nch); \
usr.bin/vi/common/exf.c
740
u_long nlno, nch;
usr.bin/vi/common/exf.c
864
rval = ex_writefp(sp, name, fp, fm, tm, &nlno, &nch, 0);
usr.bin/vi/common/exf.c
922
"%s: new file: %lu lines, %lu characters", p, nlno, nch);
usr.bin/vi/common/exf.c
930
len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch);
usr.bin/vi/ex/ex_write.c
268
u_long *nch, int silent)
usr.bin/vi/ex/ex_write.c
283
*nch = 0;
usr.bin/vi/ex/ex_write.c
357
*nch = ccnt;