Home
last modified time | relevance | path

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

/php-src/ext/bz2/
H A Dbz2.c365 size_t stream_mode_len; in PHP_FUNCTION() local
368 stream_mode_len = strlen(stream->mode); in PHP_FUNCTION()
370 if (stream_mode_len != 1 && !(stream_mode_len == 2 && memchr(stream->mode, 'b', 2))) { in PHP_FUNCTION()
373 …} else if (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mod… in PHP_FUNCTION()
381 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { in PHP_FUNCTION()
388 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) in PHP_FUNCTION()
389 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') in PHP_FUNCTION()
390 && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) { in PHP_FUNCTION()

Completed in 5 milliseconds