Home
last modified time | relevance | path

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

/busybox-1.35.0/shell/
Dshell_common.c42 int nchars; /* -n NUM */ in shell_builtin_read() local
68 nchars = 0; /* if != 0, -n is in effect */ in shell_builtin_read()
70 nchars = bb_strtou(params->opt_n, NULL, 10); in shell_builtin_read()
71 if (nchars < 0 || errno) in shell_builtin_read()
142 if (nchars || (read_flags & BUILTIN_READ_SILENT)) { in shell_builtin_read()
145 if (nchars) { in shell_builtin_read()
257 } while (--nchars); in shell_builtin_read()
/busybox-1.35.0/miscutils/
Dbc.c775 size_t nchars; member
5533 ++G.prog.nchars; in xc_program_printString()
5538 G.prog.nchars = SIZE_MAX; in xc_program_printString()
5544 ++G.prog.nchars; in xc_program_printString()
5550 if (G.prog.nchars == G.prog.len - 1) { in bc_num_printNewline()
5553 G.prog.nchars = 0; in bc_num_printNewline()
5562 G.prog.nchars += width; in dc_num_printChar()
5572 ++G.prog.nchars; in bc_num_printDigits()
5578 for (exp = 0; exp < width; pow /= 10, ++G.prog.nchars, ++exp) { in bc_num_printDigits()
5592 G.prog.nchars++; in bc_num_printHex()
[all …]