/busybox-1.35.0/coreutils/ |
D | echo.c | 89 unsigned buflen; in echo_main() local 132 buflen = 0; in echo_main() 135 buflen += strlen(arg) + 1; in echo_main() 138 out = buffer = xmalloc(buflen + 1); /* +1 is needed for "no args" case */ in echo_main()
|
D | stty.c | 838 unsigned buflen; in wrapf() local 841 buflen = vsnprintf(buf, sizeof(buf), message, args); in wrapf() 845 if (!buflen || buflen >= sizeof(buf)) return; in wrapf() 850 if (G.current_col + buflen >= G.max_col) { in wrapf() 859 G.current_col += buflen; in wrapf() 860 if (buf[buflen-1] == '\n') in wrapf()
|
/busybox-1.35.0/libpwdgrp/ |
D | pwd_grp.c | 316 char *buffer, size_t buflen, in massage_data_for_r_func() argument 323 if (S.string_size > buflen) { in massage_data_for_r_func() 357 char *buffer, size_t buflen, in getXXnam_r() argument 367 return massage_data_for_r_func(db, buffer, buflen, result, buf); in getXXnam_r() 371 char *buffer, size_t buflen, in getpwnam_r() argument 379 return getXXnam_r(name, (0 << 2) + 0, buffer, buflen, result); in getpwnam_r() 382 int FAST_FUNC getspnam_r(const char *name, struct spwd *struct_buf, char *buffer, size_t buflen, in getspnam_r() argument 386 return getXXnam_r(name, (2 << 2) + 0, buffer, buflen, result); in getspnam_r() 393 static int FAST_FUNC getXXent_r(uintptr_t db_idx, char *buffer, size_t buflen, in getXXent_r() argument 410 return massage_data_for_r_func(db, buffer, buflen, result, buf); in getXXent_r() [all …]
|
/busybox-1.35.0/libbb/ |
D | xfuncs.c | 62 char* FAST_FUNC utoa_to_buf(unsigned n, char *buf, unsigned buflen) in utoa_to_buf() argument 66 if (buflen) { in utoa_to_buf() 83 if (--buflen == 0) in utoa_to_buf() 94 char* FAST_FUNC itoa_to_buf(int n, char *buf, unsigned buflen) in itoa_to_buf() argument 96 if (!buflen) in itoa_to_buf() 101 buflen--; in itoa_to_buf() 103 return utoa_to_buf((unsigned)n, buf, buflen); in itoa_to_buf()
|
D | platform.c | 211 int ttyname_r(int fd, char *buf, size_t buflen) in ttyname_r() argument 219 r = readlink(path, buf, buflen); in ttyname_r() 222 if (r >= buflen) in ttyname_r()
|
/busybox-1.35.0/util-linux/ |
D | cal.c | 90 static void blank_string(char *buf, size_t buflen); 335 static void blank_string(char *buf, size_t buflen) in blank_string() argument 337 memset(buf, ' ', buflen); in blank_string() 338 buf[buflen-1] = '\0'; in blank_string()
|
/busybox-1.35.0/networking/ |
D | dnsd.c | 383 unsigned buflen) in process_packet() argument 417 if (buflen < answb - buf) { in process_packet()
|
/busybox-1.35.0/procps/ |
D | mpstat.c | 549 unsigned buflen; in get_irqs_from_interrupts() local 572 buflen = INTERRUPTS_LINE + 16 * G.cpu_nr; in get_irqs_from_interrupts() 573 buf = xmalloc(buflen); in get_irqs_from_interrupts() 577 while (fgets(buf, buflen, fp)) { in get_irqs_from_interrupts() 591 while (fgets(buf, buflen, fp) in get_irqs_from_interrupts()
|
/busybox-1.35.0/include/ |
D | platform.h | 574 extern int ttyname_r(int fd, char *buf, size_t buflen);
|
D | libbb.h | 1088 char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) FAST_FUNC; 1089 char *itoa_to_buf(int n, char *buf, unsigned buflen) FAST_FUNC;
|
/busybox-1.35.0/runit/ |
D | svlogd.c | 226 #define buflen (G.buflen ) macro
|