Searched refs:nchars (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/usr.bin/banner/
H A Dbanner.c1024 static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable
1070 nchars = strlen(message);
1076 nchars = 0;
1079 nchars = strlen(message);
1082 if (message[nchars - 1] == '\n')
1083 message[--nchars] = '\0';
1112 for (i = 0; i < nchars; i++)
1126 for (i = 0; i < nchars; i++) {
/freebsd-11-stable/contrib/binutils/gas/
H A Dfrags.c81 /* Try to augment current frag by nchars chars.
83 and begin a new frag. Unless the new frag has nchars chars available
87 frag_grow (unsigned int nchars)
89 if (obstack_room (&frchain_now->frch_obstack) < nchars)
100 if (nchars < 0x10000)
101 frchain_now->frch_obstack.chunk_size = 2 * nchars;
103 frchain_now->frch_obstack.chunk_size = nchars + 0x10000;
106 while ((n = obstack_room (&frchain_now->frch_obstack)) < nchars
107 && (unsigned long) frchain_now->frch_obstack.chunk_size > nchars)
114 if (obstack_room (&frchain_now->frch_obstack) < nchars)
84 frag_grow(unsigned int nchars) argument
185 frag_more(int nchars) argument
[all...]
H A Dfrags.h125 void frag_grow (unsigned int nchars);
126 char *frag_more (int nchars);
H A Dlisting.c637 unsigned int nchars; local
645 nchars = (LISTING_WORD_SIZE * 2 + 1) * listing_lhs_width;
651 for (idx = 0; idx < nchars; idx++)
671 while (src[cur] && idx < nchars)
689 for (; idx < nchars; idx++)
708 nchars = ((LISTING_WORD_SIZE * 2) + 1) * listing_lhs_width_second - 1;
714 while (src[cur] && idx < nchars)
/freebsd-11-stable/usr.bin/col/
H A Dcol.c430 int i, j, nchars, last_col, save, this_col, tot; local
433 nchars = l->l_line_len;
456 for (i = nchars, c = l->l_line; --i >= 0; c++)
469 for (i = nchars, c = l->l_line; --i >= 0; c++)
474 while (nchars > 0) {
479 } while (--nchars > 0 && this_col == endc->c_column);
484 if (nchars > 0 &&
/freebsd-11-stable/usr.bin/uniq/
H A Duniq.c300 int nchars, nfields; local
308 for (nchars = numchars; nchars-- && *str != L'\0'; ++str)
/freebsd-11-stable/contrib/groff/src/utils/hpftodit/
H A Dhpftodit.cpp230 uint32 nchars = 0; variable
359 if (nchars == 0)
597 for (i = 0; i < nchars; i++)
668 nchars = tag_info(charcode_tag).count;
669 char_table = new char_info[nchars];
673 for (i = 0; i < nchars; i++)
678 for (i = 0; i < nchars; i++)
683 for (i = 0; i < nchars; i++) {
691 for (i = 0; i < nchars; i++) {
699 for (i = 0; i < nchars;
[all...]
/freebsd-11-stable/contrib/flex/
H A Dscanopt.c426 int nwords = 0, nchars = 0, has_short = 0;
441 nchars += indent;
446 nchars+=fprintf(fp,", ");\
447 nchars+=fprintf(fp,"%s",s->options[i].opt_fmt);\
470 PRINT_SPACES (fp, desccol - nchars);
425 int nwords = 0, nchars = 0, has_short = 0; local
H A Dflexdef.h1117 PROTO ((struct Buf *, const char *str, int nchars));
/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Ddraw.c112 dw->dvi.cache.cache[0].nchars = 0;
197 if (dw->dvi.cache.cache[dw->dvi.cache.index].nchars != 0) {
201 dw->dvi.cache.cache[dw->dvi.cache.index].nchars = 0;
206 if (dw->dvi.cache.cache[dw->dvi.cache.index].nchars != 0) {
210 dw->dvi.cache.cache[dw->dvi.cache.index].nchars = 0;
219 if (text->nchars == 0) {
232 ++text->nchars;
/freebsd-11-stable/gnu/usr.bin/grep/
H A Ddfa.h273 int nchars; member in struct:mb_char_classes
H A Ddfa.c486 work_mbc->nchars = work_mbc->nranges = work_mbc->nch_classes = 0;
541 work_mbc->nchars + 2);
542 work_mbc->chars[work_mbc->nchars++] = L'[';
543 work_mbc->chars[work_mbc->nchars++] = delim;
645 work_mbc->nchars + 1);
646 work_mbc->chars[work_mbc->nchars++] = (wchar_t)wc;
2558 for (i = 0; i<work_mbc->nchars; i++)
/freebsd-11-stable/lib/libc/stdio/
H A Dvfwprintf.c288 size_t insize, nchars, nconv; local
303 insize = nchars = nconv = 0;
305 while (nchars != (size_t)prec) {
311 nchars++;
/freebsd-11-stable/contrib/tcsh/
H A Dsh.lex.c1558 wide_read(int fildes, Char *buf, size_t nchars, int use_fclens) argument
1565 if (nchars == 0)
1567 assert (nchars <= sizeof(cbuf) / sizeof(*cbuf));
1573 size_t len = nchars > partial ? nchars - partial : 1;
1584 while (i < partial && nchars != 0) {
1604 nchars--;
1609 } while (partial != 0 && nchars > 0);
/freebsd-11-stable/contrib/less/
H A Dscreen.c1951 DWORD nchars; local
1962 FillConsoleOutputCharacter(con_out, ' ', winsz, topleft, &nchars);
1963 FillConsoleOutputAttribute(con_out, curr_attr, winsz, topleft, &nchars);
1978 DWORD nchars; local
2022 &nchars);
2024 &nchars);
2332 DWORD nchars;
2343 scr.dwSize.X - cpos.X, cpos, &nchars);
2345 scr.dwSize.X - cpos.X, cpos, &nchars);
/freebsd-11-stable/contrib/libucl/include/
H A Ducl++.h54 append_char (unsigned char c, size_t nchars, void *ud) argument
58 out->append (nchars, (char)c);
60 return nchars;
H A Ducl.h1239 int (*ucl_emitter_append_character) (unsigned char c, size_t nchars, void *ud);
/freebsd-11-stable/lib/libedit/
H A Dcommon.c837 int nchars = c_hpos(el); local
862 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n';
880 int nchars = c_hpos(el); local
896 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n';
/freebsd-11-stable/release/picobsd/tinyware/login/
H A Dpico-login.c964 int fd, nchars; local
972 while ((nchars = read(fd, tbuf, sizeof(tbuf))) > 0 && !motdinterrupt)
973 (void)write(fileno(stdout), tbuf, nchars); local
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/
H A Dshelf.c82 int nchars; local
83 int nitems = sscanf(input, "%02x%n", &c, &nchars);
85 if (nitems != 1 || nchars != 2)
H A Dshelf2.c82 int nchars; local
83 int nitems = sscanf(input, "%02x%n", &c, &nchars);
85 if (nitems != 1 || nchars != 2)
/freebsd-11-stable/contrib/gcc/
H A Dprotoize.c554 int nchars = read (desc, ptr, left);
555 if (nchars < 0)
561 return nchars;
563 if (nchars == 0)
566 ptr = (char *) ptr + nchars;
567 left -= nchars;
550 int nchars = read (desc, ptr, left); local
H A Dc-common.c865 int nchars;
869 nchars = wide_flag ? length / wchar_bytes : length;
879 if (nchars - 1 > nchars_max)
886 nchars - 1, nchars_max, relevant_std);
905 i_type = build_index_type (build_int_cst (NULL_TREE, nchars - 1));
864 int nchars; local
/freebsd-11-stable/contrib/ldns/
H A Dhost2str.c1206 size_t nchars; local
1212 nchars = ldns_rdf_data(rdf)[0];
1213 if (nchars >= ldns_rdf_size(rdf) || /* should be rdf_size - 1 */
1214 nchars < 1) {
1218 while (nchars > 0) {
1224 nchars--;
/freebsd-11-stable/usr.bin/makewhatis/
H A Dmakewhatis.c216 * Ensure that there is enough room in the sbuf for nchars more characters.
219 sbuf_need(struct sbuf *sbuf, int nchars) argument
225 while (sbuf->end + nchars > sbuf->last) {

Completed in 365 milliseconds