/PHP-7.4/main/streams/ |
H A D | mmap.c | 23 …_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t … in _php_stream_mmap_range()
|
/PHP-7.4/main/ |
H A D | fopen_wrappers.h | 28 …ilepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len); 29 …ith_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, i… 40 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path);
|
H A D | mergesort.c | 67 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con… 68 static void insertionsort(u_char *a, size_t n, size_t size, int (*cmp)(const void *, const void *)); 103 PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void… in php_mergesort() 105 register size_t i; in php_mergesort() 263 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con… in setup() 265 size_t i, length, size2, sense; in setup() 334 static void insertionsort(u_char *a, size_t n, size_t size, int (*cmp)(const void *, const void *)) in insertionsort() 337 size_t i; in insertionsort()
|
H A D | snprintf.c | 69 size_t siz; in __cvt() 443 size_t t_len; in php_conv_fp() 556 while ( s_len < (size_t)precision ) \ 571 while ( (size_t)width > len ) 589 size_t i; in format_converter() 592 size_t s_len; in format_converter() 817 i_num = (wide_int) va_arg(ap, size_t); in format_converter() 861 i_num = (wide_int) va_arg(ap, size_t); in format_converter() 911 ui_num = (u_wide_int) va_arg(ap, size_t); in format_converter() 1257 if ((size_t)cc >= len) { in ap_php_slprintf() [all …]
|
/PHP-7.4/ext/dba/libflatfile/ |
H A D | flatfile.c | 108 size_t size = key_datum.dsize; in flatfile_delete() 109 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_delete() 111 size_t num; in flatfile_delete() 112 size_t pos; in flatfile_delete() 159 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_findkey() 161 size_t num; in flatfile_findkey() 164 size_t size = key_datum.dsize; in flatfile_findkey() 203 size_t num; in flatfile_firstkey() 204 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_firstkey() 246 size_t num; in flatfile_nextkey() [all …]
|
/PHP-7.4/ext/intl/msgformat/ |
H A D | msgformat_parse.c | 31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *retur… in msgfmt_do_parse() 64 size_t source_len; in PHP_FUNCTION() 95 size_t pattern_len = 0; in PHP_FUNCTION() 97 size_t slocale_len = 0; in PHP_FUNCTION() 99 size_t src_len = 0; in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 60 size_t tmp_complen = to_be_sent; in write_compressed_packet() 61 size_t payload_size; in write_compressed_packet() 81 size_t decompressed_size = left + MYSQLND_HEADER_SIZE; in write_compressed_packet() 116 static size_t 122 size_t packets_sent = 1; in MYSQLND_METHOD() 123 size_t left = count; in MYSQLND_METHOD() 126 size_t to_be_sent; in MYSQLND_METHOD() 157 const size_t split_off_bytes = 8192; in MYSQLND_METHOD() 220 size_t decompressed_size; in MYSQLND_METHOD() 320 size_t to_read = count; in MYSQLND_METHOD() [all …]
|
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()
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 1098 size_t i; in php_mb_nls_get_default_detect_order_list() 1118 size_t i; in php_mb_rfc1867_substring_conf() 2486 size_t n; in PHP_FUNCTION() 2523 size_t n; in PHP_FUNCTION() 2649 size_t n = (size_t) -1; in PHP_FUNCTION() 2677 size_t n = (size_t) -1; in PHP_FUNCTION() 2700 size_t n; in PHP_FUNCTION() 2751 size_t n; in PHP_FUNCTION() 2805 size_t n; in PHP_FUNCTION() 2856 size_t n; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | php_uuencode.h | 25 PHPAPI zend_string *php_uudecode(char *src, size_t src_len); 26 PHPAPI zend_string *php_uuencode(char *src, size_t src_len);
|
H A D | quot_print.h | 22 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… 23 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
|
H A D | crypt_sha512.c | 125 size_t nwords = len / sizeof(uint64_t); in sha512_process_block() 245 size_t pad; in sha512_finish_ctx() 254 pad = bytes >= 112 ? 128 + 112 - (size_t)bytes : 112 - (size_t)bytes; in sha512_finish_ctx() 278 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes() 279 size_t add = (size_t)(256 - left_over > len ? len : 256 - left_over); in sha512_process_bytes() 290 (size_t)ctx->buflen); in sha512_process_bytes() 324 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes() 370 size_t salt_len; in php_sha512_crypt_r() 371 size_t key_len; in php_sha512_crypt_r() 372 size_t cnt; in php_sha512_crypt_r() [all …]
|
H A D | string.c | 119 size_t i, j; in php_bin2hex() 140 size_t i, j; in php_hex2bin() 1620 PHPAPI size_t php_dirname(char *path, size_t len) 2417 if ((size_t)(-l) > ZSTR_LEN(str) - (size_t)f) { 2437 if ((size_t)(-l) > ZSTR_LEN(str) - (size_t)f) { 2442 } else if ((size_t)l > ZSTR_LEN(str) - (size_t)f) { 2914 size_t i; 2950 size_t i; 3603 …_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *pos1, size_t *p… 3608 size_t l; [all …]
|
H A D | html.c | 100 size_t str_len, in get_next_char() 101 size_t *cursor, in get_next_char() 361 size_t str_len, in php_next_utf8_char() 362 size_t *cursor, in php_next_utf8_char() 374 size_t i; in determine_charset() 376 size_t len = 0; in determine_charset() 892 size_t oldlen, in traverse_for_entities() 1056 size_t new_size; in php_unescape_html_entities() 1100 size_t oldlen, in find_entity_for_char() 1101 size_t *cursor) in find_entity_for_char() [all …]
|
H A D | exec.c | 57 static size_t cmd_max_len; 97 size_t l = 0; in php_exec() 101 size_t buflen, bufl = 0; in php_exec() 216 size_t cmd_len; in php_exec_ex() 294 register size_t x, y; in php_escape_shell_cmd() 295 size_t l = strlen(str); in php_escape_shell_cmd() 401 size_t x, y = 0; in php_escape_shell_arg() 402 size_t l = strlen(str); in php_escape_shell_arg() 487 size_t command_len; in PHP_FUNCTION() 510 size_t argument_len; in PHP_FUNCTION() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_stream.c | 28 static ssize_t zend_stream_stdio_reader(void *handle, char *buf, size_t len) /* {{{ */ in zend_stream_stdio_reader() 40 static size_t zend_stream_stdio_fsizer(void *handle) /* {{{ */ in zend_stream_stdio_fsizer() 54 static size_t zend_stream_fsize(zend_file_handle *file_handle) /* {{{ */ in zend_stream_fsize() 98 static ssize_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read() 102 size_t n; in zend_stream_read() 116 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {{{ */ in zend_stream_fixup() 118 size_t file_size; in zend_stream_fixup() 146 if (file_size == (size_t)-1) { in zend_stream_fixup() 152 size_t size = 0; in zend_stream_fixup() 164 size_t size = 0, remain = 4*1024; in zend_stream_fixup()
|
H A D | zend_interfaces.h | 40 …lass_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len,… 74 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial… 75 …nserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unse… 77 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, size_t *buf_len, zend_… 78 …alize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unse…
|
H A D | zend_string.c | 31 static zend_string* ZEND_FASTCALL zend_string_init_interned_permanent(const char *str, size_t size,… 32 static zend_string* ZEND_FASTCALL zend_string_init_interned_request(const char *str, size_t size, i… 52 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len) in zend_hash_func() 254 static zend_string* ZEND_FASTCALL zend_string_init_interned_permanent(const char *str, size_t size,… in zend_string_init_interned_permanent() 270 static zend_string* ZEND_FASTCALL zend_string_init_interned_request(const char *str, size_t size, i… in zend_string_init_interned_request() 331 size_t delta = (char*)s2 - (char*)s1; in zend_string_equal_val() 332 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() 368 size_t len = ZSTR_LEN(s1); in I_WRAP_SONAME_FNNAME_ZU() 399 size_t delta = (char*)s2 - (char*)s1; in zend_string_equal_val() 400 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() [all …]
|
/PHP-7.4/ext/hash/ |
H A D | php_hash_gost.h | 27 size_t count[2]; 34 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *, const unsigned char *, size_t);
|
H A D | hash_joaat.c | 42 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… in PHP_JOAATUpdate() 73 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf() 75 size_t i; in joaat_buf()
|
H A D | php_hash_joaat.h | 27 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… 30 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
|
/PHP-7.4/ext/phar/ |
H A D | php_phar.h | 35 PHP_PHAR_API int phar_resolve_alias(char *alias, size_t alias_len, char **filename, size_t *filenam…
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_arrays.h | 11 size_t sz; 12 size_t used; 13 size_t allocated; 86 size_t new_allocated = a->allocated ? a->allocated * 2 : 20; in fpm_array_push()
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.h | 41 size_t shm_segsz; 96 char * tsrm_win32_get_path_sid_key(const char *pathname, size_t pathname_len, size_t *key_len); 107 TSRM_API int shmget(key_t key, size_t size, int flags);
|
/PHP-7.4/ext/readline/ |
H A D | readline_cli.c | 80 static size_t readline_shell_write(const char *str, size_t str_length) /* {{{ */ in readline_shell_write() 98 static size_t readline_shell_ub_write(const char *str, size_t str_length) /* {{{ */ in readline_shell_ub_write() 105 return (size_t) -1; in readline_shell_ub_write() 206 static int cli_is_valid_code(char *code, size_t len, zend_string **prompt) /* {{{ */ in cli_is_valid_code() 211 size_t i; in cli_is_valid_code() 214 size_t heredoc_len; in cli_is_valid_code() 437 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var() 516 size_t textlen = strlen(text); in cli_completion_generator() 532 size_t class_name_len = class_name_end - text; in cli_completion_generator() 570 size_t len = ZSTR_LEN(ce->name) + 2 + strlen(retval) + 1; in cli_completion_generator() [all …]
|