Home
last modified time | relevance | path

Searched refs:size_t (Results 101 – 125 of 762) sorted by relevance

12345678910>>...31

/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_sigsafe.c9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) { in ZEND_EXTERN_MODULE_GLOBALS()
13 return (void *) (((size_t) PHPDBG_G(sigsafe_mem).mem & ~(alignment - 1)) + alignment); in ZEND_EXTERN_MODULE_GLOBALS()
27 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) { in zend_mm_mem_free()
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_protocol_frame_codec.c58 size_t tmp_complen = to_be_sent; in write_compressed_packet()
59 size_t payload_size; in write_compressed_packet()
79 size_t decompressed_size = left + MYSQLND_HEADER_SIZE; in write_compressed_packet()
114 static size_t
120 size_t packets_sent = 1; in MYSQLND_METHOD()
121 size_t left = count; in MYSQLND_METHOD()
124 size_t to_be_sent; in MYSQLND_METHOD()
155 const size_t split_off_bytes = 8192; in MYSQLND_METHOD()
219 size_t decompressed_size; in MYSQLND_METHOD()
319 size_t to_read = count; in MYSQLND_METHOD()
[all …]
/PHP-8.2/ext/opcache/
H A Dzend_shared_alloc.c149 int zend_shared_alloc_startup(size_t requested_size, size_t reserved_size) in zend_shared_alloc_startup()
152 size_t shared_segments_array_size; in zend_shared_alloc_startup()
256 …ZSMMG(shared_memory_state).positions = (size_t *)zend_shared_alloc(sizeof(size_t) * ZSMMG(shared_s… in zend_shared_alloc_startup()
283 size_t shared_segments_array_size; in zend_shared_alloc_shutdown()
318 size_t largest_block_size = 0; in zend_shared_alloc_get_largest_free_block()
339 void *zend_shared_alloc(size_t size) in zend_shared_alloc()
376 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size()
429 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free()
439 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put()
444 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup()
[all …]
/PHP-8.2/ext/hash/
H A Dphp_hash_crc32.h28 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
29 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
30 PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
H A Dhash_crc32.c28 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update()
30 size_t i = 0; in PHP_CRC32Update()
41 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate()
43 size_t i = 0; in PHP_CRC32BUpdate()
54 PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32CUpdate()
56 size_t i = 0; in PHP_CRC32CUpdate()
H A Dhash_fnv.c93 size_t inputLen) in PHP_FNV132Update()
99 size_t inputLen) in PHP_FNV1a32Update()
128 size_t inputLen) in PHP_FNV164Update()
134 size_t inputLen) in PHP_FNV1a64Update()
167 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf()
210 fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate) in fnv_64_buf()
H A Dphp_hash_xxhash.h29 PHP_HASH_API void PHP_XXH32Update(PHP_XXH32_CTX *ctx, const unsigned char *in, size_t len);
39 PHP_HASH_API void PHP_XXH64Update(PHP_XXH64_CTX *ctx, const unsigned char *in, size_t len);
61 PHP_HASH_API void PHP_XXH3_64_Update(PHP_XXH3_64_CTX *ctx, const unsigned char *in, size_t len);
68 PHP_HASH_API void PHP_XXH3_128_Update(PHP_XXH3_128_CTX *ctx, const unsigned char *in, size_t len);
/PHP-8.2/Zend/
H A Dzend_smart_string.h51 ZEND_API void ZEND_FASTCALL _smart_string_alloc_persistent(smart_string *str, size_t len);
52 ZEND_API void ZEND_FASTCALL _smart_string_alloc(smart_string *str, size_t len);
54 static zend_always_inline size_t smart_string_alloc(smart_string *str, size_t len, bool persistent)… in smart_string_alloc()
84 static zend_always_inline void smart_string_appendl_ex(smart_string *dest, const char *str, size_t in smart_string_appendl_ex()
85 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex()
103 static zend_always_inline void smart_string_setl(smart_string *dest, char *src, size_t len) { in smart_string_setl()
H A Dzend_string.h37 ZEND_API zend_ulong ZEND_FASTCALL zend_hash_func(const char *str, size_t len);
41 const char *str1, size_t str1_len,
42 const char *str2, size_t str2_len);
44 const char *str1, size_t str1_len,
45 const char *str2, size_t str2_len,
46 const char *str3, size_t str3_len);
150 static zend_always_inline zend_string *zend_string_alloc(size_t len, bool persistent) in zend_string_alloc()
161 static zend_always_inline zend_string *zend_string_safe_alloc(size_t n, size_t m, size_t l, bool pe… in zend_string_safe_alloc()
181 static zend_always_inline zend_string *zend_string_init_fast(const char *str, size_t len) in zend_string_init_fast()
284 …s_inline zend_string *zend_string_safe_realloc(zend_string *s, size_t n, size_t m, size_t l, bool … in zend_string_safe_realloc()
[all …]
H A Dzend_operators.h177 size_t off_s; in zend_memnstr()
187 off_s = (size_t)(end - p); in zend_memnstr()
240 size_t off_s; in zend_memnrstr()
251 off_s = (off_p > 0) ? (size_t)off_p : 0; in zend_memnrstr()
464 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t l…
465 …t ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size…
466 …I int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len…
467 …ND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size…
468 …int ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len…
469 …_FASTCALL zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size…
[all …]
H A Dzend_smart_string_public.h25 size_t len;
26 size_t a;
H A Dzend_stream.h31 typedef size_t (*zend_stream_fsizer_t)(void* handle);
32 typedef ssize_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len);
62 size_t len;
70 ZEND_API zend_result zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len);
/PHP-8.2/ext/mbstring/
H A Dmbstring.c325 size_t i; in php_mb_parse_encoding_list()
389 size_t j; in php_mb_parse_encoding_array()
564 size_t i; in php_mb_nls_get_default_detect_order_list()
584 size_t i; in php_mb_rfc1867_substring_conf()
719 size_t size; in PHP_INI_MH()
745 size_t size; in _php_mb_ini_mbstring_http_input_set()
1560 size_t len; in PHP_FUNCTION()
2036 size_t n; in php_mb_strstr_variants()
4268 size_t n; in PHP_FUNCTION()
4723 size_t i; in php_mb_populate_current_detect_order_list()
[all …]
/PHP-8.2/ext/fileinfo/libmagic/
H A Dis_json.c68 static int json_parse(const unsigned char **, const unsigned char *, size_t *,
69 size_t);
123 size_t i; in json_parse_string()
173 size_t *st, size_t lvl) in json_parse_array()
207 size_t *st, size_t lvl) in json_parse_object()
313 const char *str, size_t len) in json_parse_const()
330 size_t *st, size_t lvl) in json_parse()
398 size_t st[JSON_MAX]; in file_is_json()
450 size_t stats[JSON_MAX]; in main()
H A Dfuncs.c62 file_copystr(char *buf, size_t blen, size_t width, const char *str) in file_copystr()
138 size_t len; in file_vprintf()
153 size_t blen = ms->o.blen; in file_vprintf()
190 size_t lineno) in file_error_core()
262 size_t l; in trim_separator()
542 size_t psize, len; in file_getbuffer()
571 size_t bytesconsumed; in file_getbuffer()
619 size_t len; in file_check_mem()
639 protected size_t
653 size_t rep_cnt = 0; in file_replace()
[all …]
/PHP-8.2/ext/dba/libflatfile/
H A Dflatfile.c103 size_t size = key_datum.dsize; in flatfile_delete()
104 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_delete()
106 size_t num; in flatfile_delete()
107 size_t pos; in flatfile_delete()
153 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_findkey()
155 size_t num; in flatfile_findkey()
158 size_t size = key_datum.dsize; in flatfile_findkey()
196 size_t num; in flatfile_firstkey()
197 size_t buf_size = FLATFILE_BLOCK_SIZE; in flatfile_firstkey()
238 size_t num; in flatfile_nextkey()
[all …]
/PHP-8.2/ext/standard/
H A Dstring.c65 size_t i, j; in php_bin2hex()
85 size_t i, j; in php_hex2bin()
1514 PHPAPI size_t php_dirname(char *path, size_t len)
2122 if (-(size_t)l > ZSTR_LEN(str) - (size_t)f) {
2127 } else if ((size_t)l > ZSTR_LEN(str) - (size_t)f) {
2606 size_t i;
2641 size_t i;
3374 …_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *pos1, size_t *p…
3379 size_t l;
3398 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2)
[all …]
H A Dhtml.c96 size_t str_len, in get_next_char()
97 size_t *cursor, in get_next_char()
357 size_t str_len, in php_next_utf8_char()
358 size_t *cursor, in php_next_utf8_char()
397 size_t retval = 0; in php_utf32_utf8()
821 size_t oldlen, in traverse_for_entities()
874 size_t ent_len; in traverse_for_entities()
985 size_t new_size; in php_unescape_html_entities()
1029 size_t oldlen, in find_entity_for_char()
1030 size_t *cursor) in find_entity_for_char()
[all …]
H A Dphp_uuencode.h20 PHPAPI zend_string *php_uudecode(const char *src, size_t src_len);
21 PHPAPI zend_string *php_uuencode(const char *src, size_t src_len);
H A Dquot_print.h20 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b…
21 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length);
H A Dcrypt_sha512.c124 size_t nwords = len / sizeof(uint64_t); in sha512_process_block()
244 size_t pad; in sha512_finish_ctx()
253 pad = bytes >= 112 ? 128 + 112 - (size_t)bytes : 112 - (size_t)bytes; in sha512_finish_ctx()
277 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes()
278 size_t add = (size_t)(256 - left_over > len ? len : 256 - left_over); in sha512_process_bytes()
289 (size_t)ctx->buflen); in sha512_process_bytes()
323 size_t left_over = (size_t)ctx->buflen; in sha512_process_bytes()
369 size_t salt_len; in php_sha512_crypt_r()
370 size_t key_len; in php_sha512_crypt_r()
371 size_t cnt; in php_sha512_crypt_r()
[all …]
/PHP-8.2/ext/intl/msgformat/
H A Dmsgformat_parse.c28 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *retur… in msgfmt_do_parse()
57 size_t source_len; in PHP_FUNCTION()
81 size_t pattern_len = 0; in PHP_FUNCTION()
83 size_t slocale_len = 0; in PHP_FUNCTION()
85 size_t src_len = 0; in PHP_FUNCTION()
/PHP-8.2/main/
H A Dfopen_wrappers.h26 …ilepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len);
27 …ith_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, i…
38 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path);
H A Dphp_memory_streams.h46 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC);
47 PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir…
48 PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, const char *buf, size_t
/PHP-8.2/main/streams/
H A Dmmap.c21 …_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t … in _php_stream_mmap_range()

Completed in 74 milliseconds

12345678910>>...31