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

12345

/PHP_5_6/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_5_6/TSRM/
H A Dtsrm_nw.h27 TSRM_API int pclose(FILE* stream);
/PHP_5_6/Zend/
H A Dzend_stream.c79 static void zend_stream_unmap(zend_stream *stream TSRMLS_DC) { /* {{{ */
81 if (stream->mmap.map) {
82 munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD);
85 if (stream->mmap.buf) {
86 efree(stream->mmap.buf);
88 stream->mmap.len = 0;
89 stream->mmap.pos = 0;
90 stream->mmap.map = 0;
91 stream
[all...]
/PHP_5_6/ext/phar/
H A Ddirstream.h30 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC);
31 static size_t phar_dir_read( php_stream *stream, char *buf, size_t count TSRMLS_DC);
32 static int phar_dir_close(php_stream *stream, int close_handle TSRMLS_DC);
33 static int phar_dir_flush(php_stream *stream TSRMLS_DC);
34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
H A Dstream.h32 /* file/stream handlers */
33 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC);
34 static size_t phar_stream_read( php_stream *stream, char *buf, size_t count TSRMLS_DC);
35 static int phar_stream_close(php_stream *stream, int close_handle TSRMLS_DC);
36 static int phar_stream_flush(php_stream *stream TSRMLS_DC);
37 static int phar_stream_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
38 static int phar_stream_stat( php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
/PHP_5_6/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 TSRMLS_DC) argument
57 stream->eof = 1;
58 php_error_docref(NULL TSRMLS_CC, 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 TSRMLS_DC) argument
76 if (!stream) {
85 static int php_zip_ops_close(php_stream *stream, int close_handle TSRMLS_DC) argument
100 stream
116 php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
209 php_stream *stream = NULL; local
272 php_stream *stream = NULL; local
[all...]
/PHP_5_6/main/streams/
H A Dcast.c88 php_stream *stream = (php_stream*)cookie; local
92 stream->fclose_stdiocast = PHP_STREAM_FCLOSE_NONE;
93 return php_stream_close(stream);
135 php_stream *stream = (php_stream*)cookie; local
139 stream->fclose_stdiocast = PHP_STREAM_FCLOSE_NONE;
140 return php_stream_close(stream);
157 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) argument
161 const char *cur_mode = stream->mode;
200 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err TSRMLS_DC) argument
207 php_stream_flush(stream);
357 php_stream *stream = NULL; local
[all...]
H A Dfilter.c73 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent TSRMLS_DC) argument
75 int is_persistent = php_stream_is_persistent(stream);
339 php_stream *stream = chain->stream; local
351 if (&(stream->readfilters) == chain && (stream->writepos - stream->readpos) > 0) {
359 bucket = php_stream_bucket_new(stream, (char*) stream->readbuf + stream
437 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 TSRMLS_DC) 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 TSRMLS_DC)
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, off_t readden TSRMLS_DC) 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, int *plen STREAMS_DC TSRMLS_DC);
27 #define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path((stream), (copy), (plen) STREAMS_CC TSRMLS_CC)
29 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS_DC);
30 #define php_glob_stream_get_pattern(stream, copy, plen) _php_glob_stream_get_pattern((stream), (copy), (plen) STREAMS_CC TSRMLS_CC)
32 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC TSRMLS_DC);
33 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STREAMS_CC TSRMLS_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 TSRMLS_CC) == 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 Dtransports.c60 php_stream *stream = NULL; local
75 switch(php_stream_from_persistent_id(persistent_id, &stream TSRMLS_CC)) {
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, char **error_text TSRMLS_DC) argument
224 php_stream_xport_connect(php_stream *stream, const char *name, size_t namelen, int asynchronous, struct timeval *timeout, char **error_text, int *error_code TSRMLS_DC) argument
260 php_stream_xport_listen(php_stream *stream, int backlog, char **error_text TSRMLS_DC) argument
284 php_stream_xport_accept(php_stream *stream, php_stream **client, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen, struct timeval *timeout, char **error_text TSRMLS_DC) argument
323 php_stream_xport_get_name(php_stream *stream, int want_peer, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen TSRMLS_DC) argument
354 php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream TSRMLS_DC) argument
375 php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC) argument
397 php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlen TSRMLS_DC) argument
467 php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, long flags, void *addr, socklen_t addrlen TSRMLS_DC) argument
507 php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how TSRMLS_DC) argument
[all...]
H A Dphp_stream_transport.h60 /* Bind the stream to a local address */
61 PHPAPI int php_stream_xport_bind(php_stream *stream,
67 PHPAPI int php_stream_xport_connect(php_stream *stream,
76 PHPAPI int php_stream_xport_listen(php_stream *stream,
83 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client,
91 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer,
101 /* Similar to recv() system call; read data from the stream, optionally
103 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen,
107 /* Similar to send() system call; send data to the stream, optionally
109 PHPAPI int php_stream_xport_sendto(php_stream *stream, cons
[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 TSRMLS_DC) 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 TSRMLS_DC) argument
87 php_stream_memory_data *ms = (php_stream_memory_data*)stream->abstract;
92 stream->eof = 1;
106 static int php_stream_memory_close(php_stream *stream, int close_handle TSRMLS_DC) argument
108 php_stream_memory_data *ms = (php_stream_memory_data*)stream
130 php_stream_memory_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument
194 php_stream_memory_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) argument
200 php_stream_memory_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
243 php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
292 php_stream *stream; local
311 php_stream *stream; local
334 _php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC TSRMLS_DC) argument
360 php_stream_temp_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
386 php_stream_temp_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) argument
407 php_stream_temp_close(php_stream *stream, int close_handle TSRMLS_DC) argument
447 php_stream_temp_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument
467 php_stream_temp_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) argument
513 php_stream_temp_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
524 php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
559 php_stream *stream; local
586 php_stream *stream; local
618 php_stream *stream; local
[all...]
H A Dstreams.c78 php_stream *stream; local
84 stream = (php_stream*)rsrc->ptr;
87 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);
90 stream->rsrc_id = FAILURE;
92 if (stream->context) {
95 stream->context TSRMLS_CC);
96 stream->context = NULL;
117 PHPAPI int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream TSRMLS_DC)
123 if (stream) {
383 _php_stream_free(php_stream *stream, int close_options TSRMLS_DC) argument
571 php_stream_fill_read_buffer(php_stream *stream, size_t size TSRMLS_DC) argument
703 _php_stream_read(php_stream *stream, char *buf, size_t size TSRMLS_DC) argument
790 _php_stream_putc(php_stream *stream, int c TSRMLS_DC) argument
810 _php_stream_puts(php_stream *stream, const char *buf TSRMLS_DC) argument
822 _php_stream_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
842 php_stream_locate_eol(php_stream *stream, const char *buf, size_t buf_len TSRMLS_DC) argument
884 _php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_len TSRMLS_DC) argument
1001 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, const char *delim, size_t delim_len TSRMLS_DC) argument
1025 php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, const char *delim, size_t delim_len TSRMLS_DC) argument
1114 _php_stream_write_buffer(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
1159 _php_stream_write_filtered(php_stream *stream, const char *buf, size_t count, int flags TSRMLS_DC) argument
1220 _php_stream_flush(php_stream *stream, int closing TSRMLS_DC) argument
1235 _php_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
1273 _php_stream_seek(php_stream *stream, off_t offset, int whence TSRMLS_DC) argument
1352 _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
1385 _php_stream_truncate_set_size(php_stream *stream, size_t newsize TSRMLS_DC) argument
1618 php_stream *stream = (php_stream*)rsrc->ptr; local
1625 php_stream *stream = (php_stream*)rsrc->ptr; local
1973 php_stream *stream = NULL; local
2022 php_stream *stream = NULL; local
2164 php_stream_context_set(php_stream *stream, php_stream_context *context) argument
2283 php_stream *stream; local
[all...]
/PHP_5_6/ext/standard/
H A Dftp_fopen_wrapper.c73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line) TSRMLS_CC)
83 static inline int get_ftp_result(php_stream *stream, char *buffer, size_t buffer_size TSRMLS_DC) 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 TSRMLS_DC) argument
104 static int php_stream_ftp_stream_close(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC)
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 TSRMLS_DC) argument
417 php_stream *stream = NULL, *datastream = NULL; local
609 php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) argument
660 php_ftp_dirstream_close(php_stream *stream, int close_handle TSRMLS_DC) argument
699 php_stream *stream, *reuseid, *datastream = NULL; local
788 php_stream *stream = NULL; local
911 php_stream *stream = NULL; local
961 php_stream *stream = NULL; local
1040 php_stream *stream = NULL; local
1134 php_stream *stream = NULL; local
[all...]
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, &arg1);
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);
529 php_stream *stream; local
581 php_stream *stream; local
736 php_stream *stream; local
852 php_stream *stream; local
876 php_stream *stream; local
900 php_stream *stream; local
930 php_stream *stream; local
972 php_stream *stream; local
992 php_stream *stream; local
1017 php_stream *stream; local
1066 php_stream *stream; local
1096 php_stream *stream; local
1190 php_stream *stream; local
1223 php_stream *stream; local
1244 php_stream *stream; local
1265 php_stream *stream; local
1287 php_stream *stream; local
1373 php_stream *stream; local
1426 php_stream *stream; local
1513 php_stream *stream; local
1537 php_stream *stream; local
1756 php_stream *stream; local
1825 php_stream *stream; local
1881 php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC) argument
1962 php_stream *stream; local
2049 php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC) argument
[all...]
H A Dstreamsfuncs.c43 #define GET_CTX_OPT(stream, wrapper, name, val) (stream->context && SUCCESS == php_stream_context_get_option(stream->context, wrapper, name, &val))
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) {
170 php_stream_to_zval(stream, return_value);
182 php_stream *stream = NULL; local
209 stream
250 php_stream *stream = NULL, *clistream = NULL; local
301 php_stream *stream; local
329 php_stream *stream; local
358 php_stream *stream; local
408 php_stream *stream; local
491 php_stream *stream; local
609 php_stream *stream; local
646 php_stream *stream; local
713 php_stream *stream; local
986 php_stream *stream; local
1186 php_stream *stream; local
1315 php_stream *stream; local
1347 php_stream *stream; local
1374 php_stream *stream; local
1409 php_stream *stream; local
1437 php_stream *stream; local
1472 php_stream *stream; local
1499 php_stream *stream, *sessstream = NULL; local
1569 php_stream *stream = NULL; local
1600 php_stream *stream; local
1627 php_stream *stream; local
[all...]
H A Dphp_fopen_wrapper.c34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{ */ argument
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ argument
43 stream->eof = 1;
48 static int php_stream_output_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ argument
72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{ */ argument
78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ 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 TSRMLS_DC) /* {{{ */ argument
108 efree(stream
121 php_stream_input_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) argument
147 php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int write_chain TSRMLS_DC) argument
179 php_stream * stream = NULL; local
[all...]
H A Dimage.c103 static struct gfxinfo *php_handle_gif (php_stream * stream TSRMLS_DC)
108 if (php_stream_seek(stream, 3, SEEK_CUR))
111 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
126 static struct gfxinfo *php_handle_psd (php_stream * stream TSRMLS_DC)
131 if (php_stream_seek(stream, 11, SEEK_CUR))
134 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
147 static struct gfxinfo *php_handle_bmp (php_stream * stream TSRMLS_DC)
153 if (php_stream_seek(stream, 11, SEEK_CUR))
156 if (php_stream_read(stream, dim, sizeof(dim)) != sizeof(dim))
198 static struct gfxinfo *php_handle_swc(php_stream * stream TSRMLS_D
377 php_next_marker(php_stream * stream, int last_marker, int comment_correction, int ff_read TSRMLS_DC) argument
440 php_read_APP(php_stream * stream, unsigned int marker, zval *info TSRMLS_DC) argument
474 php_handle_jpeg(php_stream * stream, zval *info TSRMLS_DC) argument
802 php_handle_tiff(php_stream * stream, zval *info, int motorola_intel TSRMLS_DC) argument
944 php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check TSRMLS_DC) argument
1014 php_get_xbm(php_stream *stream, struct gfxinfo **result TSRMLS_DC) argument
1223 php_getimagetype(php_stream * stream, char *filetype TSRMLS_DC) argument
1296 php_getimagesize_from_stream(php_stream *stream, zval **info, INTERNAL_FUNCTION_PARAMETERS) argument
1393 php_stream *stream = NULL; local
[all...]
/PHP_5_6/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_5_6/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 TSRMLS_DC) argument
37 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
43 stream->eof = 1;
49 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
51 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
59 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) argument
61 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream->abstract;
74 static int php_gziop_close(php_stream *stream, int close_handle TSRMLS_DC) argument
76 struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *) stream
115 php_stream *stream = NULL, *innerstream = NULL; local
[all...]
/PHP_5_6/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 TSRMLS_DC) argument
140 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *) stream->abstract;
146 stream->eof = 1;
152 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
154 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *) stream->abstract;
159 static int php_bz2iop_close(php_stream *stream, int close_handle TSRMLS_DC) argument
161 struct php_bz2_stream_data_t *self = (struct php_bz2_stream_data_t *)stream->abstract;
168 if (self->stream) {
215 php_stream *retstream = NULL, *stream = NULL; local
339 php_stream *stream; local
375 php_stream *stream = NULL; local
596 php_stream *stream; local
[all...]
/PHP_5_6/ext/openssl/
H A Dxp_ssl.c61 /* Flags for determining allowed stream crypto methods */
70 #define GET_VER_OPT(name) (stream->context && SUCCESS == php_stream_context_get_option(stream->context, "ssl", name, &val))
122 static int is_http_stream_talking_to_iis(php_stream *stream TSRMLS_DC) /* {{{ */
124 if (stream->wrapperdata && stream->wrapper && strcasecmp(stream->wrapper->wops->label, "HTTP") == 0) {
131 zend_hash_internal_pointer_reset(Z_ARRVAL_P(stream->wrapperdata));
132 while (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(stream->wrapperdata), (void**)&tmp)) {
140 zend_hash_move_forward(Z_ARRVAL_P(stream
147 handle_ssl_error(php_stream *stream, int nr_bytes, zend_bool is_init TSRMLS_DC) argument
233 php_stream *stream; local
519 php_stream *stream = (php_stream *)data; local
543 php_stream *stream; local
703 php_stream *stream; local
973 php_stream *stream; local
1047 init_server_reneg_limit(php_stream *stream, php_openssl_netstream_data_t *sslsock) argument
1088 set_server_rsa_key(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) argument
1151 set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) argument
1186 set_server_specific_opts(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) argument
1247 php_stream *stream; local
1276 enable_server_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock TSRMLS_DC) argument
1370 enable_client_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) argument
1396 php_openssl_setup_crypto(php_stream *stream, php_openssl_netstream_data_t *sslsock, php_stream_xport_crypto_param *cparam TSRMLS_DC) argument
1578 capture_peer_certs(php_stream *stream, php_openssl_netstream_data_t *sslsock, X509 *peer_cert TSRMLS_DC) argument
1628 php_openssl_enable_crypto(php_stream *stream, php_openssl_netstream_data_t *sslsock, php_stream_xport_crypto_param *cparam TSRMLS_DC) argument
1777 php_openssl_sockop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) argument
1810 php_openssl_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) argument
1854 php_openssl_sockop_close(php_stream *stream, int close_handle TSRMLS_DC) argument
1928 php_openssl_sockop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
1934 php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, php_stream_xport_param *xparam STREAMS_DC TSRMLS_DC) argument
1998 php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
2116 php_openssl_sockop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) argument
2218 php_stream *stream = NULL; local
[all...]
/PHP_5_6/main/
H A Dphp_streams.h92 * The only exceptions to this rule are that stream implementations can use
118 size_t (*write)(php_stream *stream, const char *buf, size_t count TSRMLS_DC);
119 size_t (*read)(php_stream *stream, char *buf, size_t count TSRMLS_DC);
120 int (*close)(php_stream *stream, int close_handle TSRMLS_DC);
121 int (*flush)(php_stream *stream TSRMLS_DC);
126 int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC);
127 int (*cast)(php_stream *stream, int castas, void **ret TSRMLS_DC);
128 int (*stat)(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
129 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC);
133 /* open/create a wrapped stream */
[all...]

Completed in 103 milliseconds

12345