Home
last modified time | relevance | path

Searched refs:nch (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/bsd/mdocml/dist/
H A Dmdoc_validate.c509 const struct roff_node *nch; in post_delim() local
515 nch = mdoc->last->last; in post_delim()
516 if (nch == NULL || nch->type != ROFFT_TEXT) in post_delim()
518 lc = strchr(nch->string, '\0') - 1; in post_delim()
519 if (lc < nch->string) in post_delim()
528 mandoc_msg(MANDOCERR_DELIM, nch->line, in post_delim()
529 nch->pos + (int)(lc - nch->string), "%s%s %s", roff_name[tok], in post_delim()
530 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim()
536 const struct roff_node *nch; in post_delim_nb() local
548 nch = mdoc->last->last; in post_delim_nb()
[all …]
H A Dmdoc_state.c207 struct roff_node *nch; in state_sh() local
229 for (nch = n->child; nch != NULL; nch = nch->next) in state_sh()
230 nch->sec = n->sec; in state_sh()
H A Dmdoc_markdown.c1382 const struct roff_node *nch; in md_pre_Mt() local
1386 for (nch = n->child; nch != NULL; nch = nch->next) in md_pre_Mt()
1387 md_word(nch->string); in md_pre_Mt()
1390 for (nch = n->child; nch != NULL; nch = nch->next) { in md_pre_Mt()
1391 md_uri(nch->string); in md_pre_Mt()
1392 if (nch->next != NULL) { in md_pre_Mt()
H A Dhtml.c339 const struct roff_node *nch; in html_make_id() local
344 for (nch = n->child; nch != NULL; nch = nch->next) in html_make_id()
345 if (nch->type != ROFFT_TEXT) in html_make_id()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/
H A Drl.c87 int opt, fd, nch; local
98 fd = nch = 0;
120 nch = atoi(optarg);
121 if (nch < 0)
147 if (nch > 0)
148 rl_num_chars_to_read = nch;
H A Drlevent.c101 int opt, fd, nch; local
112 fd = nch = 0;
134 nch = atoi(optarg);
135 if (nch < 0)
161 if (nch > 0)
162 rl_num_chars_to_read = nch;
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/
H A Drl.c87 int opt, fd, nch; local
98 fd = nch = 0;
120 nch = atoi(optarg);
121 if (nch < 0)
147 if (nch > 0)
148 rl_num_chars_to_read = nch;
H A Drlevent.c101 int opt, fd, nch; local
112 fd = nch = 0;
134 nch = atoi(optarg);
135 if (nch < 0)
161 if (nch > 0)
162 rl_num_chars_to_read = nch;
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DSAXParserFactory.cc356 int nch = from[i]; in decodeString() local
358 if (nch == '&' && i + 3 < len) in decodeString()
365 nch = '<'; in decodeString()
370 nch = '>'; in decodeString()
379 nch = '&'; in decodeString()
389 nch = '\''; in decodeString()
394 nch = '"'; in decodeString()
400 if (nch == '%' && i + 3 < len && from[i + 3] == '%') in decodeString()
409 nch = ch; in decodeString()
414 *to++ = (char) nch; in decodeString()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DSAXParserFactory.cc356 int nch = from[i]; in decodeString() local
358 if (nch == '&' && i + 3 < len) in decodeString()
365 nch = '<'; in decodeString()
370 nch = '>'; in decodeString()
379 nch = '&'; in decodeString()
389 nch = '\''; in decodeString()
394 nch = '"'; in decodeString()
400 if (nch == '%' && i + 3 < len && from[i + 3] == '%') in decodeString()
409 nch = ch; in decodeString()
414 *to++ = (char) nch; in decodeString()
/netbsd-src/external/bsd/nvi/dist/common/
H A Dcut.h67 #define CBNAME(sp, cbp, nch) { \ argument
69 L__name = ISUPPER((UCHAR_T)nch) ? TOLOWER((UCHAR_T)nch) : (nch);\
/netbsd-src/external/bsd/pcc/dist/pcc/f77/fcom/
H A Dmain.c58 LOCAL int nch = 0; variable
277 buff[nch++] = c; in prch()
278 if(nch == SZSHORT) in prch()
281 nch = 0; in prch()
326 while(nch>0 && n>0) in prspace()
365 nch = 0; in dodata()
/netbsd-src/external/bsd/libbind/dist/resolv/
H A Dres_comp.c162 int nch = *dn++; in res_hnok() local
169 } else if (periodchar(nch) || nch == '\0') { in res_hnok()
176 pch = ch, ch = nch; in res_hnok()
/netbsd-src/lib/libc/resolv/
H A Dres_comp.c178 int nch = *dn++; in res_hnok() local
185 } else if (periodchar(nch) || nch == '\0') { in res_hnok()
192 pch = ch, ch = nch; in res_hnok()
/netbsd-src/external/bsd/less/dist/
H A Ddecode.c917 int nch; in editchar() local
942 nch = 0; in editchar()
944 if (nch > 0) in editchar()
946 usercmd[nch] = c; in editchar()
947 usercmd[nch+1] = '\0'; in editchar()
948 nch++; in editchar()
950 } while (action == A_PREFIX && nch < MAX_CMDLEN); in editchar()
1008 while (nch > 1) in editchar()
1010 ungetcc(usercmd[--nch]); in editchar()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DBuiltinsX86_64.def27 TARGET_HEADER_BUILTIN(__mulh, "LLiLLiLLi", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
28 TARGET_HEADER_BUILTIN(__umulh, "ULLiULLiULLi", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
29 TARGET_HEADER_BUILTIN(_mul128, "LLiLLiLLiLLi*", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
30 TARGET_HEADER_BUILTIN(_umul128, "ULLiULLiULLiULLi*", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
33 TARGET_HEADER_BUILTIN(__shiftleft128, "ULLiULLiULLiUc", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
34 TARGET_HEADER_BUILTIN(__shiftright128, "ULLiULLiULLiUc", "nch", "intrin.h", ALL_MS_LANGUAGES, "")
/netbsd-src/sys/arch/x68k/dev/
H A Dslhci_intio.c74 bus_space_handle_t nch; in slhci_intio_match() local
107 BUS_SPACE_MAP_SHIFTED, &nch)) in slhci_intio_match()
111 bus_space_unmap(iot, nch, nc_size); in slhci_intio_match()
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/
H A Dtoken.c592 int ch, c2, i, nch; in fastscan() local
616 nch = *ifiles->curptr; in fastscan()
624 if (nch != '/' && nch != '*') { in fastscan()
659 if (nch == '?' && (ch = chktg())) in fastscan()
681 if (nch == '8' && ifiles->curptr[1] == '\"') { in fastscan()
688 if (nch == '\"' || nch == '\'') { in fastscan()
720 if (nch == '\n') { in fastscan()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/m16c/
H A Dorder.c402 int nch, k, i, nn, rary[4]; in storearg() local
432 for (sz = nch = i = 0; i < nn && i < 6; i++) { in storearg()
437 nch++; in storearg()
477 if (r0l || nch) { in storearg()
504 if (r0l || nch) { in storearg()
/netbsd-src/sys/dev/hyperv/
H A Dvmbus.c1073 vmbus_channel_add(struct vmbus_channel *nch) in vmbus_channel_add() argument
1075 struct vmbus_softc *sc = nch->ch_sc; in vmbus_channel_add()
1079 if (nch->ch_id == 0) { in vmbus_channel_add()
1082 } else if (nch->ch_id >= sc->sc_channel_max) { in vmbus_channel_add()
1084 nch->ch_id); in vmbus_channel_add()
1090 if (!memcmp(&ch->ch_type, &nch->ch_type, sizeof(ch->ch_type)) && in vmbus_channel_add()
1091 !memcmp(&ch->ch_inst, &nch->ch_inst, sizeof(ch->ch_inst))) in vmbus_channel_add()
1094 if (VMBUS_CHAN_ISPRIMARY(nch)) { in vmbus_channel_add()
1096 TAILQ_INSERT_TAIL(&sc->sc_prichans, nch, ch_prientry); in vmbus_channel_add()
1102 "duplicated primary channel%u\n", nch->ch_id); in vmbus_channel_add()
[all …]
/netbsd-src/sys/arch/hp300/dev/
H A Ddcm.c812 int nch = 0; in dcmreadbuf() local
855 nch++; in dcmreadbuf()
891 sc->sc_scheme.dis_char += nch; in dcmreadbuf()
894 dsp->rchars += nch; in dcmreadbuf()
895 if (nch <= DCMRBSIZE) in dcmreadbuf()
896 dsp->rsilo[nch]++; in dcmreadbuf()
1161 int unit, board, port, nch; in dcmstart() local
1206 nch = q_to_b(&tp->t_outq, buf, (head - next) & TX_MASK); in dcmstart()
1208 tch += nch; in dcmstart()
1212 printf("\thead %x tail %x nch %d\n", head, tail, nch); in dcmstart()
[all …]
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_write.c292 ex_writefp(SCR *sp, const char *name, FILE *fp, MARK *fm, MARK *tm, u_long *nlno, u_long *nch, int … in ex_writefp() argument
310 *nch = 0; in ex_writefp()
382 *nch = ccnt; in ex_writefp()
/netbsd-src/external/bsd/file/dist/src/
H A Dfsmagic.c119 ssize_t nch; in file_fsmagic() local
301 if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { in file_fsmagic()
317 buf[nch] = '\0'; /* readlink(2) does not do this */ in file_fsmagic()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dwinhello.c159 int nch; in to_utf16() local
166 if ((nch = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, NULL, 0)) < 1 || in to_utf16()
167 (size_t)nch > MAXCHARS) { in to_utf16()
168 fido_log_debug("%s: MultiByteToWideChar %d", __func__, nch); in to_utf16()
171 if ((utf16 = calloc((size_t)nch, sizeof(*utf16))) == NULL) { in to_utf16()
175 if (MultiByteToWideChar(CP_UTF8, 0, utf8, -1, utf16, nch) != nch) { in to_utf16()
/netbsd-src/sys/dev/pci/
H A Desm.c715 int i, nch; in esm_trigger_output() local
725 nch = 1; in esm_trigger_output()
771 nch++; in esm_trigger_output()
789 for (i = nch-1; i >= 0; i--) { in esm_trigger_output()
808 if (nch > 1) in esm_trigger_output()
832 int i, nch; in esm_trigger_input() local
841 nch = 1; in esm_trigger_input()
876 nch++; in esm_trigger_input()
901 for (i = 0; i < nch; i++) { in esm_trigger_input()
973 if (nch > 1) in esm_trigger_input()
[all …]

12