/PHP-7.4/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 | 69 char digits[40]; local 73 snprintf(digits, sizeof(digits), "%ld", val); 74 len = strlen (digits); 96 stk_rec *digits, *temp; in bc_out_num() local 134 digits = NULL; in bc_out_num() 156 temp->next = digits; in bc_out_num() 157 digits = temp; in bc_out_num() 162 if (digits != NULL) in bc_out_num() 165 while (digits != NULL) in bc_out_num() 167 temp = digits; in bc_out_num() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strnatcmp_leftalign.phpt | 2 Test strnatcmp() function : left align, whitespace, digits 13 echo "-- Leading whitespace, digits, string 1 longer --\n"; 18 echo "-- Leading whitespace, digits, string 2 longer --\n"; 25 -- Leading whitespace, digits, string 1 longer -- 27 -- 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 | 50 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…
|
H A D | money_format_basic1.phpt | 25 // Format with 14 positions of width, 8 digits of 28 echo "Format values with 14 positions, 8 digits to left, 2 to right using national format\n"; 61 Format values with 14 positions, 8 digits to left, 2 to right using national format
|
/PHP-7.4/ext/date/tests/ |
H A D | idate_variation4.phpt | 25 'Year (1 or 2 digits)' => 'y', 26 'Year 4 digits' => 'Y', 58 --Year (1 or 2 digits)-- 61 --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-7.4/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-7.4/ext/json/ |
H A D | json_encoder.c | 33 static const char digits[] = "0123456789abcdef"; variable 357 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 358 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 359 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 360 dst[5] = digits[us & 0xf]; in php_json_escape_string() 366 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 367 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 368 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 369 dst[5] = digits[us & 0xf]; in php_json_escape_string() 456 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() [all …]
|
/PHP-7.4/ext/ctype/tests/ |
H A D | ctype_xdigit_variation4.phpt | 14 * 1. contain hexadecimal digits 15 * 2. correspond to character codes recognised as hexadecimal digits (see variation2) 23 // contain hexadecimal digits but do not correspond to 'correct' ints 29 // contain hexadecimal digits but do not correspond to 'correct' ints
|
H A D | ctype_digit_variation2.phpt | 14 * valid decimal digits
|
H A D | ctype_print_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|
H A D | ctype_alnum_variation3.phpt | 32 "03F", // hexadecimal 'digits'
|
H A D | ctype_alpha_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|
/PHP-7.4/main/ |
H A D | snprintf.c | 138 char *digits, *dst, *src; in php_gcvt() local 151 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt() 152 zend_freedtoa(digits); in php_gcvt() 169 src = digits; in php_gcvt() 204 src = digits; in php_gcvt() 211 for (i = 0, src = digits; i < decpt; i++) { in php_gcvt() 219 if (src == digits) { in php_gcvt() 223 for (i = decpt; digits[i] != '\0'; i++) { in php_gcvt() 224 *dst++ = digits[i]; in php_gcvt() 229 zend_freedtoa(digits); in php_gcvt() [all …]
|
/PHP-7.4/ext/pcre/tests/ |
H A D | preg_match_all_edit_basic.phpt | 13 …G_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 mat… 22 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 | 10 …SET_CAPTURE|PREG_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 end of a st…
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | der.c | 176 uint8_t digits, i; in getlength() local 189 digits = c[(*p)++] & 0x7f; in getlength() 190 if (*p + digits >= l) in getlength() 194 return digits; in getlength() 201 for (i = 0; i < digits; i++) in getlength()
|
/PHP-7.4/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_ereg_variation4.phpt | 23 //contains japanese characters, ASCII digits and different, UTF-8 encoded digits
|
/PHP-7.4/ext/xmlrpc/tests/ |
H A D | bug40576_64bit.phpt | 2 Bug #40576 (double values are truncated to 6 decimal digits when encoding)
|
H A D | bug40576.phpt | 2 Bug #40576 (double values are truncated to 6 decimal digits when encoding)
|