Home | History | Annotate | Download | only in openssh

Lines Matching refs:offset

41 	buffer->offset = 0;
65 buffer->offset = 0;
86 if (buffer->offset > MIN(buffer->alloc, BUFFER_MAX_CHUNK)) {
87 memmove(buffer->buf, buffer->buf + buffer->offset,
88 buffer->end - buffer->offset);
89 buffer->end -= buffer->offset;
90 buffer->offset = 0;
112 if (buffer->offset == buffer->end) {
113 buffer->offset = 0;
146 if (buffer->offset == buffer->end) {
147 buffer->offset = 0;
165 return buffer->end - buffer->offset;
173 if (len > buffer->end - buffer->offset) {
175 len, buffer->end - buffer->offset);
178 memcpy(buf, buffer->buf + buffer->offset, len);
179 buffer->offset += len;
195 if (bytes > buffer->end - buffer->offset) {
199 buffer->offset += bytes;
215 if (bytes > buffer->end - buffer->offset)
233 return buffer->buf + buffer->offset;
244 for (i = buffer->offset; i < buffer->end; i++) {
246 if ((i-buffer->offset)%16==15)
248 else if ((i-buffer->offset)%2==1)