Home
last modified time | relevance | path

Searched refs:size_t (Results 126 – 150 of 762) sorted by relevance

12345678910>>...31

/PHP-8.2/ext/hash/
H A Dphp_hash_sha.h34 PHP_HASH_API void PHP_SHA224Update(PHP_SHA224_CTX *, const unsigned char *, size_t);
47 PHP_HASH_API void PHP_SHA256Update(PHP_SHA256_CTX *, const unsigned char *, size_t);
60 PHP_HASH_API void PHP_SHA384Update(PHP_SHA384_CTX *, const unsigned char *, size_t);
73 PHP_HASH_API void PHP_SHA512Update(PHP_SHA512_CTX *, const unsigned char *, size_t);
H A Dhash_sha3.c52 size_t i; in store64()
59 size_t i; in xor64()
157 size_t count, in PHP_SHA3_Update()
158 size_t block_size) { in PHP_SHA3_Update()
160 size_t len = block_size - ctx->pos; in PHP_SHA3_Update()
181 size_t block_size, in PHP_SHA3_Final()
182 size_t digest_size) { in PHP_SHA3_Final()
183 size_t len = digest_size; in PHP_SHA3_Final()
207 size_t block_size) in php_sha3_unserialize()
228 size_t inputLen) { \
[all …]
H A Dhash_joaat.c44 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… in PHP_JOAATUpdate()
80 joaat_buf(void *buf, size_t len, uint32_t hval) in joaat_buf()
82 size_t i; in joaat_buf()
H A Dphp_hash.h35 typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count);
51 size_t digest_size;
52 size_t block_size;
53 size_t context_size;
161 static inline void php_hash_bin2hex(char *out, const unsigned char *in, size_t in_len) in php_hash_bin2hex()
164 size_t i; in php_hash_bin2hex()
/PHP-8.2/TSRM/
H A Dtsrm_win32.h37 size_t shm_segsz;
91 const char * tsrm_win32_get_path_sid_key(const char *pathname, size_t pathname_len, size_t *key_len…
102 TSRM_API int shmget(key_t key, size_t size, int flags);
/PHP-8.2/Zend/
H A Dzend_sort.c84 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_… in zend_insert_sort()
97 size_t siz2 = siz + siz; in zend_insert_sort()
103 size_t siz2 = siz + siz; in zend_insert_sort()
112 size_t siz2= siz + siz; in zend_insert_sort()
248 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp) in zend_sort()
258 size_t offset = (nmemb >> Z_L(1)); in zend_sort()
262 size_t delta = (offset >> Z_L(1)) * siz; in zend_sort()
H A Dzend_stream.c28 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()
109 static ssize_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read()
113 size_t n; in zend_stream_read()
127 ZEND_API zend_result zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {… in zend_stream_fixup()
129 size_t file_size; in zend_stream_fixup()
157 if (file_size == (size_t)-1) { in zend_stream_fixup()
163 size_t size = 0; in zend_stream_fixup()
175 size_t size = 0, remain = 4*1024; in zend_stream_fixup()
H A Dzend_extensions.h74 typedef size_t (*op_array_persist_calc_func_t)(zend_op_array *op_array);
75 typedef size_t (*op_array_persist_func_t)(zend_op_array *op_array, void *mem);
148 ZEND_API size_t zend_internal_run_time_cache_reserved_size(void);
156 ZEND_API size_t zend_extensions_op_array_persist_calc(zend_op_array *op_array);
157 ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *mem);
H A Dzend_constants.c136 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_… in zend_register_null_constant()
178 … void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval, size_t in zend_register_stringl_constant()
194 static zend_constant *zend_get_halt_offset_constant(const char *name, size_t name_len) in zend_get_halt_offset_constant()
205 size_t clen; in zend_get_halt_offset_constant()
220 ZEND_API zend_constant *_zend_get_special_const(const char *name, size_t len) /* {{{ */ in _zend_get_special_const()
264 static zend_constant *zend_get_constant_str_impl(const char *name, size_t name_len) in zend_get_constant_str_impl()
279 ZEND_API zval *zend_get_constant_str(const char *name, size_t name_len) in zend_get_constant_str()
403 size_t name_len = ZSTR_LEN(cname); in zend_get_constant_ex()
415 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex()
501 size_t const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex()
[all …]
H A Dzend_language_scanner.h41 size_t script_org_size;
45 size_t script_filtered_size;
55 const char *text, size_t length, void *context);
H A Dzend_vm_trace_handlers.h27 static void zend_vm_trace(const char *op, size_t op_len) in zend_vm_trace()
30 static size_t last_len = 0; in zend_vm_trace()
32 size_t len; in zend_vm_trace()
90 size_t len; in zend_vm_trace_init()
/PHP-8.2/ext/readline/
H A Dreadline_cli.c78 static size_t readline_shell_write(const char *str, size_t str_length) /* {{{ */ in readline_shell_write()
96 static size_t readline_shell_ub_write(const char *str, size_t str_length) /* {{{ */ in readline_shell_ub_write()
103 return (size_t) -1; in readline_shell_ub_write()
214 static int cli_is_valid_code(char *code, size_t len, zend_string **prompt) /* {{{ */ in cli_is_valid_code()
219 size_t i; in cli_is_valid_code()
222 size_t heredoc_len; in cli_is_valid_code()
450 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var()
529 size_t textlen = strlen(text); in cli_completion_generator()
545 size_t class_name_len = class_name_end - text; in cli_completion_generator()
585 size_t len = ZSTR_LEN(ce->name) + 2 + strlen(retval) + 1; in cli_completion_generator()
[all …]
/PHP-8.2/sapi/fuzzer/
H A Dfuzzer-mbstring.c23 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput()
29 size_t ToEncodingNameLen = Comma1 - Data; in LLVMFuzzerTestOneInput()
40 size_t FromEncodingNameLen = Comma2 - Data; in LLVMFuzzerTestOneInput()
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_arrays.h13 size_t sz;
14 size_t used;
15 size_t allocated;
88 size_t new_allocated = a->allocated ? a->allocated * 2 : 20; in fpm_array_push()
/PHP-8.2/main/streams/
H A Dmemory.c23 PHPAPI size_t php_url_decode(char *str, size_t len);
39 size_t fpos;
125 if (ms->fpos < (size_t)(-offset)) { in php_stream_memory_seek()
148 if (ZSTR_LEN(ms->data) < (size_t)(offset)) { in php_stream_memory_seek()
222 size_t newsize; in php_stream_memory_set_option()
234 newsize = *(size_t*)ptrparam; in php_stream_memory_set_option()
241 size_t old_size = ZSTR_LEN(ms->data); in php_stream_memory_set_option()
336 size_t smax;
378 size_t got; in php_stream_temp_read()
576 PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, const char *buf, size_t in _php_stream_temp_open()
[all …]
/PHP-8.2/ext/phar/
H A Dphp_phar.h35 PHP_PHAR_API int phar_resolve_alias(char *alias, size_t alias_len, char **filename, size_t *filenam…
/PHP-8.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.h144 typedef size_t (*mb_to_wchar_fn)(unsigned char **in, size_t *in_len, uint32_t *out, size_t out_len,…
145 typedef void (*mb_from_wchar_fn)(uint32_t *in, size_t in_len, mb_convert_buf *out, bool end);
146 typedef bool (*mb_check_fn)(unsigned char *in, size_t in_len);
152 static inline void mb_convert_buf_init(mb_convert_buf *buf, size_t initsize, uint32_t repl_char, un… in mb_convert_buf_init()
165 size_t oldsize = limit - (unsigned char*)ZSTR_VAL(buf->str); \
166 size_t newsize = oldsize + MAX(oldsize >> 1, needed); \
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_driver.c99 const size_t alloc_size_ret = sizeof(MYSQLND) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD()
100 …const size_t alloc_size_ret_data = sizeof(MYSQLND_CONN_DATA) + mysqlnd_plugin_count() * sizeof(voi… in MYSQLND_METHOD()
157 const size_t alloc_size_ret = sizeof(MYSQLND) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD()
186 const size_t alloc_size = sizeof(MYSQLND_STMT) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD()
222 …const size_t pfc_alloc_size = ZEND_MM_ALIGNED_SIZE(sizeof(MYSQLND_PFC) + mysqlnd_plugin_count() * … in MYSQLND_METHOD()
223 …const size_t pfc_data_alloc_size = sizeof(MYSQLND_PFC_DATA) + mysqlnd_plugin_count() * sizeof(void… in MYSQLND_METHOD()
244 …const size_t vio_alloc_size = ZEND_MM_ALIGNED_SIZE(sizeof(MYSQLND_VIO) + mysqlnd_plugin_count() * … in MYSQLND_METHOD()
245 …const size_t vio_data_alloc_size = sizeof(MYSQLND_VIO_DATA) + mysqlnd_plugin_count() * sizeof(void… in MYSQLND_METHOD()
266 …const size_t alloc_size = sizeof(MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY) + mysqlnd_plugin_count(… in MYSQLND_METHOD()
H A Dmysqlnd_read_buffer.c35 mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, const size_t count, zend_uchar * dest) in mysqlnd_read_buffer_read()
47 static size_t
72 mysqlnd_create_read_buffer(const size_t count) in mysqlnd_create_read_buffer()
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_string_utils.c63 PRIV(memmove)(void *d, const void *s, size_t n) in PRIV()
69 size_t i; in PRIV()
157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV()
186 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV()
/PHP-8.2/ext/standard/
H A Duuencode.c64 PHPAPI zend_string *php_uuencode(const char *src, size_t src_len) /* {{{ */ in php_uuencode()
66 size_t len = 45; in php_uuencode()
129 PHPAPI zend_string *php_uudecode(const char *src, size_t src_len) /* {{{ */ in php_uudecode()
131 size_t len, total_len=0; in php_uudecode()
140 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode()
181 if ((len = total_len) > (size_t)(p - ZSTR_VAL(dest))) { in php_uudecode()
H A Dcrc32.h29 PHPAPI uint32_t php_crc32_bulk_update(uint32_t crc, const char *p, size_t nr);
32 PHPAPI int php_crc32_stream_bulk_update(uint32_t *crc, php_stream *fp, size_t nr);
/PHP-8.2/win32/
H A Dioutil.h161 size_t _len = wcslen(pathw); \
171 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
180 __forceinline static wchar_t *php_win32_ioutil_conv_any_to_w(const char* in, size_t in_len, size_t in php_win32_ioutil_conv_any_to_w()
183 size_t mb_len; in php_win32_ioutil_conv_any_to_w()
192 size_t new_mb_len; in php_win32_ioutil_conv_any_to_w()
263 PW32IO size_t php_win32_ioutil_dirname(char *buf, size_t len);
441 size_t newnamew_len = wcslen(newnamew); in php_win32_ioutil_rename()
494 size_t tmp_bufa_len; in php_win32_ioutil_getcwd()
639 size_t reta_len; in php_win32_ioutil_realpath_ex0()
746 size_t pathw_len; in php_win32_ioutil_stat_ex()
[all …]
/PHP-8.2/ext/mbstring/
H A Dphp_mbregex.c58 size_t search_pos;
492 size_t len_req = 0; in _php_mb_regex_get_option_string()
597 size_t n; in _php_mb_regex_init_options()
673 size_t search_len;
709 size_t subject_len, in mb_regex_substitute()
711 size_t replace_len, in mb_regex_substitute()
994 size_t string_len; in _php_mb_regex_ereg_replace_exec()
1184 size_t string_len; in PHP_FUNCTION()
1213 size_t beg, end; in PHP_FUNCTION()
1265 size_t string_len; in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/ftp/
H A Dftp.c73 const size_t cmd_len,
75 const size_t args_len);
632 size_t buffer_len; in ftp_chmod()
893 size_t rcvd; in ftp_get()
935 if (rcvd == (size_t)-1) { in ftp_get()
1396 size_t sent; in single_send()
1984 size_t size, rcvd; in ftp_genlist()
1985 size_t lines; in ftp_genlist()
2027 if (rcvd == (size_t)-1 || rcvd > ((size_t)(-1))-size) { in ftp_genlist()
2153 size_t rcvd; in ftp_nb_continue_read()
[all …]

Completed in 69 milliseconds

12345678910>>...31