Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 46) sorted by path

12

/php-src/
H A DNEWS260 . Fix GH-12143 (Extend the maximum precision round can handle by one digit).
H A DUPGRADING453 one digit.
/php-src/Zend/tests/grammar/
H A Dbug78441.phpt2 Bug #78441 (Parse error due to heredoc identifier followed by digit)
/php-src/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity_overflow.phpt13 $digit = intval($s[strlen($s)-1]);
16 if ($digit === 9) {
20 return $prefix . strval($digit+1);
/php-src/ext/bcmath/libbcmath/src/
H A Ddiv.c45 static void _one_mult(unsigned char *num, size_t size, int digit, unsigned char *result) in _one_mult() argument
50 if (digit == 0) { in _one_mult()
53 if (digit == 1) { in _one_mult()
62 value = *nptr-- * digit + carry; in _one_mult()
/php-src/ext/ctype/tests/
H A Dctype_digit_variation2.phpt18 echo "character code $i is a numeric digit\n";
26 character code 48 is a numeric digit
27 character code 49 is a numeric digit
28 character code 50 is a numeric digit
29 character code 51 is a numeric digit
30 character code 52 is a numeric digit
31 character code 53 is a numeric digit
32 character code 54 is a numeric digit
33 character code 55 is a numeric digit
34 character code 56 is a numeric digit
[all …]
H A Dctype_digit_variation3.phpt9 * which are considered valid decimal digit only strings
H A Dctype_xdigit_variation2.phpt26 character code 48 is a hexadecimal 'digit'
27 character code 49 is a hexadecimal 'digit'
28 character code 50 is a hexadecimal 'digit'
29 character code 51 is a hexadecimal 'digit'
30 character code 52 is a hexadecimal 'digit'
31 character code 53 is a hexadecimal 'digit'
32 character code 54 is a hexadecimal 'digit'
33 character code 55 is a hexadecimal 'digit'
34 character code 56 is a hexadecimal 'digit'
35 character code 57 is a hexadecimal 'digit'
[all …]
H A Dctype_xdigit_variation3.phpt9 * which are considered valid hexadecimal 'digit' only strings
/php-src/ext/date/lib/
H A Dparse_date.re2273 case TIMELIB_FORMAT_DAY_TWO_DIGIT: /* two digit day, without leading zero */
2274 case TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED: /* two digit day, with leading zero */
2304 case TIMELIB_FORMAT_MONTH_TWO_DIGIT: /* two digit month, without leading zero */
2305 case TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED: /* two digit month, with leading zero */
2324 case TIMELIB_FORMAT_YEAR_TWO_DIGIT: /* two digit year */
2337 case TIMELIB_FORMAT_YEAR_FOUR_DIGIT: /* four digit year */
2355 case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX: /* two digit hour, without leading zero */
2393 case TIMELIB_FORMAT_MINUTE_TWO_DIGIT: /* two digit minute, with leading zero */
2409 case TIMELIB_FORMAT_SECOND_TWO_DIGIT: /* two digit second, with leading zero */
2425 case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */
[all …]
/php-src/ext/date/tests/
H A Dbug49585.phpt2 Bug #49585 (date_format buffer not long enough for >4 digit years)
H A Dbug54597.phpt2 Bug #54597 (incorrect years for DateTime objects created with 4-digit years)
H A Dbug64157.phpt14 A two digit second could not be found
H A Dbug80483.phpt2 Bug #80483 (DateTime Object with 5-digit year can't unserialized)
H A Dgmdate_variation7.phpt27 echo "\n-- Testing gmdate() function with 2 digit representation year format --\n";
50 -- Testing gmdate() function with 2 digit representation year format --
H A Dgmstrftime_variation17.phpt12 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
21 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Dgmstrftime_variation18.phpt18 echo "\n-- Testing gmstrftime() function with Day of the month as decimal single digit format --\n";
27 -- Testing gmstrftime() function with Day of the month as decimal single digit format --
H A Didate_variation6.phpt11 echo "\n-- Testing idate() function for 2 digit year having no zero as starting number --\n";
15 echo "\n-- Testing idate() function for 2 digit year having zero as starting number --\n";
22 -- Testing idate() function for 2 digit year having no zero as starting number --
25 -- Testing idate() function for 2 digit year having zero as starting number --
H A Dstrftime_variation17.phpt12 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
20 -- Testing strftime() function with Day of the month as decimal single digit format --
H A Dstrftime_variation18.phpt18 echo "\n-- Testing strftime() function with Day of the month as decimal single digit format --\n";
26 -- Testing strftime() function with Day of the month as decimal single digit format --
/php-src/ext/fileinfo/tests/
H A Dmagic194 # with a version string of the form "V2.<digit>.<digit>\0".
2682 # nul, space or ascii digit 0-7 at start of mode
2687 # space or ascii digit 0 at start of check sum
5686 # it will match only versions like v<digit>.<digit>
14798 # also suffix with digit (1dk .2dk ...); NO example FOUND!
33081 # assume version starts with digit
34590 # skip space or \ and display possible 4th digit of code page string
34593 # possible 5th digit of code page string
34605 # skip \ and NL and show possible 5th digit of language string
34614 # possible 5th digit of language string
[all …]
H A Dmagic私はガラスを食べられます194 # with a version string of the form "V2.<digit>.<digit>\0".
2682 # nul, space or ascii digit 0-7 at start of mode
2687 # space or ascii digit 0 at start of check sum
5686 # it will match only versions like v<digit>.<digit>
14798 # also suffix with digit (1dk .2dk ...); NO example FOUND!
33081 # assume version starts with digit
34590 # skip space or \ and display possible 4th digit of code page string
34593 # possible 5th digit of code page string
34605 # skip \ and NL and show possible 5th digit of language string
34614 # possible 5th digit of language string
[all …]
/php-src/ext/filter/
H A Dlogical_filters.c96 int sign = 0, digit = 0; in php_filter_parse_int() local
129 digit = (*(str++) - '0'); in php_filter_parse_int()
130 if ( (!sign) && ctx_value <= (ZEND_LONG_MAX-digit)/10 ) { in php_filter_parse_int()
131 ctx_value = (ctx_value * 10) + digit; in php_filter_parse_int()
132 } else if ( sign && ctx_value >= (ZEND_LONG_MIN+digit)/10) { in php_filter_parse_int()
133 ctx_value = (ctx_value * 10) - digit; in php_filter_parse_int()
/php-src/ext/intl/uchar/
H A Duchar.c419 IC_METHOD(digit) { in IC_METHOD() argument
448 zend_long digit, radix = 10; in IC_METHOD() local
450 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &digit, &radix) == FAILURE) { in IC_METHOD()
454 RETURN_LONG(u_forDigit(digit, radix)); in IC_METHOD()
H A Duchar.stub.php1430 public static function digit(int|string $codepoint, int $base = 10): int|false|null {} function in IntlChar
1442 public static function forDigit(int $digit, int $base = 10): int {} argument

Completed in 169 milliseconds

12