Home
last modified time | relevance | path

Searched refs:read_write (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/standard/
H A Dftp_fopen_wrapper.c419 int8_t read_write = 0; in php_stream_url_wrap_ftp() local
427 read_write = 1; /* Open for reading */ in php_stream_url_wrap_ftp()
430 if (read_write) { in php_stream_url_wrap_ftp()
435 read_write = 3; /* Open for Appending */ in php_stream_url_wrap_ftp()
437 read_write = 2; /* Open for writing */ in php_stream_url_wrap_ftp()
440 if (!read_write) { in php_stream_url_wrap_ftp()
448 if (read_write == 1) { in php_stream_url_wrap_ftp()
474 if (read_write == 1) { in php_stream_url_wrap_ftp()
490 } else if (read_write == 2) { in php_stream_url_wrap_ftp()
520 if (read_write == 1) { in php_stream_url_wrap_ftp()
[all …]
H A Dstreamsfuncs.c1196 zend_long read_write = 0; in apply_filter_to_stream() local
1205 Z_PARAM_LONG(read_write) in apply_filter_to_stream()
1211 if ((read_write & PHP_STREAM_FILTER_ALL) == 0) { in apply_filter_to_stream()
1218 read_write |= PHP_STREAM_FILTER_READ; in apply_filter_to_stream()
1221 read_write |= PHP_STREAM_FILTER_WRITE; in apply_filter_to_stream()
1225 if (read_write & PHP_STREAM_FILTER_READ) { in apply_filter_to_stream()
1242 if (read_write & PHP_STREAM_FILTER_WRITE) { in apply_filter_to_stream()

Completed in 13 milliseconds