Lines Matching defs:len
70 cbuffer_write_step( CBuffer* cb, int len )
74 cb->count += len;
81 cbuffer_write( CBuffer* cb, const void* from, int len )
83 int len2 = len;
113 return len - len2;
117 cbuffer_read( CBuffer* cb, void* to, int len )
119 int len2 = len;
148 return len - len2;
168 cbuffer_read_step( CBuffer* cb, int len )
172 if (len > cb->count)
173 len = cb->count;
175 cb->rpos += len;
179 cb->count -= len;
201 int len = cb->count;
205 while (len > 0) {
206 int avail = len;
216 len -= avail;