Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-5.5/Zend/
H A Dzend_multibyte.h27 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 Dzend_multibyte.c43 …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 Dzend_alloc.h46 size_t size;
58 ZEND_API void *_safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_DC ZEND_FILE_L…
59 ZEND_API void *_safe_malloc(size_t nmemb, size_t size, size_t offset) ZEND_ATTRIBUTE_MALLOC;
61 ZEND_API void *_ecalloc(size_t nmemb, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_AT…
63 ZEND_API void *_safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_DC…
64 ZEND_API void *_safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
93 inline static void * __zend_malloc(size_t len) in __zend_malloc()
103 inline static void * __zend_calloc(size_t nmemb, size_t len) in __zend_calloc()
110 inline static void * __zend_realloc(void *p, size_t len) in __zend_realloc()
142 ZEND_API int zend_set_memory_limit(size_t memory_limit);
[all …]
H A Dzend_stream.h30 typedef size_t (*zend_stream_fsizer_t)(void* handle TSRMLS_DC);
31 typedef size_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len TSRMLS_DC);
45 size_t len;
46 size_t pos;
76 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len TSRMLS_DC);
H A Dzend_qsort.h26 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC);
27 ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *ar…
H A Dzend_alloc.c351 size_t size;
360 size_t size;
1821 size_t m; in zend_mm_search_large_block()
2463 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2483 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2512 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2533 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2553 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2566 static inline size_t safe_address(size_t nmemb, size_t size, size_t offset) in safe_address()
2586 ZEND_API void *_safe_malloc(size_t nmemb, size_t size, size_t offset) in _safe_malloc()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_alloc.h34 void * (*m_emalloc)(size_t size MYSQLND_MEM_D);
35 void * (*m_pemalloc)(size_t size, zend_bool persistent MYSQLND_MEM_D);
36 void * (*m_ecalloc)(unsigned int nmemb, size_t size MYSQLND_MEM_D);
38 void * (*m_erealloc)(void *ptr, size_t new_size MYSQLND_MEM_D);
42 void * (*m_malloc)(size_t size MYSQLND_MEM_D);
43 void * (*m_calloc)(unsigned int nmemb, size_t size MYSQLND_MEM_D);
44 void * (*m_realloc)(void *ptr, size_t new_size MYSQLND_MEM_D);
48 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...);
55 PHPAPI void * _mysqlnd_emalloc(size_t size MYSQLND_MEM_D);
63 PHPAPI void * _mysqlnd_malloc(size_t size MYSQLND_MEM_D);
[all …]
H A Dmysqlnd_alloc.c108 *(size_t *) ret = size; in _mysqlnd_emalloc()
150 *(size_t *) ret = size; in _mysqlnd_pemalloc()
192 *(size_t *) ret = size; in _mysqlnd_ecalloc()
247size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
288size_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 Dmysqlnd_wireprotocol.h53 size_t struct_size;
61 size_t size;
75 size_t auth_plugin_data_len;
98 size_t auth_data_len;
102 size_t db_len;
118 size_t message_len;
135 size_t auth_data_len;
148 size_t message_len;
161 size_t arg_len;
252 size_t message_len;
[all …]
/PHP-5.5/main/
H A Drfc1867.h35 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 Dphp_output.h95 size_t size;
96 size_t used;
121 …(*php_output_handler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk…
131 size_t name_len;
134 size_t size;
210 PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC);
211 PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC);
231 …php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_hand…
234 …_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t hand…
238 PHPAPI int php_output_handler_started(const char *name, size_t name_len TSRMLS_DC);
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dfile.h379 size_t len;
417 size_t);
424 size_t);
427 const unsigned char *, size_t);
432 const unsigned char *, size_t, unichar *, size_t, const char *,
438 size_t, int, int);
456 size_t *);
462 size_t);
466 extern const size_t file_nnames;
480 size_t strlcpy(char *dst, const char *src, size_t siz);
[all …]
H A Dencoding.c49 size_t *);
70 size_t mlen; in file_encoding()
222 size_t *ulen) in looks_ascii()
224 size_t i; in looks_ascii()
243 size_t i; in looks_latin1()
261 size_t *ulen) in looks_extended()
263 size_t i; in looks_extended()
293 size_t i; in file_looks_utf8()
363 size_t *ulen) in looks_utf8_with_BOM()
376 size_t i; in looks_ucs16()
[all …]
H A Dcdf.h126 size_t sat_len;
131 size_t dir_len;
136 size_t sst_len;
137 size_t sst_dirlen;
273 size_t i_len;
285 ssize_t cdf_read_sector(const cdf_info_t *, void *, size_t, size_t,
287 ssize_t cdf_read_short_sector(const cdf_stream_t *, void *, size_t, size_t,
290 size_t cdf_count_chain(const cdf_sat_t *, cdf_secid_t, size_t);
297 size_t, cdf_stream_t *);
305 cdf_property_info_t **, size_t *, size_t *);
[all …]
H A Dcompress.c69 size_t maglen;
94 private size_t uncompressbuf(struct magic_set *, int, size_t,
106 size_t i, nsz; in file_zmagic()
109 size_t ncompr; in file_zmagic()
157 size_t rn = n; in swrite()
185 size_t rn = n; in sread()
245 size_t nbytes) in file_pipe2file()
319 private size_t
324 size_t data_start = 10; in uncompressgzipped()
375 n = (size_t)z.total_out; in uncompressgzipped()
[all …]
H A Dascmagic.c54 private unsigned char *encode_utf8(unsigned char *, size_t, unichar *, size_t);
55 private size_t trim_nuls(const unsigned char *, size_t);
61 private size_t
62 trim_nuls(const unsigned char *buf, size_t nbytes) in trim_nuls()
75 size_t ulen; in file_ascmagic()
102 size_t nbytes, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding()
106 size_t mlen, i; in file_ascmagic_with_encoding()
123 size_t last_line_end = (size_t)-1; in file_ascmagic_with_encoding()
150 (size_t)(utf8_end - utf8_buf), 0, TEXTTEST, text)) == 0) in file_ascmagic_with_encoding()
311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8()
[all …]
/PHP-5.5/ext/opcache/
H A Dzend_shared_alloc.h73 size_t size;
74 size_t pos; /* position for simple stack allocator */
78 typedef int (*create_segments_t)(size_t requested_size, zend_shared_segment ***shared_segments, int…
84 size_t (*segment_type_size)(void);
94 size_t shared_free; /* amount of free shared memory */
103 size_t shared_free;
120 int zend_shared_alloc_startup(size_t requested_size);
124 void *zend_shared_alloc(size_t size);
127 void *_zend_shared_memdup(void *p, size_t size, zend_bool free_source TSRMLS_DC);
128 int zend_shared_memdup_size(void *p, size_t size);
[all …]
/PHP-5.5/ext/standard/
H A Dhtml.h57 PHPAPI char *php_escape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all, i…
58 PHPAPI char *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, size_t *newlen, int all…
59 PHPAPI char *php_unescape_html_entities(unsigned char *old, size_t oldlen, size_t *newlen, int all,…
60 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, in…
H A Dquot_print.h24 PHPAPI unsigned char *php_quot_print_decode(const unsigned char *str, size_t length, size_t *ret_le…
25 PHPAPI unsigned char *php_quot_print_encode(const unsigned char *str, size_t length, size_t *ret_le…
H A Dphp_string.h115 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);
128 PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, siz…
129 PHPAPI size_t php_dirname(char *str, size_t len);
130 PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
136 PHPAPI size_t php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len);
137 PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, int *stateptr, char *allow, int allow_len, zen…
143 PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end);
144 PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end);
/PHP-5.5/netware/
H A Dstart.c42 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()
/PHP-5.5/ext/iconv/
H A Diconv.c495 size_t result; in php_iconv_string()
681 size_t in_left; in _php_iconv_strlen()
684 size_t out_left; in _php_iconv_strlen()
765 size_t in_left; in _php_iconv_substr()
768 size_t out_left; in _php_iconv_substr()
913 size_t in_left; in _php_iconv_strpos()
916 size_t out_left; in _php_iconv_strpos()
1098 size_t in_left; in _php_iconv_mime_encode()
1100 size_t out_left; in _php_iconv_mime_encode()
2412 size_t out_len; in PHP_NAMED_FUNCTION()
[all …]
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_globals.c62 static void* LocalPcreMalloc(size_t aSize) in LocalPcreMalloc()
70 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc;
72 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = LocalPcreMalloc;
78 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc;
80 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc;
H A Dpcreposix.h99 size_t re_nsub;
100 size_t re_erroffset;
137 PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t,
139 PCREPOSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t);
/PHP-5.5/ext/mbstring/
H A Dmbstring.h132 size_t nbytes, const mbfl_encoding *enc);
134 size_t nbytes TSRMLS_DC);
136 MBSTRING_API char * php_mb_convert_encoding(const char *input, size_t length,
139 size_t *output_len TSRMLS_DC);
143 MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const mbfl_encoding *enc);
144 MBSTRING_API size_t php_mb_mbchar_bytes(const char *s TSRMLS_DC);
169 size_t http_input_list_size;
171 size_t detect_order_list_size;
173 size_t current_detect_order_list_size;
175 size_t default_detect_order_list_size;

Completed in 95 milliseconds

12345678910>>...16