/PHP-7.2/main/ |
H A D | explicit_bzero.c | 34 __explicit_bzero_hook(void *dst, size_t siz) in __explicit_bzero_hook() 38 PHPAPI void php_explicit_bzero(void *dst, size_t siz) in php_explicit_bzero()
|
H A D | output.c | 90 static size_t php_output_stdout(const char *str, size_t str_len) in php_output_stdout() 95 static size_t php_output_stderr(const char *str, size_t str_len) in php_output_stderr() 104 static size_t (*php_output_direct)(const char *str, size_t str_len) = php_output_stderr; 243 PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len) in php_output_write_unbuffered() 254 PHPAPI size_t php_output_write(const char *str, size_t len) in php_output_write() 460 …php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_hand… in php_output_start_internal() 594 …output_handler_conflict(const char *handler_new, size_t handler_new_len, const char *handler_set, … in php_output_handler_conflict() 801 …d php_output_context_feed(php_output_context *context, char *data, size_t size, size_t used, zend_… in php_output_context_feed() 888 size_t grow_max = MAX(grow_int, grow_buf); in php_output_handler_append() 1254 size_t out_len = 0; in php_output_handler_compat_func() [all …]
|
/PHP-7.2/ext/ftp/ |
H A D | ftp.c | 74 const size_t cmd_len, 76 const size_t args_len); 240 ftp_login(ftpbuf_t *ftp, const char *user, const size_t user_len, const char *pass, const size_t pa… in ftp_login() 624 size_t buffer_len; in ftp_chmod() 893 size_t rcvd; in ftp_get() 935 if (rcvd == (size_t)-1) { in ftp_get() 1993 size_t size, rcvd; in ftp_genlist() 1994 size_t lines; in ftp_genlist() 2036 if (rcvd == (size_t)-1 || rcvd > ((size_t)(-1))-size) { in ftp_genlist() 2155 size_t rcvd; in ftp_nb_continue_read() [all …]
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_arrays.h | 12 size_t sz; 13 size_t used; 14 size_t allocated; 87 size_t new_allocated = a->allocated ? a->allocated * 2 : 20; in fpm_array_push()
|
/PHP-7.2/TSRM/ |
H A D | tsrm_win32.h | 43 size_t shm_segsz; 98 char * tsrm_win32_get_path_sid_key(const char *pathname, size_t pathname_len, size_t *key_len); 109 TSRM_API int shmget(key_t key, size_t size, int flags);
|
/PHP-7.2/ext/standard/ |
H A D | quot_print.h | 24 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… 25 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
|
H A D | uuencode.c | 68 PHPAPI zend_string *php_uuencode(char *src, size_t src_len) /* {{{ */ in php_uuencode() 70 size_t len = 45; in php_uuencode() 132 PHPAPI zend_string *php_uudecode(char *src, size_t src_len) /* {{{ */ in php_uudecode() 134 size_t len, total_len=0; in php_uudecode() 138 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode() 179 if ((len = total_len) > (size_t)(p - ZSTR_VAL(dest))) { in php_uudecode()
|
H A D | link.c | 58 size_t link_len; in PHP_FUNCTION() 89 size_t link_len; in PHP_FUNCTION() 122 size_t topath_len, frompath_len; in PHP_FUNCTION() 127 size_t len; in PHP_FUNCTION() 181 size_t topath_len, frompath_len; in PHP_FUNCTION()
|
H A D | php_fopen_wrapper.c | 34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_output_write() 41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_output_read() 72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_input_write() 78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_input_read() 81 size_t read; in php_stream_input_read() 85 size_t read_bytes = sapi_read_post_block(buf, count); in php_stream_input_read() 100 if (!read || read == (size_t) -1) { in php_stream_input_read()
|
H A D | password.c | 79 const size_t len = ZSTR_LEN(hash); in php_password_determine_algo() 94 size_t i = 0; in php_password_salt_is_alphabet() 105 static int php_password_salt_to64(const char *str, const size_t str_len, const size_t out_len, char… in php_password_salt_to64() 107 size_t pos = 0; in php_password_salt_to64() 133 static zend_string* php_password_make_salt(size_t length) /* {{{ */ in php_password_make_salt() 313 size_t i; in PHP_FUNCTION() 432 size_t hash_format_len; in PHP_FUNCTION() 479 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in PHP_FUNCTION() 480 size_t memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in PHP_FUNCTION() 481 size_t threads = PHP_PASSWORD_ARGON2_THREADS; in PHP_FUNCTION() [all …]
|
/PHP-7.2/main/streams/ |
H A D | glob_wrapper.c | 42 size_t index; 45 size_t path_len; 47 size_t pattern_len; 50 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, size_t *plen STREAMS_DC) /* {{… in _php_glob_stream_get_path() 72 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, size_t *plen STREAMS_DC) /*… in _php_glob_stream_get_pattern() 140 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read() 148 if (pglob->index < (size_t)pglob->glob.gl_pathc) { in php_glob_stream_read()
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 210 PCREPOSIX_EXP_DEFN size_t PCRE_CALL_CONVENTION 211 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() 214 size_t length, addlength; in regerror() 300 preg->re_nsub = (size_t)re_nsub; in regcomp() 323 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() 338 ((regex_t *)preg)->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ in regexec() 387 size_t i; in regexec() 390 for (i = 0; i < (size_t)rc; i++) in regexec()
|
H A D | pcre.h | 489 PCRE_EXP_DECL void *(*pcre_malloc)(size_t); 491 PCRE_EXP_DECL void *(*pcre_stack_malloc)(size_t); 496 PCRE_EXP_DECL void *(*pcre16_malloc)(size_t); 498 PCRE_EXP_DECL void *(*pcre16_stack_malloc)(size_t); 503 PCRE_EXP_DECL void *(*pcre32_malloc)(size_t); 510 PCRE_EXP_DECL void *pcre_malloc(size_t); 512 PCRE_EXP_DECL void *pcre_stack_malloc(size_t); 517 PCRE_EXP_DECL void *pcre16_malloc(size_t); 519 PCRE_EXP_DECL void *pcre16_stack_malloc(size_t); 524 PCRE_EXP_DECL void *pcre32_malloc(size_t); [all …]
|
/PHP-7.2/ext/bz2/ |
H A D | bz2.c | 138 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count) in php_bz2iop_read() 141 size_t ret = 0; in php_bz2iop_read() 145 size_t remain = count - ret; in php_bz2iop_read() 165 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count) in php_bz2iop_write() 167 size_t wrote = 0; in php_bz2iop_write() 173 size_t remain = count - wrote; in php_bz2iop_write() 400 size_t mode_len; in PHP_FUNCTION() 429 size_t stream_mode_len; in PHP_FUNCTION() 567 size_t source_len; in PHP_FUNCTION() 621 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION() [all …]
|
H A D | bz2_filter.c | 40 size_t inbuf_len; 41 size_t outbuf_len; 72 size_t *bytes_consumed, in php_bz2_decompress_filter() 78 size_t consumed = 0; in php_bz2_decompress_filter() 92 size_t bin = 0, desired; in php_bz2_decompress_filter() 141 size_t bucketlen = data->outbuf_len - data->strm.avail_out; in php_bz2_decompress_filter() 163 size_t bucketlen = data->outbuf_len - data->strm.avail_out; in php_bz2_decompress_filter() 210 size_t *bytes_consumed, in php_bz2_compress_filter() 216 size_t consumed = 0; in php_bz2_compress_filter() 228 size_t bin = 0, desired; in php_bz2_compress_filter() [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_interfaces.h | 42 …lass_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len,… 76 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial… 77 …nserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unse… 79 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, size_t *buf_len, zend_… 80 …alize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unse…
|
H A D | zend_llist.h | 40 size_t count; 41 size_t size; 50 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char per… 62 ZEND_API size_t zend_llist_count(zend_llist *l);
|
H A D | zend_smart_string.h | 74 static zend_always_inline size_t smart_string_alloc(smart_string *str, size_t len, zend_bool persis… in smart_string_alloc() 83 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in smart_string_alloc() 114 static zend_always_inline void smart_string_appendl_ex(smart_string *dest, const char *str, size_t … in smart_string_appendl_ex() 115 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() 133 static zend_always_inline void smart_string_setl(smart_string *dest, char *src, size_t len) { in smart_string_setl()
|
H A D | zend_stream.c | 52 static size_t zend_stream_stdio_reader(void *handle, char *buf, size_t len) /* {{{ */ in zend_stream_stdio_reader() 64 static size_t zend_stream_stdio_fsizer(void *handle) /* {{{ */ in zend_stream_stdio_fsizer() 106 static size_t zend_stream_fsize(zend_file_handle *file_handle) /* {{{ */ in zend_stream_fsize() 153 static size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read() 157 size_t n; in zend_stream_read() 171 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {{{ */ in zend_stream_fixup() 173 size_t size; in zend_stream_fixup() 213 if (size == (size_t)-1) { in zend_stream_fixup() 222 size_t page_size = REAL_PAGE_SIZE; in zend_stream_fixup() 248 size_t read, remain = 4*1024; in zend_stream_fixup()
|
H A D | zend_string.h | 33 ZEND_API zend_ulong zend_hash_func(const char *str, size_t len); 132 static zend_always_inline zend_string *zend_string_alloc(size_t len, int persistent) in zend_string_alloc() 150 static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, int per… in zend_string_safe_alloc() 168 static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent) in zend_string_init() 177 static zend_always_inline zend_string *zend_string_init_interned(const char *str, size_t len, int p… in zend_string_init_interned() 201 static zend_always_inline zend_string *zend_string_realloc(zend_string *s, size_t len, int persiste… in zend_string_realloc() 220 static zend_always_inline zend_string *zend_string_extend(zend_string *s, size_t len, int persisten… in zend_string_extend() 240 static zend_always_inline zend_string *zend_string_truncate(zend_string *s, size_t len, int persist… in zend_string_truncate() 260 …s_inline zend_string *zend_string_safe_realloc(zend_string *s, size_t n, size_t m, size_t l, int p… in zend_string_safe_realloc() 344 static zend_always_inline zend_ulong zend_inline_hash_func(const char *str, size_t len) in zend_inline_hash_func()
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_read_buffer.c | 37 mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, const size_t count, zend_uchar * dest) in mysqlnd_read_buffer_read() 49 static size_t 74 mysqlnd_create_read_buffer(const size_t count) in mysqlnd_create_read_buffer()
|
H A D | mysqlnd_net.c | 91 size_t to_read = count, ret; in MYSQLND_METHOD() 115 static size_t 119 size_t ret; in MYSQLND_METHOD() 361 static size_t 368 size_t left = count; in MYSQLND_METHOD() 371 size_t to_be_sent; in MYSQLND_METHOD() 392 size_t payload_size; in MYSQLND_METHOD() 508 static size_t 554 size_t decompressed_size; in MYSQLND_METHOD() 654 size_t to_read = count; in MYSQLND_METHOD() [all …]
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | magic.h | 98 const char *magic_buffer(magic_t, const void *, size_t); 105 int magic_load_buffers(magic_t, void **, size_t *, size_t);
|
/PHP-7.2/ext/opcache/ |
H A D | zend_shared_alloc.c | 100 static void no_memory_bailout(size_t allocate_size, char *error) in no_memory_bailout() 149 int zend_shared_alloc_startup(size_t requested_size) in zend_shared_alloc_startup() 152 size_t shared_segments_array_size; in zend_shared_alloc_startup() 263 size_t shared_segments_array_size; in zend_shared_alloc_shutdown() 285 static size_t zend_shared_alloc_get_largest_free_block(void) in zend_shared_alloc_get_largest_free_block() 288 size_t largest_block_size = 0; in zend_shared_alloc_get_largest_free_block() 291 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() 309 void *zend_shared_alloc(size_t size) in zend_shared_alloc() 337 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size() 349 void *_zend_shared_memdup(void *source, size_t size, zend_bool free_source) in _zend_shared_memdup() [all …]
|
/PHP-7.2/sapi/cli/ |
H A D | php_cli_server.c | 126 size_t vpath_len; 130 size_t path_info_len; 136 size_t content_len; 138 size_t ext_len; 169 size_t addr_str_len; 195 size_t router_len; 313 size_t s = 0; in get_template_string() 596 size_t new_val_len; in sapi_cli_server_register_variable() 804 size_t i; in php_cli_server_poller_iter_on_active() 925 size_t retval = 0; in php_cli_server_buffer_size() [all …]
|