| /freebsd/contrib/mandoc/ |
| H A D | mandoc.c | 170 mandoc_normdate(struct roff_node *nch, struct roff_node *nbl) in mandoc_normdate() argument 177 if (nch == NULL) { in mandoc_normdate() 185 if (*nch->string == '\0') { in mandoc_normdate() 186 mandoc_msg(MANDOCERR_DATE_MISSING, nch->line, in mandoc_normdate() 187 nch->pos, "%s", roff_name[nbl->tok]); in mandoc_normdate() 190 if (strcmp(nch->string, "$" "Mdocdate$") == 0) in mandoc_normdate() 195 if (a2time(&t, "$" "Mdocdate: %b %d %Y $", nch->string) || in mandoc_normdate() 196 a2time(&t, "%b %d, %Y", nch->string)) { in mandoc_normdate() 199 mandoc_msg(MANDOCERR_DATE_FUTURE, nch->line, in mandoc_normdate() 200 nch->pos, "%s %s", roff_name[nbl->tok], cp); in mandoc_normdate() [all …]
|
| 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 in post_delim() 547 const struct roff_node *nch; post_delim_nb() local 994 struct roff_node *n, *nch; post_lb() local 1103 struct roff_node *n, *nch; post_st() local 1128 struct roff_node *nch; /* The first child of the .Tg node. */ post_tg() local 1272 struct roff_node *np, *nch; post_bf() local 1336 struct roff_node *n, *nch; post_fname() local 1553 struct roff_node *n, *nch; post_at() local 1583 struct roff_node *np, *nch; post_an() local 1731 struct roff_node *nbl, *nit, *nch; post_it() local 1913 struct roff_node *nbl, *nh, *nch, *nnext; post_bl_head() local 2112 struct roff_node *nch; post_sm() local 2199 struct roff_node *np, *nch, *next, *prev; post_rs() local 2291 struct roff_node *n, *nch; post_hyph() local 2530 struct roff_node *nch; post_sh_head() local 2647 struct roff_node *n, *nch; post_xr() local 2668 struct roff_node *n, *nch; post_section() local 2886 struct roff_node *n, *nch; post_bx() local [all...] |
| H A D | man_validate.c | 563 struct roff_node *nch; in post_MR() 565 if ((nch = n->child) == NULL) { in post_MR() 569 if (nch->next == NULL) { in post_MR() 571 n->line, n->pos, "MR %s", nch->string); in post_MR() 574 if (mandoc_xr_add(nch->next->string, nch->string, nch->line, nch->pos)) in post_MR() 575 mandoc_msg(MANDOCERR_XR_SELF, nch->line, nch in post_MR() 555 struct roff_node *nch; post_MR() local [all...] |
| H A D | mdoc_state.c | 214 struct roff_node *nch; in setsec() local 217 for (nch = n->child; nch != NULL; nch = nch->next) in setsec() 218 setsec(nch, sec); in setsec()
|
| H A D | html.c | 367 const struct roff_node *nch; in html_make_id() local 382 for (nch = n->child; nch != NULL; nch = nch->next) in html_make_id() 383 if (nch->type != ROFFT_TEXT) in html_make_id() 811 struct roff_node *nch; in print_otag_id() local 826 if (href != NULL && (nch = n->child) != NULL) { in print_otag_id() 830 nch = NULL; in print_otag_id() 832 while (nch != NULL && nch->type == ROFFT_TEXT) in print_otag_id() 833 nch = nch->next; in print_otag_id() 834 if (nch == NULL) in print_otag_id()
|
| H A D | mdoc_markdown.c | 1410 const struct roff_node *nch; in md_pre_Mt() 1414 for (nch = n->child; nch != NULL; nch = nch->next) in md_pre_Mt() 1415 md_word(nch->string); in md_pre_Mt() 1418 for (nch = n->child; nch != NULL; nch = nch in md_pre_Mt() 1402 const struct roff_node *nch; md_pre_Mt() local [all...] |
| H A D | man_term.c | 205 struct roff_node *nch; in print_bvspace() 211 (nch = roff_node_child(n->body)) != NULL && in print_bvspace() 212 nch->type == ROFFT_TBL) in print_bvspace() 207 struct roff_node *nch; print_bvspace() local
|
| /freebsd/contrib/nvi/common/ |
| H A D | cut.h | 66 #define CBNAME(sp, cbp, nch) do { \ argument 68 L__name = isupper(nch) ? tolower(nch) : (nch); \
|
| H A D | options.c | 980 char nch, *np; in opts_save() local 1009 for (np = O_STR(sp, cnt); (nch = *np) != '\0'; ++np) { in opts_save() 1010 if (cmdskip(nch) || nch == '\\') in opts_save() 1012 (void)putc(nch, fp); in opts_save()
|
| H A D | exf.c | 746 u_long nlno, nch; local 903 rval = ex_writefp(sp, name, fp, fm, tm, &nlno, &nch, 0); 969 len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch); 975 len = snprintf(buf, sizeof(buf), msgstr, p, nlno, nch);
|
| /freebsd/lib/libc/resolv/ |
| H A D | res_comp.c | 157 int nch = *dn++; in res_hnok() local 164 } else if (periodchar(nch) || nch == '\0') { in res_hnok() 171 pch = ch, ch = nch; in res_hnok()
|
| /freebsd/contrib/less/ |
| H A D | decode.c | 1236 int nch; in editchar() local 1261 nch = 0; in editchar() 1263 if (nch > 0) in editchar() 1265 usercmd[nch] = c; in editchar() 1266 usercmd[nch+1] = '\0'; in editchar() 1267 nch++; in editchar() 1269 } while (action == A_PREFIX && nch < MAX_CMDLEN); in editchar() 1325 while (nch > 1) in editchar() 1327 ungetcc(usercmd[--nch]); in editchar()
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_write.c | 281 ex_writefp(SCR *sp, char *name, FILE *fp, MARK *fm, MARK *tm, u_long *nlno, u_long *nch, int silent) in ex_writefp() argument 296 *nch = 0; in ex_writefp() 367 *nch = ccnt; in ex_writefp()
|
| /freebsd/contrib/file/src/ |
| H A D | fsmagic.c | 113 ssize_t nch; in file_fsmagic() local 295 if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { in file_fsmagic() 311 buf[nch] = '\0'; /* readlink(2) does not do this */ in file_fsmagic()
|
| /freebsd/contrib/libfido2/src/ |
| H A D | winhello.c | 163 int nch; in to_utf16() local 170 if ((nch = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, NULL, 0)) < 1 || in to_utf16() 171 (size_t)nch > MAXCHARS) { in to_utf16() 172 fido_log_debug("%s: MultiByteToWideChar %d", __func__, nch); in to_utf16() 175 if ((utf16 = calloc((size_t)nch, sizeof(*utf16))) == NULL) { in to_utf16() 179 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { in to_utf16()
|
| /freebsd/usr.sbin/rtsold/ |
| H A D | rtsol.c | 795 int nch = *dn++; in res_hnok() local 802 } else if (periodchar(nch) || nch == '\0') { in res_hnok() 809 pch = ch, ch = nch; in res_hnok()
|
| /freebsd/lib/libc/regex/ |
| H A D | regcomp.c | 1643 wint_t nch, *newwides; local 1658 if ((nch = towlower(ch)) < NC) 1659 cs->bmp[nch >> 3] |= 1 << (nch & 7); 1660 if ((nch = towupper(ch)) < NC) 1661 cs->bmp[nch >> 3] |= 1 << (nch & 7);
|
| /freebsd/sbin/dhclient/ |
| H A D | dhclient.c | 2766 int nch = *dn++; in res_hnok() local 2773 } else if (periodchar(nch) || nch == '\0') { in res_hnok() 2780 pch = ch, ch = nch; in res_hnok() 2799 int nch = *srch++; in check_search() local 2806 } else if (periodchar(nch) || nch == '\0') { in check_search() 2816 while (whitechar(nch)) { in check_search() 2817 nch = *srch++; in check_search() 2819 if (nch != '\0') in check_search() 2823 ch = nch; in check_search()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | BuiltinsARM.def | 199 TARGET_HEADER_BUILTIN(__dmb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "") 200 TARGET_HEADER_BUILTIN(__dsb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "") 201 TARGET_HEADER_BUILTIN(__isb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "")
|
| H A D | BuiltinsAArch64.def | 90 TARGET_HEADER_BUILTIN(__dmb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "") 91 TARGET_HEADER_BUILTIN(__dsb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "") 92 TARGET_HEADER_BUILTIN(__isb, "vUi", "nch", ARMACLE_H, ALL_LANGUAGES, "")
|
| /freebsd/contrib/libedit/ |
| H A D | tty.c | 65 wint_t nch, och; /* Internal and termio rep of chars */ member 917 for (tp = tty_map; tp->nch != (wint_t)-1; tp++) { in tty_bind_char() 918 new[0] = (wchar_t)t_n[tp->nch]; in tty_bind_char()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | regcomp.c | 222 static int nch(struct parse *, cset *); 853 if (nch(p, cs) == 1) { /* optimize singleton sets */ in p_bracket() 1286 static int nch(struct parse *p, cset *cs) { in nch() function
|
| /freebsd/contrib/nvi/regex/ |
| H A D | regcomp.c | 103 static int nch(struct parse *p, cset *cs); 753 if (nch(p, cs) == 1) { /* optimize singleton sets */ in p_bracket() 1215 nch(struct parse *p, cset *cs) in nch() function
|