Home | History | Annotate | Download | only in doc

Lines Matching full:write_idx

104   unsigned long write_idx;
129 buffer->write_idx = 0;
149 for (i = 0; i < str->write_idx && *p; i++)
164 if (buffer->write_idx != 0
165 && fwrite (buffer->ptr, buffer->write_idx, 1, f) != 1)
189 if (pos >= buffer->write_idx)
199 if (buffer->write_idx == buffer->size)
205 buffer->ptr[buffer->write_idx++] = ch;
215 dst->write_idx = src->write_idx;
225 if (buffer->write_idx + len >= buffer->size)
227 while (buffer->write_idx + len >= buffer->size)
231 memcpy (buffer->ptr + buffer->write_idx, buf, len);
232 buffer->write_idx += len;
248 catbuf (dst, src->ptr, src->write_idx);
393 if (tos->write_idx)
394 tos->write_idx--;
401 while ((isspace ((unsigned char) at (tos, tos->write_idx - 1))
402 || at (tos, tos->write_idx - 1) == '\n')
403 && tos->write_idx > 0)
404 tos->write_idx--;