Searched defs:read_write (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c428 int read_write = 0; local
435 read_write = 1; /* Open for reading */
438 if (read_write) {
443 read_write = 3; /* Open for Appending */
445 read_write = 2; /* Open for writing */
448 if (!read_write) {
456 if (read_write == 1) {
482 if (read_write == 1) {
498 } else if (read_write == 2) {
528 if (read_write
[all...]
H A Dstreamsfuncs.c1189 long read_write = 0; local
1195 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1201 if ((read_write & PHP_STREAM_FILTER_ALL) == 0) {
1208 read_write |= PHP_STREAM_FILTER_READ;
1211 read_write |= PHP_STREAM_FILTER_WRITE;
1215 if (read_write & PHP_STREAM_FILTER_READ) {
1232 if (read_write & PHP_STREAM_FILTER_WRITE) {
1257 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1265 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])

Completed in 6 milliseconds