/PHP-5.3/ext/standard/tests/dir/ |
H A D | scandir_variation8.phpt | 78 resource(%d) of type (stream) 81 resource(%d) of type (stream) 84 resource(%d) of type (stream) 87 resource(%d) of type (stream) 90 resource(%d) of type (stream) 93 resource(%d) of type (stream) 96 resource(%d) of type (stream) 99 resource(%d) of type (stream) 102 resource(%d) of type (stream) 105 resource(%d) of type (stream) [all …]
|
H A D | readdir_variation4.phpt | 88 resource(%d) of type (stream) 92 resource(%d) of type (stream) 96 resource(%d) of type (stream) 100 resource(%d) of type (stream) 104 resource(%d) of type (stream) 108 resource(%d) of type (stream) 112 resource(%d) of type (stream) 116 resource(%d) of type (stream) 120 resource(%d) of type (stream) 124 resource(%d) of type (stream) [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | include_userstream_002.phpt | 11 private $stream = null; 16 $this->stream = fopen("test1://".substr($path, 8), $mode); 17 return !empty($this->stream); 29 if (!empty($this->stream)) { 30 return fread($this->stream, $count); 39 if (!empty($this->stream)) { 40 return ftell($this->stream); 47 if (!empty($this->stream)) { 48 return feof($this->stream); 55 if (!empty($this->stream)) { [all …]
|
H A D | include_userstream_003.phpt | 11 private $stream = null; 16 $this->stream = fopen("test1://".substr($path, 8), $mode); 17 return !empty($this->stream); 29 if (!empty($this->stream)) { 30 return fread($this->stream, $count); 39 if (!empty($this->stream)) { 40 return ftell($this->stream); 47 if (!empty($this->stream)) { 48 return feof($this->stream); 55 if (!empty($this->stream)) { [all …]
|
H A D | stream_supports_lock.phpt | 34 resource(%d) of type (stream) 36 resource(%d) of type (stream) 38 resource(%d) of type (stream) 40 resource(%d) of type (stream) 42 resource(%d) of type (stream-context) 44 Warning: stream_supports_lock(): supplied resource is not a valid stream resource in %s on line %d
|
H A D | php_fd_wrapper_03.phpt | 14 Warning: fopen(php://fd): failed to open stream: operation failed in %s on line 2 16 Warning: fopen(php://fd/): failed to open stream: php://fd/ stream must be specified in the form ph… 18 Warning: fopen(php://fd/-2): failed to open stream: The file descriptors must be non-negative numbe… 20 Warning: fopen(php://fd/1/): failed to open stream: php://fd/ stream must be specified in the form …
|
/PHP-5.3/ext/standard/ |
H A D | file.c | 334 php_stream *stream; in PHP_FUNCTION() local 397 if (!md.stream) { in PHP_FUNCTION() 535 php_stream *stream; in PHP_FUNCTION() local 561 if (!stream) { in PHP_FUNCTION() 592 php_stream *stream; in PHP_FUNCTION() local 747 php_stream *stream; in PHP_FUNCTION() local 772 if (!stream) { in PHP_FUNCTION() 892 php_stream *stream; in PHP_NAMED_FUNCTION() local 900 if (stream) { in PHP_NAMED_FUNCTION() 1486 if (stream) { in PHP_FUNCTION() [all …]
|
H A D | http_fopen_wrapper.c | 186 if (stream) { in php_stream_url_wrap_http_ex() 272 stream = NULL; in php_stream_url_wrap_http_ex() 276 if (stream) { in php_stream_url_wrap_http_ex() 290 if (stream) { in php_stream_url_wrap_http_ex() 295 stream = NULL; in php_stream_url_wrap_http_ex() 300 if (stream == NULL) in php_stream_url_wrap_http_ex() 794 stream = NULL; in php_stream_url_wrap_http_ex() 890 if (stream) { in php_stream_url_wrap_http_ex() 906 stream->position = 0; in php_stream_url_wrap_http_ex() 909 strlcpy(stream->mode, mode, sizeof(stream->mode)); in php_stream_url_wrap_http_ex() [all …]
|
/PHP-5.3/ext/curl/ |
H A D | streams.c | 56 php_stream *stream = (php_stream *) ctx; in on_data_available() local 90 php_stream *stream = (php_stream *) ctx; in on_header_available() local 122 php_stream_notify_progress_init(stream->context, 0, 0); in on_header_available() 204 stream->eof = 1; in php_curl_stream_read() 272 php_stream *stream; in php_curl_stream_opener() local 280 php_stream_context_set(stream, context); in php_curl_stream_opener() 444 MAKE_STD_ZVAL(stream->wrapperdata); in php_curl_stream_opener() 445 array_init(stream->wrapperdata); in php_curl_stream_opener() 454 add_assoc_zval(stream->wrapperdata, "readbuf", tmp); in php_curl_stream_opener() 507 return stream; in php_curl_stream_opener() [all …]
|
/PHP-5.3/ext/bz2/tests/ |
H A D | 002.phpt | 77 resource(%d) of type (stream) 78 resource(%d) of type (stream) 79 resource(%d) of type (stream) 83 resource(%d) of type (stream) 84 resource(%d) of type (stream) 102 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d 105 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d 108 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d 111 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d 114 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d [all …]
|
/PHP-5.3/ |
H A D | README.STREAMS | 77 Convert a FILE * into a stream. 89 Convert a socket into a stream. 172 php_stream * stream; /* already opened */ 193 if you mix ANSI stdio calls on the FILE* with php stream calls on the stream. 219 stream_is tells you if the stream is a particular type of stream, whereas 222 state in the stream. 263 A socket based stream would use code similar to that above to create a stream 273 of the stream, 287 Writing your own stream implementation 327 /* now allocate the stream itself */ [all …]
|
/PHP-5.3/ext/standard/tests/image/ |
H A D | image_type_to_mime_type_variation2.phpt | 46 string(24) "application/octet-stream" 52 string(24) "application/octet-stream" 55 string(24) "application/octet-stream" 64 string(24) "application/octet-stream" 67 string(24) "application/octet-stream" 70 string(24) "application/octet-stream" 76 string(24) "application/octet-stream" 79 string(24) "application/octet-stream"
|
H A D | image_type_to_mime_type_variation1.phpt | 80 string(24) "application/octet-stream" 83 string(24) "application/octet-stream" 86 string(24) "application/octet-stream" 89 string(24) "application/octet-stream" 92 string(24) "application/octet-stream" 105 string(24) "application/octet-stream" 108 string(24) "application/octet-stream" 114 string(24) "application/octet-stream" 120 string(24) "application/octet-stream" 148 string(24) "application/octet-stream" [all …]
|
H A D | image_type_to_mime_type_variation3.phpt | 24 string\(24\) "application\/octet-stream" 51 string\(24\) "application\/octet-stream" 57 string\(24\) "application\/octet-stream" 60 string\(24\) "application\/octet-stream" 63 string\(2[49]\) "application\/(x-shockwave-flash|octet-stream)" 78 string\(24\) "application\/octet-stream"
|
/PHP-5.3/ext/phar/ |
H A D | stream.h | 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 TSRM… 38 static int phar_stream_stat( php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
|
H A D | dirstream.h | 30 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_…
|
/PHP-5.3/main/streams/ |
H A D | plain_wrapper.c | 185 if (stream) { in _php_stream_fopen_temporary_file() 186 return stream; in _php_stream_fopen_temporary_file() 204 if (stream) { in _php_stream_fopen_tmpfile() 212 return stream; in _php_stream_fopen_tmpfile() 227 if (stream) { in _php_stream_fopen_from_fd() 259 return stream; in _php_stream_fopen_from_fd() 266 if (stream) { in _php_stream_fopen_from_file() 291 return stream; in _php_stream_fopen_from_file() 310 return stream; in _php_stream_fopen_from_pipe() 890 return stream; in php_plain_files_dir_opener() [all …]
|
H A D | php_stream_transport.h | 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, 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, 120 PHPAPI int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how TSRMLS_DC); 180 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… 181 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC);
|
H A D | glob_wrapper.c | 50 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS_DC… in _php_glob_stream_get_path() argument 52 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_path() 74 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_pattern() 94 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC TSRMLS_DC) /* {{{ … in _php_glob_stream_get_count() argument 96 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_count() 140 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_glob_stream_read() argument 142 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_read() 164 static int php_glob_stream_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_glob_stream_close() argument 166 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_close() 178 efree(stream->abstract); in php_glob_stream_close() [all …]
|
/PHP-5.3/ext/standard/tests/filters/ |
H A D | basic.phpt | 2 basic stream filter tests 32 resource(%d) of type (stream filter) 35 resource(%d) of type (stream filter) 38 resource(%d) of type (stream filter) 41 resource(%d) of type (stream filter) 43 resource(%d) of type (stream filter)
|
H A D | filter_errors_user.phpt | 55 fwrite($stream, b"42"); 56 fseek($stream, 0, SEEK_SET); 58 stream_get_contents($stream); 63 $stream = fopen('php://memory', 'wb+'); 64 fwrite($stream, b"42"); 65 fseek($stream, 0, SEEK_SET); 71 stream_get_contents($stream); 78 fwrite($stream, b"42"); 79 fseek($stream, 0, SEEK_SET); 85 stream_get_contents($stream); [all …]
|
/PHP-5.3/ext/zlib/tests/ |
H A D | gzopen_variation2.phpt | 125 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 129 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 133 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 137 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 141 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 145 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 149 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 153 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 157 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 177 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) [all …]
|
/PHP-5.3/tests/security/ |
H A D | open_basedir_fopen.phpt | 43 Warning: fopen(../bad): failed to open stream: %s in %s on line %d 53 Warning: fopen(..): failed to open stream: %s in %s on line %d 58 Warning: fopen(../): failed to open stream: %s in %s on line %d 63 Warning: fopen(/): failed to open stream: %s in %s on line %d 68 Warning: fopen(../bad/.): failed to open stream: %s in %s on line %d 78 Warning: fopen(./../.): failed to open stream: %s in %s on line %d 80 resource(%d) of type (stream) 81 resource(%d) of type (stream) 82 resource(%d) of type (stream) 83 resource(%d) of type (stream) [all …]
|
/PHP-5.3/ext/sqlite3/tests/ |
H A D | sqlite3_30_blobopen.phpt | 2 SQLite3::blobOpen stream test 24 $stream = $db->openBlob('test', 'data', 1); 25 var_dump($stream); 27 var_dump(stream_get_contents($stream)); 29 var_dump(fclose($stream)); 43 resource(%d) of type (stream)
|
/PHP-5.3/ext/fileinfo/tests/ |
H A D | finfo_file_stream_001.phpt | 2 finfo_file(): Files and directories inside an stream 13 $stream = "zip://" . __DIR__ . "/resources/dir.zip"; 14 $dir = $stream . "#dir/"; 15 $png = $stream . "#dir/test.png";
|