Lines Matching refs:avail
844 size_t avail; in php_stream_locate_eol() local
850 avail = stream->writepos - stream->readpos; in php_stream_locate_eol()
853 avail = buf_len; in php_stream_locate_eol()
858 cr = memchr(readptr, '\r', avail); in php_stream_locate_eol()
859 lf = memchr(readptr, '\n', avail); in php_stream_locate_eol()
872 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol()
875 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol()
887 size_t avail = 0; in _php_stream_get_line() local
913 avail = stream->writepos - stream->readpos; in _php_stream_get_line()
915 if (avail > 0) { in _php_stream_get_line()
928 cpysz = avail; in _php_stream_get_line()