/PHP-8.0/main/streams/ |
H A D | php_stream_transport.h | 58 PHPAPI int php_stream_xport_bind(php_stream *stream, 64 PHPAPI int php_stream_xport_connect(php_stream *stream, 73 PHPAPI int php_stream_xport_listen(php_stream *stream, 80 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, 88 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, 100 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 117 PHPAPI int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how); 151 php_stream *client; 194 …API int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_m… 195 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate); [all …]
|
H A D | php_stream_plain_wrapper.h | 26 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p… 29 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *… 32 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC); 35 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… 38 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC); 41 PHPAPI php_stream *_php_stream_fopen_tmpfile(int dummy STREAMS_DC); 44 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, zend_string *…
|
H A D | cast.c | 63 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader() 70 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer() 76 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 81 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() 93 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader() 100 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer() 118 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 124 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() 267 php_stream *newstream; in _php_stream_cast() 348 php_stream *stream = NULL; in _php_stream_open_wrapper_as_file() [all …]
|
H A D | memory.c | 103 static int php_stream_memory_close(php_stream *stream, int close_handle) in php_stream_memory_close() 118 static int php_stream_memory_flush(php_stream *stream) in php_stream_memory_flush() 298 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC) in _php_stream_memory_create() 301 php_stream *stream; in _php_stream_memory_create() 320 php_stream *stream; in _php_stream_memory_open() 360 php_stream *innerstream; 449 static int php_stream_temp_flush(php_stream *stream) in php_stream_temp_flush() 483 php_stream *file; in php_stream_temp_cast() 577 php_stream *stream; in _php_stream_temp_create_ex() 605 php_stream *stream; in _php_stream_temp_open() [all …]
|
H A D | php_stream_glob_wrapper.h | 22 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, size_t *plen STREAMS_DC); 25 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, size_t *plen STREAMS_DC); 28 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC);
|
H A D | mmap.c | 21 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() 39 PHPAPI int _php_stream_mmap_unmap(php_stream *stream) in _php_stream_mmap_unmap() 44 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) in _php_stream_mmap_unmap_ex()
|
H A D | php_stream_mmap.h | 68 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… 72 PHPAPI int _php_stream_mmap_unmap(php_stream *stream); 75 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden);
|
H A D | glob_wrapper.c | 46 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_path() 64 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_pattern() 82 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC) /* {{{ */ in _php_glob_stream_get_count() 128 static ssize_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read() 152 static int php_glob_stream_close(php_stream *stream, int close_handle) /* {{{ */ in php_glob_stream_close() 171 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_glob_stream_rewind() 197 static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, const char *path, const char… in php_glob_stream_opener()
|
H A D | transports.c | 52 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options, in _php_stream_xport_create() 60 php_stream *stream = NULL; in _php_stream_xport_create() 196 PHPAPI int php_stream_xport_bind(php_stream *stream, in php_stream_xport_bind() 224 PHPAPI int php_stream_xport_connect(php_stream *stream, in php_stream_xport_connect() 284 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, in php_stream_xport_accept() 322 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, in php_stream_xport_get_name() 352 …API int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_m… in php_stream_xport_crypto_setup() 373 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate) in php_stream_xport_crypto_enable() 395 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, in php_stream_xport_recvfrom() 464 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, in php_stream_xport_sendto() [all …]
|
H A D | streams.c | 67 php_stream *stream; in forget_persistent_resource_id_numbers() 74 stream = (php_stream*)rsrc->ptr; in forget_persistent_resource_id_numbers() 100 PHPAPI php_stream *php_stream_encloses(php_stream *enclosing, php_stream *enclosed) in php_stream_encloses() 278 php_stream *ret; in _php_stream_alloc() 280 ret = (php_stream*) pemalloc_rel_orig(sizeof(php_stream), persistent_id ? 1 : 0); in _php_stream_alloc() 1655 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor() 1662 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor() 2005 php_stream *stream = NULL; 2054 php_stream *stream = NULL; 2135 php_stream *newstream; [all …]
|
/PHP-8.0/main/ |
H A D | php_streams.h | 96 typedef struct _php_stream php_stream; typedef 118 int (*close)(php_stream *stream, int close_handle); 119 int (*flush)(php_stream *stream); 278 PHPAPI php_stream *php_stream_encloses(php_stream *enclosing, php_stream *enclosed); 307 PHPAPI zend_off_t _php_stream_tell(php_stream *stream); 327 PHPAPI int _php_stream_eof(php_stream *stream); 330 PHPAPI int _php_stream_getc(php_stream *stream); 333 PHPAPI int _php_stream_putc(php_stream *stream, int c); 457 PHPAPI size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen STREAMS_D… 459 PHPAPI int _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, size_t *… [all …]
|
H A D | php_memory_streams.h | 42 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC); 43 PHPAPI php_stream *_php_stream_memory_open(int mode, const char *buf, size_t length STREAMS_DC); 44 PHPAPI char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC); 46 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC); 47 PHPAPI php_stream *_php_stream_temp_create_ex(int mode, size_t max_memory_usage, const char *tmpdir… 48 PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, const char *buf, size_t…
|
/PHP-8.0/ext/phar/ |
H A D | stream.h | 25 static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, const char *path, const char … 31 static ssize_t phar_stream_write(php_stream *stream, const char *buf, size_t count); 32 static ssize_t phar_stream_read( php_stream *stream, char *buf, size_t count); 33 static int phar_stream_close(php_stream *stream, int close_handle); 34 static int phar_stream_flush(php_stream *stream); 35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo… 36 static int phar_stream_stat( php_stream *stream, php_stream_statbuf *ssb);
|
H A D | dirstream.h | 28 static ssize_t phar_dir_write(php_stream *stream, const char *buf, size_t count); 29 static ssize_t phar_dir_read( php_stream *stream, char *buf, size_t count); 30 static int phar_dir_close(php_stream *stream, int close_handle); 31 static int phar_dir_flush(php_stream *stream); 32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs… 34 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, …
|
H A D | phar_internal.h | 247 php_stream *fp; 248 php_stream *cfp; 296 php_stream *fp; 298 php_stream *ufp; 329 php_stream *fp; 330 php_stream *ufp; 334 static inline php_stream *phar_get_entrypfp(phar_entry_info *entry) in phar_get_entrypfp() 370 static inline php_stream *phar_get_pharfp(phar_archive_data *phar) in phar_get_pharfp() 378 static inline php_stream *phar_get_pharufp(phar_archive_data *phar) in phar_get_pharufp() 455 php_stream *fp; [all …]
|
/PHP-8.0/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 28 php_stream *stream; 31 static ssize_t php_gziop_read(php_stream *stream, char *buf, size_t count) in php_gziop_read() 46 static ssize_t php_gziop_write(php_stream *stream, const char *buf, size_t count) in php_gziop_write() 54 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek() 69 static int php_gziop_close(php_stream *stream, int close_handle) in php_gziop_close() 89 static int php_gziop_flush(php_stream *stream) in php_gziop_flush() 106 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() 110 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen()
|
/PHP-8.0/ext/zip/ |
H A D | zip_stream.c | 38 php_stream *stream; 46 static ssize_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) in php_zip_ops_read() 81 static ssize_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) in php_zip_ops_write() 92 static int php_zip_ops_close(php_stream *stream, int close_handle) in php_zip_ops_close() 113 static int php_zip_ops_flush(php_stream *stream) in php_zip_ops_flush() 123 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_zip_ops_stat() 211 php_stream *php_stream_zip_open(struct zip *arch, const char *path, const char *mode STREAMS_DC) in php_stream_zip_open() 215 php_stream *stream = NULL; in php_stream_zip_open() 241 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, in php_stream_zip_opener() 259 php_stream *stream = NULL; in php_stream_zip_opener()
|
/PHP-8.0/ext/standard/ |
H A D | file.h | 46 PHPAPI void php_fstat(php_stream *stream, zval *return_value); 47 PHPAPI void php_flock_common(php_stream *stream, zend_long operation, uint32_t operation_arg_num, 51 PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, size_t… 52 PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int es… 75 php_stream *stream;
|
H A D | php_fopen_wrapper.c | 32 static ssize_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_output_write() 39 static ssize_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_output_read() 46 static int php_stream_output_close(php_stream *stream, int close_handle) /* {{{ */ in php_stream_output_close() 65 php_stream *body; 70 static ssize_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_input_write() 76 static ssize_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_input_read() 108 static int php_stream_input_close(php_stream *stream, int close_handle) /* {{{ */ in php_stream_input_close() 117 static int php_stream_input_flush(php_stream *stream) /* {{{ */ in php_stream_input_flush() 123 static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_stream_input_seek() 176 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mod… in php_stream_url_wrap_php() [all …]
|
H A D | php_fopen_wrappers.h | 22 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mod… 23 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode…
|
/PHP-8.0/ext/bz2/ |
H A D | php_bz2.h | 49 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const ch… 50 PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, const char *mode, php_stream *i…
|
/PHP-8.0/ext/ftp/ |
H A D | ftp.h | 75 php_stream *stream; /* output stream for "nonblocking" transfers */ 182 int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype… 187 int ftp_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftptype_… 192 int ftp_append(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftpty… 212 int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftpt… 217 int ftp_nb_put(ftpbuf_t *ftp, const char *path, const size_t path_len, php_stream *instream, ftpty…
|
/PHP-8.0/docs/ |
H A D | streams.md | 27 PHPAPI size_t php_stream_printf(php_stream * stream, 29 PHPAPI int php_stream_eof(php_stream * stream); 30 PHPAPI int php_stream_getc(php_stream * stream); 32 PHPAPI int php_stream_close(php_stream * stream); 33 PHPAPI int php_stream_flush(php_stream * stream); 35 PHPAPI off_t php_stream_tell(php_stream * stream); 78 PHPAPI php_stream *php_stream_fopen_tmpfile(void); 108 php_stream *dest, size_t maxlen); 135 PHPAPI int php_stream_make_seekable(php_stream *origstream, php_stream **newstream); 182 php_stream * stream; /* already opened */ [all …]
|
/PHP-8.0/ext/dba/libcdb/ |
H A D | cdb.h | 27 php_stream *fp; 40 void cdb_init(struct cdb *, php_stream *fp);
|
H A D | cdb_make.h | 50 php_stream * fp; 53 int cdb_make_start(struct cdb_make *, php_stream *);
|