Home
last modified time | relevance | path

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

/php-src/main/
H A Dsnprintf.c214 bool * is_negative, char *buf_end, size_t *len) in ap_php_conv_10() argument
221 *is_negative = false; in ap_php_conv_10()
223 *is_negative = (num < 0); in ap_php_conv_10()
234 if (*is_negative) { in ap_php_conv_10()
283 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative); in php_conv_fp()
294 *is_negative = false; in php_conv_fp()
513 bool is_negative; in format_converter() local
747 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter()
752 if (is_negative) { in format_converter()
888 &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.c216 bool is_negative; in xbuf_format_converter() local
456 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
461 if (is_negative) in xbuf_format_converter()
599 &is_negative, &num_buf[1], &s_len); in xbuf_format_converter()
600 if (is_negative) in xbuf_format_converter()
/php-src/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.c1079 int is_negative = 0; in _php_math_number_format_ex() local
1082 is_negative = 1; in _php_math_number_format_ex()
1096 if (is_negative && d == 0) { in _php_math_number_format_ex()
1097 is_negative = 0; in _php_math_number_format_ex()
1131 if (is_negative) { in _php_math_number_format_ex()
1178 if (is_negative) { in _php_math_number_format_ex()
1201 int is_negative = 0; in _php_math_number_format_long() local
1216 is_negative = 1; in _php_math_number_format_long()
1242 is_negative = 0; in _php_math_number_format_long()
1254 reslen += is_negative; in _php_math_number_format_long()
[all …]
/php-src/Zend/
H A Dzend_ini.c641 bool is_negative = false; in zend_ini_parse_quantity_internal() local
645 is_negative = true; in zend_ini_parse_quantity_internal()
731 if (is_negative) { in zend_ini_parse_quantity_internal()
741 if (is_negative && retval == ((zend_ulong)ZEND_LONG_MAX +1)) { in zend_ini_parse_quantity_internal()
745 } else if (is_negative) { in zend_ini_parse_quantity_internal()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_convert.c588 BOOL is_negative = FALSE; in convert_glob_parse_range() local
615 is_negative = TRUE; in convert_glob_parse_range()
658 if (!is_negative && !no_wildsep && separator_seen) in convert_glob_parse_range()
688 if (!is_negative && in convert_glob_parse_range()
/php-src/ext/date/lib/
H A Dparse_date.re1237 bool is_negative;
1245 is_negative = *(ptr + 1) == '-';
1252 if (is_negative) {
H A Dparse_date.c7780 bool is_negative; in scan() local
7788 is_negative = *(ptr + 1) == '-'; in scan()
7795 if (is_negative) { in scan()

Completed in 138 milliseconds