Home
last modified time | relevance | path

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

12345678910>>...27

/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_auth.h26 const size_t passwd_len,
28 const size_t db_len,
46 const size_t passwd_len,
48 const size_t db_len,
65 const size_t user_len,
69 const size_t db_len,
88 size_t db_len,
89 size_t passwd_len,
93 size_t server_capabilities,
103 const size_t passwd_len,
[all …]
H A Dmysqlnd_alloc.c110 *(size_t *) ret = size; in _mysqlnd_emalloc()
152 *(size_t *) ret = size; in _mysqlnd_pemalloc()
194 *(size_t *) ret = size; in _mysqlnd_ecalloc()
249size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
290size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
332 size_t free_amount = 0; in _mysqlnd_efree()
346 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_efree()
363 size_t free_amount = 0; in _mysqlnd_pefree()
377 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_pefree()
529 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_free()
[all …]
/PHP-7.3/Zend/
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 int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
H A Dzend_multiply.h157 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
185 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
222 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
224 size_t res; in zend_safe_address()
244 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
246 size_t res; in zend_safe_address()
265 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
289 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
303 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
318 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.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 int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l… in zend_multibyte_set_script_encoding_by_string()
191 size_t size = 0; in zend_multibyte_set_script_encoding_by_string()
H A Dzend_alloc.h48 size_t size;
57 size_t size;
74 ZEND_API void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE…
75 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset) ZEND_ATTRIBUTE…
80 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE…
81 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
189 ZEND_API void * __zend_calloc(size_t nmemb, size_t len) ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_…
270 ZEND_API size_t zend_mm_gc(zend_mm_heap *heap);
295 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
297 …zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
[all …]
H A Dzend_sort.h24 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
25 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
26 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_…
/PHP-7.3/ext/ftp/
H A Dftp.h110 …nt ftp_login(ftpbuf_t *ftp, const char *user, const size_t user_len, const char *pass, const size…
122 int ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len);
128 int ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len);
139 int ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len);
155 char** ftp_nlist(ftpbuf_t *ftp, const char *path, const size_t path_len);
174 char** ftp_mlsd(ftpbuf_t *ftp, const char *path, const size_t path_len);
197 zend_long ftp_size(ftpbuf_t *ftp, const char *path, const size_t path_len);
200 time_t ftp_mdtm(ftpbuf_t *ftp, const char *path, const size_t path_len);
203 …nt ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_…
206 int ftp_delete(ftpbuf_t *ftp, const char *path, const size_t path_len);
[all …]
/PHP-7.3/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);
67 mbfl_memory_device *device, const char *psrc, size_t len);
H A Dmbfl_allocators.c57 static void *__mbfl__malloc(size_t);
58 static void *__mbfl__realloc(void *, size_t);
59 static void *__mbfl__calloc(size_t, size_t);
74 static void *__mbfl__malloc(size_t sz) in __mbfl__malloc()
79 static void *__mbfl__realloc(void *ptr, size_t sz) in __mbfl__realloc()
84 static void *__mbfl__calloc(size_t nelems, size_t szelem) in __mbfl__calloc()
H A Dmbfl_allocators.h38 void *(*malloc)(size_t);
39 void *(*realloc)(void *, size_t);
40 void *(*calloc)(size_t, size_t);
42 void *(*pmalloc)(size_t);
43 void *(*prealloc)(void *, size_t);
/PHP-7.3/main/
H A Drfc1867.h33 size_t content_length;
37 size_t post_bytes_processed;
40 size_t length;
41 size_t *newlength;
45 size_t post_bytes_processed;
51 size_t post_bytes_processed;
54 size_t length;
55 size_t *newlength;
59 size_t post_bytes_processed;
65 size_t post_bytes_processed;
[all …]
H A Dphp_output.h93 size_t size;
94 size_t used;
106 …def void (*php_output_handler_func_t)(char *output, size_t output_len, char **handled_output, size…
114 …(*php_output_handler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk…
126 size_t size;
204 PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len);
205 PHPAPI size_t php_output_write(const char *str, size_t len);
225 …php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_hand…
228 …_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t hand…
232 PHPAPI int php_output_handler_started(const char *name, size_t name_len);
[all …]
/PHP-7.3/ext/standard/
H A Dphp_string.h116 PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len, int fold_case);
122 PHPAPI char *php_strtoupper(char *s, size_t len);
123 PHPAPI char *php_strtolower(char *s, size_t len);
126 PHPAPI char *php_strtr(char *str, size_t len, const char *str_from, const char *str_to, size_t trle…
134 PHPAPI zend_string *php_addcslashes_str(const char *str, size_t len, char *what, size_t what_len);
137 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen);
138 PHPAPI size_t php_dirname(char *str, size_t len);
139 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
141 size_t needle_len, const char *str, size_t str_len);
143 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, uint8_t *state, const char *allow, size_t allo…
[all …]
H A Durl.h35 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length);
36 PHPAPI php_url *php_url_parse_ex2(char const *str, size_t length, zend_bool *has_port);
37 PHPAPI size_t php_url_decode(char *str, size_t len); /* return value: length of decoded string */
38 PHPAPI size_t php_raw_url_decode(char *str, size_t len); /* return value: length of decoded string …
39 PHPAPI zend_string *php_url_encode(char const *s, size_t len);
40 PHPAPI zend_string *php_raw_url_encode(char const *s, size_t len);
41 PHPAPI char *php_replace_controlchars_ex(char *str, size_t len);
/PHP-7.3/win32/
H A Dcodepage.h33 #define PHP_WIN32_CP_IGNORE_LEN_P ((size_t *)-1)
64 … *php_win32_cp_conv_to_w(DWORD in_cp, DWORD flags, const char* in, size_t in_len, size_t *out_len);
65 PW32CP wchar_t *php_win32_cp_conv_utf8_to_w(const char* in, size_t in_len, size_t *out_len);
67 PW32CP wchar_t *php_win32_cp_conv_cur_to_w(const char* in, size_t in_len, size_t *out_len);
69 PW32CP wchar_t *php_win32_cp_conv_ascii_to_w(const char* in, size_t in_len, size_t *out_len);
71 …win32_cp_conv_from_w(DWORD out_cp, DWORD flags, const wchar_t* in, size_t in_len, size_t *out_len);
72 PW32CP char *php_win32_cp_conv_w_to_utf8(const wchar_t* in, size_t in_len, size_t *out_len);
74 PW32CP char *php_win32_cp_conv_w_to_cur(const wchar_t* in, size_t in_len, size_t *out_len);
81 __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()
122 __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-7.3/sapi/phpdbg/
H A Dphpdbg_utils.h30 PHPDBG_API int phpdbg_is_class_method(const char*, size_t, char**, char**);
33 PHPDBG_API char *phpdbg_trim(const char*, size_t, size_t*);
56 size_t name_length;
62 size_t name_length;
66 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length);
68 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length);
70 PHPDBG_API int phpdbg_get_element(const char *name, size_t len); /* }}} */
88 typedef int (*phpdbg_parse_var_func)(char *name, size_t len, char *keyname, size_t keylen, HashTabl…
89 typedef int (*phpdbg_parse_var_with_arg_func)(char *name, size_t len, char *keyname, size_t keylen,…
91 PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, size_t i, phpdbg_p…
[all …]
H A Dphpdbg_watch.h71 size_t size;
116 size_t data_size;
129 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch);
132 int phpdbg_delete_var_watchpoint(char *input, size_t len);
133 int phpdbg_create_var_watchpoint(char *input, size_t len);
145 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary()
148 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size()
149 …return (size_t) phpdbg_get_page_boundary((void *) ((size_t) addr + size - 1)) - (size_t) phpdbg_ge… in phpdbg_get_total_page_size()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dencoding.c49 size_t *);
74 size_t mlen; in file_encoding()
78 size_t udeflen; in file_encoding()
244 size_t *ulen) in looks_ascii()
246 size_t i; in looks_ascii()
265 size_t i; in looks_latin1()
283 size_t *ulen) in looks_extended()
285 size_t i; in looks_extended()
315 size_t i; in file_looks_utf8()
417 size_t i; in looks_ucs16()
[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 …]
H A Dfile.h152 size_t flen;
155 size_t elen;
400 size_t len;
422 size_t rm_len; /* match length */
452 size_t);
476 size_t *, size_t);
492 size_t *);
498 size_t);
517 extern const size_t file_nnames;
531 size_t strlcpy(char *, const char *, size_t);
[all …]
/PHP-7.3/ext/dba/
H A Dphp_dba.h80 char* (*fetch)(dba_info *, char *, size_t, int, size_t *);
81 int (*update)(dba_info *, char *, size_t, char *, size_t, int);
82 int (*exists)(dba_info *, char *, size_t);
83 int (*delete)(dba_info *, char *, size_t);
84 char* (*firstkey)(dba_info *, size_t *);
85 char* (*nextkey)(dba_info *, size_t *);
99 char *dba_fetch_##x(dba_info *info, char *key, size_t keylen, int skip, size_t *newlen)
101 int dba_update_##x(dba_info *info, char *key, size_t keylen, char *val, size_t vallen, int mode)
103 int dba_exists_##x(dba_info *info, char *key, size_t keylen)
107 char *dba_firstkey_##x(dba_info *info, size_t *newlen)
[all …]
/PHP-7.3/ext/opcache/
H A Dzend_shared_alloc.h74 size_t size;
75 size_t pos; /* position for simple stack allocator */
85 size_t (*segment_type_size)(void);
95 size_t shared_free; /* amount of free shared memory */
104 size_t shared_free;
106 size_t wasted_shared_memory;
121 int zend_shared_alloc_startup(size_t requested_size);
125 void *zend_shared_alloc(size_t size);
128 void *_zend_shared_memdup(void *p, size_t size, zend_bool free_source);
129 int zend_shared_memdup_size(void *p, size_t size);
[all …]
/PHP-7.3/ext/mbstring/
H A Dmbstring.h114 size_t nbytes, const mbfl_encoding *enc);
116 size_t nbytes);
119 const char *input, size_t length,
124 size_t *output_len);
129 MBSTRING_API size_t php_mb_mbchar_bytes(const char *s);
131 MBSTRING_API size_t php_mb_stripos(int mode, const char *old_haystack, size_t old_haystack_len, con…
149 size_t http_input_list_size;
151 size_t detect_order_list_size;
153 size_t current_detect_order_list_size;
155 size_t default_detect_order_list_size;
[all …]
/PHP-7.3/ext/sodium/
H A Dlibsodium.c733 size_t len1; in PHP_FUNCTION()
734 size_t len2; in PHP_FUNCTION()
1900 size_t len; in PHP_FUNCTION()
3078 size_t mac_len; in PHP_FUNCTION()
3079 size_t msg_len; in PHP_FUNCTION()
3080 size_t key_len; in PHP_FUNCTION()
3167 size_t len1; in PHP_FUNCTION()
3168 size_t len2; in PHP_FUNCTION()
3375 volatile size_t st; in PHP_FUNCTION()
3558 size_t ad_len = (size_t) 0U; in PHP_FUNCTION()
[all …]

Completed in 80 milliseconds

12345678910>>...27