Home
last modified time | relevance | path

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

/php-src/ext/bcmath/libbcmath/src/
H A Dnum2str.c59 const char *nptr = num->n_value; in bc_num2str_ex() local
60 sptr = bc_copy_and_toggle_bcd(sptr, nptr, nptr + num->n_len); in bc_num2str_ex()
61 nptr += num->n_len; in bc_num2str_ex()
66 sptr = bc_copy_and_toggle_bcd(sptr, nptr, nptr + min_scale); in bc_num2str_ex()
H A Dround.c115 const char *nptr = num->n_value + rounded_len; in bc_round() local
120 if (*nptr >= 5) { in bc_round()
122 } else if (*nptr < 5) { in bc_round()
130 if (*nptr > 5) { in bc_round()
132 } else if (*nptr < 5) { in bc_round()
141 } else if (*nptr > 0) { in bc_round()
150 } else if (*nptr > 0) { in bc_round()
160 if (*nptr > 0) { in bc_round()
171 nptr++; in bc_round()
172 while ((count > 0) && (*nptr == 0)) { in bc_round()
[all …]
H A Dstr2num.c205 char *nptr = (*num)->n_value; in bc_str2num() local
208 *nptr++ = 0; in bc_str2num()
213 nptr = bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end); in bc_str2num()
216 nptr = bc_copy_and_toggle_bcd(nptr, integer_ptr, integer_end); in bc_str2num()
218 nptr = bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end); in bc_str2num()
H A Dnearzero.c49 const char *nptr = num->n_value; in bc_is_near_zero() local
52 while ((count > 0) && (*nptr++ == 0)) { in bc_is_near_zero()
56 return count == 0 || (count == 1 && *--nptr == 1); in bc_is_near_zero()
H A Dzero.c41 char *nptr; in bc_is_zero_for_scale() local
50 nptr = num->n_value; in bc_is_zero_for_scale()
53 while ((count > 0) && (*nptr++ == 0)) count--; in bc_is_zero_for_scale()
H A Dfloor_or_ceil.c38 const char *nptr = num->n_value + num->n_len; in bc_floor_or_ceil() local
39 while ((count > 0) && (*nptr == 0)) { in bc_floor_or_ceil()
41 nptr++; in bc_floor_or_ceil()
H A Dnum2long.c44 const char *nptr = num->n_value; in bc_num2long() local
46 char n = *nptr++; in bc_num2long()
/php-src/ext/intl/collator/
H A Dcollator_is_numeric.c19 static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */ in collator_u_strtod() argument
21 const UChar *u = nptr, *nstart; in collator_u_strtod()
99 *endptr = (UChar *)nptr; in collator_u_strtod()
113 static zend_long collator_u_strtol(const UChar *nptr, UChar **endptr, int base) in collator_u_strtol() argument
115 const UChar *s = nptr; in collator_u_strtol()
198 *endptr = (UChar *)(any ? s - 1 : nptr); in collator_u_strtol()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_dfa_match.c2144 PCRE2_SPTR nptr; in internal_dfa_match() local
2151 nptr = PRIV(extuni)(c, ptr + clen, mb->start_subject, end_subject, utf, in internal_dfa_match()
2153 if (nptr >= end_subject && (mb->moptions & PCRE2_PARTIAL_HARD) != 0) in internal_dfa_match()
2330 PCRE2_SPTR nptr = PRIV(extuni)(c, ptr + clen, mb->start_subject, in internal_dfa_match() local
2332 if (nptr >= end_subject && (mb->moptions & PCRE2_PARTIAL_HARD) != 0) in internal_dfa_match()

Completed in 19 milliseconds