/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 91 if (endptr != NULL) { in collator_u_strtod() 92 *endptr = (UChar *)u; in collator_u_strtod() 98 if (endptr != NULL) { 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 123 if (endptr != NULL) { in collator_u_strtol() 124 *endptr = NULL; in collator_u_strtol() 197 if (endptr != NULL) in collator_u_strtol() 198 *endptr = (UChar *)(any ? s - 1 : nptr); in collator_u_strtol()
|
/php-src/Zend/ |
H A D | zend_strtod.h | 37 ZEND_API double zend_hex_strtod(const char *str, const char **endptr); 38 ZEND_API double zend_oct_strtod(const char *str, const char **endptr); 39 ZEND_API double zend_bin_strtod(const char *str, const char **endptr);
|
H A D | zend_strtod.c | 4406 ZEND_API double zend_hex_strtod(const char *str, const char **endptr) in zend_hex_strtod() argument 4432 if (endptr != NULL) { in zend_hex_strtod() 4433 *endptr = any ? s - 1 : str; in zend_hex_strtod() 4439 ZEND_API double zend_oct_strtod(const char *str, const char **endptr) in zend_oct_strtod() argument 4447 if (endptr != NULL) { in zend_oct_strtod() 4448 *endptr = str; in zend_oct_strtod() 4464 if (endptr != NULL) { in zend_oct_strtod() 4465 *endptr = any ? s - 1 : str; in zend_oct_strtod() 4471 ZEND_API double zend_bin_strtod(const char *str, const char **endptr) in zend_bin_strtod() argument 4502 if (NULL != endptr) { in zend_bin_strtod() [all …]
|
H A D | zend_operators.c | 3612 const char *endptr = ptr; local 3613 …while (*endptr == ' ' || *endptr == '\t' || *endptr == '\n' || *endptr == '\r' || *endptr == '\v' … 3614 endptr++;
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_script_run.c | 85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV() 100 if (ptr >= endptr) return TRUE; in PRIV() 102 if (ptr >= endptr) return TRUE; in PRIV() 332 if (ptr >= endptr) return TRUE; in PRIV() 338 (void)endptr; in PRIV()
|
H A D | pcre2_newline.c | 79 PRIV(is_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, in PRIV() 98 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV() 119 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1; in PRIV()
|
H A D | pcre2_match.c | 395 PCRE2_SPTR endptr = p + length; in match_ref() local 406 while (p < endptr) in match_ref()
|
H A D | pcre2_jit_compile.c | 10706 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() argument 10708 if (PRIV(script_run)(ptr, endptr, FALSE)) in do_script_run() 10709 return endptr; in do_script_run() 10715 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf() argument 10717 if (PRIV(script_run)(ptr, endptr, TRUE)) in do_script_run_utf() 10718 return endptr; in do_script_run_utf()
|
H A D | pcre2_compile.c | 2377 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() argument 2393 *endptr = ptr; in check_posix_syntax()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_list.c | 233 char *bufptr, *endptr; in phpdbg_compile_file() local 260 for (line = 0, bufptr = data.buf - 1, endptr = data.buf + data.len; ++bufptr < endptr;) { in phpdbg_compile_file() 268 dataptr->line[line] = endptr - data.buf; in phpdbg_compile_file() 317 char *bufptr, *endptr; in phpdbg_compile_string() local 327 …for (line = 0, bufptr = dataptr->buf - 1, endptr = dataptr->buf + dataptr->len; ++bufptr < endptr;… in phpdbg_compile_string() 333 dataptr->line[line] = endptr - dataptr->buf; in phpdbg_compile_string()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | print.c | 355 char *endptr; in file_fmtnum() local 359 val = strtoull(us, &endptr, base); in file_fmtnum() 360 if (*endptr || errno) { in file_fmtnum()
|
/php-src/ext/standard/ |
H A D | formatted_print.c | 354 char *endptr; in php_sprintf_getnumber() local 355 zend_long num = ZEND_STRTOL(*buffer, &endptr, 10); in php_sprintf_getnumber() 358 if (endptr != NULL) { in php_sprintf_getnumber() 359 i = (endptr - *buffer); in php_sprintf_getnumber() 361 *buffer = endptr; in php_sprintf_getnumber()
|
H A D | http_fopen_wrapper.c | 799 char *endptr = NULL; in php_stream_url_wrap_http_ex() local 800 size_t parsed = ZEND_STRTOUL(ptr, &endptr, 10); in php_stream_url_wrap_http_ex() 802 if (endptr && !*endptr) { in php_stream_url_wrap_http_ex()
|
H A D | html.c | 674 char *endptr; in process_numeric_entity() local 686 code_l = ZEND_STRTOL(*buf, &endptr, hexadecimal ? 16 : 10); in process_numeric_entity() 688 *buf = endptr; in process_numeric_entity()
|
/php-src/ext/session/ |
H A D | session.c | 781 char *endptr = NULL; in PHP_INI_MH() local 785 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH() 789 if (endptr && (*endptr == '\0') in PHP_INI_MH() 804 char *endptr = NULL; in PHP_INI_MH() local 812 if (endptr && (*endptr == '\0') in PHP_INI_MH() 979 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local 1038 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local 1045 for (p = val; p < endptr; ) { in PS_SERIALIZER_DECODE_FUNC() 1113 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local 1124 while (p < endptr) { in PS_SERIALIZER_DECODE_FUNC() [all …]
|
/php-src/ext/ftp/ |
H A D | ftp.c | 823 char *endptr, delimiter; in ftp_pasv() local 845 sin6->sin6_port = htons((unsigned short) strtoul(ptr, &endptr, 10)); in ftp_pasv() 846 if (ptr == endptr || *endptr != delimiter) { in ftp_pasv()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 650 char*endptr; in luaO_str2d() local 651 *result=lua_str2number(s,&endptr); in luaO_str2d() 652 if(endptr==s)return 0; in luaO_str2d() 653 if(*endptr=='x'||*endptr=='X') in luaO_str2d() 654 *result=cast_num(strtoul(s,&endptr,16)); in luaO_str2d() 655 if(*endptr=='\0')return 1; in luaO_str2d() 656 while(isspace(cast(unsigned char,*endptr)))endptr++; in luaO_str2d() 657 if(*endptr!='\0')return 0; in luaO_str2d()
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 866 char *endptr = NULL; in PHP_INI_MH() local 867 int c = strtol(ZSTR_VAL(new_value), &endptr, 0); in PHP_INI_MH() 869 if (*endptr == '\0') { in PHP_INI_MH()
|