Lines Matching refs:offset
185 int fd, offset;
191 offset = fprintf(fp, "%*s%s%s", indent, "",
194 if (offset > (INDENTNAMELEN + indent))
195 offset = MAXLINELEN;
197 offset += fprintf(fp, "%*s",
198 (INDENTNAMELEN + indent) - offset, "");
201 output(fp, indent, &offset, "type=%s",
206 output(fp, indent, &offset, "uname=%s", name);
208 output(fp, indent, &offset, "uid=%u",
214 output(fp, indent, &offset, "gname=%s", name);
216 output(fp, indent, &offset, "gid=%u",
220 output(fp, indent, &offset, "mode=%#o",
224 output(fp, indent, &offset, "device=%#jx",
227 output(fp, indent, &offset, "nlink=%ju",
231 output(fp, indent, &offset, "size=%ju",
235 output(fp, indent, &offset, "time=%jd.%09ld",
239 output(fp, indent, &offset, "time=%jd.%09ld",
247 output(fp, indent, &offset, "cksum=%lu", (long)val);
254 output(fp, indent, &offset, "%s=%s", MD5KEY, digestbuf);
263 output(fp, indent, &offset, "%s=%s", RMD160KEY, digestbuf);
272 output(fp, indent, &offset, "%s=%s", SHA1KEY, digestbuf);
281 output(fp, indent, &offset, "%s=%s", SHA256KEY, digestbuf);
289 output(fp, indent, &offset, "%s=%s", SHA384KEY, digestbuf);
297 output(fp, indent, &offset, "%s=%s", SHA512KEY, digestbuf);
303 output(fp, indent, &offset, "link=%s",
308 output(fp, indent, &offset, "flags=%s", str);
463 output(FILE *fp, int indent, int *offset, const char *fmt, ...)
472 if (*offset + strlen(buf) > MAXLINELEN - 3) {
474 *offset = INDENTNAMELEN + indent;
476 *offset += fprintf(fp, " %s", buf) + 1;