/PHP-8.1/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 45 int digits, strscale; in bc_str2num() local 54 digits = 0; in bc_str2num() 59 while (*ptr >= '0' && *ptr <= '9') ptr++, digits++; /* digits */ in bc_str2num() 62 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num() 70 if (digits == 0) in bc_str2num() 73 digits = 1; in bc_str2num() 75 *num = bc_new_num (digits, strscale); in bc_str2num() 94 digits = 0; in bc_str2num() 96 for (;digits > 0; digits--) in bc_str2num()
|
H A D | output.c | 61 char digits[40]; in bc_out_long() local 65 snprintf(digits, sizeof(digits), "%ld", val); in bc_out_long() 66 len = strlen (digits); in bc_out_long() 84 stk_rec *digits, *temp; in bc_out_num() local 122 digits = NULL; in bc_out_num() 144 temp->next = digits; in bc_out_num() 145 digits = temp; in bc_out_num() 150 if (digits != NULL) in bc_out_num() 153 while (digits != NULL) in bc_out_num() 155 temp = digits; in bc_out_num() [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | strnatcmp_leftalign.phpt | 2 Test strnatcmp() function : left align, whitespace, digits 8 echo "-- Leading whitespace, digits, string 1 longer --\n"; 13 echo "-- Leading whitespace, digits, string 2 longer --\n"; 20 -- Leading whitespace, digits, string 1 longer -- 22 -- Leading whitespace, digits, string 2 longer --
|
H A D | bug36392.phpt | 2 Bug #36392 (wrong number of decimal digits with %e specifier in sprintf)
|
H A D | sprintf_variation52.phpt | 49 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…
|
/PHP-8.1/ext/date/tests/ |
H A D | idate_variation4.phpt | 19 'Year (1 or 2 digits)' => 'y', 20 'Year 4 digits' => 'Y', 51 --Year (1 or 2 digits)-- 54 --Year 4 digits--
|
H A D | bug41844.phpt | 2 Bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999)
|
H A D | bug50392.phpt | 2 Bug #50392 (date_create_from_format enforces 6 digits for 'u' format character)
|
H A D | idate_variation6.phpt | 2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
|
/PHP-8.1/ext/bcmath/libbcmath/ |
H A D | README.md | 29 GMP has "integers" (no digits after a decimal), "rational numbers" (stored as 33 of digits to represent after the decimal point. The multiplying two of these 34 numbers requires one to calculate an exact number of digits after the decimal 35 point regardless of the number of digits in the integer part. GMP floats have 37 dropping digits BC must calculate.
|
/PHP-8.1/ext/json/ |
H A D | json_encoder.c | 32 static const char digits[] = "0123456789abcdef"; variable 411 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 412 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 413 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 414 dst[5] = digits[us & 0xf]; in php_json_escape_string() 420 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 421 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 422 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 423 dst[5] = digits[us & 0xf]; in php_json_escape_string() 510 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() [all …]
|
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | der.c | 186 uint8_t digits, i; in getlength() local 201 digits = c[(*p)++] & 0x7f; in getlength() 202 if (*p + digits >= l) { in getlength() 203 DPRINTF(("%s:[2] %zu + %u >= %zu\n", __func__, *p, digits, l)); in getlength() 208 return digits; in getlength() 215 for (i = 0; i < digits; i++) in getlength()
|
/PHP-8.1/ext/pcre/tests/ |
H A D | preg_match_all_edit_basic.phpt | 7 …G_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 mat… 16 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the en…
|
H A D | preg_match_all_basic.phpt | 9 …SET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 mat… 15 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a st…
|
/PHP-8.1/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | mb_ereg_variation4.phpt | 19 //contains japanese characters, ASCII digits and different, UTF-8 encoded digits
|
/PHP-8.1/ext/ctype/tests/ |
H A D | ctype_digit_variation2.phpt | 9 * valid decimal digits
|
H A D | ctype_alnum_variation3.phpt | 27 "03F", // hexadecimal 'digits'
|
H A D | ctype_print_variation3.phpt | 28 "03F", // hexadecimal 'digits'
|
H A D | ctype_alpha_variation3.phpt | 28 "03F", // hexadecimal 'digits'
|
H A D | ctype_lower_variation3.phpt | 28 "03F", // hexadecimal 'digits'
|
H A D | ctype_punct_variation3.phpt | 28 "03F", // hexadecimal 'digits'
|
H A D | ctype_space_variation3.phpt | 28 "03F", // hexadecimal 'digits'
|
H A D | ctype_upper_variation3.phpt | 27 "03F", // hexadecimal 'digits'
|
/PHP-8.1/ext/standard/ |
H A D | math.c | 797 static const char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_longtobase() local 813 *--ptr = digits[value % base]; in _php_math_longtobase() 828 static const char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_longtobase_pwr2() local 848 *--ptr = digits[value & ((1 << base_log2) - 1)]; in _php_math_longtobase_pwr2() 863 static const char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_zvaltobase() local 884 *--ptr = digits[(int) fmod(fvalue, base)]; in _php_math_zvaltobase()
|