Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 8 of 8) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/argz/
Dbuf_findstr.c17 _buf_findstr(const char *str, char **buf, size_t *buf_len) in _buf_findstr() argument
22 for (i = 0; i < *buf_len; i++) in _buf_findstr()
31 *buf_len -= j; in _buf_findstr()
37 if (i == *buf_len) in _buf_findstr()
39 *buf += *buf_len; in _buf_findstr()
40 *buf_len = 0; in _buf_findstr()
Dargz_append.c17 size_t buf_len) in argz_append() argument
19 if (buf_len) in argz_append()
23 *argz_len += buf_len; in argz_append()
28 memcpy(*argz + last, buf, buf_len); in argz_append()
Dargz_replace.c27 size_t buf_len = *argz_len; in argz_replace() local
37 while(buf_len) in argz_replace()
39 if(_buf_findstr(str, &buf_iter, &buf_len)) in argz_replace()
52 buf_len = *argz_len; in argz_replace()
56 while(buf_len) in argz_replace()
58 if (_buf_findstr(str, &buf_iter, &buf_len)) in argz_replace()
Denvz_get.c21 size_t buf_len = envz_len; in envz_get() local
23 while(buf_len) in envz_get()
25 if (_buf_findstr(name, &buf_ptr, &buf_len)) in envz_get()
Denvz_entry.c21 size_t buf_len = envz_len; in envz_entry() local
23 while(buf_len) in envz_entry()
25 if (_buf_findstr(name, &buf_ptr, &buf_len)) in envz_entry()
Dbuf_findstr.h12 int _buf_findstr(const char *str, char **buf, size_t *buf_len);
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dvfprintf.c979 int buf_len; in vfprintf() local
1058 buf_len = 0; in vfprintf()
1061 buf_len = __ultoa_invert (x_s, buf, 10) - buf; in vfprintf()
1100 buf_len = 0; in vfprintf()
1103 buf_len = __ultoa_invert (x, buf, base) - buf; in vfprintf()
1107 int len = buf_len; in vfprintf()
1143 prec = buf_len; in vfprintf()
1171 while (prec > buf_len) { in vfprintf()
1185 while (buf_len) in vfprintf()
1186 my_putc (buf[--buf_len], stream); in vfprintf()
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dargz.h25 error_t argz_append (char **argz, size_t *argz_len, const char *buf, size_t buf_len);