/PHP-7.0/Zend/ |
H A D | zend_multiply.h | 122 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 143 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 173 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 175 size_t res; in zend_safe_address() 195 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 197 size_t res; in zend_safe_address() 216 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 240 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 254 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 269 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 D | zend_multibyte.h | 27 typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char… 32 …end_encoding_detector)(const unsigned char *string, size_t length, const zend_encoding **list, siz… 33 typedef size_t (*zend_encoding_converter)(unsigned char **to, size_t *to_length, const unsigned cha… 34 …g_list_parser)(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… 68 …byte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz… 69 ZEND_API size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, const unsi… 70 …_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… 74 ZEND_API int zend_multibyte_set_script_encoding(const zend_encoding **encoding_list, size_t encodin… 76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
|
H A D | zend_multibyte.c | 43 …ummy_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz… in dummy_encoding_detector() 48 static size_t dummy_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char *… in dummy_encoding_converter() 50 return (size_t)-1; in dummy_encoding_converter() 53 …ng_list_parser(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… in dummy_encoding_list_parser() 143 …byte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, siz… in zend_multibyte_encoding_detector() 148 ZEND_API size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, const unsi… in zend_multibyte_encoding_converter() 153 …_encoding_list(const char *encoding_list, size_t encoding_list_len, const zend_encoding ***return_… in zend_multibyte_parse_encoding_list() 168 ZEND_API int zend_multibyte_set_script_encoding(const zend_encoding **encoding_list, size_t encodin… in zend_multibyte_set_script_encoding() 183 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() 186 size_t size = 0; in zend_multibyte_set_script_encoding_by_string()
|
H A D | zend_alloc.h | 50 size_t size; 59 size_t size; 76 ZEND_API void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE… 77 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset) ZEND_ATTRIBUTE… 82 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE… 83 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset); 191 ZEND_API void * __zend_calloc(size_t nmemb, size_t len) ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_… 265 ZEND_API size_t zend_mm_gc(zend_mm_heap *heap); 290 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment); 292 …zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size); [all …]
|
H A D | zend_sort.h | 26 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp); 27 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp); 28 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_…
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 31 void * (*m_emalloc)(size_t size MYSQLND_MEM_D); 32 void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D); 33 void * (*m_ecalloc)(unsigned int nmemb, size_t size MYSQLND_MEM_D); 35 void * (*m_erealloc)(void *ptr, size_t new_size MYSQLND_MEM_D); 39 void * (*m_malloc)(size_t size MYSQLND_MEM_D); 40 void * (*m_calloc)(unsigned int nmemb, size_t size MYSQLND_MEM_D); 41 void * (*m_realloc)(void *ptr, size_t new_size MYSQLND_MEM_D); 45 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...); 52 PHPAPI void * _mysqlnd_emalloc(size_t size MYSQLND_MEM_D); 60 PHPAPI void * _mysqlnd_malloc(size_t size MYSQLND_MEM_D); [all …]
|
H A D | mysqlnd_alloc.c | 108 *(size_t *) ret = size; in _mysqlnd_emalloc() 150 *(size_t *) ret = size; in _mysqlnd_pemalloc() 192 *(size_t *) ret = size; in _mysqlnd_ecalloc() 247 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc() 288 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc() 330 size_t free_amount = 0; in _mysqlnd_efree() 344 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_efree() 361 size_t free_amount = 0; in _mysqlnd_pefree() 375 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_pefree() 527 free_amount = *(size_t *)(((char*)ptr) - sizeof(size_t)); in _mysqlnd_free() [all …]
|
H A D | mysqlnd_wireprotocol.h | 51 size_t struct_size; 59 size_t size; 73 size_t auth_plugin_data_len; 93 size_t auth_data_len; 104 size_t db_len; 116 size_t message_len; 133 size_t auth_data_len; 146 size_t message_len; 159 size_t arg_len; 250 size_t message_len; [all …]
|
/PHP-7.0/main/ |
H A D | rfc1867.h | 35 size_t content_length; 39 size_t post_bytes_processed; 42 size_t length; 43 size_t *newlength; 47 size_t post_bytes_processed; 53 size_t post_bytes_processed; 56 size_t length; 57 size_t *newlength; 61 size_t post_bytes_processed; 67 size_t post_bytes_processed; [all …]
|
H A D | php_output.h | 95 size_t size; 96 size_t used; 108 …def void (*php_output_handler_func_t)(char *output, size_t output_len, char **handled_output, size… 116 …(*php_output_handler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk… 128 size_t size; 206 PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len); 207 PHPAPI size_t php_output_write(const char *str, size_t len); 227 …php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_hand… 230 …_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t hand… 234 PHPAPI int php_output_handler_started(const char *name, size_t name_len); [all …]
|
H A D | spprintf.h | 40 PHPAPI size_t spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(… 42 PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_… 44 PHPAPI zend_string *vstrpprintf(size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMA… 46 PHPAPI zend_string *strpprintf(size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf…
|
H A D | SAPI.h | 55 size_t header_len; 171 size_t line_len; 194 SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen); 200 …ter(unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_l… 204 SAPI_API char *sapi_getenv(char *name, size_t name_len); 208 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len); 230 size_t (*ub_write)(const char *str, size_t str_length); 233 char *(*getenv)(char *name, size_t name_len); 241 size_t (*read_post)(char *buffer, size_t count_bytes); 268 unsigned int (*input_filter)(int arg, char *var, char **val, size_t val_len, size_t *new_val_len); [all …]
|
/PHP-7.0/ext/standard/ |
H A D | php_string.h | 115 PHPAPI int strnatcmp_ex(char const *a, size_t a_len, char const *b, size_t b_len, int fold_case); 121 PHPAPI char *php_strtoupper(char *s, size_t len); 122 PHPAPI char *php_strtolower(char *s, size_t len); 125 PHPAPI char *php_strtr(char *str, size_t len, char *str_from, char *str_to, size_t trlen); 130 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen); 131 PHPAPI size_t php_dirname(char *str, size_t len); 132 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len); 134 size_t needle_len, char *str, size_t str_len); 136 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, int *state, const char *allow, size_t allow_le… 137 PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, int *stateptr, const char *allow, size_t al… [all …]
|
H A D | url.h | 36 PHPAPI php_url *php_url_parse_ex(char const *str, size_t length); 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.0/sapi/phpdbg/ |
H A D | phpdbg_utils.h | 30 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 D | phpdbg_watch.h | 68 size_t size; 99 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch); 102 int phpdbg_delete_var_watchpoint(char *input, size_t len); 103 int phpdbg_create_var_watchpoint(char *input, size_t len); 115 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary() 118 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size() 119 …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.0/ext/fileinfo/libmagic/ |
H A D | file.h | 383 size_t len; 430 size_t); 438 size_t); 441 const unsigned char *, size_t); 446 const unsigned char *, size_t, unichar *, size_t, const char *, 455 size_t *, size_t); 472 size_t *); 478 size_t); 490 extern const size_t file_nnames; 504 size_t strlcpy(char *, const char *, size_t); [all …]
|
H A D | cdf.h | 122 size_t sat_len; 127 size_t dir_len; 132 size_t sst_len; 133 size_t sst_dirlen; 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 *); [all …]
|
H A D | encoding.c | 49 size_t *); 70 size_t mlen; in file_encoding() 225 size_t *ulen) in looks_ascii() 227 size_t i; in looks_ascii() 246 size_t i; in looks_latin1() 264 size_t *ulen) in looks_extended() 266 size_t i; in looks_extended() 296 size_t i; in file_looks_utf8() 366 size_t *ulen) in looks_utf8_with_BOM() 379 size_t i; in looks_ucs16() [all …]
|
H A D | compress.c | 74 size_t maglen; 96 #define NODATA ((size_t)~0) 100 private size_t uncompressbuf(struct magic_set *, int, size_t, 112 size_t i, nsz; in file_zmagic() 167 size_t rn = n; in swrite() 195 size_t rn = n; in sread() 255 size_t nbytes) in file_pipe2file() 329 private size_t 334 size_t data_start = 10; in uncompressgzipped() 385 n = (size_t)z.total_out; in uncompressgzipped() [all …]
|
/PHP-7.0/ext/opcache/ |
H A D | zend_shared_alloc.h | 74 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.0/sapi/cli/ |
H A D | cli.h | 33 extern PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length); 36 size_t (*cli_shell_write)(const char *str, size_t str_length); 37 size_t (*cli_shell_ub_write)(const char *str, size_t str_length);
|
/PHP-7.0/ext/intl/grapheme/ |
H A D | grapheme_util.h | 26 zend_long grapheme_ascii_check(const unsigned char *day, size_t len); 27 void grapheme_substr_ascii(char *str, size_t str_len, int32_t f, int32_t l, char **sub_str, int32_t… 28 zend_long grapheme_strrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_l… 30 int32_t grapheme_strrpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len… 31 int32_t grapheme_strpos_utf16(char *haystack, size_t haystack_len, char *needle, size_t needle_len,…
|
/PHP-7.0/ext/iconv/ |
H A D | iconv.c | 423 size_t len; in php_iconv_output_handler() 563 size_t result; in php_iconv_string() 746 size_t in_left; in _php_iconv_strlen() 751 size_t cnt; in _php_iconv_strlen() 831 size_t in_left; in _php_iconv_substr() 836 size_t cnt; in _php_iconv_substr() 984 size_t cnt; in _php_iconv_strpos() 2058 size_t retval; in PHP_FUNCTION() 2131 size_t retval; in PHP_FUNCTION() 2176 size_t retval; in PHP_FUNCTION() [all …]
|
/PHP-7.0/netware/ |
H A D | start.c | 42 size_t uninitializedDataLength, in _NonAppStart() 44 int (*readRoutineP)( int conn, void *fileHandle, size_t offset, in _NonAppStart() 45 size_t nbytes, size_t *bytesRead, void *buffer ), in _NonAppStart() 46 size_t customDataOffset, in _NonAppStart() 47 size_t customDataSize, in _NonAppStart()
|