Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 46) sorted by last modified time

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/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/standard/
H A Dmath.c720 zend_long num = 0, digit, onum; in _php_math_basetolong() local
733 digit = (c >= '0' && c <= '9') ? c - '0' in _php_math_basetolong()
738 if (digit >= base) { in _php_math_basetolong()
743 num = num * base + digit; in _php_math_basetolong()
/php-src/ext/standard/tests/math/
H A Dround_gh12143_expand-rounding-target.phpt2 Feature GH-12143: Extend the maximum precision round can handle by one digit
/php-src/ext/intl/uchar/
H A Duchar_arginfo.h61 ZEND_ARG_TYPE_INFO(0, digit, IS_LONG, 0)
194 ZEND_METHOD(IntlChar, digit);
257 ZEND_ME(IntlChar, digit, arginfo_class_IntlChar_digit, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
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
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()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua1887 local digit, addin, vex
1900 digit = byte(c) - 48
1901 if digit > 48 then digit = digit - 39
1902 elseif digit > 16 then digit = digit - 7 end
1903 opcode = opcode*16 + digit
/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/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/opcache/tests/jit/
H A Dgh11917.phpt27 $digit = $val[$i] & $mask;
41 $digit |= ($val[$i] & $tempmask) << $remaining;
47 $vals[] = $digit;
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c368 unsigned char digit = *digits++; in mb_htmlent_to_wchar() local
369 if (digit >= '0' && digit <= '9') { in mb_htmlent_to_wchar()
370 value = (value * 16) + (digit - '0'); in mb_htmlent_to_wchar()
371 } else if (digit >= 'A' && digit <= 'F') { in mb_htmlent_to_wchar()
372 value = (value * 16) + (digit - 'A' + 10); in mb_htmlent_to_wchar()
373 } else if (digit >= 'a' && digit <= 'f') { in mb_htmlent_to_wchar()
374 value = (value * 16) + (digit - 'a' + 10); in mb_htmlent_to_wchar()
385 unsigned char digit = *digits++; in mb_htmlent_to_wchar() local
386 if (digit >= '0' && digit <= '9') { in mb_htmlent_to_wchar()
387 value = (value * 10) + (digit - '0'); in mb_htmlent_to_wchar()
/php-src/ext/fileinfo/tests/
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 …]
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 …]
/php-src/ext/standard/tests/strings/
H A Dvfprintf_basic.phpt28 writeAndDump( $fp, "%d digit", array( '54' ) );
52 string(8) "54 digit"
H A Dstrnatcmp_leftalign.phpt7 echo "-- Testing strnatcmp() function whitespace, left-align, digit --\n";
19 -- Testing strnatcmp() function whitespace, left-align, digit --
/php-src/ext/standard/tests/http/
H A Dserver.inc79 if (preg_match('#^Content-Length\s*:\s*([[:digit:]]+)\s*$#i', $line, $matches)) {
/php-src/ext/pcre/tests/
H A Dpreg_match_all_basic.phpt9 …ring, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 di…
H A Dpreg_match_all_edit_basic.phpt7 …PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 di…
H A Dmatch_flags3.phpt44 Warning: preg_match(): Compilation failed: %s name must start with a non-digit at offset %d in %sma…
H A Dbug37911.phpt40 Warning: preg_replace_callback(): Compilation failed: %s name must start with a non-digit at offset…
/php-src/ext/mbstring/tests/
H A Dmb_ereg_replace_callback.phpt17 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) {
18 return sprintf("%s-%s", $m['digit'], $m['word']);
H A Dmb_ereg_variation3.phpt25 '234' => '[[:digit:]]+', /*5*/
H A Dmb_ereg_variation4.phpt27 '[[:digit:]]+',

Completed in 266 milliseconds

12