Searched refs:nptr (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/bcmath/libbcmath/src/ |
H A D | round.c | 71 const char *nptr = num->n_value + rounded_len; in bc_round() local 76 if (*nptr >= 5) { in bc_round() 78 } else if (*nptr < 5) { in bc_round() 86 if (*nptr > 5) { in bc_round() 88 } else if (*nptr < 5) { in bc_round() 97 } else if (*nptr > 0) { in bc_round() 106 } else if (*nptr > 0) { in bc_round() 116 if (*nptr > 0) { in bc_round() 127 nptr++; in bc_round() 128 while ((count > 0) && (*nptr == 0)) { in bc_round() [all …]
|
H A D | num2str.c | 59 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 D | str2num.c | 196 char *nptr = (*num)->n_value; in bc_str2num() local 199 *nptr++ = 0; in bc_str2num() 204 nptr = bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end); in bc_str2num() 207 nptr = bc_copy_and_toggle_bcd(nptr, integer_ptr, integer_end); in bc_str2num() 209 nptr = bc_copy_and_toggle_bcd(nptr, fractional_ptr, fractional_end); in bc_str2num()
|
H A D | nearzero.c | 49 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 D | zero.c | 41 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 D | floor_or_ceil.c | 38 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 D | num2long.c | 44 const char *nptr = num->n_value; in bc_num2long() local 46 char n = *nptr++; in bc_num2long()
|
/php-src/ext/intl/collator/ |
H A D | collator_is_numeric.c | 19 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 D | pcre2_dfa_match.c | 2144 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 29 milliseconds