Home
last modified time | relevance | path

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

/PHP-8.1/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(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-8.1/Zend/
H A Dzend_strtod.h30 ZEND_API double zend_hex_strtod(const char *str, const char **endptr);
31 ZEND_API double zend_oct_strtod(const char *str, const char **endptr);
32 ZEND_API double zend_bin_strtod(const char *str, const char **endptr);
H A Dzend_strtod.c4407 ZEND_API double zend_hex_strtod(const char *str, const char **endptr) in zend_hex_strtod() argument
4433 if (endptr != NULL) { in zend_hex_strtod()
4434 *endptr = any ? s - 1 : str; in zend_hex_strtod()
4440 ZEND_API double zend_oct_strtod(const char *str, const char **endptr) in zend_oct_strtod() argument
4448 if (endptr != NULL) { in zend_oct_strtod()
4449 *endptr = str; in zend_oct_strtod()
4465 if (endptr != NULL) { in zend_oct_strtod()
4466 *endptr = any ? s - 1 : str; in zend_oct_strtod()
4472 ZEND_API double zend_bin_strtod(const char *str, const char **endptr) in zend_bin_strtod() argument
4503 if (NULL != endptr) { in zend_bin_strtod()
[all …]
H A Dzend_operators.c3254 const char *endptr = ptr; local
3255 …while (*endptr == ' ' || *endptr == '\t' || *endptr == '\n' || *endptr == '\r' || *endptr == '\v' …
3256 endptr++;
/PHP-8.1/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.c10125 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() argument
10127 if (PRIV(script_run)(ptr, endptr, FALSE)) in do_script_run()
10128 return endptr; in do_script_run()
10134 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf() argument
10136 if (PRIV(script_run)(ptr, endptr, TRUE)) in do_script_run_utf()
10137 return endptr; in do_script_run_utf()
H A Dpcre2_compile.c2208 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() argument
2224 *endptr = ptr; in check_posix_syntax()
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_list.c233 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-8.1/ext/standard/
H A Dformatted_print.c357 char *endptr; in php_sprintf_getnumber() local
358 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.1/ext/session/
H A Dsession.c724 char *endptr = NULL; in PHP_INI_MH() local
728 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
729 if (endptr && (*endptr == '\0') in PHP_INI_MH()
744 char *endptr = NULL; in PHP_INI_MH() local
749 if (endptr && (*endptr == '\0') in PHP_INI_MH()
855 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
914 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
922 for (p = val; p < endptr; ) { in PS_SERIALIZER_DECODE_FUNC()
984 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
995 while (p < endptr) { in PS_SERIALIZER_DECODE_FUNC()
[all …]
/PHP-8.1/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.1/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.1/ext/mbstring/
H A Dmbstring.c844 char *endptr = NULL; in PHP_INI_MH() local
860 c = strtol(ZSTR_VAL(new_value), &endptr, 0); in PHP_INI_MH()
861 if (*endptr == '\0') { in PHP_INI_MH()

Completed in 147 milliseconds