Home
last modified time | relevance | path

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

/PHP-8.1/main/
H A Dsnprintf.c212 bool * is_negative, char *buf_end, size_t *len) in ap_php_conv_10() argument
219 *is_negative = false; in ap_php_conv_10()
221 *is_negative = (num < 0); in ap_php_conv_10()
232 if (*is_negative) { in ap_php_conv_10()
281 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative); in php_conv_fp()
292 *is_negative = false; in php_conv_fp()
511 bool is_negative; in format_converter() local
745 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter()
750 if (is_negative) { in format_converter()
886 &is_negative, &num_buf[1], &s_len); in format_converter()
[all …]
H A Dsnprintf.h80 bool add_dp, int precision, char dec_point, bool * is_negative, char *buf, size_t *len);
131 bool * is_negative, char *buf_end, size_t *len);
H A Dspprintf.c221 bool is_negative; in xbuf_format_converter() local
452 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
457 if (is_negative) in xbuf_format_converter()
595 &is_negative, &num_buf[1], &s_len); in xbuf_format_converter()
596 if (is_negative) in xbuf_format_converter()
/PHP-8.1/ext/standard/
H A Dformatted_print.c228 bool is_negative = false; in php_sprintf_appenddouble() local
245 is_negative = (number<0); in php_sprintf_appenddouble()
247 alignment, 3, is_negative, 0, always_sign); in php_sprintf_appenddouble()
252 is_negative = (number<0); in php_sprintf_appenddouble()
254 alignment, 3, is_negative, 0, always_sign); in php_sprintf_appenddouble()
270 &is_negative, &num_buf[1], &s_len); in php_sprintf_appenddouble()
271 if (is_negative) { in php_sprintf_appenddouble()
303 is_negative = 0; in php_sprintf_appenddouble()
305 is_negative = 1; in php_sprintf_appenddouble()
318 alignment, s_len, is_negative, 0, always_sign); in php_sprintf_appenddouble()
H A Dmath.c1022 int is_negative=0; in _php_math_number_format_ex() local
1025 is_negative = 1; in _php_math_number_format_ex()
1039 if (is_negative && d == 0) { in _php_math_number_format_ex()
1040 is_negative = 0; in _php_math_number_format_ex()
1074 if (is_negative) { in _php_math_number_format_ex()
1121 if (is_negative) { in _php_math_number_format_ex()
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_convert.c581 BOOL is_negative = FALSE; in convert_glob_parse_range() local
608 is_negative = TRUE; in convert_glob_parse_range()
651 if (!is_negative && !no_wildsep && separator_seen) in convert_glob_parse_range()
681 if (!is_negative && in convert_glob_parse_range()
/PHP-8.1/ext/date/lib/
H A Dparse_date.re1179 bool is_negative;
1187 is_negative = *(ptr + 1) == '-';
1194 if (is_negative) {
H A Dparse_date.c22391 bool is_negative; in scan() local
22399 is_negative = *(ptr + 1) == '-'; in scan()
22406 if (is_negative) { in scan()

Completed in 62 milliseconds