Home
last modified time | relevance | path

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

/curl/tests/http/clients/
H A Dws-data.c110 size_t r_offset, nread; in recv_binary() local
114 r_offset = 0; in recv_binary()
136 if(frame->offset != (curl_off_t)r_offset) { in recv_binary()
138 (long)r_offset, (long)frame->offset); in recv_binary()
141 if(frame->bytesleft != (curl_off_t)(exp_len - r_offset - nread)) { in recv_binary()
146 if(r_offset + nread > exp_len) { in recv_binary()
148 (long)exp_len, (long)(r_offset + nread)); in recv_binary()
151 if(memcmp(exp_data + r_offset, recvbuf, nread)) { in recv_binary()
153 (long)r_offset, (long)nread); in recv_binary()
158 r_offset += nread; in recv_binary()
[all …]
/curl/lib/
H A Dbufq.c35 return chunk->r_offset >= chunk->w_offset; in chunk_is_empty()
45 return chunk->w_offset - chunk->r_offset; in chunk_len()
56 chunk->r_offset = chunk->w_offset = 0; in chunk_reset()
84 chunk->r_offset = chunk->w_offset = 0; in chunk_read()
89 chunk->r_offset += len; in chunk_read()
102 chunk->r_offset = chunk->w_offset = 0; in chunk_unwrite()
138 *pbuf = &chunk->x.data[chunk->r_offset]; in chunk_peek()
139 *plen = chunk->w_offset - chunk->r_offset; in chunk_peek()
145 offset += chunk->r_offset; in chunk_peek_at()
157 chunk->r_offset += n; in chunk_skip()
[all …]
H A Dbufq.h38 size_t r_offset; /* first unread bytes */ member
/curl/tests/unit/
H A Dunit2601.c73 chunk->dlen, chunk->r_offset, chunk->w_offset); in dump_bufq()

Completed in 20 milliseconds