Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 8 of 8) sorted by relevance

/PHP-7.2/ext/bcmath/libbcmath/src/
H A Dnearzero.c51 char *nptr; local
59 nptr = num->n_value;
62 while ((count > 0) && (*nptr++ == 0)) count--;
64 if (count != 0 && (count != 1 || *--nptr != 1))
H A Dstr2num.c47 char *ptr, *nptr; in bc_str2num() local
91 nptr = (*num)->n_value; in bc_str2num()
94 *nptr++ = 0; in bc_str2num()
98 *nptr++ = CH_VAL(*ptr++); in bc_str2num()
106 *nptr++ = CH_VAL(*ptr++); in bc_str2num()
H A Dzero.c47 char *nptr; in bc_is_zero() local
54 nptr = num->n_value; in bc_is_zero()
57 while ((count > 0) && (*nptr++ == 0)) count--; in bc_is_zero()
H A Dnum2str.c49 char *nptr; local
65 nptr = num->n_value;
67 *sptr++ = BCD_CHAR(*nptr++);
74 *sptr++ = BCD_CHAR(*nptr++);
H A Dnum2long.c51 char *nptr; local
56 nptr = num->n_value;
58 char n = *nptr++;
H A Doutput.c95 char *nptr; in bc_out_num() local
110 nptr = num->n_value; in bc_out_num()
111 if (num->n_len > 1 || *nptr != 0) in bc_out_num()
113 (*out_char) (BCD_CHAR(*nptr++)); in bc_out_num()
115 nptr++; in bc_out_num()
125 (*out_char) (BCD_CHAR(*nptr++)); in bc_out_num()
H A Ddiv.c54 unsigned char *nptr, *rptr; local
65 nptr = (unsigned char *) (num+size-1);
71 value = *nptr-- * digit + carry;
/PHP-7.2/ext/intl/collator/
H A Dcollator_is_numeric.c23 static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */ in collator_u_strtod() argument
25 const UChar *u = nptr, *nstart; in collator_u_strtod()
103 *endptr = (UChar *)nptr; in collator_u_strtod()
117 static zend_long collator_u_strtol(nptr, endptr, base) in collator_u_strtol() argument
118 const UChar *nptr; in collator_u_strtol()
122 register const UChar *s = nptr;
205 *endptr = (UChar *)(any ? s - 1 : nptr);

Completed in 16 milliseconds