Searched refs:min_width (Results 1 – 3 of 3) sorted by relevance
/PHP-8.3/main/ |
H A D | spprintf.c | 186 int min_width = 0; in xbuf_format_converter() local 259 STR_TO_DEC(fmt, min_width); in xbuf_format_converter() 262 min_width = va_arg(ap, int); in xbuf_format_converter() 265 if (min_width < 0) { in xbuf_format_converter() 267 min_width = -min_width; in xbuf_format_converter() 740 if (adjust_width && adjust == RIGHT && (size_t)min_width > s_len) { in xbuf_format_converter() 745 min_width--; in xbuf_format_converter() 747 PAD_CHAR(xbuf, pad_char, min_width - s_len, is_char); in xbuf_format_converter() 754 if (adjust_width && adjust == LEFT && (size_t)min_width > s_len) { in xbuf_format_converter() 755 PAD_CHAR(xbuf, pad_char, min_width - s_len, is_char); in xbuf_format_converter()
|
H A D | snprintf.c | 483 int min_width = 0; in format_converter() local 559 STR_TO_DEC(fmt, min_width); in format_converter() 562 min_width = va_arg(ap, int); in format_converter() 565 if (min_width < 0) { in format_converter() 567 min_width = -min_width; in format_converter() 1041 if (adjust_width && adjust == RIGHT && (size_t)min_width > s_len) { in format_converter() 1046 min_width--; in format_converter() 1048 PAD(min_width, s_len, pad_char); in format_converter() 1058 if (adjust_width && adjust == LEFT && (size_t)min_width > s_len) in format_converter() 1059 PAD(min_width, s_len, pad_char); in format_converter()
|
/PHP-8.3/ext/standard/ |
H A D | formatted_print.c | 85 size_t min_width, size_t max_width, char padding, in php_sprintf_appendstring() argument 94 npad = (min_width < copy_len) ? 0 : min_width - copy_len; in php_sprintf_appendstring() 97 *buffer, *pos, ZSTR_LEN(*buffer), add, min_width, padding, alignment)); in php_sprintf_appendstring() 98 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
|
Completed in 14 milliseconds