Home | History | Annotate | Download | only in puff

Lines Matching defs:size

33 /* Return size times approximately the cube root of 2, keeping the result as 1,
34 3, or 5 times a power of 2 -- the result is always > size, until the result
37 local size_t bythirds(size_t size)
42 m = size;
46 return size + 1;
48 m = size >> n;
51 return m > size ? m : (size_t)(-1);
62 size_t size;
67 buf = malloc(size = 4096);
73 *len += fread((char *)buf + *len, 1, size - *len, in);
74 if (*len < size) break;
75 size = bythirds(size);
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {