Lines Matching refs:eof
77 size_t eof; /* current file size */ member
94 if (c->pos > c->eof) in fmemreader()
96 if (n >= c->eof - c->pos) in fmemreader()
97 n = c->eof - c->pos; in fmemreader()
117 c->pos = c->eof; in fmemwriter()
118 else if (c->pos > c->eof) in fmemwriter()
119 memset (c->buf + c->eof, '\0', c->pos - c->eof); in fmemwriter()
131 if (c->pos + n > c->eof) in fmemwriter()
133 c->eof = c->pos + n; in fmemwriter()
134 if (c->eof - adjust < c->max) in fmemwriter()
135 c->saved = c->buf[c->eof - adjust] = '\0'; in fmemwriter()
176 offset += c->eof; in fmemseeker()
196 if (c->writeonly && c->pos < c->eof) in fmemseeker()
202 if (c->writeonly && c->pos < c->eof) in fmemseeker()
225 offset += c->eof; in fmemseeker64()
238 if (c->writeonly && c->pos < c->eof) in fmemseeker64()
244 if (c->writeonly && c->pos < c->eof) in fmemseeker64()
309 c->pos = c->eof = 0; in fmemopen()
320 c->eof = c->pos = buf ? (size_t) ((char *) buf - c->buf) : size; in fmemopen()
329 c->eof = size; in fmemopen()
333 c->pos = c->append = c->eof = 0; in fmemopen()