Searched refs:min_width (Results 1 – 3 of 3) sorted by relevance
/PHP-8.2/main/ |
H A D | spprintf.c | 193 int min_width = 0; in xbuf_format_converter() local 266 STR_TO_DEC(fmt, min_width); in xbuf_format_converter() 269 min_width = va_arg(ap, int); in xbuf_format_converter() 272 if (min_width < 0) { in xbuf_format_converter() 274 min_width = -min_width; in xbuf_format_converter() 747 if (adjust_width && adjust == RIGHT && (size_t)min_width > s_len) { in xbuf_format_converter() 752 min_width--; in xbuf_format_converter() 754 PAD_CHAR(xbuf, pad_char, min_width - s_len, is_char); in xbuf_format_converter() 761 if (adjust_width && adjust == LEFT && (size_t)min_width > s_len) { in xbuf_format_converter() 762 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.2/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 15 milliseconds