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

/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/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/standard/
H A Dmath.c1057 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
1072 *--ptr = digits[value % base];
1087 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
1108 *--ptr = digits[(int) fmod(fvalue, base)];
1346 * separator every three digits */
H A Dvar_unserializer.c1138 int digits = YYCURSOR - start - 3; local
1141 digits--;
1145 if (digits >= MAX_LENGTH_OF_LONG - 1) {
1146 if (digits == MAX_LENGTH_OF_LONG - 1) {
H A Dvar_unserializer.re548 int digits = YYCURSOR - start - 3;
551 digits--;
555 if (digits >= MAX_LENGTH_OF_LONG - 1) {
556 if (digits == MAX_LENGTH_OF_LONG - 1) {
/PHP_TRUNK/main/
H A Dsnprintf.c139 char *digits, *dst, *src; local
142 digits = zend_dtoa(value, 2, ndigit, &decpt, &sign, NULL);
148 snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "NAN");
149 zend_freedtoa(digits);
166 src = digits;
202 src = digits;
209 for (i = 0, src = digits; i < decpt; i++) {
217 if (src == digits) {
221 for (i = decpt; digits[
483 register char *digits = (format == 'X') ? upper_digits : low_digits; local
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c40 static const char digits[] = "0123456789abcdef"; variable
540 smart_str_appendc(buf, digits[(us & 0xf000) >> 12]);
541 smart_str_appendc(buf, digits[(us & 0xf00) >> 8]);
542 smart_str_appendc(buf, digits[(us & 0xf0) >> 4]);
543 smart_str_appendc(buf, digits[(us & 0xf)]);
732 * digits (exponent notation will result in the number
/PHP_TRUNK/Zend/
H A Dzend_operators.c2583 int base = 10, digits = 0, dp_or_e = 0; local
2620 /* Count the number of digits. If a decimal point/exponent is found,
2622 * a full match, stop when there are too many digits for a long */
2623 for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr++) {
2646 if (digits >= MAX_LENGTH_OF_LONG) {
2653 } else if (!(digits < SIZEOF_ZEND_LONG * 2 || (digits == SIZEOF_ZEND_LONG * 2 && ptr[-digits] <= '7'))) {
2667 * the digits i
[all...]

Completed in 24 milliseconds