Lines Matching refs:s
22 static void string_print(char **s, size_t n, size_t *chars_printed, in string_print() argument
26 CHECK_AND_PUT_CHAR(*s, n, *chars_printed, *str); in string_print()
31 static void unsigned_num_print(char **s, size_t n, size_t *chars_printed, in unsigned_num_print() argument
65 *(*s)++ = padc; in unsigned_num_print()
71 *(*s)++ = num_buf[i]; in unsigned_num_print()
76 *(*s)++ = padc; in unsigned_num_print()
104 int vsnprintf(char *s, size_t n, const char *fmt, va_list args) in vsnprintf() argument
119 *s = '\0'; in vsnprintf()
138 CHECK_AND_PUT_CHAR(s, n, chars_printed, '%'); in vsnprintf()
168 CHECK_AND_PUT_CHAR(s, n, chars_printed, in vsnprintf()
175 unsigned_num_print(&s, n, &chars_printed, in vsnprintf()
180 string_print(&s, n, &chars_printed, str); in vsnprintf()
184 unsigned_num_print(&s, n, &chars_printed, in vsnprintf()
190 string_print(&s, n, &chars_printed, "0x"); in vsnprintf()
193 unsigned_num_print(&s, n, &chars_printed, in vsnprintf()
200 unsigned_num_print(&s, n, &chars_printed, in vsnprintf()
216 CHECK_AND_PUT_CHAR(s, n, chars_printed, *fmt); in vsnprintf()
222 *s = '\0'; in vsnprintf()
249 int snprintf(char *s, size_t n, const char *fmt, ...) in snprintf() argument
255 count = vsnprintf(s, n, fmt, all_args); in snprintf()