Lines Matching defs:size
42 size_t size; /* buffer length in bytes */
53 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode)
60 * POSIX says we shall return EINVAL if size is 0.
62 if (size == 0) {
92 ck->size = size;
97 ck->buf = malloc(size);
116 * The size of the current buffer contents is set depending on the
120 * size of the buffer if none is found
122 * for append (binary-mode), the size of the buffer
124 * for read, the size of the buffer
130 ck->off = ck->len = strnlen(ck->buf, ck->size);
133 ck->len = size;
187 if (nbytes > ck->size - ck->off)
188 nbytes = ck->size - ck->off;
206 if (!ck->bin && ck->off < ck->size && ck->buf[ck->off - 1] != '\0')
220 if (offset > ck->size) {
228 if (ck->off + offset > ck->size) {