Home
last modified time | relevance | path

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

/freebsd/usr.bin/banner/
H A Dbanner.c1011 static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable
1057 nchars = strlen(message); in main()
1063 nchars = 0; in main()
1066 nchars = strlen(message); in main()
1069 if (message[nchars - 1] == '\n') in main()
1070 message[--nchars] = '\0'; in main()
1099 for (i = 0; i < nchars; i++) in main()
1113 for (i = 0; i < nchars; i++) { in main()
/freebsd/usr.bin/col/
H A Dcol.c423 int i, j, nchars, last_col, save, this_col, tot; in flush_line() local
426 nchars = l->l_line_len; in flush_line()
449 for (i = nchars, c = l->l_line; --i >= 0; c++) in flush_line()
462 for (i = nchars, c = l->l_line; --i >= 0; c++) in flush_line()
467 while (nchars > 0) { in flush_line()
472 } while (--nchars > 0 && this_col == endc->c_column); in flush_line()
477 if (nchars > 0 && in flush_line()
/freebsd/usr.bin/uniq/
H A Duniq.c318 long long nchars, nfields; in skip() local
326 for (nchars = numchars; nchars-- && *str != L'\0'; ++str) in skip()
/freebsd/contrib/flex/src/
H A Dscanopt.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()
H A Dflexdef.h1053 extern struct Buf *buf_strnappend(struct Buf *, const char *str, int nchars);
/freebsd/contrib/tcsh/
H A Dsh.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/contrib/libedit/
H A Dcommon.c749 int nchars = c_hpos(el); in ed_prev_line() local
774 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_prev_line()
792 int nchars = c_hpos(el); in ed_next_line() local
808 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_next_line()
/freebsd/contrib/less/
H A Dscreen.c2002 DWORD nchars; in win32_clear() local
2013 FillConsoleOutputCharacter(con_out, ' ', winsz, topleft, &nchars); in win32_clear()
2014 FillConsoleOutputAttribute(con_out, curr_attr, winsz, topleft, &nchars); in win32_clear()
2027 DWORD nchars; in win32_scroll_up() local
2071 &nchars); in win32_scroll_up()
2073 &nchars); in win32_scroll_up()
2372 DWORD nchars; in clear_eol()
2383 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol()
2385 scr.dwSize.X - cpos.X, cpos, &nchars); in clear_eol()
/freebsd/lib/libc/stdio/
H A Dvfwprintf.c282 size_t insize, nchars, nconv; in __mbsconv() local
297 insize = nchars = nconv = 0; in __mbsconv()
299 while (nchars != (size_t)prec) { in __mbsconv()
305 nchars++; in __mbsconv()
/freebsd/contrib/libucl/include/
H A 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()
H A Ducl.h1395 int (*ucl_emitter_append_character) (unsigned char c, size_t nchars, void *ud);
/freebsd/contrib/bc/src/
H A Dvm.c883 vm->nchars = 0;
897 vm->nchars = (c == '\n' ? 0 : vm->nchars + 1);
H A Dprogram.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()
H A Dnum.c2666 if (vm->nchars >= vm->line_len - 1 && vm->line_len) in bc_num_printNewline()
4410 vm->nchars = 0; in bc_num_printDebug()
4425 vm->nchars = 0; in bc_num_printDigs()
/freebsd/contrib/bc/include/
H A Dvm.h620 uint16_t nchars; member
/freebsd/contrib/ldns/
H A Dhost2str.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/contrib/libucl/doc/
H A Dapi.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…