Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 3 of 3) sorted by relevance

/busybox-1.35.0/libbb/
Dlineedit.c152 int maxsize; member
272 ssize_t len = mbstowcs(command_ps, src, S.maxsize - 1); in load_string()
279 while (src[i] && i < S.maxsize - 1) { in load_string()
287 static unsigned save_string(char *dst, unsigned maxsize) in save_string() argument
291 ssize_t len = wcstombs(dst, command_ps, maxsize - 1); in save_string()
300 maxsize--; in save_string()
301 while (dstpos < maxsize) { in save_string()
312 n = wcstombs(dst + dstpos, command_ps + n, maxsize - dstpos); in save_string()
322 if (dstpos == maxsize) in save_string()
386 safe_strncpy(command_ps, src, S.maxsize); in load_string()
[all …]
/busybox-1.35.0/networking/
Dtftp.c239 static int tftp_blksize_check(const char *blksize_str, int maxsize) in tftp_blksize_check() argument
247 || (blksize < 24) || (blksize > maxsize) in tftp_blksize_check()
/busybox-1.35.0/include/
Dlibbb.h1973 int read_line_input(line_input_t *st, const char *prompt, char *command, int maxsize) FAST_FUNC;
1980 int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC;
1981 #define read_line_input(state, prompt, command, maxsize) \ argument
1982 read_line_input(prompt, command, maxsize)