Searched refs:is_negative (Results 1 – 6 of 6) sorted by relevance
/PHP-7.2/main/ |
H A D | snprintf.c | 324 register bool_int * is_negative, char *buf_end, register size_t *len) in ap_php_conv_10() argument 331 *is_negative = FALSE; in ap_php_conv_10() 333 *is_negative = (num < 0); in ap_php_conv_10() 344 if (*is_negative) { in ap_php_conv_10() 393 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative); in php_conv_fp() 404 *is_negative = FALSE; in php_conv_fp() 635 bool_int is_negative; in format_converter() local 893 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter() 898 if (is_negative) { in format_converter() 1043 &is_negative, &num_buf[1], &s_len); in format_converter() [all …]
|
H A D | snprintf.h | 91 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len); 158 bool_int * is_negative, char *buf_end, size_t *len);
|
H A D | spprintf.c | 237 bool_int is_negative; in xbuf_format_converter() local 498 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter() 503 if (is_negative) in xbuf_format_converter() 650 &is_negative, &num_buf[1], &s_len); in xbuf_format_converter() 651 if (is_negative) in xbuf_format_converter()
|
/PHP-7.2/ext/standard/ |
H A D | formatted_print.c | 217 int is_negative = 0; in php_sprintf_appenddouble() local 236 is_negative = (number<0); in php_sprintf_appenddouble() 238 alignment, 3, is_negative, 0, always_sign); in php_sprintf_appenddouble() 243 is_negative = (number<0); in php_sprintf_appenddouble() 245 alignment, 3, is_negative, 0, always_sign); in php_sprintf_appenddouble() 263 &is_negative, &num_buf[1], &s_len); in php_sprintf_appenddouble() 264 if (is_negative) { in php_sprintf_appenddouble() 290 is_negative = 0; in php_sprintf_appenddouble() 292 is_negative = 1; in php_sprintf_appenddouble() 304 alignment, s_len, is_negative, 0, always_sign); in php_sprintf_appenddouble()
|
H A D | math.c | 1130 int is_negative=0; in _php_math_number_format_ex() local 1133 is_negative = 1; in _php_math_number_format_ex() 1147 if (is_negative && d == 0) { in _php_math_number_format_ex() 1148 is_negative = 0; in _php_math_number_format_ex() 1182 if (is_negative) { in _php_math_number_format_ex() 1229 if (is_negative) { in _php_math_number_format_ex()
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_out.c | 171 bool_int is_negative; in format_converter() local 418 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter() 423 if (is_negative) { in format_converter() 632 &is_negative, &num_buf[1], &s_len); in format_converter() 633 if (is_negative) in format_converter()
|
Completed in 23 milliseconds