Home
last modified time | relevance | path

Searched refs:size_t (Results 51 – 75 of 649) sorted by relevance

12345678910>>...26

/PHP-7.2/ext/fileinfo/libmagic/
H A Dis_tar.c53 private int is_tar(const unsigned char *, size_t);
54 private int from_oct(const char *, size_t); /* Decode octal number */
63 file_is_tar(struct magic_set *ms, const unsigned char *buf, size_t nbytes) in file_is_tar()
93 is_tar(const unsigned char *buf, size_t nbytes) in is_tar()
96 size_t i; in is_tar()
137 from_oct(const char *where, size_t digs) in from_oct()
/PHP-7.2/ext/standard/
H A Dformatted_print.c74 size_t min_width, size_t max_width, char padding, in php_sprintf_appendstring()
78 size_t req_size; in php_sprintf_appendstring()
79 size_t copy_len; in php_sprintf_appendstring()
80 size_t m_width; in php_sprintf_appendstring()
131 size_t width, char padding, size_t alignment, in php_sprintf_appendint()
176 size_t width, char padding, size_t alignment) in php_sprintf_appenduint()
216 size_t s_len = 0; in php_sprintf_appenddouble()
311 size_t width, char padding, size_t alignment, int n, in php_sprintf_append2n()
396 size_t format_len; in php_formatted_print()
691 size_t rlen; in PHP_FUNCTION()
[all …]
H A Dhtml.h57 PHPAPI zend_string *php_escape_html_entities(unsigned char *old, size_t oldlen, int all, int flags,…
58 PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldlen, int all, int fla…
60 PHPAPI unsigned int php_next_utf8_char(const unsigned char *str, size_t str_len, size_t *cursor, in…
H A Dphp_http.h28 const char *num_prefix, size_t num_prefix_len,
29 const char *key_prefix, size_t key_prefix_len,
30 const char *key_suffix, size_t key_suffix_len,
H A Dbase64.h27 PHPAPI extern zend_string *php_base64_encode(const unsigned char *, size_t);
32 PHPAPI extern zend_string *php_base64_decode_ex(const unsigned char *, size_t, zend_bool);
34 static inline zend_string *php_base64_decode(const unsigned char *str, size_t len) { in php_base64_decode()
H A Dfilters.c46 size_t consumed = 0; in strfilter_rot13_filter()
94 size_t consumed = 0; in strfilter_toupper_filter()
122 size_t consumed = 0; in strfilter_tolower_filter()
324 size_t lbchars_len;
325 size_t erem_len;
627 size_t icnt, ocnt; in php_conv_base64_decode_convert()
777 size_t icnt, ocnt; in php_conv_qprint_encode_convert()
863 size_t j; in php_conv_qprint_encode_convert()
1202 size_t stub_len;
1462 const char *ps, size_t buf_len, size_t *consumed, in strfilter_convert_append_bucket()
[all …]
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_shm.c17 static size_t fpm_shm_size = 0;
19 void *fpm_shm_alloc(size_t size) /* {{{ */ in fpm_shm_alloc()
42 int fpm_shm_free(void *mem, size_t size) /* {{{ */ in fpm_shm_free()
64 size_t fpm_shm_get_size_allocated() /* {{{*/ in fpm_shm_get_size_allocated()
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_auth.c42 const size_t passwd_len, in mysqlnd_run_authentication()
44 const size_t db_len, in mysqlnd_run_authentication()
61 size_t plugin_data_len; in mysqlnd_run_authentication()
96 size_t scrambled_data_len = 0; in mysqlnd_run_authentication()
214 size_t db_len, in mysqlnd_connect_run_authentication()
215 size_t passwd_len, in mysqlnd_connect_run_authentication()
219 size_t server_capabilities, in mysqlnd_connect_run_authentication()
245 const size_t db_len, in mysqlnd_auth_handshake()
364 const size_t user_len, in mysqlnd_auth_change_user()
366 const size_t passwd_len, in mysqlnd_auth_change_user()
[all …]
/PHP-7.2/Zend/
H A Dzend_alloc.c368 size_t limit, in zend_mm_safe_error()
373 size_t size) in zend_mm_safe_error()
719 size_t offset;
1431 size_t old_size;
1665 size_t size;
1794 size_t size;
1852 heap->limit = ((size_t)Z_L(-1) >> (size_t)Z_L(1));
2498 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset)
2508 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset)
2525 size_t length;
[all …]
H A Dzend_smart_str.h47 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len);
48 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len);
49 ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l);
55 static zend_always_inline size_t smart_str_alloc(smart_str *str, size_t len, zend_bool persistent) { in END_EXTERN_C()
86 static zend_always_inline size_t smart_str_get_len(smart_str *str) { in smart_str_get_len()
103 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex()
108 static zend_always_inline void smart_str_appendl_ex(smart_str *dest, const char *str, size_t len, z… in smart_str_appendl_ex()
109 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex()
136 static zend_always_inline void smart_str_setl(smart_str *dest, const char *src, size_t len) { in smart_str_setl()
H A Dzend_smart_str.c35 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) in smart_str_erealloc()
49 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) in smart_str_realloc()
68 static size_t zend_compute_escaped_string_len(const char *s, size_t l) { in zend_compute_escaped_string_len()
69 size_t i, len = l; in zend_compute_escaped_string_len()
82 ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l) { in smart_str_append_escaped()
84 size_t i, len = zend_compute_escaped_string_len(s, l); in smart_str_append_escaped()
H A Dzend.h154 int (*serialize)(zval *object, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data);
181 size_t (*printf_function)(const char *format, ...) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 1, 2);
182 size_t (*write_function)(const char *str, size_t str_length);
191 char *(*getenv_function)(char *name, size_t name_len);
201 typedef int (*zend_write_func_t)(const char *str, size_t str_length);
230 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
231 ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBU…
232 ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_list ap);
237 ZEND_API size_t zend_print_zval(zval *expr, int indent);
261 extern ZEND_API size_t (*zend_printf)(const char *format, ...) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 1,…
[all …]
H A Dzend_sort.c26 #define QSORT_STACK_SIZE (sizeof(size_t) * CHAR_BIT)
28 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare, swap_func_t … in zend_qsort()
38 size_t offset; in zend_qsort()
153 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_… in zend_insert_sort()
166 size_t siz2 = siz + siz; in zend_insert_sort()
172 size_t siz2 = siz + siz; in zend_insert_sort()
181 size_t siz2= siz + siz; in zend_insert_sort()
317 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp) in zend_sort()
327 size_t offset = (nmemb >> Z_L(1)); in zend_sort()
331 size_t delta = (offset >> Z_L(1)) * siz; in zend_sort()
/PHP-7.2/main/streams/
H A Dphp_stream_transport.h29 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, size_t protolen,
30 const char *resourcename, size_t resourcenamelen,
49 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options,
62 const char *name, size_t namelen,
68 const char *name, size_t namelen,
103 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen,
109 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen,
144 size_t namelen;
148 size_t buflen;
H A Dmemory.c25 PHPAPI size_t php_url_decode(char *str, size_t len);
41 size_t fpos;
42 size_t fsize;
43 size_t smax;
81 static size_t php_stream_memory_read(php_stream *stream, char *buf, size_t count) in php_stream_memory_read()
238 size_t newsize; in php_stream_memory_set_option()
344 size_t smax;
361 size_t memsize; in php_stream_temp_write()
382 static size_t php_stream_temp_read(php_stream *stream, char *buf, size_t count) in php_stream_temp_read()
385 size_t got; in php_stream_temp_read()
[all …]
/PHP-7.2/ext/spl/
H A Dspl_directory.h48 PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, size_t *len);
66 size_t _path_len;
69 size_t file_name_len;
79 size_t sub_path_len;
91 size_t open_mode_len;
94 size_t current_line_len;
95 size_t max_line_len;
/PHP-7.2/ext/phar/
H A Ddirstream.h30 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count);
31 static size_t phar_dir_read( php_stream *stream, char *buf, size_t count);
H A Dstream.h33 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count);
34 static size_t phar_stream_read( php_stream *stream, char *buf, size_t count);
/PHP-7.2/main/
H A Dstrlcpy.c66 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy()
69 size_t siz;
72 size_t n = siz;
H A Dphp.h168 size_t php_str_len; \
180 PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz);
190 PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz);
200 PHPAPI void php_explicit_bzero(void *dst, size_t siz);
340 ssize_t pwrite(int, void *, size_t, off64_t);
344 ssize_t pread(int, void *, size_t, off64_t);
349 PHPAPI size_t php_write(void *buf, size_t size);
350 PHPAPI size_t php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
403 PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void…
/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 size_t len; /* length of string/buf */
54 size_t size; /* size of allocated buffer */
66 void simplestring_addn(simplestring* string, const char* add, size_t add_len);
/PHP-7.2/sapi/embed/
H A Dphp_embed.c51 static inline size_t php_embed_single_write(const char *str, size_t str_length) in php_embed_single_write()
60 size_t ret; in php_embed_single_write()
68 static size_t php_embed_ub_write(const char *str, size_t str_length) in php_embed_ub_write()
71 size_t remaining = str_length; in php_embed_ub_write()
72 size_t ret; in php_embed_ub_write()
/PHP-7.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()
H A Dphpdbg_lexer.c151 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
177 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
267 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
288 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
320 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
450 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
473 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
492 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
548 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
601 yyleng = (size_t) YYCURSOR - (size_t) yytext; in phpdbg_lex()
[all …]
/PHP-7.2/ext/pdo/
H A Dphp_pdo_driver.h230 size_t driver_name_len;
257 typedef zend_long (*pdo_dbh_do_func)(pdo_dbh_t *dbh, const char *sql, size_t sql_len);
260 …o_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, size_t unquotedlen, char **quoted, size_t
270 typedef char *(*pdo_dbh_last_id_func)(pdo_dbh_t *dbh, const char *name, size_t *len);
479 size_t data_source_len;
490 size_t persistent_id_len;
538 size_t maxlen;
604 size_t query_stringlen;
608 size_t active_query_stringlen;
684 PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len,
[all …]

Completed in 70 milliseconds

12345678910>>...26