/PHP-8.1/ext/standard/ |
H A D | password.c | 49 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() 51 size_t pos = 0; in php_password_salt_to64() 77 static zend_string* php_password_make_salt(size_t length) /* {{{ */ in php_password_make_salt() 106 static zend_string* php_password_get_salt(zval *unused_, size_t required_salt_len, HashTable *optio… in php_password_get_salt() 155 size_t i; in php_password_bcrypt_verify() 182 size_t hash_format_len; in php_password_bcrypt_hash() 309 size_t time_cost = PHP_PASSWORD_ARGON2_TIME_COST; in php_password_argon2_hash() 310 size_t memory_cost = PHP_PASSWORD_ARGON2_MEMORY_COST; in php_password_argon2_hash() 311 size_t threads = PHP_PASSWORD_ARGON2_THREADS; in php_password_argon2_hash() 312 size_t encoded_len; in php_password_argon2_hash()
|
H A D | proc_open.c | 141 size_t sizeenv = 0; in _php_array_to_envp() 488 static void append_backslashes(smart_str *str, size_t num_bs) in append_backslashes() 490 for (size_t i = 0; i < num_bs; i++) { in append_backslashes() 499 for (size_t i = 0; i < ZSTR_LEN(arg); ++i) { in is_special_character_present() 511 size_t num_bs = 0; in append_win_escaped_arg() 522 for (size_t i = 0; i < ZSTR_LEN(arg); ++i) { in append_win_escaped_arg() 550 size_t suffix_len = strlen(suffix); in stricmp_end() 551 size_t str_len = strlen(str); in stricmp_end() 669 size_t len = sizeof(COMSPEC_NT) + sizeof(" /s /c ") + cmdw_len + 3; in convert_command_to_use_shell() 1080 size_t cwd_len = 0; /* Optional argument */ in PHP_FUNCTION() [all …]
|
H A D | browscap.c | 94 size_t i; in browscap_compute_prefix_len() 103 static size_t browscap_compute_contains( in browscap_compute_contains() 104 zend_string *pattern, size_t start_pos, in browscap_compute_contains() 106 size_t i = start_pos; in browscap_compute_contains() 131 static size_t browscap_compute_regex_len(zend_string *pattern) { in browscap_compute_regex_len() 132 size_t i, len = ZSTR_LEN(pattern); in browscap_compute_regex_len() 152 size_t i, j=0; in browscap_convert_pattern() 358 size_t pos; in php_browscap_parser_cb() 536 static inline size_t browscap_get_minimum_length(browscap_entry *entry) { in browscap_get_minimum_length() 537 size_t len = entry->prefix_len; in browscap_get_minimum_length() [all …]
|
H A D | syslog.c | 119 size_t ident_len; in PHP_FUNCTION()
|
H A D | basic_functions.c | 605 size_t address_len; in PHP_FUNCTION() 637 size_t address_len; in PHP_FUNCTION() 670 size_t addr_len; in PHP_FUNCTION() 799 size_t str_len; in PHP_FUNCTION() 838 size_t setting_len; 1459 size_t nbytes; 2248 size_t proto_len; 2290 size_t proto_len; 2315 size_t name_len; 2405 size_t path_len; [all …]
|
/PHP-8.1/main/ |
H A D | php_variables.c | 39 PHPAPI void php_register_variable_safe(const char *var, const char *strval, size_t str_len, zval *t… in php_register_variable_safe() 49 static zend_always_inline void php_register_variable_quick(const char *name, size_t name_len, zval … in php_register_variable_quick() 59 static bool php_is_forbidden_variable_name(const char *mangled_name, size_t mangled_name_len, const… in php_is_forbidden_variable_name() 78 size_t var_len, index_len; in php_register_variable_ex() 164 size_t new_idx_len = 0; in php_register_variable_ex() 303 size_t already_scanned; 309 size_t klen, vlen; in add_post_var() 310 size_t new_vlen; in add_post_var() 504 size_t val_len; in SAPI_TREAT_DATA_FUNC() 505 size_t new_val_len; in SAPI_TREAT_DATA_FUNC() [all …]
|
H A D | main.c | 93 PHPAPI size_t core_globals_offset; 264 size_t value; in PHP_INI_MH() 821 size_t len; in php_log_err_with_severity() 862 PHPAPI size_t php_write(void *buf, size_t size) in php_write() 869 PHPAPI size_t php_printf(const char *format, ...) in php_printf() 872 size_t ret; in php_printf() 874 size_t size; in php_printf() 890 size_t ret; in php_printf_unchecked() 892 size_t size; in php_printf_unchecked() 1145 size_t buf_len; in php_win32_docref1_from_error() [all …]
|
H A D | php_streams.h | 116 ssize_t (*write)(php_stream *stream, const char *buf, size_t count); 117 ssize_t (*read)(php_stream *stream, char *buf, size_t count); 225 size_t readbuflen; 230 size_t chunk_size; 314 PHPAPI zend_string *php_stream_read_to_str(php_stream *stream, size_t len); 320 PHPAPI int _php_stream_fill_read_buffer(php_stream *stream, size_t size); 343 PHPAPI char *_php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_le… 347 … zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, size_t d… 466 #define PHP_STREAM_COPY_ALL ((size_t)-1) 470 PHPAPI size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen STREAMS_D… [all …]
|
/PHP-8.1/Zend/ |
H A D | zend.h | 234 size_t (*write_function)(const char *str, size_t str_length); 243 char *(*getenv_function)(const char *name, size_t name_len); 251 typedef size_t (*zend_write_func_t)(const char *str, size_t str_length); 279 ZEND_API size_t zend_get_page_size(void); 281 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); 282 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBU… 283 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap); 288 ZEND_API size_t zend_spprintf_unchecked(char **message, size_t max_len, const char *format, ...); 289 ZEND_API zend_string *zend_strpprintf_unchecked(size_t max_len, const char *format, ...); 293 ZEND_API size_t zend_print_zval(zval *expr, int indent); [all …]
|
H A D | zend_vm_execute.h | 2754 size_t prop_name_len; in zend_fe_fetch_object_helper_SPEC() 6550 size_t len = ZSTR_LEN(op1_str); in ZEND_FAST_CONCAT_SPEC_CONST_CONST_HANDLER() 8456 size_t len = ZSTR_LEN(op1_str); in ZEND_CONCAT_SPEC_CONST_TMPVAR_HANDLER() 8873 size_t len = ZSTR_LEN(op1_str); in ZEND_FAST_CONCAT_SPEC_CONST_TMPVAR_HANDLER() 10821 size_t len = ZSTR_LEN(op1_str); in ZEND_CONCAT_SPEC_CONST_CV_HANDLER() 11238 size_t len = ZSTR_LEN(op1_str); in ZEND_FAST_CONCAT_SPEC_CONST_CV_HANDLER() 14866 size_t len = ZSTR_LEN(op1_str); in ZEND_CONCAT_SPEC_TMPVAR_CONST_HANDLER() 19570 size_t len = 0; in ZEND_ROPE_END_SPEC_TMP_CONST_HANDLER() 20046 size_t len = 0; in ZEND_ROPE_END_SPEC_TMP_TMPVAR_HANDLER() 20905 size_t len = 0; in ZEND_ROPE_END_SPEC_TMP_CV_HANDLER() [all …]
|
H A D | zend_vm_def.h | 408 size_t len = ZSTR_LEN(op1_str); 3184 size_t len = ZSTR_LEN(op1_str); 3345 size_t len = 0; 6818 size_t prop_name_len; in ZEND_VM_HELPER() 7040 size_t prop_name_len; 8640 …ZEND_ASSERT(zend_vm_calc_used_stack(2, call->func) <= (size_t)(((char*)EG(vm_stack_end)) - (char*)…
|
H A D | zend_alloc.c | 372 size_t limit, in zend_mm_safe_error() 377 size_t size) in zend_mm_safe_error() 708 size_t offset; 1466 size_t old_size; 1467 size_t new_size; 1734 size_t size; 1863 size_t size; 2630 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset) 2640 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset) 2657 size_t length; [all …]
|
/PHP-8.1/ext/pgsql/ |
H A D | pgsql.c | 385 size_t i; in _php_pgsql_identifier_is_escaped() 997 size_t len; in PHP_FUNCTION() 1064 size_t query_len; in PHP_FUNCTION() 2621 size_t nbytes; in PHP_FUNCTION() 2622 size_t len; in PHP_FUNCTION() 2887 size_t size; in PHP_FUNCTION() 3317 size_t to_len; in PHP_FUNCTION() 3354 size_t to_len; in PHP_FUNCTION() 3647 size_t len; in PHP_FUNCTION() 4259 size_t new_len; in php_pgsql_meta_data() [all …]
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 369 static const size_t * 385 static const size_t * 395 static const size_t * 398 const size_t * ret; in MYSQLND_METHOD() 462 size_t *lengths = set->lengths; in MYSQLND_METHOD() 676 new_row_buffers = mnd_emalloc((size_t)(total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER))); in MYSQLND_METHOD() 1108 const size_t alloc_size = sizeof(MYSQLND_RES) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_result_init() 1162 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init() 1163 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init() 1198 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init() [all …]
|
/PHP-8.1/ext/zend_test/ |
H A D | php_test.h | 78 PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270(const char *str, size_t str_len); 81 PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems);
|
H A D | test.c | 383 void * zend_test_custom_malloc(size_t len) in zend_test_custom_malloc() 399 void * zend_test_custom_realloc(void * ptr, size_t len) in zend_test_custom_realloc() 825 PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270(const char *str, size_t str_len) in ZEND_GET_MODULE() 839 PHP_ZEND_TEST_API void bug79532(off_t *array, size_t elems) in bug79532()
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 207 size_t code_len; 212 size_t cmd_len = strlen(cmd); in phpdbg_line_init() 307 void phpdbg_try_file_init(char *init_file, size_t init_file_len, bool free_init) /* {{{ */ in phpdbg_try_file_init() 338 void phpdbg_init(char *init_file, size_t init_file_len, bool use_default) /* {{{ */ in phpdbg_init() 406 size_t res_len = strlen(res); in PHPDBG_COMMAND() 559 size_t len; in phpdbg_compile() 927 int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *pare… in phpdbg_output_ev_variable() 1424 size_t lcname_len = strlen(lcname); in PHPDBG_COMMAND()
|
/PHP-8.1/main/streams/ |
H A D | streams.c | 166 size_t l = 0; in php_stream_display_wrapper_errors() 818 size_t len; in _php_stream_puts() 850 size_t avail; in php_stream_locate_eol() 970 size_t toread; in _php_stream_get_line() 1013 size_t seek_len; in _php_stream_search_delim() 1431 size_t mapped; in _php_stream_passthru() 1549 size_t towrite; in _php_stream_copy_to_stream_ex() 1550 size_t dummy; in _php_stream_copy_to_stream_ex() 1570 size_t mapped; in _php_stream_copy_to_stream_ex() 1656 size_t len; in _php_stream_copy_to_stream() [all …]
|
/PHP-8.1/ext/openssl/ |
H A D | openssl.c | 2656 size_t pass_len; in PHP_FUNCTION() 2758 size_t pass_len; in PHP_FUNCTION() 3008 size_t len; in php_openssl_make_REQ() 4839 size_t len; in php_openssl_get_utf8_param() 5160 size_t pub_len; in PHP_FUNCTION() 5229 size_t salt_len; in PHP_FUNCTION() 5570 size_t p7b_len; in PHP_FUNCTION() 6218 size_t p7b_len; in PHP_FUNCTION() 6594 size_t data_len; in PHP_FUNCTION() 6644 size_t data_len; in PHP_FUNCTION() [all …]
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1220 size_t string_len; in zend_assign_to_string_offset() 1350 if ((size_t)offset >= ZSTR_LEN(s)) { in zend_assign_to_string_offset() 1632 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_assign_concat_helper() 1633 size_t op2_len = Z_STRLEN_P(op2); in zend_jit_fast_assign_concat_helper() 1634 size_t result_len = op1_len + op2_len; in zend_jit_fast_assign_concat_helper() 1666 size_t op1_len = Z_STRLEN_P(op1); in zend_jit_fast_concat_helper() 1667 size_t op2_len = Z_STRLEN_P(op2); in zend_jit_fast_concat_helper() 1668 size_t result_len = op1_len + op2_len; in zend_jit_fast_concat_helper() 1688 size_t op1_len = ZSTR_LEN(op1_str); in zend_jit_fast_concat_tmp_helper() 1689 size_t op2_len = Z_STRLEN_P(op2); in zend_jit_fast_concat_tmp_helper() [all …]
|
H A D | zend_jit_trace.c | 462 static zend_always_inline size_t zend_jit_trace_frame_size(const zend_op_array *op_array) in zend_jit_trace_frame_size() 1196 size_t frame_size, stack_top, stack_size, stack_bottom; in zend_jit_trace_build_tssa() 3467 static void zend_jit_trace_setup_ret_counter(const zend_op *opline, size_t offset) in zend_jit_trace_setup_ret_counter() 7144 …zend_jit_compile_root_trace(zend_jit_trace_rec *trace_buffer, const zend_op *opline, size_t offset) in zend_jit_compile_root_trace() 7271 static void zend_jit_blacklist_root_trace(const zend_op *opline, size_t offset) in zend_jit_blacklist_root_trace() 7291 static bool zend_jit_trace_is_bad_root(const zend_op *opline, zend_jit_trace_stop stop, size_t offs… in zend_jit_trace_is_bad_root() 7610 size_t offset; in zend_jit_trace_hot_root() 7674 size_t offset = jit_extension->offset; in zend_jit_trace_hot_root() 8008 size_t offset = jit_extension->offset; in zend_jit_trace_hot_side()
|
/PHP-8.1/ext/dom/ |
H A D | document.c | 587 size_t value_len; in PHP_METHOD() 617 size_t value_len; in PHP_METHOD() 647 size_t value_len; in PHP_METHOD() 714 size_t name_len; in PHP_METHOD() 751 size_t name_len; in PHP_METHOD() 783 size_t name_len; in PHP_METHOD() 1039 size_t idname_len; in PHP_METHOD() 1330 size_t source_len; in dom_parse_document() 1414 size_t file_len = 0; in PHP_METHOD() 1863 size_t source_len; in dom_load_html() [all …]
|
H A D | element.c | 208 size_t name_len; in PHP_METHOD() 249 size_t name_len, value_len; in PHP_METHOD() 315 size_t name_len; in PHP_METHOD() 362 size_t name_len; in PHP_METHOD() 500 size_t name_len; in PHP_METHOD() 814 size_t name_len, uri_len; in PHP_METHOD() 863 size_t uri_len, name_len; in PHP_METHOD() 977 size_t uri_len, name_len; in PHP_METHOD() 1007 size_t name_len; in PHP_METHOD() 1035 size_t uri_len, name_len; in PHP_METHOD() [all …]
|
/PHP-8.1/ext/zip/ |
H A D | php_zip.c | 87 size_t i; in php_zip_make_relative_path() 135 size_t dir_len, len; in php_zip_extract_file() 614 size_t n; in php_zip_glob() 1895 size_t name_len; 2154 size_t name_len; 2213 size_t name_len; 2341 size_t name_len; 2399 size_t name_len; 2459 size_t name_len; 2544 size_t name_len; [all …]
|
/PHP-8.1/ext/dl_test/ |
H A D | dl_test.c | 41 size_t var_len = sizeof("World") - 1; in PHP_FUNCTION()
|