Home
last modified time | relevance | path

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

/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
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 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.c3597 const char *endptr = ptr; local
3598 …while (*endptr == ' ' || *endptr == '\t' || *endptr == '\n' || *endptr == '\r' || *endptr == '\v' …
3599 endptr++;
/php-src/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()
332 if (ptr >= endptr) return TRUE; in PRIV()
338 (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.c395 PCRE2_SPTR endptr = p + length; in match_ref() local
406 while (p < endptr) in match_ref()
H A Dpcre2_jit_compile.c10649 static PCRE2_SPTR SLJIT_FUNC do_script_run(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run() argument
10651 if (PRIV(script_run)(ptr, endptr, FALSE)) in do_script_run()
10652 return endptr; in do_script_run()
10658 static PCRE2_SPTR SLJIT_FUNC do_script_run_utf(PCRE2_SPTR ptr, PCRE2_SPTR endptr) in do_script_run_utf() argument
10660 if (PRIV(script_run)(ptr, endptr, TRUE)) in do_script_run_utf()
10661 return endptr; in do_script_run_utf()
H A Dpcre2_compile.c2376 check_posix_syntax(PCRE2_SPTR ptr, PCRE2_SPTR ptrend, PCRE2_SPTR *endptr) in check_posix_syntax() argument
2392 *endptr = ptr; in check_posix_syntax()
/php-src/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-src/ext/fileinfo/libmagic/
H A Dprint.c355 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 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-src/ext/session/
H A Dsession.c744 char *endptr = NULL; in PHP_INI_MH() local
748 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
749 if (endptr && (*endptr == '\0') in PHP_INI_MH()
764 char *endptr = NULL; in PHP_INI_MH() local
769 if (endptr && (*endptr == '\0') in PHP_INI_MH()
864 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
923 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
930 for (p = val; p < endptr; ) { in PS_SERIALIZER_DECODE_FUNC()
992 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC() local
1003 while (p < endptr) { in PS_SERIALIZER_DECODE_FUNC()
[all …]
/php-src/ext/ftp/
H A Dftp.c823 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 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-src/ext/mbstring/
H A Dmbstring.c860 char *endptr = NULL; in PHP_INI_MH() local
861 int c = strtol(ZSTR_VAL(new_value), &endptr, 0); in PHP_INI_MH()
863 if (*endptr == '\0') { in PHP_INI_MH()

Completed in 245 milliseconds