Searched refs:digits (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c481 "(?R or (?[+-]digits must be followed by )\0"
552 /* Table to identify digits and hex digits. This is used when compiling
554 may mark arbitrary characters as digits - but the PCRE compiling code expects
555 to handle only 0-9, a-z, and A-Z as digits when compiling. That is why we have
938 where the ddds are digits.
1009 /* Non-alphanumerics are literals. For digits or letters, do an initial lookup
1182 /* The handling of escape sequences consisting of a string of digits
1187 Outside a character class, the digits are read as a decimal number. If the
1190 three octal digits ar
[all...]
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Doutput.c45 /* This structure is used for saving digits in the conversion process. */
51 /* The reference string for digits. */
55 /* A special output routine for "multi-character digits." Exactly
70 char digits[40]; local
74 snprintf(digits, sizeof(digits), "%ld", val);
75 len = strlen (digits);
82 (*out_char) (digits[ix]);
97 stk_rec *digits, *temp; local
135 digits
[all...]
H A Dstr2num.c46 int digits, strscale; local
53 /* Check for valid number and count digits. */
55 digits = 0;
60 while (isdigit((int)*ptr)) ptr++, digits++; /* digits */
62 while (isdigit((int)*ptr)) ptr++, strscale++; /* digits */
63 if ((*ptr != '\0') || (digits+strscale == 0))
71 if (digits == 0)
74 digits = 1;
76 *num = bc_new_num (digits, strscal
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c40 static const char digits[] = "0123456789abcdef"; variable
546 smart_str_appendc(buf, digits[(us & 0xf000) >> 12]);
547 smart_str_appendc(buf, digits[(us & 0xf00) >> 8]);
548 smart_str_appendc(buf, digits[(us & 0xf0) >> 4]);
549 smart_str_appendc(buf, digits[(us & 0xf)]);
738 * digits (exponent notation will result in the number
/PHP_TRUNK/ext/standard/
H A Dmath.c1056 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
1071 *--ptr = digits[value % base];
1086 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
1107 *--ptr = digits[(int) fmod(fvalue, base)];
1345 * separator every three digits */
H A Dvar_unserializer.c1171 int digits = YYCURSOR - start - 3; local
1174 digits--;
1178 if (digits >= MAX_LENGTH_OF_LONG - 1) {
1179 if (digits == MAX_LENGTH_OF_LONG - 1) {
H A Dvar_unserializer.re574 int digits = YYCURSOR - start - 3;
577 digits--;
581 if (digits >= MAX_LENGTH_OF_LONG - 1) {
582 if (digits == MAX_LENGTH_OF_LONG - 1) {
/PHP_TRUNK/main/
H A Dsnprintf.c144 char *digits, *dst, *src; local
147 digits = zend_dtoa(value, 2, ndigit, &decpt, &sign, NULL);
153 snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "NAN");
154 zend_freedtoa(digits);
171 src = digits;
207 src = digits;
214 for (i = 0, src = digits; i < decpt; i++) {
222 if (src == digits) {
226 for (i = decpt; digits[
488 register char *digits = (format == 'X') ? upper_digits : low_digits; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_operators.c2662 int base = 10, digits = 0, dp_or_e = 0; local
2699 /* Count the number of digits. If a decimal point/exponent is found,
2701 * a full match, stop when there are too many digits for a long */
2702 for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr++) {
2725 if (digits >= MAX_LENGTH_OF_LONG) {
2732 } else if (!(digits < SIZEOF_ZEND_LONG * 2 || (digits == SIZEOF_ZEND_LONG * 2 && ptr[-digits] <= '7'))) {
2746 * the digits i
[all...]

Completed in 19 milliseconds