Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 762) sorted by relevance

12345678910>>...31

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_auth.h24 const size_t passwd_len,
26 const size_t db_len,
36 const size_t auth_plugin_data_len,
46 const size_t user_len,
48 const size_t passwd_len,
50 const size_t db_len,
72 const size_t db_len,
73 const size_t passwd_len,
77 const size_t server_capabilities,
87 const size_t passwd_len,
[all …]
H A Dmysqlnd_alloc.c80 *(size_t *) ret = size; in _mysqlnd_emalloc()
101 *(size_t *) ret = size; in _mysqlnd_pemalloc()
122 *(size_t *) ret = size; in _mysqlnd_ecalloc()
143 *(size_t *) ret = size; in _mysqlnd_pecalloc()
157size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
177size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
198 size_t free_amount = 0; in _mysqlnd_efree()
212 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_efree()
229 size_t free_amount = 0; in _mysqlnd_pefree()
243 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_pefree()
[all …]
/PHP-8.2/Zend/
H A Dzend_multiply.h170 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
198 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
235 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
237 size_t res; in zend_safe_address()
257 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
259 size_t res; in zend_safe_address()
278 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
302 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
316 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
331 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded()
[all …]
H A Dzend_multibyte.h25 typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char…
30 …end_encoding_detector)(const unsigned char *string, size_t length, const zend_encoding **list, siz…
31 typedef size_t (*zend_encoding_converter)(unsigned char **to, size_t *to_length, const unsigned cha…
32 …g_list_parser)(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_…
67 …byte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz…
68 ZEND_API size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, const unsi…
69 …_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_…
73 ZEND_API int zend_multibyte_set_script_encoding(const zend_encoding **encoding_list, size_t encodin…
75 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new…
H A Dzend_alloc.h42 size_t size;
51 size_t size;
68 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t
69 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t
74 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE…
75 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
183 ZEND_API ZEND_ATTRIBUTE_MALLOC void * __zend_calloc(size_t nmemb, size_t len) ZEND_ATTRIBUTE_ALLOC_…
293 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
295 …zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
296 …(*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
[all …]
H A Dzend_multibyte.c41 …ummy_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz… in dummy_encoding_detector()
46 static size_t dummy_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *… in dummy_encoding_converter()
48 return (size_t)-1; in dummy_encoding_converter()
51 …ng_list_parser(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… in dummy_encoding_list_parser()
148 …byte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz… in zend_multibyte_encoding_detector()
153 ZEND_API size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, const unsi… in zend_multibyte_encoding_converter()
158 …_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… in zend_multibyte_parse_encoding_list()
173 ZEND_API int zend_multibyte_set_script_encoding(const zend_encoding **encoding_list, size_t encodin… in zend_multibyte_set_script_encoding()
188 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new… in zend_multibyte_set_script_encoding_by_string()
191 size_t size = 0; in zend_multibyte_set_script_encoding_by_string()
/PHP-8.2/ext/standard/
H A Dphp_string.h38 PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len, bool is_case_inse…
40 PHPAPI char *php_strtoupper(char *s, size_t len);
41 PHPAPI char *php_strtolower(char *s, size_t len);
44 PHPAPI char *php_strtr(char *str, size_t len, const char *str_from, const char *str_to, size_t trle…
47 PHPAPI zend_string *php_addcslashes_str(const char *str, size_t len, const char *what, size_t what_…
50 PHPAPI zend_string *php_basename(const char *s, size_t len, const char *suffix, size_t sufflen);
51 PHPAPI size_t php_dirname(char *str, size_t len);
52 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
54 size_t needle_len, const char *str, size_t str_len);
56 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, const char *allow, size_t allow_len);
[all …]
H A Durl.h33 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length);
34 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, bool *has_port);
35 PHPAPI size_t php_url_decode(char *str, size_t len); /* return value: length of decoded string */
36 PHPAPI size_t php_raw_url_decode(char *str, size_t len); /* return value: length of decoded string …
37 PHPAPI zend_string *php_url_encode(char const *s, size_t len);
38 PHPAPI zend_string *php_raw_url_encode(char const *s, size_t len);
39 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len);
/PHP-8.2/ext/opcache/
H A Dzend_shared_alloc.h77 size_t size;
78 size_t end;
89 size_t (*segment_type_size)(void);
108 size_t shared_free;
110 size_t wasted_shared_memory;
119 size_t reserved_size;
130 int zend_shared_alloc_startup(size_t requested_size, size_t reserved_size);
134 void *zend_shared_alloc(size_t size);
156 void *zend_shared_memdup(void *source, size_t size);
158 int zend_shared_memdup_size(void *p, size_t size);
[all …]
/PHP-8.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.h41 size_t length;
42 size_t pos;
43 size_t allocsz;
48 size_t length;
49 size_t pos;
50 size_t allocsz;
54 mbfl_memory_device *device, size_t initsz, size_t allocsz);
56 mbfl_memory_device *device, size_t initsz, size_t allocsz);
65 mbfl_memory_device *device, const char *psrc, size_t len);
H A Dmbfilter.h158 size_t num_illegalchars;
159 size_t score;
190 return len >= (size_t) -16; in mbfl_is_error()
196 MBFLAPI extern size_t
200 #define MBFL_ERROR_ENCODING ((size_t) -4)
201 #define MBFL_ERROR_EMPTY ((size_t) -8)
202 #define MBFL_ERROR_OFFSET ((size_t) -16)
208 MBFLAPI extern size_t
214 MBFLAPI extern size_t
226 mbfl_substr(mbfl_string *string, mbfl_string *result, size_t from, size_t length);
[all …]
/PHP-8.2/ext/ftp/
H A Dftp.h109 …nt ftp_login(ftpbuf_t *ftp, const char *user, const size_t user_len, const char *pass, const size…
121 int ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len);
127 int ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len);
138 int ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len);
154 char** ftp_nlist(ftpbuf_t *ftp, const char *path, const size_t path_len);
173 char** ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len);
196 zend_long ftp_size(ftpbuf_t *ftp, const char *path, const size_t path_len);
199 time_t ftp_mdtm(ftpbuf_t *ftp, const char *path, const size_t path_len);
202 …nt ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_…
205 int ftp_delete(ftpbuf_t *ftp, const char *path, const size_t path_len);
[all …]
/PHP-8.2/main/
H A Drfc1867.h31 size_t content_length;
35 size_t post_bytes_processed;
38 size_t length;
39 size_t *newlength;
43 size_t post_bytes_processed;
49 size_t post_bytes_processed;
52 size_t length;
53 size_t *newlength;
57 size_t post_bytes_processed;
63 size_t post_bytes_processed;
[all …]
H A Dphp_output.h91 size_t size;
92 size_t used;
104 …def void (*php_output_handler_func_t)(char *output, size_t output_len, char **handled_output, size…
112 …(*php_output_handler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk…
124 size_t size;
202 PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len);
203 PHPAPI size_t php_output_write(const char *str, size_t len);
223 …php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_hand…
226 …_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t hand…
230 PHPAPI int php_output_handler_started(const char *name, size_t name_len);
[all …]
H A DSAPI.h46 size_t header_len;
137 SAPI_API extern size_t sapi_globals_offset;
166 size_t line_len;
189 SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen);
199 SAPI_API char *sapi_getenv(const char *name, size_t name_len);
203 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len);
225 size_t (*ub_write)(const char *str, size_t str_length);
228 char *(*getenv)(const char *name, size_t name_len);
236 size_t (*read_post)(char *buffer, size_t count_bytes);
260 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val…
[all …]
H A Dphp_ini_builder.h28 size_t length;
62 static inline void php_ini_builder_realloc(struct php_ini_builder *b, size_t delta) in php_ini_builder_realloc()
74 PHPAPI void php_ini_builder_prepend(struct php_ini_builder *b, const char *src, size_t length);
81 …unquoted(struct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_…
86 …r_quoted(struct php_ini_builder *b, const char *name, size_t name_length, const char *value, size_…
/PHP-8.2/ext/fileinfo/libmagic/
H A Dfile.h168 size_t flen;
171 size_t elen;
416 size_t len;
482 size_t);
487 protected char *file_copystr(char *, size_t, size_t, const char *);
514 size_t *, size_t);
531 size_t *);
539 size_t);
554 size_t blen;
567 size_t strlcpy(char *, const char *, size_t);
[all …]
H A Dcdf.h121 size_t sat_len;
126 size_t dir_len;
133 size_t sst_ss; /* Sector size */
269 size_t i_len;
281 size_t cat_num;
294 ssize_t cdf_read_sector(const cdf_info_t *, void *, size_t, size_t,
296 ssize_t cdf_read_short_sector(const cdf_stream_t *, void *, size_t, size_t,
299 size_t cdf_count_chain(const cdf_sat_t *, cdf_secid_t, size_t);
306 size_t, cdf_stream_t *);
315 cdf_property_info_t **, size_t *, size_t *);
[all …]
/PHP-8.2/ext/mbstring/
H A Dmbstring.h59 const char *input, size_t length,
62 const char *input, size_t length, const mbfl_encoding *to_encoding,
63 const mbfl_encoding **from_encodings, size_t num_from_encodings);
65 MBSTRING_API size_t php_mb_mbchar_bytes(const char *s, const mbfl_encoding *enc);
67 MBSTRING_API size_t php_mb_stripos(int mode, const char *old_haystack, size_t old_haystack_len, con…
68 MBSTRING_API int php_mb_check_encoding(const char *input, size_t length, const mbfl_encoding *encod…
82 size_t http_input_list_size;
84 size_t detect_order_list_size;
86 size_t current_detect_order_list_size;
88 size_t default_detect_order_list_size;
[all …]
/PHP-8.2/win32/
H A Dcodepage.h31 #define PHP_WIN32_CP_IGNORE_LEN_P ((size_t *)-1)
62 … *php_win32_cp_conv_to_w(DWORD in_cp, DWORD flags, const char* in, size_t in_len, size_t *out_len);
63 PW32CP wchar_t *php_win32_cp_conv_utf8_to_w(const char* in, size_t in_len, size_t *out_len);
65 PW32CP wchar_t *php_win32_cp_conv_cur_to_w(const char* in, size_t in_len, size_t *out_len);
67 PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size_t *out_len);
69 …win32_cp_conv_from_w(DWORD out_cp, DWORD flags, const wchar_t* in, size_t in_len, size_t *out_len);
70 PW32CP char *php_win32_cp_conv_w_to_utf8(const wchar_t* in, size_t in_len, size_t *out_len);
72 PW32CP char *php_win32_cp_conv_w_to_cur(const wchar_t* in, size_t in_len, size_t *out_len);
79 __forceinline static wchar_t *php_win32_cp_conv_any_to_w(const char* in, size_t in_len, size_t *out… in php_win32_cp_conv_any_to_w()
120 __forceinline static char *php_win32_cp_conv_w_to_any(const wchar_t* in, size_t in_len, size_t *out… in php_win32_cp_conv_w_to_any()
/PHP-8.2/ext/sodium/
H A Dlibsodium.c273 size_t len1; in PHP_FUNCTION()
274 size_t len2; in PHP_FUNCTION()
1511 size_t len; in PHP_FUNCTION()
2692 size_t mac_len; in PHP_FUNCTION()
2693 size_t msg_len; in PHP_FUNCTION()
2694 size_t key_len; in PHP_FUNCTION()
2779 size_t len1; in PHP_FUNCTION()
2780 size_t len2; in PHP_FUNCTION()
2999 volatile size_t st; in PHP_FUNCTION()
3181 size_t ad_len = (size_t) 0U; in PHP_FUNCTION()
[all …]
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_utils.h28 PHPDBG_API int phpdbg_is_class_method(const char*, size_t, char**, char**);
31 PHPDBG_API char *phpdbg_trim(const char*, size_t, size_t*);
54 size_t name_length;
60 size_t name_length;
64 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length);
66 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length);
68 PHPDBG_API int phpdbg_get_element(const char *name, size_t len); /* }}} */
86 typedef int (*phpdbg_parse_var_func)(char *name, size_t len, char *keyname, size_t keylen, HashTabl…
87 typedef int (*phpdbg_parse_var_with_arg_func)(char *name, size_t len, char *keyname, size_t keylen,…
89 PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, size_t i, phpdbg_p…
[all …]
H A Dphpdbg_watch.h69 size_t size;
114 size_t data_size;
128 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch);
131 int phpdbg_delete_var_watchpoint(char *input, size_t len);
132 int phpdbg_create_var_watchpoint(char *input, size_t len);
144 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary()
147 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size()
148 …return (size_t) phpdbg_get_page_boundary((void *) ((size_t) addr + size - 1)) - (size_t) phpdbg_ge… in phpdbg_get_total_page_size()
/PHP-8.2/ext/phar/
H A Dphar_internal.h288 size_t internal_file_start;
289 size_t halt_offset;
488 for (s = path; (size_t)(s - path) < path_len; ++s) { in BEGIN_EXTERN_C()
508 size_t tmp_len; in phar_set_inode()
509 size_t len1, len2; in phar_set_inode()
532 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t …
537 …har_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_t al…
539 …ignature(php_stream *fp, size_t end_of_phar, uint32_t sig_type, char *sig, size_t sig_len, char *f…
549 …har_mount_entry(phar_archive_data *phar, char *filename, size_t filename_len, char *path, size_t p…
581 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…
[all …]
/PHP-8.2/ext/intl/grapheme/
H A Dgrapheme_util.h24 zend_long grapheme_ascii_check(const unsigned char *day, size_t len);
25 void grapheme_substr_ascii(char *str, size_t str_len, int32_t f, int32_t l, char **sub_str, int32_t…
26 zend_long grapheme_strrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_l…
28 int32_t grapheme_strrpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len…
29 int32_t grapheme_strpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len,…

Completed in 56 milliseconds

12345678910>>...31