/PHP-8.2/ext/sockets/ |
H A D | conversions.c | 117 static inline void *accounted_ecalloc(size_t nmemb, size_t alloc_size, ser_context *ctx) in accounted_ecalloc() 123 static inline void *accounted_safe_ecalloc(size_t nmemb, size_t alloc_size, size_t offset, ser_cont… in accounted_safe_ecalloc() 843 size_t *offset, in from_zval_write_control() 849 size_t data_len, in from_zval_write_control() 927 size_t control_len, in from_zval_write_control_array() 969 size_t len, in to_zval_read_cmsg_data() 1211 size_t len = MIN(msghdr->msg_iov[i].iov_len, (size_t)bytes_left); in to_zval_read_iov() 1357 return (size_t)-1; in calculate_scm_rights_space() 1363 return (size_t)-1; in calculate_scm_rights_space() 1411 size_t *cmsg_len; in to_zval_read_fd_array() [all …]
|
/PHP-8.2/ext/standard/ |
H A D | file.c | 514 size_t len; in PHP_FUNCTION() 964 size_t format_len; in PHP_FUNCTION() 968 size_t len; in PHP_FUNCTION() 1006 size_t inputlen; in PHP_FUNCTION() 1008 size_t num_bytes; in PHP_FUNCTION() 1152 size_t dir_len; in PHP_FUNCTION() 1176 size_t dir_len; in PHP_FUNCTION() 1197 size_t size = 0; in PHP_FUNCTION() 1255 size_t size; in PHP_FUNCTION() 1770 size_t ret; in php_fputcsv() [all …]
|
/PHP-8.2/ext/intl/grapheme/ |
H A D | grapheme_string.c | 36 size_t string_len; in PHP_FUNCTION() 85 size_t haystack_len, needle_len; in PHP_FUNCTION() 89 size_t noffset = 0; in PHP_FUNCTION() 135 size_t haystack_len, needle_len; in PHP_FUNCTION() 197 size_t haystack_len, needle_len; in PHP_FUNCTION() 252 size_t haystack_len, needle_len; in PHP_FUNCTION() 318 size_t str_len; in PHP_FUNCTION() 527 size_t haystack_len, needle_len; in strstr_common_handler() 547 size_t found_offset = found - haystack; in strstr_common_handler() 694 size_t str_len; in PHP_FUNCTION() [all …]
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 112 PHPDBG_API int phpdbg_is_class_method(const char *str, size_t len, char **class, char **method) /* … in phpdbg_is_class_method() 197 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim() 227 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length) /* {{{ */ in phpdbg_get_color() 250 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length) /* {{{ */ in phpdbg_set_color_ex() 264 PHPDBG_API int phpdbg_get_element(const char *name, size_t len) { in phpdbg_get_element() 439 static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, … in phpdbg_parse_variable_arg_wrapper() 443 PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, size_t i, phpdbg_p… in phpdbg_parse_variable() 447 PHPDBG_API int phpdbg_parse_variable_with_arg(char *input, size_t len, HashTable *parent, size_t i,… in phpdbg_parse_variable_with_arg() 451 size_t index_len = 0; in phpdbg_parse_variable_with_arg() 496 size_t namelen, keylen; in phpdbg_parse_variable_with_arg() [all …]
|
H A D | phpdbg_prompt.h | 24 void phpdbg_init(char *init_file, size_t init_file_len, bool use_default); 25 void phpdbg_try_file_init(char *init_file, size_t init_file_len, bool free_init);
|
/PHP-8.2/ext/zip/ |
H A D | zip_stream.c | 37 size_t cursor; 46 static ssize_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) in php_zip_ops_read() 81 static ssize_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) in php_zip_ops_write() 127 size_t path_len = strlen(stream->orig_path); in php_zip_ops_stat() 131 size_t fragment_len; in php_zip_ops_stat() 284 size_t path_len; in php_stream_zip_opener() 292 size_t fragment_len; in php_stream_zip_opener()
|
/PHP-8.2/Zend/ |
H A D | zend_extensions.c | 283 ZEND_API size_t zend_internal_run_time_cache_reserved_size(void) { in zend_internal_run_time_cache_reserved_size() 288 size_t rt_size = zend_internal_run_time_cache_reserved_size(); in zend_init_internal_run_time_cache() 290 size_t functions = zend_hash_num_elements(CG(function_table)); in zend_init_internal_run_time_cache() 333 size_t size; 347 size_t size = extension->op_array_persist(data->op_array, data->mem); in zend_extension_op_array_persist_handler() 355 ZEND_API size_t zend_extensions_op_array_persist_calc(zend_op_array *op_array) in zend_extensions_op_array_persist_calc() 369 ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *mem) in zend_extensions_op_array_persist()
|
H A D | zend_globals_macros.h | 52 extern ZEND_API size_t language_scanner_globals_offset; 63 extern ZEND_API size_t ini_scanner_globals_offset;
|
/PHP-8.2/main/streams/ |
H A D | php_stream_filter_api.h | 45 size_t buflen; 66 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, uint8… 67 …t_split(php_stream_bucket *in, php_stream_bucket **left, php_stream_bucket **right, size_t length); 87 size_t *bytes_consumed,
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 35 static size_t mb_htmlent_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… 36 static void mb_wchar_to_htmlent(uint32_t *in, size_t len, mb_convert_buf *buf, bool end); 342 static size_t mb_htmlent_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_htmlent_to_wchar() 432 static void mb_wchar_to_htmlent(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_htmlent()
|
/PHP-8.2/sapi/fuzzer/ |
H A D | fuzzer-unserializehash.c | 30 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t FullSize) { in LLVMFuzzerTestOneInput() 37 size_t Size = (Data + FullSize) - Start; in LLVMFuzzerTestOneInput()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 27 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk() 37 mysqlnd_mempool_create(size_t arena_size) in mysqlnd_mempool_create()
|
H A D | mysqlnd_wireprotocol.c | 179 size_t 203 size_t error_msg_len = 0; in php_mysqlnd_read_error_from_line() 500 size_t len; in php_mysqlnd_auth_write() 580 size_t ca_payload_len = 0; in php_mysqlnd_auth_write() 771 static size_t 984 size_t sent = 0; in php_mysqlnd_cmd_write() 1048 size_t len; in php_mysqlnd_rset_header_read() 1173 size_t total_len = 0; in php_mysqlnd_rset_field_read() 1678 size_t data_size = 0; in php_mysqlnd_rowp_read() 1966 size_t sent; in php_mysqlnd_sha256_pk_request_write() [all …]
|
/PHP-8.2/ext/phar/ |
H A D | stream.h | 31 static ssize_t phar_stream_write(php_stream *stream, const char *buf, size_t count); 32 static ssize_t phar_stream_read( php_stream *stream, char *buf, size_t count);
|
/PHP-8.2/ext/opcache/ |
H A D | shared_alloc_shm.c | 53 static int create_segments(size_t requested_size, zend_shared_segment_shm ***shared_segments_p, int… in create_segments() 56 size_t allocate_size = 0, remaining_bytes = requested_size, seg_allocate_size; in create_segments() 133 static size_t segment_type_size(void) in segment_type_size()
|
/PHP-8.2/ext/gettext/ |
H A D | gettext.c | 168 size_t domain_len; in PHP_FUNCTION() 206 size_t msgid1_len, msgid2_len; in PHP_FUNCTION() 229 size_t domain_len, msgid1_len, msgid2_len; in PHP_FUNCTION() 254 size_t domain_len, msgid1_len, msgid2_len; in PHP_FUNCTION() 285 size_t domain_len, codeset_len; in PHP_FUNCTION()
|
/PHP-8.2/sapi/cli/ |
H A D | ps_title.c | 114 static const size_t ps_buffer_size = MAX_PATH; 117 static size_t ps_buffer_size; /* space determined at run time */ 122 static const size_t ps_buffer_size = PS_BUFFER_SIZE; 125 static size_t ps_buffer_cur_len; /* actual string length in ps_buffer */ 397 int get_ps_title(size_t *displen, const char** string) in get_ps_title()
|
/PHP-8.2/ext/opcache/jit/dynasm/ |
H A D | dasm_mips.h | 58 size_t bsize; /* Buffer size in bytes. */ 66 size_t psize; /* Allocated size of this structure. */ 69 size_t lgsize; 71 size_t pcsize; 74 size_t codesize; /* Total size of all code sections. */ 88 size_t psz = 0; in dasm_init() 133 size_t osz = D->pcsize; in dasm_growpc() 160 do { if ((size_t)((char *)pl-(char *)D->kind##labels) >= D->kind##size) { \ 258 int dasm_link(Dst_DECL, size_t *szp) in dasm_link() 361 n = (n + (int)(size_t)base) & 0x0fffffff; in dasm_encode()
|
/PHP-8.2/ext/hash/ |
H A D | hash_xxhash.c | 59 PHP_HASH_API void PHP_XXH32Update(PHP_XXH32_CTX *ctx, const unsigned char *in, size_t len) in PHP_XXH32Update() 123 PHP_HASH_API void PHP_XXH64Update(PHP_XXH64_CTX *ctx, const unsigned char *in, size_t len) in PHP_XXH64Update() 154 typedef XXH_errorcode (*xxh3_reset_with_secret_func_t)(XXH3_state_t*, const void*, size_t); 182 size_t len = ZSTR_LEN(secret_string); in _PHP_XXH3_Init() 207 PHP_HASH_API void PHP_XXH3_64_Update(PHP_XXH3_64_CTX *ctx, const unsigned char *in, size_t len) in PHP_XXH3_64_Update() 257 PHP_HASH_API void PHP_XXH3_128_Update(PHP_XXH3_128_CTX *ctx, const unsigned char *in, size_t len) in PHP_XXH3_128_Update()
|
/PHP-8.2/ext/sodium/ |
H A D | sodium_pwhash.c | 41 static inline int get_options(zend_array *options, size_t *memlimit, size_t *opslimit) { in get_options() 73 size_t opslimit, memlimit; in php_sodium_argon2_hash() 106 size_t opslimit, memlimit; in php_sodium_argon2_needs_rehash()
|
/PHP-8.2/TSRM/ |
H A D | TSRM.c | 41 size_t size; 44 size_t fast_offset; 59 static size_t tsrm_reserved_pos = 0; 60 static size_t tsrm_reserved_size = 0; 277 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo… in ts_allocate_id() 315 TSRM_API void tsrm_reserve(size_t size) in tsrm_reserve() 323 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca… in ts_allocate_fast_id() 753 TSRM_API size_t tsrm_get_ls_cache_tcb_offset(void) in tsrm_get_ls_cache_tcb_offset() 760 size_t ret; in tsrm_get_ls_cache_tcb_offset() 767 size_t ret; in tsrm_get_ls_cache_tcb_offset() [all …]
|
/PHP-8.2/ext/exif/ |
H A D | exif.c | 239 static size_t php_strnlen(char* str, size_t maxlen) { in php_strnlen() 240 size_t len = 0; in php_strnlen() 1924 size_t size; 1944 size_t size; 2048 size_t width; 2049 size_t height; 2202 size_t idex; in exif_iif_add_value() 2807 size_t i; in exif_ifd_make_value() 3055 size_t len; in exif_process_user_comment() 3162 size_t i; in exif_process_IFD_in_MAKERNOTE() [all …]
|
/PHP-8.2/main/ |
H A D | rfc1867.c | 223 size_t detect_order_size; 602 static size_t multipart_buffer_read(multipart_buffer *self, char *buf, size_t bytes, int *end) in multipart_buffer_read() 604 size_t len, max; in multipart_buffer_read() 651 size_t total_bytes=0, read_bytes=0; in multipart_buffer_read_body() 679 size_t array_len = 0; 795 size_t blen = 0, wlen = 0; 835 size_t new_param_len; 848 size_t new_filename_len; 864 size_t value_len; 875 size_t new_value_len; [all …]
|
/PHP-8.2/ext/ffi/tests/ |
H A D | bug78270_1.phpt | 18 __vectorcall int bug78270(const char *str, size_t str_len); 28 __vectorcall int bug78270(const char *str, size_t str_len);
|
/PHP-8.2/ext/zend_test/ |
H A D | php_test.h | 84 PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270(const char *str, size_t str_len); 87 PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems);
|