Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 105) sorted by relevance

12345

/php-src/sapi/fpm/fpm/
H A Dzlog.c275 struct zlog_stream stream; in zlog_msg_ex() local
319 struct zlog_stream *stream, const char *buf, size_t len, in zlog_stream_direct_write_ex()
341 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_direct_write()
348 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_unbuffered_write()
414 struct zlog_stream *stream, const char *str, size_t str_len) /* {{{ */ in zlog_stream_buf_copy_cstr()
442 static ssize_t zlog_stream_buf_flush(struct zlog_stream *stream) /* {{{ */ in zlog_stream_buf_flush()
467 struct zlog_stream *stream, const char *str, size_t str_len) /* {{{ */ in zlog_stream_buf_append()
537 void zlog_stream_init(struct zlog_stream *stream, int flags) /* {{{ */ in zlog_stream_init()
838 zlog_bool zlog_stream_finish(struct zlog_stream *stream) /* {{{ */ in zlog_stream_finish()
862 void zlog_stream_destroy(struct zlog_stream *stream) /* {{{ */ in zlog_stream_destroy()
[all …]
/php-src/main/streams/
H A Dmemory.c102 static int php_stream_memory_close(php_stream *stream, int close_handle) in php_stream_memory_close()
114 static int php_stream_memory_flush(php_stream *stream) in php_stream_memory_flush()
182 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) in php_stream_memory_cast()
293 php_stream *stream; in _php_stream_memory_create() local
310 php_stream *stream; in _php_stream_memory_open() local
397 static int php_stream_temp_close(php_stream *stream, int close_handle) in php_stream_temp_close()
424 static int php_stream_temp_flush(php_stream *stream) in php_stream_temp_flush()
455 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast()
551 php_stream *stream; in _php_stream_temp_create_ex() local
579 php_stream *stream; in _php_stream_temp_open() local
[all …]
H A Dtransports.c60 php_stream *stream = NULL; in _php_stream_xport_create() local
201 PHPAPI int php_stream_xport_bind(php_stream *stream, in php_stream_xport_bind()
229 PHPAPI int php_stream_xport_connect(php_stream *stream, in php_stream_xport_connect()
265 PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) in php_stream_xport_listen()
289 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, in php_stream_xport_accept()
327 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, in php_stream_xport_get_name()
357 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… in php_stream_xport_crypto_setup()
378 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate) in php_stream_xport_crypto_enable()
400 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, in php_stream_xport_recvfrom()
469 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, in php_stream_xport_sendto()
[all …]
H A Dstreams.c69 php_stream *stream; in forget_persistent_resource_id_numbers() local
810 PHPAPI bool _php_stream_eof(php_stream *stream) in _php_stream_eof()
827 PHPAPI int _php_stream_putc(php_stream *stream, int c) in _php_stream_putc()
837 PHPAPI int _php_stream_getc(php_stream *stream) in _php_stream_getc()
1035 #define STREAM_BUFFERED_AMOUNT(stream) \ argument
1335 PHPAPI zend_off_t _php_stream_tell(php_stream *stream) in _php_stream_tell()
1823 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor() local
1830 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor() local
2137 php_stream *stream = NULL; local
2186 php_stream *stream = NULL; local
[all …]
H A Dxp_socket.c57 static ssize_t php_sockop_write(php_stream *stream, const char *buf, size_t count) in php_sockop_write()
159 static ssize_t php_sockop_read(php_stream *stream, char *buf, size_t count) in php_sockop_read()
212 static int php_sockop_close(php_stream *stream, int close_handle) in php_sockop_close()
255 static int php_sockop_flush(php_stream *stream) in php_sockop_flush()
264 static int php_sockop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_sockop_stat()
331 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_sockop_set_option()
497 static int php_sockop_cast(php_stream *stream, int castas, void **ret) in php_sockop_cast()
662 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind()
741 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect()
854 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept()
[all …]
H A Dphp_stream_mmap.h61 #define php_stream_mmap_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_MMAP_… argument
65 #define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_su… argument
69 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((str… argument
73 #define php_stream_mmap_unmap(stream) _php_stream_mmap_unmap((stream)) argument
76 #define php_stream_mmap_unmap_ex(stream, readden) _php_stream_mmap_unmap_ex((stream), (readden)) argument
H A Dphp_stream_glob_wrapper.h23 #define php_glob_stream_get_path(stream, plen) _php_glob_stream_get_path((stream), (plen) STREAMS_C… argument
26 #define php_glob_stream_get_pattern(stream, plen) _php_glob_stream_get_pattern((stream), (plen) STR… argument
29 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STR… argument
H A Dmmap.c21 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 Dplain_wrapper.c224 php_stream *stream; in _php_stream_fopen_temporary_file() local
309 php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); in _php_stream_fopen_from_file() local
329 php_stream *stream; in _php_stream_fopen_from_pipe() local
387 static ssize_t php_stdiop_read(php_stream *stream, char *buf, size_t count) in php_stdiop_read()
466 static int php_stdiop_close(php_stream *stream, int close_handle) in php_stdiop_close()
531 static int php_stdiop_flush(php_stream *stream) in php_stdiop_flush()
549 static int php_stdiop_sync(php_stream *stream, bool dataonly) in php_stdiop_sync()
599 static int php_stdiop_cast(php_stream *stream, int castas, void **ret) in php_stdiop_cast()
657 static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_stdiop_stat()
1067 php_stream *stream = NULL; in php_plain_files_dir_opener() local
[all …]
H A Dglob_wrapper.c49 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_path()
67 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_pattern()
90 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC) /* {{{ */ in _php_glob_stream_get_count()
136 static ssize_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read()
167 static int php_glob_stream_close(php_stream *stream, int close_handle) /* {{{ */ in php_glob_stream_close()
189 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_glob_stream_rewind()
H A Duserspace.c301 php_stream *stream = NULL; in user_wrapper_opener() local
386 static int user_wrapper_close(php_stream_wrapper *wrapper, php_stream *stream) in user_wrapper_close()
402 php_stream *stream = NULL; in user_wrapper_opendir() local
563 static ssize_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count) in php_userstreamop_write()
612 static ssize_t php_userstreamop_read(php_stream *stream, char *buf, size_t count) in php_userstreamop_read()
690 static int php_userstreamop_close(php_stream *stream, int close_handle) in php_userstreamop_close()
713 static int php_userstreamop_flush(php_stream *stream) in php_userstreamop_flush()
837 static int php_userstreamop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_userstreamop_stat()
1310 static ssize_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count) in php_userstreamop_readdir()
1344 static int php_userstreamop_closedir(php_stream *stream, int close_handle) in php_userstreamop_closedir()
[all …]
/php-src/ext/standard/
H A Dphp_fopen_wrapper.c32 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()
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()
149 static void php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int … in php_stream_apply_filter_list()
181 php_stream * stream = NULL; in php_stream_url_wrap_php() local
H A Dimage.c69 static struct gfxinfo *php_handle_gif (php_stream * stream) in php_handle_gif()
91 static struct gfxinfo *php_handle_psd (php_stream * stream) in php_handle_psd()
111 static struct gfxinfo *php_handle_bmp (php_stream * stream) in php_handle_bmp()
161 static struct gfxinfo *php_handle_swc(php_stream * stream) in php_handle_swc()
335 static unsigned short php_read2(php_stream * stream) in php_read2()
384 static int php_skip_variable(php_stream * stream) in php_skip_variable()
534 static unsigned int php_read4(php_stream * stream) in php_read4()
645 static struct gfxinfo *php_handle_jp2(php_stream *stream) in php_handle_jp2()
1143 php_stream* stream; member
1204 bool php_is_image_avif(php_stream* stream) { in php_is_image_avif()
[all …]
H A Dftp_fopen_wrapper.c68 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line)) argument
77 static inline int get_ftp_result(php_stream *stream, char *buffer, size_t buffer_size) in get_ftp_result()
129 php_stream *stream = NULL, *reuseid = NULL; in php_ftp_fopen_connect() local
406 php_stream *stream = NULL, *datastream = NULL; in php_stream_url_wrap_ftp() local
646 static int php_ftp_dirstream_close(php_stream *stream, int close_handle) in php_ftp_dirstream_close()
684 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local
775 php_stream *stream = NULL; in php_stream_ftp_url_stat() local
897 php_stream *stream = NULL; in php_stream_ftp_unlink() local
946 php_stream *stream = NULL; in php_stream_ftp_rename() local
1024 php_stream *stream = NULL; in php_stream_ftp_mkdir() local
[all …]
H A Dfile.c219 php_stream *stream; in PHP_FUNCTION() local
387 php_stream *stream; in PHP_FUNCTION() local
446 php_stream *stream; in PHP_FUNCTION() local
597 php_stream *stream; in PHP_FUNCTION() local
712 php_stream *stream; in PHP_FUNCTION() local
733 php_stream *stream; in PHP_FUNCTION() local
760 php_stream *stream; in PHP_FUNCTION() local
787 php_stream *stream; in PHP_FUNCTION() local
840 php_stream *stream; in PHP_FUNCTION() local
859 php_stream *stream; in PHP_FUNCTION() local
[all …]
H A Dstreamsfuncs.c330 php_stream *stream; in PHP_FUNCTION() local
361 php_stream *stream; in PHP_FUNCTION() local
393 php_stream *stream; in PHP_FUNCTION() local
443 php_stream *stream; in PHP_FUNCTION() local
536 php_stream *stream; in PHP_FUNCTION() local
627 php_stream *stream; in stream_array_to_fd_set() local
667 php_stream *stream; in stream_array_from_fd_set() local
716 php_stream *stream; in stream_array_emulate_read_fd_set() local
1239 php_stream *stream; in apply_filter_to_stream() local
1363 php_stream *stream; in PHP_FUNCTION() local
[all …]
/php-src/ext/zlib/
H A Dzlib_fopen_wrapper.c30 php_stream *stream; member
33 static ssize_t php_gziop_read(php_stream *stream, char *buf, size_t count) in php_gziop_read()
48 static ssize_t php_gziop_write(php_stream *stream, const char *buf, size_t count) in php_gziop_write()
56 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek()
71 static int php_gziop_close(php_stream *stream, int close_handle) in php_gziop_close()
91 static int php_gziop_flush(php_stream *stream) in php_gziop_flush()
112 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen() local
H A Dzlib.stub.php210 function gzwrite($stream, string $data, ?int $length = null): int|false {}
217 function gzputs($stream, string $data, ?int $length = null): int|false {}
223 function gzrewind($stream): bool {}
229 function gzclose($stream): bool {}
235 function gzeof($stream): bool {}
241 function gzgetc($stream): string|false {}
247 function gzpassthru($stream): int {}
253 function gzseek($stream, int $offset, int $whence = SEEK_SET): int {}
259 function gztell($stream): int|false {}
265 function gzread($stream, int $length): string|false {}
[all …]
/php-src/ext/zip/
H A Dzip_stream.c36 php_stream *stream; member
44 static ssize_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) in php_zip_ops_read()
79 static ssize_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) in php_zip_ops_write()
90 static int php_zip_ops_close(php_stream *stream, int close_handle) in php_zip_ops_close()
111 static int php_zip_ops_flush(php_stream *stream) in php_zip_ops_flush()
121 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_zip_ops_stat()
200 static int php_zip_ops_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in php_zip_ops_seek()
242 php_stream *stream = NULL; in php_stream_zip_open() local
293 php_stream *stream = NULL; in php_stream_zip_opener() local
/php-src/main/
H A Dphp_streams.h250 #define PHP_STREAM_CONTEXT(stream) \ argument
267 #define php_stream_auto_cleanup(stream) { (stream)->__exposed = 1; } argument
319 #define php_stream_tell(stream) _php_stream_tell((stream)) argument
339 #define php_stream_eof(stream) _php_stream_eof((stream)) argument
342 #define php_stream_getc(stream) _php_stream_getc((stream)) argument
345 #define php_stream_putc(stream, c) _php_stream_putc((stream), (c)) argument
348 #define php_stream_flush(stream) _php_stream_flush((stream), 0) argument
351 #define php_stream_sync(stream, d) _php_stream_sync((stream), (d)) argument
361 #define php_stream_puts(stream, buf) _php_stream_puts((stream), (buf)) argument
526 #define php_stream_is(stream, anops) ((stream)->ops == anops) argument
[all …]
/php-src/ext/bz2/
H A Dbz2.c62 php_stream *stream; member
67 static ssize_t php_bz2iop_read(php_stream *stream, char *buf, size_t count) in php_bz2iop_read()
97 static ssize_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count) in php_bz2iop_write()
125 static int php_bz2iop_close(php_stream *stream, int close_handle) in php_bz2iop_close()
143 static int php_bz2iop_flush(php_stream *stream) in php_bz2iop_flush()
184 php_stream *retstream = NULL, *stream = NULL; in _php_stream_bz2open() local
308 php_stream *stream; in PHP_FUNCTION() local
338 php_stream *stream = NULL; in PHP_FUNCTION() local
567 php_stream *stream; in php_bz2_error() local
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c136 static ssize_t php_pdosqlite3_stream_write(php_stream *stream, const char *buf, size_t count) in php_pdosqlite3_stream_write()
165 static ssize_t php_pdosqlite3_stream_read(php_stream *stream, char *buf, size_t count) in php_pdosqlite3_stream_read()
182 static int php_pdosqlite3_stream_close(php_stream *stream, int close_handle) in php_pdosqlite3_stream_close()
195 static int php_pdosqlite3_stream_flush(php_stream *stream) in php_pdosqlite3_stream_flush()
201 static int php_pdosqlite3_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t… in php_pdosqlite3_stream_seek()
262 static int php_pdosqlite3_stream_cast(php_stream *stream, int castas, void **ret) in php_pdosqlite3_stream_cast()
267 static int php_pdosqlite3_stream_stat(php_stream *stream, php_stream_statbuf *ssb) in php_pdosqlite3_stream_stat()
294 php_stream *stream; in PHP_METHOD() local
/php-src/ext/openssl/
H A Dxp_ssl.c324 php_stream *stream; in verify_callback() local
656 php_stream *stream = (php_stream *)data; in php_openssl_passwd_callback() local
681 php_stream *stream; in php_openssl_win_cert_verify_callback() local
803 php_stream *stream; in php_openssl_load_stream_cafile() local
1117 php_stream *stream; in php_openssl_limit_handshake_reneg() local
1385 php_stream *stream; in php_openssl_server_sni_callback() local
1653 static zend_result php_openssl_setup_crypto(php_stream *stream, in php_openssl_setup_crypto()
1846 static int php_openssl_capture_peer_certs(php_stream *stream, in php_openssl_capture_peer_certs()
1900 static int php_openssl_enable_crypto(php_stream *stream, in php_openssl_enable_crypto()
2309 static int php_openssl_sockop_flush(php_stream *stream) /* {{{ */ in php_openssl_sockop_flush()
[all …]
/php-src/ext/standard/libavifinfo/
H A Davifinfo.c100 void* stream; // User-defined data. member
117 AvifInfoInternalStream* stream, uint32_t num_bytes) { in AvifInfoInternalSkip()
253 AvifInfoInternalStream* stream, uint32_t num_remaining_bytes, in AvifInfoInternalParseBox()
319 static AvifInfoInternalStatus ParseIpco(AvifInfoInternalStream* stream, in ParseIpco()
436 static AvifInfoInternalStatus ParseIprp(AvifInfoInternalStream* stream, in ParseIprp()
522 static AvifInfoInternalStatus ParseIref(AvifInfoInternalStream* stream, in ParseIref()
581 static AvifInfoInternalStatus ParseMeta(AvifInfoInternalStream* stream, in ParseMeta()
645 static AvifInfoInternalStatus ParseFile(AvifInfoInternalStream* stream, in ParseFile()
669 static const uint8_t* AvifInfoInternalForwardRead(void* stream, in AvifInfoInternalForwardRead()
690 AvifInfoInternalForward stream; in AvifInfoIdentify() local
[all …]
/php-src/ext/phar/
H A Dstream.c255 php_stream *stream = phar_get_pharfp(phar); in phar_wrapper_open_url() local
356 static int phar_stream_close(php_stream *stream, int close_handle) /* {{{ */ in phar_stream_close()
370 static ssize_t phar_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in phar_stream_read()
401 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek()
445 static ssize_t phar_stream_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in phar_stream_write()
468 static int phar_stream_flush(php_stream *stream) /* {{{ */ in phar_stream_flush()
541 static int phar_stream_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in phar_stream_stat()

Completed in 221 milliseconds

12345