Lines Matching refs:size
25 * determine record format by sampling data in <buf,size>
26 * total is the total file size, <=0 if not available
43 recfmt(const void* buf, size_t size, off_t total)
65 t = s + size;
72 if (!k || size > 2 * k)
81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n)))
83 for (j = n - 1; j < size; j += n)
100 for (i = 0; i < size; i++)
121 for (j = i; j < size - i; j += i)
136 for (i = 0; i < size; i++)
151 size_t size;
159 size = sfvalue(sfstdin);
161 sfprintf(sfstdout, "%d\n", recfmt(s, size, total));