Lines Matching defs:pathlast
298 * the regular output, according to the pathlast flag.
301 appendfield(FILE *fp, int pathlast, const char *fmt, ...)
307 if (!pathlast)
310 if (pathlast)
319 * if pathlast is none zero, print the path last, otherwise print
323 dump_nodes(FILE *fp, const char *dir, NODE *root, int pathlast)
340 if (!pathlast)
345 appendfield(fp, pathlast, "type=%s",
350 appendfield(fp, pathlast, "uname=%s", name);
352 appendfield(fp, pathlast, "uid=%u",
358 appendfield(fp, pathlast, "gname=%s", name);
360 appendfield(fp, pathlast, "gid=%u",
364 appendfield(fp, pathlast, "mode=%#o", cur->st_mode);
367 appendfield(fp, pathlast, "device=%#jx",
370 appendfield(fp, pathlast, "nlink=%ju",
373 appendfield(fp, pathlast, "link=%s",
376 appendfield(fp, pathlast, "size=%ju",
379 appendfield(fp, pathlast, "time=%jd.%09ld",
383 appendfield(fp, pathlast, "cksum=%lu", cur->cksum);
385 appendfield(fp, pathlast, "%s=%s", MD5KEY,
388 appendfield(fp, pathlast, "%s=%s", RMD160KEY,
391 appendfield(fp, pathlast, "%s=%s", SHA1KEY,
394 appendfield(fp, pathlast, "%s=%s", SHA256KEY,
397 appendfield(fp, pathlast, "%s=%s", SHA384KEY,
400 appendfield(fp, pathlast, "%s=%s", SHA512KEY,
404 appendfield(fp, pathlast, "flags=%s", str);
408 appendfield(fp, pathlast, "ignore");
410 appendfield(fp, pathlast, "optional");
419 appendfield(fp, pathlast, "tags=%.*s", (int)(q - p), p);
421 puts(pathlast ? vispath(path) : "");
424 dump_nodes(fp, path, cur->child, pathlast);