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

/PHP_TRUNK/ext/bz2/
H A Dbz2.c399 int stream_mode_len; local
402 stream_mode_len = strlen(stream->mode);
404 if (stream_mode_len != 1 && !(stream_mode_len == 2 && memchr(stream->mode, 'b', 2))) {
407 } else if (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != 'a' && stream->mode[0] != 'x') {
415 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) {
422 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])
423 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a')
424 && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) {

Completed in 2 milliseconds