Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 655) sorted by path

12345678910>>...27

/PHP-5.5/
H A DNEWS3269 . Added stream metadata API support and stream_metadata() stream class
3520 the default stream context. (Hannes)
4897 stream). (Gustavo)
6230 - Fixed Bug #46147 (after stream seek, appending stream filter reads incorrect
6572 after end of stream). (Greg)
6713 - Fixed bug #46147 (after stream seek, appending stream filter reads
6836 in the stream content). (Arnaud)
7145 compression stream). (Ilia)
8217 the Apache stream. (John)
8369 stream wrappers). (Tony)
[all …]
H A DREADME.STREAMS77 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 …]
H A DUPGRADING.INTERNALS62 const char *hostent, php_stream **stream);
64 const char *hostent, php_stream *stream);
66 php_stream *stream);
/PHP-5.5/TSRM/
H A Dtsrm_nw.c60 FILE *stream = NULL; local
202 stream = fdopen(pipe_handle, type);
223 return stream;
226 TSRM_API int pclose(FILE* stream) argument
232 fd = fileno(stream);
235 err = fclose(stream);
H A Dtsrm_nw.h27 TSRM_API int pclose(FILE* stream);
H A Dtsrm_win32.c384 static process_pair *process_get(FILE *stream TSRMLS_DC) in process_get()
390 if (ptr->stream == stream) { in process_get()
459 FILE *stream = NULL; in popen_ex() local
564 stream = _fdopen(fno, type); in popen_ex()
566 proc->stream = stream; in popen_ex()
567 return stream; in popen_ex()
570 TSRM_API int pclose(FILE *stream) in pclose() argument
576 if ((process = process_get(stream TSRMLS_CC)) == NULL) { in pclose()
580 fflush(process->stream); in pclose()
581 fclose(process->stream); in pclose()
[all …]
H A Dtsrm_win32.h49 FILE *stream; member
100 TSRM_API int pclose(FILE *stream);
/PHP-5.5/Zend/tests/
H A D017.phpt53 string(6) "stream"
H A D019.phpt1189 resource(%d) of type (stream)
1193 resource(%d) of type (stream)
1202 resource(%d) of type (stream)
1206 resource(%d) of type (stream)
H A Dbug30998.phpt18 fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d
20 Warning: fopen(/tmp/blah): failed to open stream: %s in %s on line %d
H A Dbug38779.phpt2 Bug #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapp…
H A Dbug38779_1.phpt2 Bug #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapp…
H A Dbug41421.phpt2 Bug #41421 (Uncaught exception from a stream wrapper segfaults)
H A Dbug60909_1.phpt13 error(require(notfound.php): failed to open stream: %s)
H A Dcast_to_array.phpt90 resource(%d) of type (stream)
H A Dcast_to_object.phpt86 resource(%d) of type (stream)
H A Dconstants_002.phpt18 resource(%d) of type (stream)
H A Dsettype_array.phpt90 resource(%d) of type (stream)
H A Dsettype_object.phpt86 resource(%d) of type (stream)
H A Dsettype_resource.phpt82 resource(%d) of type (stream)
/PHP-5.5/Zend/
H A Dzend_language_scanner.c497 …if (file_handle->handle.stream.handle >= (void*)file_handle && file_handle->handle.stream.handle <… in open_file_for_scanning()
499 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle; in open_file_for_scanning()
500 fh->handle.stream.handle = (void*)(((char*)fh) + diff); in open_file_for_scanning()
501 file_handle->handle.stream.handle = fh->handle.stream.handle; in open_file_for_scanning()
634 if (retval && file_handle.handle.stream.handle) { in compile_filename()
H A Dzend_language_scanner.l495 …if (file_handle->handle.stream.handle >= (void*)file_handle && file_handle->handle.stream.handle <… in open_file_for_scanning()
497 size_t diff = (char*)file_handle->handle.stream.handle - (char*)file_handle; in open_file_for_scanning()
498 fh->handle.stream.handle = (void*)(((char*)fh) + diff); in open_file_for_scanning()
499 file_handle->handle.stream.handle = fh->handle.stream.handle; in open_file_for_scanning()
632 if (retval && file_handle.handle.stream.handle) { in compile_filename()
H A Dzend_stream.c82 munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD); in zend_stream_unmap()
88 stream->mmap.len = 0; in zend_stream_unmap()
92 stream->handle = stream->mmap.old_handle; in zend_stream_unmap()
98 if (stream->mmap.old_closer && stream->handle) { in zend_stream_mmap_closer()
99 stream->mmap.old_closer(stream->handle TSRMLS_CC); in zend_stream_mmap_closer()
314 if (fh->handle.stream.closer && fh->handle.stream.handle) {
315 fh->handle.stream.closer(fh->handle.stream.handle TSRMLS_CC);
347 return fh1->handle.stream.handle == fh2->handle.stream.handle;
349 return (fh1->handle.stream.handle == &fh1->handle.stream &&
350 fh2->handle.stream.handle == &fh2->handle.stream &&
[all …]
H A Dzend_stream.h69 zend_stream stream; member
/PHP-5.5/ext/bz2/
H A Dbz2.c132 php_stream *stream; member
145 stream->eof = 1; in php_bz2iop_read()
149 stream->eof = 1; in php_bz2iop_read()
171 if (self->stream) { in php_bz2iop_close()
257 if (stream) { in _php_stream_bz2open()
281 if (stream) { in _php_stream_bz2open()
342 php_stream *stream; in PHP_FUNCTION() local
416 … else if (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode… in PHP_FUNCTION()
449 stream = php_stream_bz2open_from_BZFILE(bz, mode, stream); in PHP_FUNCTION()
455 if (stream) { in PHP_FUNCTION()
[all …]

Completed in 90 milliseconds

12345678910>>...27