Home
last modified time | relevance | path

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

/PHP-5.6/main/streams/
H A Dcast.c161 const char *cur_mode = stream->mode; in php_stream_mode_sanitize_fdopen_fopencookie() local
167 if (cur_mode[0] == 'r' || cur_mode[0] == 'w' || cur_mode[0] == 'a') { in php_stream_mode_sanitize_fdopen_fopencookie()
168 result[res_curs++] = cur_mode[0]; in php_stream_mode_sanitize_fdopen_fopencookie()
179 for (i = 1; i < 4 && cur_mode[i] != '\0'; i++) { in php_stream_mode_sanitize_fdopen_fopencookie()
180 if (cur_mode[i] == 'b') { in php_stream_mode_sanitize_fdopen_fopencookie()
182 } else if (cur_mode[i] == '+') { in php_stream_mode_sanitize_fdopen_fopencookie()

Completed in 4 milliseconds