Lines Matching refs:digits
590 static const char *zend_ini_consume_quantity_prefix(const char *const digits, const char *const str… in zend_ini_consume_quantity_prefix() argument
591 const char *digits_consumed = digits; in zend_ini_consume_quantity_prefix()
601 return digits; in zend_ini_consume_quantity_prefix()
623 char *digits = str; in zend_ini_parse_quantity_internal() local
632 while (digits < str_end && zend_is_whitespace(*digits)) {++digits;} in zend_ini_parse_quantity_internal()
635 while (digits < str_end && zend_is_whitespace(*(str_end-1))) {--str_end;} in zend_ini_parse_quantity_internal()
637 if (digits == str_end) { in zend_ini_parse_quantity_internal()
643 if (digits[0] == '+') { in zend_ini_parse_quantity_internal()
644 ++digits; in zend_ini_parse_quantity_internal()
645 } else if (digits[0] == '-') { in zend_ini_parse_quantity_internal()
647 ++digits; in zend_ini_parse_quantity_internal()
651 if (!isdigit(digits[0])) { in zend_ini_parse_quantity_internal()
665 if (digits[0] == '0' && !isdigit(digits[1])) { in zend_ini_parse_quantity_internal()
667 if ((digits+1) == str_end) { in zend_ini_parse_quantity_internal()
672 switch (digits[1]) { in zend_ini_parse_quantity_internal()
695 digits[1]); in zend_ini_parse_quantity_internal()
698 digits += 2; in zend_ini_parse_quantity_internal()
699 if (UNEXPECTED(digits == str_end)) { in zend_ini_parse_quantity_internal()
711 if (UNEXPECTED(digits != zend_ini_consume_quantity_prefix(digits, str_end))) { in zend_ini_parse_quantity_internal()
727 zend_ulong retval = ZEND_STRTOUL(digits, &digits_end, base); in zend_ini_parse_quantity_internal()
751 if (UNEXPECTED(digits_end == digits)) { in zend_ini_parse_quantity_internal()