Lines Matching refs:readptr
846 char *readptr; in php_stream_locate_eol() local
849 readptr = stream->readbuf + stream->readpos; in php_stream_locate_eol()
852 readptr = buf; 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()
917 char *readptr; in _php_stream_get_line() local
921 readptr = stream->readbuf + stream->readpos; in _php_stream_get_line()
925 cpysz = eol - readptr + 1; in _php_stream_get_line()
949 memcpy(buf, readptr, cpysz); in _php_stream_get_line()