Home
last modified time | relevance | path

Searched refs:stream (Results 176 – 200 of 779) sorted by relevance

12345678910>>...32

/PHP-8.1/ext/curl/
H A Dinterface.c143 php_stream *stream; in _php_curl_verify_handlers() local
149 if (stream == NULL) { in _php_curl_verify_handlers()
161 if (stream == NULL) { in _php_curl_verify_handlers()
175 if (stream == NULL) { in _php_curl_verify_handlers()
189 if (stream == NULL) { in _php_curl_verify_handlers()
1658 php_stream *stream; member
1892 ch->handlers.write->stream = source->handlers.write->stream; in _php_setup_easy_copy_handlers()
1897 ch->handlers.read->stream = source->handlers.read->stream; in _php_setup_easy_copy_handlers()
2076 if (!stream->readfilters.head && !php_stream_stat(stream, &ssb)) { in build_mime_structure_from_hash()
2085 cb_arg->stream = stream; in build_mime_structure_from_hash()
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dfile_get_contents_variation8-win32.phpt49 Warning: file_get_contents(-1): Failed to open stream: No such file or directory in %s on line %d
54 Warning: file_get_contents(1): Failed to open stream: No such file or directory in %s on line %d
65 Warning: file_get_contents( ): Failed to open stream: Permission denied in %s on line %d
76 Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in …
81 Warning: file_get_contents(php/php): Failed to open stream: No such file or directory in %s on line…
H A Dstream_rfc2397_004.phpt17 foreach($streams as $stream)
19 var_dump(@file_get_contents($stream));
/PHP-8.1/main/streams/
H A Duserspace.c312 php_stream *stream = NULL; in user_wrapper_opener() local
380 if (stream == NULL) { in user_wrapper_opener()
395 return stream; in user_wrapper_opener()
406 php_stream *stream = NULL; in user_wrapper_opendir() local
449 if (stream == NULL) { in user_wrapper_opendir()
462 return stream; in user_wrapper_opendir()
679 stream->eof = 1; in php_userstreamop_read()
684 stream->eof = 1; in php_userstreamop_read()
690 stream->eof = 1; in php_userstreamop_read()
780 stream->flags |= PHP_STREAM_FLAG_NO_SEEK; in php_userstreamop_seek()
[all …]
/PHP-8.1/Zend/tests/
H A Dbug70398.phpt14 resource(%d) of type (stream)
17 resource(%d) of type (stream)
H A Dbug78406.phpt2 Bug #78406: Broken file includes with user-defined stream filters
20 if ($closing || feof($this->stream))
26 $bucket = stream_bucket_new($this->stream, $this->data);
/PHP-8.1/sapi/cli/tests/
H A Dbug69655.phpt20 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
23 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
26 Warning: file_get_contents(http://localhost:%d): Failed to open stream: HTTP request failed! HTTP/1…
/PHP-8.1/ext/zlib/
H A Dzlib_arginfo.h64 ZEND_ARG_INFO(0, stream)
72 ZEND_ARG_INFO(0, stream)
80 ZEND_ARG_INFO(0, stream)
84 ZEND_ARG_INFO(0, stream)
88 ZEND_ARG_INFO(0, stream)
94 ZEND_ARG_INFO(0, stream)
98 ZEND_ARG_INFO(0, stream)
103 ZEND_ARG_INFO(0, stream)
/PHP-8.1/ext/standard/
H A Dphp_image.h54 PHPAPI int php_getimagetype(php_stream *stream, const char *input, char *filetype);
58 PHPAPI bool php_is_image_avif(php_stream *stream);
H A Dexec.c120 php_stream *stream; in php_exec() local
140 stream = php_stream_fopen_from_pipe(fp, "rb"); in php_exec()
148 while (php_stream_get_line(stream, b, EXEC_INPUT_BUF, &bufl)) { in php_exec()
150 if (b[bufl - 1] != '\n' && !php_stream_eof(stream)) { in php_exec()
181 while ((read = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec()
186 pclose_return = php_stream_close(stream); in php_exec()
519 php_stream *stream; local
543 stream = php_stream_fopen_from_pipe(in, "rb");
544 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
545 php_stream_close(stream);
H A Duser_filters.c138 php_stream *stream, in userfilter_filter() argument
159 uint32_t orig_no_fclose = stream->flags & PHP_STREAM_FLAG_NO_FCLOSE; in userfilter_filter()
160 stream->flags |= PHP_STREAM_FLAG_NO_FCLOSE; in userfilter_filter()
166 php_stream_to_zval(stream, stream_prop); in userfilter_filter()
235 stream->flags &= ~PHP_STREAM_FLAG_NO_FCLOSE; in userfilter_filter()
236 stream->flags |= orig_no_fclose; in userfilter_filter()
473 php_stream *stream; in PHP_FUNCTION() local
484 php_stream_from_zval(stream, zstream); in PHP_FUNCTION()
485 pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)); in PHP_FUNCTION()
489 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream)); in PHP_FUNCTION()
/PHP-8.1/ext/standard/tests/streams/
H A Dbug46147.phpt2 Bug #46147 (after stream seek, appending stream filter reads incorrect data)
H A Dstream_socket_pair.phpt15 resource(%d) of type (stream)
17 resource(%d) of type (stream)
H A Dstream_set_timeout_error.phpt29 echo "\n-- Testing stream_set_timeout() function with a stream that does not support timeouts --\n";
42 stream_set_timeout(): supplied resource is not a valid stream resource
44 -- Testing stream_set_timeout() function with a stream that does not support timeouts --
H A Dbug40459.phpt2 bug 40459 - Test whether the constructor of the user-space stream wrapper is called when stream fun…
7 // Test whether the constructor of the user-space stream wrapper is called when stream functions ar…
/PHP-8.1/ext/pdo_oci/tests/
H A Dbug46274_2.phpt67 resource(%d) of type (stream)
69 resource(%d) of type (stream)
74 resource(%d) of type (stream)
76 resource(%d) of type (stream)
/PHP-8.1/ext/openssl/tests/
H A Dstream_crypto_flags_003.phpt2 Server bitwise stream crypto flag assignment
74 resource(%d) of type (stream)
75 resource(%d) of type (stream)
76 resource(%d) of type (stream)
H A Dsession_meta_capture_tlsv13.phpt2 Capture SSL session meta array in stream context for TLSv1.3
43 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
44 var_dump(stream_get_meta_data($stream)['crypto']['protocol']);
/PHP-8.1/ext/zlib/tests/
H A Dinflate_add_basic.phpt53 $stream = inflateStream($mode, $flushSize, $flushType);
55 $inflated .= $stream->send($compressed[$i]);
57 $inflated .= $stream->send(null);
H A Ddeflate_add_basic.phpt51 $stream = deflateStream($mode, $flushSize, $flushType);
54 $compressed .= $stream->send($c);
56 $compressed .= $stream->send(null);
/PHP-8.1/main/
H A Dphp_memory_streams.h32 #define php_stream_memory_get_buffer(stream) _php_stream_memory_get_buffer((stream) STREAMS_CC) argument
44 PHPAPI zend_string *_php_stream_memory_get_buffer(php_stream *stream STREAMS_DC);
/PHP-8.1/ext/curl/tests/
H A Dcurl_copy_handle_variation5.phpt44 string(%d) "abc.txt|application/octet-stream|5"
45 string(%d) "def.txt|application/octet-stream|11"
46 string(%d) "def.txt|application/octet-stream|11"
/PHP-8.1/ext/pdo_pgsql/tests/
H A Dgh9411.phpt36 resource(%d) of type (stream)
38 resource(%d) of type (stream)
40 resource(%d) of type (stream)
/PHP-8.1/tests/security/
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
/PHP-8.1/ext/standard/tests/filters/
H A Dbug46164-2.phpt2 Bug #46164 - 2 (stream_filter_remove() closes the stream)
11 unset($this->stream);

Completed in 62 milliseconds

12345678910>>...32