Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 655) sorted by last modified time

12345678910>>...27

/PHP-5.5/tests/security/
H A Dopen_basedir_opendir.phpt69 resource(%d) of type (stream)
70 resource(%d) of type (stream)
71 resource(%d) of type (stream)
H A Dopen_basedir_parse_ini_file.phpt42 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based…
47 Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sop…
52 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p…
57 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p…
62 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based…
67 Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sop…
72 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p…
H A Dopen_basedir_copy.phpt38 Warning: copy(../bad): failed to open stream: %s in %s on line %d
43 Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d
48 Warning: copy(..): failed to open stream: %s in %s on line %d
53 Warning: copy(../): failed to open stream: %s in %s on line %d
58 Warning: copy(/): failed to open stream: %s in %s on line %d
63 Warning: copy(../bad/.): failed to open stream: %s in %s on line %d
68 Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d
73 Warning: copy(./../.): failed to open stream: %s in %s on line %d
H A Dopen_basedir_dir.phpt74 resource(%d) of type (stream)
80 resource(%d) of type (stream)
86 resource(%d) of type (stream)
H A Dopen_basedir_error_log_variation.phpt35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
45 Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_file.phpt34 Warning: file(../bad): failed to open stream: %s in %s on line %d
39 Warning: file(../bad/bad.txt): failed to open stream: %s in %s on line %d
44 Warning: file(..): failed to open stream: %s in %s on line %d
49 Warning: file(../): failed to open stream: %s in %s on line %d
54 Warning: file(/): failed to open stream: %s in %s on line %d
59 Warning: file(../bad/.): failed to open stream: %s in %s on line %d
64 Warning: file(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
69 Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_file_get_contents.phpt34 Warning: file_get_contents(../bad): failed to open stream: %s in %s on line %d
39 Warning: file_get_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d
44 Warning: file_get_contents(..): failed to open stream: %s in %s on line %d
49 Warning: file_get_contents(../): failed to open stream: %s in %s on line %d
54 Warning: file_get_contents(/): failed to open stream: %s in %s on line %d
59 Warning: file_get_contents(../bad/.): failed to open stream: %s in %s on line %d
64 Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
69 Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_file_put_contents.phpt34 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
H A Dopen_basedir_fopen.phpt43 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.5/tests/lang/
H A Dbug43958.phpt14 Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or …
/PHP-5.5/sapi/tests/
H A Dtest006.phpt40 Content-Type: application/octet-stream
67 [type] => application/octet-stream
H A Dtest007.phpt35 Content-Type: application/octet-stream
/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch1111 -a application/octet-stream
1116 bin application/octet-stream
1117 +dms application/octet-stream
1118 +lha application/octet-stream
1119 +lzh application/octet-stream
1120 exe application/octet-stream
1121 -dump application/octet-stream
1122 -o application/octet-stream
1125 +class application/octet-stream
1126 +so application/octet-stream
[all …]
/PHP-5.5/sapi/cli/tests/
H A D022.phpt2 STDIN/OUT/ERR stream type
43 resource(%d) of type (stream)
45 resource(%d) of type (stream)
46 resource(%d) of type (stream)
47 resource(%d) of type (stream)
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c2418 c = php_stream_getc((php_stream*)file_handle.handle.stream.handle);
2432 php_stream_rewind((php_stream*)file_handle.handle.stream.handle);
2436 if (file_handle.handle.stream.mmap.buf[0] == '#') {
2439 c = file_handle.handle.stream.mmap.buf[i++];
2440 while (c != '\n' && c != '\r' && i < file_handle.handle.stream.mmap.len) {
2441 c = file_handle.handle.stream.mmap.buf[i++];
2444 … if (i < file_handle.handle.stream.mmap.len && file_handle.handle.stream.mmap.buf[i] == '\n') {
2448 if(i > file_handle.handle.stream.mmap.len) {
2449 i = file_handle.handle.stream.mmap.len;
2451 file_handle.handle.stream.mmap.buf += i;
[all …]
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c541 zfd.handle.stream.handle = pbb; in php_output_filter()
542 zfd.handle.stream.reader = php_apache_read_stream; in php_output_filter()
543 zfd.handle.stream.closer = NULL; in php_output_filter()
544 zfd.handle.stream.fsizer = php_apache_fsizer_stream; in php_output_filter()
545 zfd.handle.stream.isatty = 0; in php_output_filter()
/PHP-5.5/
H A Dphp.ini-development651 ; POST data will be through the php://input stream wrapper. This can be useful
H A Dphp.ini-production651 ; POST data will be through the php://input stream wrapper. This can be useful
/PHP-5.5/main/streams/
H A Dstreams.c506 stream->wrapper->wops->stream_closer(stream->wrapper, stream TSRMLS_CC); in _php_stream_free()
557 pefree(stream, stream->is_persistent); in _php_stream_free()
636 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, in _php_stream_fill_read_buffer()
678 if (stream->readbuf && stream->readbuflen - stream->writepos < stream->chunk_size) { in _php_stream_fill_read_buffer()
679 … memmove(stream->readbuf, stream->readbuf + stream->readpos, stream->readbuflen - stream->readpos); in _php_stream_fill_read_buffer()
680 stream->writepos -= stream->readpos; in _php_stream_fill_read_buffer()
686 if (stream->readbuflen - stream->writepos < stream->chunk_size) { in _php_stream_fill_read_buffer()
688 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, in _php_stream_fill_read_buffer()
692 justread = stream->ops->read(stream, stream->readbuf + stream->writepos, in _php_stream_fill_read_buffer()
1124 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position TSRMLS_CC); in _php_stream_write_buffer()
[all …]
H A Dtransports.c60 php_stream *stream = NULL; in _php_stream_xport_create() local
80 return stream; in _php_stream_xport_create()
83 php_stream_pclose(stream); in _php_stream_xport_create()
84 stream = NULL; in _php_stream_xport_create()
132 stream = (*factory)(protocol, n, in _php_stream_xport_create()
136 if (stream) { in _php_stream_xport_create()
185 php_stream_pclose(stream); in _php_stream_xport_create()
187 php_stream_close(stream); in _php_stream_xport_create()
189 stream = NULL; in _php_stream_xport_create()
192 return stream; in _php_stream_xport_create()
[all …]
H A Duserspace.c342 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 …]
H A Dxp_socket.c154 php_sock_stream_wait_for_data(stream, sock TSRMLS_CC); in php_sockop_read()
209 pefree(sock, php_stream_is_persistent(stream)); in php_sockop_close()
575 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind()
625 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect()
657 …if (stream->context && php_stream_context_get_option(stream->context, "socket", "bindto", &tmpzval… in php_tcp_sockop_connect()
736 if (stream->context) { in php_tcp_sockop_accept()
737 zend_list_addref(stream->context->rsrc_id); in php_tcp_sockop_accept()
784 php_stream *stream = NULL; in php_stream_generic_socket_factory() local
819 if (stream == NULL) { in php_stream_generic_socket_factory()
825 return stream; in php_stream_generic_socket_factory()
[all …]
H A Dcast.c208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast()
211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast()
212 stream->readpos = stream->writepos = 0; in _php_stream_cast()
219 if (stream->stdiocast) { in _php_stream_cast()
229 stream->ops->cast && in _php_stream_cast()
231 stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS in _php_stream_cast()
272 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
273 if (FAILURE == stream->ops->cast(stream, castas, ret TSRMLS_CC)) { in _php_stream_cast()
309 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS) { in _php_stream_cast()
329 if ((stream->writepos - stream->readpos) > 0 && in _php_stream_cast()
[all …]
H A Dfilter.c339 php_stream *stream = chain->stream; in php_stream_filter_append_ex() local
351 if (&(stream->readfilters) == chain && (stream->writepos - stream->readpos) > 0) { in php_stream_filter_append_ex()
359 …bucket = php_stream_bucket_new(stream, (char*) stream->readbuf + stream->readpos, stream->writepos… in php_stream_filter_append_ex()
363 if (stream->readpos + consumed > (uint)stream->writepos) { in php_stream_filter_append_ex()
401 if (stream->readbuflen - stream->writepos < bucket->buflen) { in php_stream_filter_append_ex()
403 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, stream->is_persistent); in php_stream_filter_append_ex()
447 stream = chain->stream; in _php_stream_filter_flush()
487 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush()
489 stream->writepos -= stream->readpos; in _php_stream_filter_flush()
491 if (flushed_size > (stream->readbuflen - stream->writepos)) { in _php_stream_filter_flush()
[all …]
H A Dglob_wrapper.c50 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 …]

Completed in 74 milliseconds

12345678910>>...27