/PHP-5.5/ext/fileinfo/ |
H A D | fileinfo.c | 480 php_stream *stream; local 483 php_stream_from_zval_no_verify(stream, &what); 484 if (!stream) { 489 php_stream_seek(stream, 0, SEEK_SET); 491 ret_val = (char *) magic_stream(magic, stream); 493 php_stream_seek(stream, streampos, SEEK_SET); 518 php_stream *stream; local 536 if (!stream) { 541 if (php_stream_stat(stream, &ssb) == SUCCESS) { 545 ret_val = (char *)magic_stream(magic, stream); [all …]
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug61371-win.phpt | 22 …$stream = stream_socket_client('udp://127.0.0.1:80', $errno, $errstr, 10, STREAM_CLIENT_CONNECT, $… 23 if ($doFclose) fclose($stream); 25 unset($stream);
|
H A D | bug61371.phpt | 22 …$stream = stream_socket_client('udp://0.0.0.0:80', $errno, $errstr, 10, STREAM_CLIENT_CONNECT, $co… 23 if ($doFclose) fclose($stream); 25 unset($stream);
|
H A D | stream_socket_pair.phpt | 15 resource(%d) of type (stream) 17 resource(%d) of type (stream)
|
H A D | bug40459.phpt | 2 bug 40459 - Test whether the constructor of the user-space stream wrapper is called when stream fun… 5 // Test whether the constructor of the user-space stream wrapper is called when stream functions ar…
|
/PHP-5.5/ext/sockets/tests/ |
H A D | socket_import_stream-2.phpt | 38 Warning: socket_import_stream(): cannot represent a stream of type STDIO as a Socket Descriptor in … 41 Warning: socket_import_stream(): supplied resource is not a valid stream resource in %s on line %d 43 resource(%d) of type (stream) 46 Warning: socket_import_stream(): %d is not a valid stream resource in %s on line %d
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzopen_variation9.phpt | 39 Warning: gzopen(): cannot open a zlib stream for reading and writing at the same time! in %s on lin… 43 gzopen=resource(%d) of type (stream) 47 Warning: gzopen(): cannot open a zlib stream for reading and writing at the same time! in %s on lin… 52 Warning: gzopen(%s/004.txt.gz): failed to open stream: %s in %s on line %d
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | readfile_variation10.phpt | 51 Warning: readfile(-1): failed to open stream: %s in %s on line %d 54 Warning: readfile(1): failed to open stream: %s in %s on line %d 66 Warning: readfile( ): failed to open stream: %s in %s on line %d 77 Warning: readfile(%sdir): failed to open stream: %s in %s on line %d 80 Warning: readfile(%sphp): failed to open stream: %s in %s on line %d
|
H A D | bug45303.phpt | 10 resource(%d) of type (stream) 12 Warning: fseek(): stream does not support seeking in %s
|
H A D | file_get_contents_variation8-win32.phpt | 51 Warning: file_get_contents(-1): failed to open stream: No such file or directory in %s on line %d 56 Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d 76 Warning: file_get_contents( ): failed to open stream: Permission denied in %s on line %d 91 Warning: file_get_contents(/no/such/file/dir): failed to open stream: No such file or directory in … 96 Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line…
|
H A D | file_get_contents_variation8.phpt | 49 Warning: file_get_contents(-1): failed to open stream: No such file or directory in %s on line %d 53 Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d 69 Warning: file_get_contents( ): failed to open stream: No such file or directory in %s on line %d 81 Warning: file_get_contents(/no/such/file/dir): failed to open stream: No such file or directory in … 85 Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line…
|
H A D | readfile_variation10-win32.phpt | 50 Warning: readfile(-1): failed to open stream: No such file or directory in %s on line %d 54 Warning: readfile(1): failed to open stream: No such file or directory in %s on line %d 70 Warning: readfile( ): failed to open stream: Permission denied in %s on line %d 82 Warning: readfile(/no/such/file/dir): failed to open stream: No such file or directory in %s on lin… 86 Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d
|
H A D | fopen_variation14-win32.phpt | 108 Warning: fopen(file://fopen14.tmpDir\fopen_variation14.tmp): failed to open stream: no suitable wra… 113 Warning: fopen(file://fopen14.tmpDir\fopen_variation14.tmp): failed to open stream: no suitable wra… 118 Warning: fopen(file://fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable wra… 123 Warning: fopen(file://fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable wra… 128 Warning: fopen(file://./fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable w… 133 Warning: fopen(file://./fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable w… 138 Warning: fopen(file://.\fopen14.tmpDir\fopen_variation14.tmp): failed to open stream: no suitable w… 143 Warning: fopen(file://.\fopen14.tmpDir\fopen_variation14.tmp): failed to open stream: no suitable w… 160 Warning: fopen(file://../fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable … 165 Warning: fopen(file://../fopen14.tmpDir/fopen_variation14.tmp): failed to open stream: no suitable … [all …]
|
H A D | stream_rfc2397_004.phpt | 17 foreach($streams as $stream) 19 var_dump(@file_get_contents($stream));
|
/PHP-5.5/ext/standard/ |
H A D | exec.c | 109 php_stream *stream; in php_exec() local 129 stream = php_stream_fopen_from_pipe(fp, "rb"); in php_exec() 137 while (php_stream_get_line(stream, b, EXEC_INPUT_BUF, &bufl)) { in php_exec() 139 if (b[bufl - 1] != '\n' && !php_stream_eof(stream)) { in php_exec() 190 while((bufl = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec() 195 pclose_return = php_stream_close(stream); in php_exec() 534 php_stream *stream; local 549 stream = php_stream_fopen_from_pipe(in, "rb"); 550 total_readbytes = php_stream_copy_to_mem(stream, &ret, PHP_STREAM_COPY_ALL, 0); 551 php_stream_close(stream);
|
/PHP-5.5/main/streams/ |
H A D | userspace.c | 342 php_stream *stream = NULL; in user_wrapper_opener() local 413 stream->wrapperdata = us->object; in user_wrapper_opener() 421 if (stream == NULL) { in user_wrapper_opener() 437 return stream; in user_wrapper_opener() 448 php_stream *stream = NULL; in user_wrapper_opendir() local 491 stream->wrapperdata = us->object; in user_wrapper_opendir() 499 if (stream == NULL) { in user_wrapper_opendir() 512 return stream; in user_wrapper_opendir() 737 stream->eof = 1; in php_userstreamop_read() 743 stream->eof = 1; in php_userstreamop_read() [all …]
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 657 php_stream *stream; in PHP_METHOD() local 670 if (!stream) { in PHP_METHOD() 706 php_stream_close(stream); in PHP_METHOD() 711 php_stream_close(stream); in PHP_METHOD() 729 php_stream_close(stream); in PHP_METHOD() 751 php_stream *stream; in PHP_METHOD() local 765 if (!stream) { in PHP_METHOD() 807 php_stream_close(stream); in PHP_METHOD() 811 php_stream_close(stream); in PHP_METHOD() 818 php_stream_close(stream); in PHP_METHOD() [all …]
|
/PHP-5.5/ext/standard/tests/http/ |
H A D | bug38802.phpt | 71 resource(%d) of type (stream) 104 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a… 115 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a… 123 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a… 130 resource(%d) of type (stream) 143 resource(%d) of type (stream) 156 resource(%d) of type (stream)
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | sqlite3_openblob_wrongparams.phpt | 2 SQLite3::blobOpen test, testing stream with wrong parameter count 51 …gister('sqliteBlobTest', "SQLite3_Test_Stream") or die("Unable to register sqliteBlobTest stream"); 64 $stream = $db->openBlob(); 65 var_dump($stream);
|
/PHP-5.5/ext/pdo_oci/tests/ |
H A D | bug46274_2.phpt | 68 resource(%d) of type (stream) 70 resource(%d) of type (stream) 75 resource(%d) of type (stream) 77 resource(%d) of type (stream)
|
/PHP-5.5/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 34 Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d 39 Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s on line %d 44 Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s in %s on line %d 49 Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in %s on line %d 54 Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
|
/PHP-5.5/main/ |
H A D | php_memory_streams.h | 35 #define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (lengt… argument 45 PHPAPI char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC TSRMLS_DC);
|
/PHP-5.5/ext/curl/ |
H A D | interface.c | 226 php_stream *stream; in _php_curl_verify_handlers() local 233 if (stream == NULL) { in _php_curl_verify_handlers() 245 if (stream == NULL) { in _php_curl_verify_handlers() 259 if (stream == NULL) { in _php_curl_verify_handlers() 273 if (stream == NULL) { in _php_curl_verify_handlers() 2022 dupch->handlers->write->stream = ch->handlers->write->stream; in PHP_FUNCTION() 2027 dupch->handlers->read->stream = ch->handlers->read->stream; in PHP_FUNCTION() 2033 dupch->handlers->write_header->stream = ch->handlers->write_header->stream; in PHP_FUNCTION() 2993 php_stream *stream; in PHP_FUNCTION() local 2995 if (stream) { in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/standard/tests/filters/ |
H A D | bug46164-2.phpt | 2 Bug #46164 - 2 (stream_filter_remove() closes the stream) 11 unset($this->stream);
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | fsmagic.c | 93 file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb, php_stream *stream) in file_fsmagic() argument 102 if (fn == NULL && !stream) { in file_fsmagic() 108 if (stream) { in file_fsmagic() 110 if (php_stream_stat(stream, &ssb) < 0) { in file_fsmagic()
|