Searched refs:stream (Results 1 - 25 of 122) sorted by relevance

12345

/PHP_TRUNK/ext/standard/tests/filters/
H A Dfilter_errors.inc18 $stream = fopen('php://memory', 'wb+');
20 fwrite($stream, b".\r\n$data");
21 fseek($stream, 0, SEEK_SET);
22 stream_get_line($stream, 8192, "\r\n");
24 $f = stream_filter_append($stream, $filter);
28 $stream = fopen('php://memory', 'wb+');
30 fwrite($stream, b"$data");
31 fseek($stream, 0, SEEK_SET);
33 stream_filter_append($stream, $filter);
34 stream_get_contents($stream);
[all...]
/PHP_TRUNK/ext/pgsql/tests/
H A Dnonblocking.inc3 function nb_is_readable($stream, $timeout = 1) {
4 $r = [$stream]; $w = []; $e = [];
7 function nb_is_writable($stream, $timeout = 1) {
8 $r = []; $w = [$stream]; $e = [];
/PHP_TRUNK/TSRM/
H A Dtsrm_nw.h27 TSRM_API int pclose(FILE* stream);
/PHP_TRUNK/Zend/
H A Dzend_stream.c78 static void zend_stream_unmap(zend_stream *stream) { /* {{{ */ argument
80 if (stream->mmap.map) {
81 munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD);
84 if (stream->mmap.buf) {
85 efree(stream->mmap.buf);
87 stream->mmap.len = 0;
88 stream->mmap.pos = 0;
89 stream->mmap.map = 0;
90 stream
94 zend_stream_mmap_closer(zend_stream *stream) argument
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c133 php_stream *stream; local
136 /* {{{ BZip2 stream implementation */
138 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count) argument
140 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract;
151 stream->eof = 0 == just_read;
161 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count) argument
164 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract;
185 static int php_bz2iop_close(php_stream *stream, int close_handle) argument
187 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract;
194 if (self->stream) {
203 php_bz2iop_flush(php_stream *stream) argument
241 php_stream *retstream = NULL, *stream = NULL; local
373 php_stream *stream; local
403 php_stream *stream = NULL; local
622 php_stream *stream; local
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd_ctx.c49 php_stream * stream = (php_stream *)ctx->data; local
50 php_stream_write(stream, &ch, 1);
55 php_stream * stream = (php_stream *)ctx->data; local
56 return php_stream_write(stream, (void *)buf, l);
84 php_stream *stream; local
117 php_stream_from_zval_no_verify(stream, to_zval);
118 if (stream == NULL) {
127 stream = php_stream_open_wrapper(Z_STRVAL_P(to_zval), "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL);
128 if (stream == NULL) {
132 php_error_docref(NULL, E_WARNING, "Invalid 2nd parameter, it must a filename or a stream");
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c61 /* Flags for determining allowed stream crypto methods */
70 #define GET_VER_OPT(name) (PHP_STREAM_CONTEXT(stream) && (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", name)) != NULL)
122 static int is_http_stream_talking_to_iis(php_stream *stream) /* {{{ */ argument
124 if (Z_TYPE(stream->wrapperdata) == IS_ARRAY && stream->wrapper && strcasecmp(stream->wrapper->wops->label, "HTTP") == 0) {
131 ZEND_HASH_FOREACH_VAL(Z_ARRVAL(stream->wrapperdata), tmp) {
143 static int handle_ssl_error(php_stream *stream, int nr_bytes, zend_bool is_init) /* {{{ */ argument
145 php_openssl_netstream_data_t *sslsock = (php_openssl_netstream_data_t*)stream
229 php_stream *stream; local
406 apply_peer_verification_policy(SSL *ssl, X509 *peer, php_stream *stream) argument
507 php_stream *stream = (php_stream *)data; local
531 php_stream *stream; local
690 php_stream *stream; local
768 enable_peer_verification(SSL_CTX *ctx, php_stream *stream) argument
815 disable_peer_verification(SSL_CTX *ctx, php_stream *stream) argument
821 set_local_cert(SSL_CTX *ctx, php_stream *stream) argument
960 php_stream *stream; local
1028 init_server_reneg_limit(php_stream *stream, php_openssl_netstream_data_t *sslsock) argument
1069 set_server_rsa_key(php_stream *stream, SSL_CTX *ctx) argument
1132 set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx) argument
1167 set_server_specific_opts(php_stream *stream, SSL_CTX *ctx) argument
1228 php_stream *stream; local
1257 enable_server_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) argument
1344 enable_client_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) argument
1370 php_openssl_setup_crypto(php_stream *stream, php_openssl_netstream_data_t *sslsock, php_stream_xport_crypto_param *cparam ) argument
1551 capture_peer_certs(php_stream *stream, php_openssl_netstream_data_t *sslsock, X509 *peer_cert) argument
1596 php_openssl_enable_crypto(php_stream *stream, php_openssl_netstream_data_t *sslsock, php_stream_xport_crypto_param *cparam ) argument
1745 php_openssl_sockop_write(php_stream *stream, const char *buf, size_t count) argument
1778 php_openssl_sockop_read(php_stream *stream, char *buf, size_t count) argument
1822 php_openssl_sockop_close(php_stream *stream, int close_handle) argument
1890 php_openssl_sockop_flush(php_stream *stream) argument
1896 php_openssl_sockop_stat(php_stream *stream, php_stream_statbuf *ssb) argument
1902 php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, php_stream_xport_param *xparam STREAMS_DC) argument
1965 php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
2083 php_openssl_sockop_cast(php_stream *stream, int castas, void **ret) argument
2185 php_stream *stream = NULL; local
[all...]
/PHP_TRUNK/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);
32 static int phar_dir_close(php_stream *stream, int close_handle);
33 static int phar_dir_flush(php_stream *stream);
34 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
H A Dstream.h32 /* file/stream handlers */
33 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);
35 static int phar_stream_close(php_stream *stream, int close_handle);
36 static int phar_stream_flush(php_stream *stream);
37 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
38 static int phar_stream_stat( php_stream *stream, php_stream_statbuf *ssb);
/PHP_TRUNK/ext/standard/
H A Dfile.c130 #define PHP_STREAM_TO_ZVAL(stream, arg) \
131 php_stream_from_zval_no_verify(stream, arg); \
132 if (stream == NULL) { \
181 le_stream_context = zend_register_list_destructors_ex(file_context_dtor, NULL, "stream-context", module_number);
344 php_stream *stream; local
351 PHP_STREAM_TO_ZVAL(stream, res);
366 if (php_stream_lock(stream, act)) {
400 md.stream = php_stream_open_wrapper(filename, "rb",
403 if (!md.stream) {
517 php_stream_close(md.stream);
528 php_stream *stream; local
578 php_stream *stream; local
725 php_stream *stream; local
843 php_stream *stream; local
867 php_stream *stream; local
891 php_stream *stream; local
927 php_stream *stream; local
969 php_stream *stream; local
989 php_stream *stream; local
1014 php_stream *stream; local
1068 php_stream *stream; local
1098 php_stream *stream; local
1202 php_stream *stream; local
1234 php_stream *stream; local
1255 php_stream *stream; local
1276 php_stream *stream; local
1298 php_stream *stream; local
1384 php_stream *stream; local
1437 php_stream *stream; local
1524 php_stream *stream; local
1548 php_stream *stream; local
1779 php_stream *stream; local
1847 php_stream *stream; local
1903 php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char) argument
1974 php_stream *stream; local
2060 php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value) argument
[all...]
H A Dftp_fopen_wrapper.c73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line))
83 static inline int get_ftp_result(php_stream *stream, char *buffer, size_t buffer_size) argument
85 while (php_stream_gets(stream, buffer, buffer_size-1) &&
94 static int php_stream_ftp_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb) argument
104 static int php_stream_ftp_stream_close(php_stream_wrapper *wrapper, php_stream *stream) argument
106 php_stream *controlstream = stream->wrapperthis;
110 if (strpbrk(stream->mode, "wa+")) {
114 /* For write modes close data stream first to signal EOF to server */
124 stream
137 php_stream *stream = NULL, *reuseid = NULL; local
323 php_fopen_do_pasv(php_stream *stream, char *ip, size_t ip_size, char **phoststart) argument
417 php_stream *stream = NULL, *datastream = NULL; local
609 php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count) argument
650 php_ftp_dirstream_close(php_stream *stream, int close_handle) argument
689 php_stream *stream, *reuseid, *datastream = NULL; local
778 php_stream *stream = NULL; local
901 php_stream *stream = NULL; local
951 php_stream *stream = NULL; local
1030 php_stream *stream = NULL; local
1124 php_stream *stream = NULL; local
[all...]
H A Dimage.c103 static struct gfxinfo *php_handle_gif (php_stream * stream) argument
108 if (php_stream_seek(stream, 3, SEEK_CUR))
111 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim))
126 static struct gfxinfo *php_handle_psd (php_stream * stream) argument
131 if (php_stream_seek(stream, 11, SEEK_CUR))
134 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim))
147 static struct gfxinfo *php_handle_bmp (php_stream * stream) argument
153 if (php_stream_seek(stream, 11, SEEK_CUR))
156 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim))
198 static struct gfxinfo *php_handle_swc(php_stream * stream) argument
271 php_handle_swf(php_stream * stream) argument
297 php_handle_png(php_stream * stream) argument
365 php_read2(php_stream * stream) argument
378 php_next_marker(php_stream * stream, int last_marker, int comment_correction, int ff_read) argument
426 php_skip_variable(php_stream * stream) argument
441 php_read_APP(php_stream * stream, unsigned int marker, zval *info) argument
475 php_handle_jpeg(php_stream * stream, zval *info) argument
564 php_read4(php_stream * stream) argument
604 php_handle_jpc(php_stream * stream) argument
676 php_handle_jp2(php_stream *stream) argument
803 php_handle_tiff(php_stream * stream, zval *info, int motorola_intel) argument
884 php_handle_iff(php_stream * stream) argument
945 php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check) argument
1000 php_handle_wbmp(php_stream * stream) argument
1015 php_get_xbm(php_stream *stream, struct gfxinfo **result) argument
1075 php_handle_xbm(php_stream * stream) argument
1085 php_handle_ico(php_stream * stream) argument
1224 php_getimagetype(php_stream * stream, char *filetype) argument
1297 php_getimagesize_from_stream(php_stream *stream, zval *info, INTERNAL_FUNCTION_PARAMETERS) argument
1394 php_stream *stream = NULL; local
[all...]
H A Dphp_fopen_wrapper.c34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ argument
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ argument
43 stream->eof = 1;
48 static int php_stream_output_close(php_stream *stream, int close_handle) /* {{{ */ argument
72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ argument
78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ argument
80 php_stream_input_t *input = stream->abstract;
97 stream->eof = 1;
106 static int php_stream_input_close(php_stream *stream, int close_handle) /* {{{ */ argument
108 efree(stream
115 php_stream_input_flush(php_stream *stream) argument
121 php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) argument
147 php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int write_chain) argument
179 php_stream * stream = NULL; local
[all...]
H A Dstreamsfuncs.c43 #define GET_CTX_OPT(stream, wrapper, name, val) (PHP_STREAM_CONTEXT(stream) && NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), wrapper, name)))
97 php_stream *stream = NULL; local
133 stream = php_stream_xport_create(host, host_len, REPORT_ERRORS,
139 if (stream == NULL) {
151 if (stream == NULL) {
169 php_stream_to_zval(stream, return_value);
181 php_stream *stream = NULL; local
208 stream
247 php_stream *stream = NULL, *clistream = NULL; local
296 php_stream *stream; local
322 php_stream *stream; local
351 php_stream *stream; local
399 php_stream *stream; local
479 php_stream *stream; local
581 php_stream *stream; local
619 php_stream *stream; local
672 php_stream *stream; local
922 php_stream *stream; local
1122 php_stream *stream; local
1252 php_stream *stream; local
1283 php_stream *stream; local
1308 php_stream *stream; local
1354 php_stream *stream; local
1382 php_stream *stream; local
1417 php_stream *stream; local
1444 php_stream *stream, *sessstream = NULL; local
1517 php_stream *stream = NULL; local
1548 php_stream *stream; local
1575 php_stream *stream; local
[all...]
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c39 php_stream *stream; member in struct:php_zip_stream_data_t
43 struct php_zip_stream_data_t *self = (struct php_zip_stream_data_t *) stream->abstract;
47 static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) argument
57 stream->eof = 1;
58 php_error_docref(NULL, E_WARNING, "Zip stream error: %s", zip_file_strerror(self->zf));
64 stream->eof = 1;
74 static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) argument
76 if (!stream) {
85 static int php_zip_ops_close(php_stream *stream, int close_handle) argument
100 stream
106 php_zip_ops_flush(php_stream *stream) argument
116 php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb) argument
208 php_stream *stream = NULL; local
270 php_stream *stream = NULL; local
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c32 php_stream *stream; member in struct:php_gz_stream_data_t
35 static size_t php_gziop_read(php_stream *stream, char *buf, size_t count) argument
37 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
44 stream->eof = 1;
50 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count) argument
52 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
61 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) argument
63 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
76 static int php_gziop_close(php_stream *stream, int close_handle) argument
78 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream
96 php_gziop_flush(php_stream *stream) argument
117 php_stream *stream = NULL, *innerstream = NULL; local
[all...]
/PHP_TRUNK/main/
H A Dphp_streams.h94 * The only exceptions to this rule are that stream implementations can use
120 size_t (*write)(php_stream *stream, const char *buf, size_t count);
121 size_t (*read)(php_stream *stream, char *buf, size_t count);
122 int (*close)(php_stream *stream, int close_handle);
123 int (*flush)(php_stream *stream);
128 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset);
129 int (*cast)(php_stream *stream, int castas, void **ret);
130 int (*stat)(php_stream *stream, php_stream_statbuf *ssb);
131 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam);
135 /* open/create a wrapped stream */
[all...]
/PHP_TRUNK/main/streams/
H A Dcast.c85 php_stream *stream = (php_stream*)cookie; local
88 stream->fclose_stdiocast = PHP_STREAM_FCLOSE_NONE;
89 return php_stream_close(stream);
127 php_stream *stream = (php_stream*)cookie; local
130 stream->fclose_stdiocast = PHP_STREAM_FCLOSE_NONE;
131 return php_stream_close(stream);
148 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) argument
152 const char *cur_mode = stream->mode;
191 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) argument
198 php_stream_flush(stream);
348 php_stream *stream = NULL; local
[all...]
H A Dfilter.c71 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent) argument
73 int is_persistent = php_stream_is_persistent(stream);
337 php_stream *stream = chain->stream; local
349 if (&(stream->readfilters) == chain && (stream->writepos - stream->readpos) > 0) {
357 bucket = php_stream_bucket_new(stream, (char*) stream->readbuf + stream
435 php_stream *stream; local
[all...]
H A Dmemory.c27 /* Memory streams use a dynamic memory buffer to emulate a stream.
28 * You can use php_stream_memory_open to create a readonly stream
37 /* {{{ ------- MEMORY stream implementation -------*/
49 static size_t php_stream_memory_write(php_stream *stream, const char *buf, size_t count) argument
51 php_stream_memory_data *ms = (php_stream_memory_data*)stream->abstract;
85 static size_t php_stream_memory_read(php_stream *stream, char *buf, size_t count) argument
87 php_stream_memory_data *ms = (php_stream_memory_data*)stream->abstract;
91 stream->eof = 1;
110 static int php_stream_memory_close(php_stream *stream, int close_handle) argument
112 php_stream_memory_data *ms = (php_stream_memory_data*)stream
125 php_stream_memory_flush(php_stream *stream) argument
134 php_stream_memory_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) argument
198 php_stream_memory_cast(php_stream *stream, int castas, void **ret) argument
204 php_stream_memory_stat(php_stream *stream, php_stream_statbuf *ssb) argument
247 php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
296 php_stream *stream; local
315 php_stream *stream; local
338 _php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC) argument
364 php_stream_temp_write(php_stream *stream, const char *buf, size_t count) argument
390 php_stream_temp_read(php_stream *stream, char *buf, size_t count) argument
411 php_stream_temp_close(php_stream *stream, int close_handle) argument
438 php_stream_temp_flush(php_stream *stream) argument
449 php_stream_temp_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) argument
469 php_stream_temp_cast(php_stream *stream, int castas, void **ret) argument
515 php_stream_temp_stat(php_stream *stream, php_stream_statbuf *ssb) argument
526 php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
561 php_stream *stream; local
589 php_stream *stream; local
621 php_stream *stream; local
[all...]
H A Dmmap.c25 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len) argument
40 if (PHP_STREAM_OPTION_RETURN_OK == php_stream_set_option(stream, PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_MAP_RANGE, &range)) {
49 PHPAPI int _php_stream_mmap_unmap(php_stream *stream) argument
51 return php_stream_set_option(stream, PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_UNMAP, NULL) == PHP_STREAM_OPTION_RETURN_OK ? 1 : 0;
54 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) argument
58 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) {
61 if (php_stream_mmap_unmap(stream) == 0) {
H A Dphp_stream_glob_wrapper.h26 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, size_t *plen STREAMS_DC);
27 #define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path((stream), (copy), (plen) STREAMS_CC)
29 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, size_t *plen STREAMS_DC);
30 #define php_glob_stream_get_pattern(stream, copy, plen) _php_glob_stream_get_pattern((stream), (copy), (plen) STREAMS_CC)
32 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC);
33 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STREAMS_CC)
H A Dphp_stream_mmap.h31 /* Does the stream support mmap ? */
35 * on the stream (win9x compatibility) */
37 /* Unmap the last range that was mapped for the stream */
63 #define php_stream_mmap_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_SUPPORTED, NULL) == 0 ? 1 : 0)
65 /* Returns 1 if the stream in its current state can be memory mapped,
67 #define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_supported((stream)))
70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_
[all...]
H A Dstreams.c79 php_stream *stream; local
86 stream = (php_stream*)rsrc->ptr;
89 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);
92 stream->res = NULL;
94 if (PHP_STREAM_CONTEXT(stream)) {
97 PHP_STREAM_CONTEXT(stream));
98 stream->ctx = NULL;
119 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream) argument
125 if (stream) {
379 _php_stream_free(php_stream *stream, int close_options) argument
524 zend_hash_apply_with_argument(&EG(persistent_list), _php_stream_free_persistent, stream); local
575 php_stream_fill_read_buffer(php_stream *stream, size_t size) argument
707 _php_stream_read(php_stream *stream, char *buf, size_t size) argument
777 _php_stream_eof(php_stream *stream) argument
794 _php_stream_putc(php_stream *stream, int c) argument
804 _php_stream_getc(php_stream *stream) argument
814 _php_stream_puts(php_stream *stream, const char *buf) argument
826 _php_stream_stat(php_stream *stream, php_stream_statbuf *ssb) argument
846 php_stream_locate_eol(php_stream *stream, zend_string *buf) argument
888 _php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_len) argument
1005 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, const char *delim, size_t delim_len) argument
1029 php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, size_t delim_len) argument
1118 _php_stream_write_buffer(php_stream *stream, const char *buf, size_t count) argument
1163 _php_stream_write_filtered(php_stream *stream, const char *buf, size_t count, int flags) argument
1224 _php_stream_flush(php_stream *stream, int closing) argument
1239 _php_stream_write(php_stream *stream, const char *buf, size_t count) argument
1252 _php_stream_printf(php_stream *stream, const char *fmt, ...) argument
1272 _php_stream_tell(php_stream *stream) argument
1277 _php_stream_seek(php_stream *stream, zend_off_t offset, int whence) argument
1356 _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
1390 _php_stream_truncate_set_size(php_stream *stream, size_t newsize) argument
1628 php_stream *stream = (php_stream*)rsrc->ptr; local
1635 php_stream *stream = (php_stream*)rsrc->ptr; local
1978 php_stream *stream = NULL; local
2027 php_stream *stream = NULL; local
2169 php_stream_context_set(php_stream *stream, php_stream_context *context) argument
2283 php_stream *stream; local
[all...]
H A Dtransports.c60 php_stream *stream = NULL; local
75 switch(php_stream_from_persistent_id(persistent_id, &stream)) {
79 if (PHP_STREAM_OPTION_RETURN_OK == php_stream_set_option(stream, PHP_STREAM_OPTION_CHECK_LIVENESS, 0, NULL)) {
80 return stream;
83 php_stream_pclose(stream);
84 stream = NULL;
132 stream = (factory)(protocol, n,
136 if (stream) {
137 php_stream_context_set(stream, context);
143 if (-1 == php_stream_xport_connect(stream, nam
196 php_stream_xport_bind(php_stream *stream, const char *name, size_t namelen, zend_string **error_text ) argument
224 php_stream_xport_connect(php_stream *stream, const char *name, size_t namelen, int asynchronous, struct timeval *timeout, zend_string **error_text, int *error_code ) argument
260 php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) argument
284 php_stream_xport_accept(php_stream *stream, php_stream **client, zend_string **textaddr, void **addr, socklen_t *addrlen, struct timeval *timeout, zend_string **error_text ) argument
322 php_stream_xport_get_name(php_stream *stream, int want_peer, zend_string **textaddr, void **addr, socklen_t *addrlen ) argument
352 php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream) argument
373 php_stream_xport_crypto_enable(php_stream *stream, int activate) argument
395 php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, int flags, void **addr, socklen_t *addrlen, zend_string **textaddr ) argument
464 php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, int flags, void *addr, socklen_t addrlen) argument
504 php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how) argument
[all...]

Completed in 43 milliseconds

12345