Home
last modified time | relevance | path

Searched refs:nchars (Results 1 – 17 of 17) sorted by relevance

/freebsd-14-stable/usr.bin/banner/
HDbanner.c1024 static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable
1070 nchars = strlen(message); in main()
1076 nchars = 0; in main()
1079 nchars = strlen(message); in main()
1082 if (message[nchars - 1] == '\n') in main()
1083 message[--nchars] = '\0'; in main()
1112 for (i = 0; i < nchars; i++) in main()
1126 for (i = 0; i < nchars; i++) { in main()
/freebsd-14-stable/usr.bin/col/
HDcol.c436 int i, j, nchars, last_col, save, this_col, tot; in flush_line() local
439 nchars = l->l_line_len; in flush_line()
462 for (i = nchars, c = l->l_line; --i >= 0; c++) in flush_line()
475 for (i = nchars, c = l->l_line; --i >= 0; c++) in flush_line()
480 while (nchars > 0) { in flush_line()
485 } while (--nchars > 0 && this_col == endc->c_column); in flush_line()
490 if (nchars > 0 && in flush_line()
/freebsd-14-stable/usr.bin/uniq/
HDuniq.c331 long long nchars, nfields; in skip() local
339 for (nchars = numchars; nchars-- && *str != L'\0'; ++str) in skip()
/freebsd-14-stable/contrib/flex/src/
HDscanopt.c393 int nwords = 0, nchars = 0, has_short = 0; in scanopt_usage() local
408 nchars += indent; in scanopt_usage()
413 nchars+=fprintf(fp,", ");\ in scanopt_usage()
414 nchars+=fprintf(fp,"%s",s->options[i].opt_fmt);\ in scanopt_usage()
437 PRINT_SPACES (fp, desccol - nchars); in scanopt_usage()
HDflexdef.h1053 extern struct Buf *buf_strnappend(struct Buf *, const char *str, int nchars);
/freebsd-14-stable/contrib/tcsh/
HDsh.lex.c1563 wide_read(int fildes, Char *buf, size_t nchars, int use_fclens) in wide_read() argument
1570 if (nchars == 0) in wide_read()
1572 assert (nchars <= sizeof(cbuf) / sizeof(*cbuf)); in wide_read()
1578 size_t len = nchars > partial ? nchars - partial : 1; in wide_read()
1589 while (i < partial && nchars != 0) { in wide_read()
1609 nchars--; in wide_read()
1614 } while (partial != 0 && nchars > 0); in wide_read()
/freebsd-14-stable/contrib/libedit/
HDcommon.c750 int nchars = c_hpos(el); in ed_prev_line() local
775 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_prev_line()
793 int nchars = c_hpos(el); in ed_next_line() local
809 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_next_line()
/freebsd-14-stable/lib/libc/stdio/
HDvfwprintf.c287 size_t insize, nchars, nconv; in __mbsconv() local
302 insize = nchars = nconv = 0; in __mbsconv()
304 while (nchars != (size_t)prec) { in __mbsconv()
310 nchars++; in __mbsconv()
/freebsd-14-stable/contrib/less/
HDscreen.c2012 DWORD nchars; in win32_clear() local
2023 FillConsoleOutputCharacter(con_out, ' ', winsz, topleft, &nchars); in win32_clear()
2024 FillConsoleOutputAttribute(con_out, curr_attr, winsz, topleft, &nchars); in win32_clear()
2037 DWORD nchars; in win32_scroll_up() local
2081 &nchars); in win32_scroll_up()
2083 &nchars); in win32_scroll_up()
2382 DWORD nchars; in clear_eol()
2393 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol()
2395 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol()
/freebsd-14-stable/contrib/libucl/include/
Ducl++.h55 append_char (unsigned char c, size_t nchars, void *ud) in append_char() argument
59 out->append (nchars, (char)c); in append_char()
61 return nchars; in append_char()
HDucl.h1395 int (*ucl_emitter_append_character) (unsigned char c, size_t nchars, void *ud);
/freebsd-14-stable/contrib/bc/src/
HDvm.c904 vm->nchars = 0;
918 vm->nchars = (c == '\n' ? 0 : vm->nchars + 1);
HDprogram.c868 size_t len = vm->nchars + strlen(str); in bc_program_printChars()
881 vm->nchars = len > UINT16_MAX ? UINT16_MAX : (uint16_t) len; in bc_program_printChars()
925 vm->nchars = UINT16_MAX; in bc_program_printString()
HDnum.c2718 if (vm->nchars >= vm->line_len - 1 && vm->line_len) in bc_num_printNewline()
4452 vm->nchars = 0; in bc_num_printDebug()
4467 vm->nchars = 0; in bc_num_printDigs()
/freebsd-14-stable/contrib/bc/include/
HDvm.h620 uint16_t nchars; member
/freebsd-14-stable/contrib/ldns/
HDhost2str.c1226 size_t nchars; in ldns_rdf2buffer_str_tag() local
1232 nchars = ldns_rdf_data(rdf)[0]; in ldns_rdf2buffer_str_tag()
1233 if (nchars >= ldns_rdf_size(rdf) || /* should be rdf_size - 1 */ in ldns_rdf2buffer_str_tag()
1234 nchars < 1) { in ldns_rdf2buffer_str_tag()
1238 while (nchars > 0) { in ldns_rdf2buffer_str_tag()
1244 nchars--; in ldns_rdf2buffer_str_tag()
/freebsd-14-stable/contrib/libucl/doc/
HDapi.md259 int (*ucl_emitter_append_character) (unsigned char c, size_t nchars, void *ud);
273 - `ucl_emitter_append_character` - a function that is called to append `nchars` characters equal to…