Searched refs:stream_mode_len (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/bz2/
H A Dbz2.c405 int stream_mode_len; local
408 stream_mode_len = strlen(stream->mode);
410 if (stream_mode_len != 1 && !(stream_mode_len == 2 && memchr(stream->mode, 'b', 2))) {
413 } else if (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != 'a' && stream->mode[0] != 'x') {
421 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) {
428 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])
429 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a')
430 && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) {

Completed in 3 milliseconds