Lines Matching refs:rindex
81 int nbytes, rindex; member
132 conn->nbytes = conn->rindex = 0; in eph_new_conn()
296 if (conn->rindex && conn->rindex < conn->nbytes) { in eph_read_data()
297 memmove(conn->buffer, conn->buffer + conn->rindex, in eph_read_data()
298 conn->nbytes - conn->rindex); in eph_read_data()
299 conn->nbytes -= conn->rindex; in eph_read_data()
303 conn->rindex = 0; in eph_read_data()
332 if (conn->nbytes > conn->rindex) { in eph_read_line()
333 if ((nline = memchr(conn->buffer + conn->rindex, '\n', in eph_read_line()
334 conn->nbytes - conn->rindex))) { in eph_read_line()
335 line = conn->buffer + conn->rindex; in eph_read_line()
336 conn->rindex += (nline - line) + 1; in eph_read_line()
659 if ((ava = conn->nbytes - conn->rindex) > 0) { in eph_http_session()
663 conn->rindex += ava; in eph_http_session()