Lines Matching defs:format
291 /* create a working copy of the format string */
292 char *format = xstrdup(masterformat);
294 /* Add 2 to accomodate our conversion of the stat '%s' format string
296 size_t n_alloc = strlen(format) + 2 + 1;
299 b = format;
332 free(format);
338 static bool do_statfs(char const *filename, char const *format)
361 if (format == NULL)
363 format = (option_mask32 & OPT_TERSE
370 print_it(format, filename, print_statfs, &statfsbuf USE_SELINUX(, scontext));
372 format = (option_mask32 & OPT_TERSE
388 print_it(format, filename, print_statfs, &statfsbuf USE_SELINUX(, scontext));
391 format = (option_mask32 & OPT_TERSE
395 printf(format,
406 format = (option_mask32 & OPT_TERSE
411 printf(format,
419 format = (option_mask32 & OPT_TERSE
430 printf(format,
447 static bool do_stat(char const *filename, char const *format)
470 if (format == NULL) {
473 format = "%n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %o";
476 format =
484 format =
494 format = (option_mask32 & OPT_SELINUX ?
499 format = (option_mask32 & OPT_SELINUX ?
514 format = (option_mask32 & OPT_SELINUX ?
530 print_it(format, filename, print_stat, &statbuf USE_SELINUX(, scontext));
612 char *format = NULL;
619 USE_FEATURE_STAT_FORMAT("c:", &format)
633 ok &= statfunc(argv[i], format);