/PHP-8.2/Zend/ |
H A D | zend_virtual_cwd.c | 295 size_t length; in virtual_getcwd() 321 size_t bucket_key_len; in realpath_cache_key() 493 size_t i, j; in tsrm_realpath_r() 604 return (size_t)-1; in tsrm_realpath_r() 648 return (size_t)-1; in tsrm_realpath_r() 661 return (size_t)-1; in tsrm_realpath_r() 669 return (size_t)-1; in tsrm_realpath_r() 690 return (size_t)-1; in tsrm_realpath_r() 786 return (size_t)-1; in tsrm_realpath_r() 965 size_t sz; in tsrm_realpath_r() [all …]
|
H A D | zend_constants.h | 78 ZEND_API zval *zend_get_constant_str(const char *name, size_t name_len); 81 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, bool bval, int flags, … 82 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_… 83 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int fl… 84 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla… 85 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, const char *strval, … 86 … void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval, size_t… 92 ZEND_API zend_constant *_zend_get_special_const(const char *name, size_t name_len); 95 const char *name, size_t name_len) { in zend_get_special_const()
|
H A D | zend_globals.h | 51 ZEND_API extern size_t compiler_globals_offset; 52 ZEND_API extern size_t executor_globals_offset; 119 size_t script_encoding_list_size; 133 size_t map_ptr_size; 134 size_t map_ptr_last; 174 size_t vm_stack_page_size; 336 size_t script_org_size; 340 size_t script_filtered_size; 353 const char *text, size_t length, void *context);
|
/PHP-8.2/ext/hash/ |
H A D | php_hash_sha3.h | 40 PHP_HASH_API void PHP_SHA3224Update(PHP_SHA3_224_CTX*, const unsigned char*, size_t); 44 PHP_HASH_API void PHP_SHA3256Update(PHP_SHA3_256_CTX*, const unsigned char*, size_t); 48 PHP_HASH_API void PHP_SHA3384Update(PHP_SHA3_384_CTX*, const unsigned char*, size_t); 52 PHP_HASH_API void PHP_SHA3512Update(PHP_SHA3_512_CTX*, const unsigned char*, size_t);
|
H A D | php_hash_ripemd.h | 51 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX *, const unsigned char *, size_t); 55 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX *, const unsigned char *, size_t); 59 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX *, const unsigned char *, size_t); 63 PHP_HASH_API void PHP_RIPEMD320Update(PHP_RIPEMD320_CTX *, const unsigned char *, size_t);
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | is_tar.c | 53 private int is_tar(const unsigned char *, size_t); 54 private int from_oct(const char *, size_t); /* Decode octal number */ 66 size_t nbytes = b->flen; in file_is_tar() 99 is_tar(const unsigned char *buf, size_t nbytes) in is_tar() 103 size_t i; in is_tar() 144 from_oct(const char *where, size_t digs) in from_oct()
|
/PHP-8.2/main/streams/ |
H A D | php_stream_transport.h | 26 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, size_t protolen, 27 const char *resourcename, size_t resourcenamelen, 46 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options, 59 const char *name, size_t namelen, 65 const char *name, size_t namelen, 100 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 106 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 141 size_t namelen; 145 size_t buflen;
|
H A D | glob_wrapper.c | 38 size_t index; 41 size_t path_len; 43 size_t pattern_len; 44 size_t *open_basedir_indexmap; 45 size_t open_basedir_indexmap_size; 49 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_path() 136 static ssize_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read() 142 size_t index; in php_glob_stream_read() 147 if (pglob->index < (size_t) glob_result_count) { in php_glob_stream_read() 246 pglob->open_basedir_indexmap = (size_t *) safe_emalloc( in php_glob_stream_opener() [all …]
|
/PHP-8.2/main/ |
H A D | strlcpy.c | 62 PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz) in php_strlcpy() 65 size_t n = siz; in php_strlcpy()
|
H A D | php_ini_builder.c | 22 PHPAPI void php_ini_builder_prepend(struct php_ini_builder *b, const char *src, size_t length) in php_ini_builder_prepend() 31 …unquoted(struct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_… in php_ini_builder_unquoted() 46 …r_quoted(struct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_… in php_ini_builder_quoted() 65 const size_t len = strlen(arg); in php_ini_builder_define()
|
H A D | php.h | 144 size_t php_str_len; \ 156 PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz); 166 PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz); 176 PHPAPI void php_explicit_bzero(void *dst, size_t siz); 290 ssize_t pwrite(int, void *, size_t, off64_t); 294 ssize_t pread(int, void *, size_t, off64_t); 299 PHPAPI size_t php_write(void *buf, size_t size); 300 PHPAPI size_t php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2); 301 PHPAPI size_t php_printf_unchecked(const char *format, ...);
|
/PHP-8.2/ext/standard/ |
H A D | html.h | 47 PHPAPI zend_string *php_escape_html_entities(const unsigned char *old, size_t oldlen, int all, int … 48 PHPAPI zend_string *php_escape_html_entities_ex(const unsigned char *old, size_t oldlen, int all, i… 50 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, ze…
|
H A D | crc32.c | 54 size_t reslen = sizeof(res); in has_crc32_insn() 75 static uint32_t crc32_aarch64(uint32_t crc, const char *p, size_t nr) { in crc32_aarch64() 105 PHPAPI uint32_t php_crc32_bulk_update(uint32_t crc, const char *p, size_t nr) in php_crc32_bulk_update() 115 size_t nr_simd = crc32_x86_simd_update(X86_CRC32B, &crc, (const unsigned char *)p, nr); in php_crc32_bulk_update() 128 PHPAPI int php_crc32_stream_bulk_update(uint32_t *crc, php_stream *fp, size_t nr) in php_crc32_stream_bulk_update() 130 size_t handled = 0, n; in php_crc32_stream_bulk_update() 153 size_t nr; in PHP_FUNCTION()
|
H A D | exec.c | 55 static size_t cmd_max_len; 84 static size_t strip_trailing_whitespace(char *buf, size_t bufl) { in strip_trailing_whitespace() 85 size_t l = bufl; in strip_trailing_whitespace() 94 static size_t handle_line(int type, zval *array, char *buf, size_t bufl) { in handle_line() 121 size_t buflen, bufl = 0; in php_exec() 209 size_t cmd_len; in php_exec_ex() 284 size_t x, y; in php_escape_shell_cmd() 390 size_t x, y = 0; in php_escape_shell_arg() 475 size_t command_len; in PHP_FUNCTION() 497 size_t argument_len; in PHP_FUNCTION() [all …]
|
H A D | basic_functions.h | 54 PHPAPI int _php_error_log_ex(int opt_err, const char *message, size_t message_len, const char *opt,… 55 PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_n… 69 size_t strtok_len; 124 PHPAPI zend_string *php_getenv(const char *str, size_t str_len); 134 PHPAPI extern bool register_user_shutdown_function(const char *function_name, size_t function_len, … 135 PHPAPI extern bool remove_user_shutdown_function(const char *function_name, size_t function_len);
|
H A D | base64.h | 64 PHPAPI extern zend_string *php_base64_encode(const unsigned char *, size_t); 65 PHPAPI extern zend_string *php_base64_decode_ex(const unsigned char *, size_t, bool); 71 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
|
H A D | filters.c | 42 size_t consumed = 0; in strfilter_rot13_filter() 90 size_t consumed = 0; in strfilter_toupper_filter() 118 size_t consumed = 0; in strfilter_tolower_filter() 199 size_t lbchars_len; 200 size_t erem_len; 502 size_t icnt, ocnt; in php_conv_base64_decode_convert() 652 size_t icnt, ocnt; in php_conv_qprint_encode_convert() 738 size_t j; in php_conv_qprint_encode_convert() 1076 size_t stub_len; 1337 const char *ps, size_t buf_len, size_t *consumed, in strfilter_convert_append_bucket() [all …]
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | zlog.c | 76 size_t zlog_print_time(struct timeval *tv, char *timebuf, size_t timebuf_len) /* {{{ */ in zlog_print_time() 79 size_t len; in zlog_print_time() 129 static inline size_t zlog_truncate_buf(char *buf, size_t buf_size, size_t space_left) /* {{{ */ in zlog_truncate_buf() 140 size_t len; in zlog_external() 159 size_t len = 0; in zlog_buf_prefix() 199 size_t len = 0; in vzlog() 360 size_t available_len; in zlog_stream_unbuffered_write() 586 size_t len; in zlog_stream_set_msg_prefix() 614 size_t len; in zlog_stream_set_msg_suffix() 668 size_t len; in zlog_stream_prefix_ex() [all …]
|
/PHP-8.2/sapi/embed/ |
H A D | php_embed.c | 55 static inline size_t php_embed_single_write(const char *str, size_t str_length) in php_embed_single_write() 64 size_t ret; in php_embed_single_write() 75 static size_t php_embed_ub_write(const char *str, size_t str_length) in php_embed_ub_write() 78 size_t remaining = str_length; in php_embed_ub_write() 79 size_t ret; in php_embed_ub_write()
|
/PHP-8.2/win32/ |
H A D | codepage.c | 43 if (!in || in_len > (size_t)INT_MAX) { in php_win32_cp_to_w_int() 82 PW32CP wchar_t *php_win32_cp_conv_utf8_to_w(const char* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_utf8_to_w() 87 PW32CP wchar_t *php_win32_cp_conv_cur_to_w(const char* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_cur_to_w() 106 PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_ascii_to_w() 113 size_t save_in_len = in_len; in php_win32_cp_conv_ascii_to_w() 289 PW32CP char *php_win32_cp_conv_w_to_utf8(const wchar_t* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_w_to_utf8() 294 PW32CP char *php_win32_cp_conv_w_to_cur(const wchar_t* in, size_t in_len, size_t *out_len) in php_win32_cp_conv_w_to_cur() 340 size_t i; in php_win32_cp_get_by_id() 366 size_t enc_len = 0, i; in php_win32_cp_get_by_enc() 432 size_t bin_len = 0; in php_win32_cp_env_any_to_w() [all …]
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 34 static size_t mb_utf16_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … 35 static size_t mb_utf16be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 36 static void mb_wchar_to_utf16be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 37 static size_t mb_utf16le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 38 static void mb_wchar_to_utf16le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 343 static size_t mb_utf16_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … in mb_utf16_to_wchar() 372 static size_t mb_utf16be_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf16be_to_wchar() 425 static void mb_wchar_to_utf16be(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_utf16be() 450 static size_t mb_utf16le_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_utf16le_to_wchar() 503 static void mb_wchar_to_utf16le(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_utf16le()
|
H A D | mbfilter_singlebyte.c | 59 …static size_t mb_##id##_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 60 static void mb_wchar_to_##id(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); \ 101 …static size_t mb_##id##_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 113 static void mb_wchar_to_##id(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) \ 158 static size_t mb_ascii_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, … in mb_ascii_to_wchar() 173 static void mb_wchar_to_ascii(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_ascii() 212 static size_t mb_8859_1_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_8859_1_to_wchar() 226 static void mb_wchar_to_8859_1(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_8859_1() 528 static size_t mb_cp1252_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize,… in mb_cp1252_to_wchar() 548 static void mb_wchar_to_cp1252(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_cp1252() [all …]
|
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.h | 28 …_string *subject_str, const char *subject, size_t subject_len, zend_string *replace_str, size_t li… 56 …pl(pcre_cache_entry *pce, zend_string *subject_str, const char *subject, size_t subject_len, zend_… 57 size_t limit, size_t *replace_count);
|
/PHP-8.2/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 40 void mbfl_memory_device_init(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_init() 48 void mbfl_memory_device_realloc(mbfl_memory_device *device, size_t initsz, size_t allocsz) in mbfl_memory_device_realloc() 100 size_t newlen = device->length + device->allocsz; in mbfl_memory_device_output() 114 int mbfl_memory_device_strncat(mbfl_memory_device *device, const char *psrc, size_t len) in mbfl_memory_device_strncat() 125 size_t newlen = device->length + len + MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_strncat() 165 size_t newlen; in mbfl_wchar_device_output()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 39 size_t l; 45 size_t l; 65 size_t size; 72 size_t length; 101 size_t root_len; 300 size_t count; 1077 size_t offset; 1078 size_t size; 1079 size_t len; 1171 size_t *lengths; [all …]
|