/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_validate.c | 520 const struct roff_node *nch; in post_delim() local 526 nch = mdoc->last->last; in post_delim() 527 if (nch == NULL || nch->type != ROFFT_TEXT) in post_delim() 529 lc = strchr(nch->string, '\0') - 1; in post_delim() 530 if (lc < nch->string) in post_delim() 539 mandoc_msg(MANDOCERR_DELIM, nch->line, in post_delim() 540 nch->pos + (int)(lc - nch->string), "%s%s %s", roff_name[tok], in post_delim() 541 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim() 547 const struct roff_node *nch; in post_delim_nb() local 559 nch = mdoc->last->last; in post_delim_nb() [all …]
|
H A D | mandoc.c | 546 mandoc_normdate(struct roff_node *nch, struct roff_node *nbl) in mandoc_normdate() argument 553 if (nch == NULL) { in mandoc_normdate() 561 if (*nch->string == '\0') { in mandoc_normdate() 562 mandoc_msg(MANDOCERR_DATE_MISSING, nch->line, in mandoc_normdate() 563 nch->pos, "%s", roff_name[nbl->tok]); in mandoc_normdate() 566 if (strcmp(nch->string, "$" "Mdocdate$") == 0) in mandoc_normdate() 571 if (a2time(&t, "$" "Mdocdate: %b %d %Y $", nch->string) || in mandoc_normdate() 572 a2time(&t, "%b %d, %Y", nch->string)) { in mandoc_normdate() 575 mandoc_msg(MANDOCERR_DATE_FUTURE, nch->line, in mandoc_normdate() 576 nch->pos, "%s %s", roff_name[nbl->tok], cp); in mandoc_normdate() [all …]
|
H A D | mdoc_state.c | 210 struct roff_node *nch; in state_sh() local 232 for (nch = n->child; nch != NULL; nch = nch->next) in state_sh() 233 nch->sec = n->sec; in state_sh()
|
H A D | html.c | 364 const struct roff_node *nch; in html_make_id() local 379 for (nch = n->child; nch != NULL; nch = nch->next) in html_make_id() 380 if (nch->type != ROFFT_TEXT) in html_make_id() 802 struct roff_node *nch; in print_otag_id() local 817 if (href != NULL && (nch = n->child) != NULL) { in print_otag_id() 821 nch = NULL; in print_otag_id() 823 while (nch != NULL && nch->type == ROFFT_TEXT) in print_otag_id() 824 nch = nch->next; in print_otag_id() 825 if (nch == NULL) in print_otag_id()
|
H A D | mdoc_markdown.c | 1401 const struct roff_node *nch; in md_pre_Mt() local 1405 for (nch = n->child; nch != NULL; nch = nch->next) in md_pre_Mt() 1406 md_word(nch->string); in md_pre_Mt() 1409 for (nch = n->child; nch != NULL; nch = nch->next) { in md_pre_Mt() 1410 md_uri(nch->string); in md_pre_Mt() 1411 if (nch->next != NULL) { in md_pre_Mt()
|
H A D | man_term.c | 211 struct roff_node *nch; in print_bvspace() local 217 (nch = roff_node_child(n->body)) != NULL && in print_bvspace() 218 nch->type == ROFFT_TBL) in print_bvspace()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 699 nc_hash_t *nch; in dnlc_purge() local 711 for (nch = nc_hash; nch < &nc_hash[nc_hashsz]; nch++) { in dnlc_purge() 713 mutex_enter(&nch->hash_lock); in dnlc_purge() 714 ncp = nch->hash_next; in dnlc_purge() 715 while (ncp != (ncache_t *)nch) { in dnlc_purge() 729 mutex_exit(&nch->hash_lock); in dnlc_purge() 735 if (ncp != (ncache_t *)nch) { in dnlc_purge() 736 nch--; /* Do current hash chain again */ in dnlc_purge() 748 nc_hash_t *nch; in dnlc_purge_vp() local 764 for (nch = nc_hash; nch < &nc_hash[nc_hashsz]; nch++) { in dnlc_purge_vp() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi.c | 256 int nch, nbb, ncmp, i; in x86pi_enum_gentopo() local 294 for (nch = 0; nch < ch_count; nch++) { in x86pi_enum_gentopo() 298 ch_smbid = stypes[SMB_TYPE_CHASSIS].ids[nch].id; in x86pi_enum_gentopo() 304 if (nch == 0) in x86pi_enum_gentopo() 319 "%s: Failed to create chassis %d\n", f, nch); in x86pi_enum_gentopo() 322 stypes[SMB_TYPE_CHASSIS].ids[nch].node = chassis_node; in x86pi_enum_gentopo()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_comp.c | 177 int nch = *dn++; in res_hnok() local 184 } else if (periodchar(nch) || nch == '\0') { in res_hnok() 191 pch = ch, ch = nch; in res_hnok()
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_output.c | 42 int nch = eng->e_nchan; \ 70 } while (ch < nch); \ 171 int nch; in auimpl_output_mix() local 180 nch = sp->s_cnv_dst_nchan; in auimpl_output_mix() 187 for (int ch = 0; ch < nch; ch++) { in auimpl_output_mix() 204 ip += nch; in auimpl_output_mix() 211 sp->s_cnv_ptr += (nch * nfr); in auimpl_output_mix()
|
H A D | audio_input.c | 43 int nch = e->e_nchan; \ 70 op += nch; \ 79 } while (ch < nch); \
|
H A D | audio_format.c | 70 int ch, nch; in setup_src() local 72 nch = min(sch, tch); in setup_src() 74 ASSERT(nch <= AUDIO_MAX_CHANNELS); in setup_src() 81 for (ch = 0; ch < nch; ch++) { in setup_src()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 676 write_(int d, tchar *buf, int nch) in write_() argument 687 d, buf, nch); /* Hope printf() doesn't call write_() itself! */ in write_() 689 assert(nch * MB_CUR_MAX < sizeof (chbuf)); in write_() 690 i = nch; in write_() 718 d, buf, nch); /* Hope printf() doesn't call write_() itself! */ in write_() 720 assert(nch <= sizeof (chbuf)); in write_() 721 for (i = 0, t = buf, s = chbuf; i < nch; ++i) { in write_() 724 return (write(d, (char *)chbuf, nch)); in write_()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 125 void *nch; in get_server() local 133 nch = setnetconfig(); in get_server() 134 while (nc = getnetconfig(nch)) { in get_server() 147 (void) endnetconfig(nch); in get_server()
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 699 uint8_t nch; in audio810_attach() local 870 nch = 6; in audio810_attach() 872 nch = 4; in audio810_attach() 874 nch = 2; in audio810_attach() 877 statep->maxch = (uint8_t)min(nch, maxch); in audio810_attach()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regcomp.c | 1341 wint_t nch, *newwides; in CHadd() local 1356 if ((nch = towlower(ch)) < p->nc) in CHadd() 1357 cs->bmp[nch >> 3] |= 1 << (nch & 7); in CHadd() 1358 if ((nch = towupper(ch)) < p->nc) in CHadd() 1359 cs->bmp[nch >> 3] |= 1 << (nch & 7); in CHadd()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 243 nc_hash_t nch; /* kernel hash chain header */ in dnlc_load() local 258 if (mdb_vread(&nch, sizeof (nc_hash_t), head) == -1) { in dnlc_load() 265 nc_va = (uintptr_t)(nch.hash_next); in dnlc_load()
|