Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/ext/intl/collator/
H A Dcollator_is_numeric.c19 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(nptr, endptr, base) in collator_u_strtol() argument
115 UChar **endptr;
126 if (endptr != NULL) {
127 *endptr = NULL;
200 if (endptr != NULL)
[all …]
/PHP-8.0/Zend/
H A Dzend_strtod.h29 ZEND_API double zend_hex_strtod(const char *str, const char **endptr);
30 ZEND_API double zend_oct_strtod(const char *str, const char **endptr);
31 ZEND_API double zend_bin_strtod(const char *str, const char **endptr);
H A Dzend_strtod.c4423 ZEND_API double zend_hex_strtod(const char *str, const char **endptr) in zend_hex_strtod() argument
4449 if (endptr != NULL) { in zend_hex_strtod()
4450 *endptr = any ? s - 1 : str; in zend_hex_strtod()
4456 ZEND_API double zend_oct_strtod(const char *str, const char **endptr) in zend_oct_strtod() argument
4464 if (endptr != NULL) { in zend_oct_strtod()
4465 *endptr = str; in zend_oct_strtod()
4484 if (endptr != NULL) { in zend_oct_strtod()
4485 *endptr = any ? s - 1 : str; in zend_oct_strtod()
4491 ZEND_API double zend_bin_strtod(const char *str, const char **endptr) in zend_bin_strtod() argument
4522 if (NULL != endptr) { in zend_bin_strtod()
[all …]
H A Dzend_operators.c3080 const char *endptr = ptr; local
3081 …while (*endptr == ' ' || *endptr == '\t' || *endptr == '\n' || *endptr == '\r' || *endptr == '\v' …
3082 endptr++;
/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_script_run.c85 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()
429 if (ptr >= endptr) return TRUE; in PRIV()
435 (void)endptr; in PRIV()
H A Dpcre2_newline.c79 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 Dpcre2_match.c388 PCRE2_SPTR endptr = p + length; in match_ref() local
399 while (p < endptr) in match_ref()
H A Dpcre2_jit_compile.c10048 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() argument
10050 if (PRIV(script_run)(ptr, endptr, FALSE)) in do_script_run()
10051 return endptr; in do_script_run()
10057 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf() argument
10059 if (PRIV(script_run)(ptr, endptr, TRUE)) in do_script_run_utf()
10060 return endptr; in do_script_run_utf()
H A Dpcre2_compile.c2187 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() argument
2203 *endptr = ptr; in check_posix_syntax()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_list.c237 char *bufptr, *endptr; in phpdbg_compile_file() local
264 for (line = 0, bufptr = data.buf - 1, endptr = data.buf + data.len; ++bufptr < endptr;) { in phpdbg_compile_file()
272 dataptr->line[line] = endptr - data.buf; in phpdbg_compile_file()
324 char *bufptr, *endptr; in phpdbg_compile_string() local
334 …for (line = 0, bufptr = dataptr->buf - 1, endptr = dataptr->buf + dataptr->len; ++bufptr < endptr;… in phpdbg_compile_string()
340 dataptr->line[line] = endptr - dataptr->buf; in phpdbg_compile_string()
/PHP-8.0/ext/standard/
H A Dformatted_print.c357 char *endptr; in php_sprintf_getnumber() local
358 register zend_long num = ZEND_STRTOL(*buffer, &endptr, 10); in php_sprintf_getnumber()
361 if (endptr != NULL) { in php_sprintf_getnumber()
362 i = (endptr - *buffer); in php_sprintf_getnumber()
364 *buffer = endptr; in php_sprintf_getnumber()
H A Dhtml.c678 char *endptr; in process_numeric_entity() local
690 code_l = ZEND_STRTOL(*buf, &endptr, hexadecimal ? 16 : 10); in process_numeric_entity()
692 *buf = endptr; in process_numeric_entity()
/PHP-8.0/ext/session/
H A Dsession.c722 char *endptr = NULL; in PHP_INI_MH() local
726 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
727 if (endptr && (*endptr == '\0') in PHP_INI_MH()
742 char *endptr = NULL; in PHP_INI_MH() local
747 if (endptr && (*endptr == '\0') in PHP_INI_MH()
854 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
913 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
921 for (p = val; p < endptr; ) { in PS_SERIALIZER_DECODE_FUNC()
983 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
994 while (p < endptr) { in PS_SERIALIZER_DECODE_FUNC()
[all …]
/PHP-8.0/ext/ftp/
H A Dftp.c803 char *endptr, delimiter; in ftp_pasv() local
825 sin6->sin6_port = htons((unsigned short) strtoul(ptr, &endptr, 10)); in ftp_pasv()
826 if (ptr == endptr || *endptr != delimiter) { in ftp_pasv()
/PHP-8.0/ext/opcache/jit/dynasm/
H A Dminilua.c650 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-8.0/ext/mbstring/
H A Dmbstring.c850 char *endptr = NULL; in PHP_INI_MH() local
866 c = strtol(ZSTR_VAL(new_value), &endptr, 0); in PHP_INI_MH()
867 if (*endptr == '\0') { in PHP_INI_MH()

Completed in 146 milliseconds