Lines Matching refs:xprintf

58   xprintf("%s.%09d", toybuf, ts->tv_nsec);
65 if (type == 'a') xprintf("%lo", stat->st_mode & ~S_IFMT); in print_stat()
70 xprintf("%s", str); in print_stat()
71 } else if (type == 'b') xprintf("%llu", stat->st_blocks); in print_stat()
72 else if (type == 'B') xprintf("%lu", stat->st_blksize); in print_stat()
73 else if (type == 'd') xprintf("%ldd", stat->st_dev); in print_stat()
74 else if (type == 'D') xprintf("%llxh", stat->st_dev); in print_stat()
75 else if (type == 'f') xprintf("%lx", stat->st_mode); in print_stat()
83 xprintf("%s", t); in print_stat()
84 } else if (type == 'g') xprintf("%lu", stat->st_gid); in print_stat()
85 else if (type == 'G') xprintf("%8s", TT.user_name->pw_name); in print_stat()
86 else if (type == 'h') xprintf("%lu", stat->st_nlink); in print_stat()
87 else if (type == 'i') xprintf("%llu", stat->st_ino); in print_stat()
89 xprintf("`%s'", *toys.optargs); in print_stat()
92 xprintf(" -> `%s'", toybuf); in print_stat()
93 } else if (type == 'o') xprintf("%lu", stat->st_blksize); in print_stat()
94 else if (type == 's') xprintf("%llu", stat->st_size); in print_stat()
95 else if (type == 'u') xprintf("%lu", stat->st_uid); in print_stat()
96 else if (type == 'U') xprintf("%8s", TT.user_name->pw_name); in print_stat()
98 else if (type == 'X') xprintf("%llu", (long long)stat->st_atime); in print_stat()
100 else if (type == 'Y') xprintf("%llu", (long long)stat->st_mtime); in print_stat()
102 else if (type == 'Z') xprintf("%llu", (long long)stat->st_ctime); in print_stat()
103 else xprintf("?"); in print_stat()
109 if (type == 'a') xprintf("%llu", statfs->f_bavail); in print_statfs()
110 else if (type == 'b') xprintf("%llu", statfs->f_blocks); in print_statfs()
111 else if (type == 'c') xprintf("%llu", statfs->f_files); in print_statfs()
112 else if (type == 'd') xprintf("%llu", statfs->f_ffree); in print_statfs()
113 else if (type == 'f') xprintf("%llu", statfs->f_bfree); in print_statfs()
114 else if (type == 'l') xprintf("%ld", statfs->f_namelen); in print_statfs()
115 else if (type == 't') xprintf("%lx", statfs->f_type); in print_statfs()
117 xprintf("%08x%08x", statfs->f_fsid.__val[0], statfs->f_fsid.__val[1]); in print_statfs()
118 else if (type == 's') xprintf("%d", statfs->f_frsize); in print_statfs()
119 else if (type == 'S') xprintf("%d", statfs->f_bsize); in print_statfs()
120 else xprintf("?"); in print_statfs()
156 if (*++f == 'n') xprintf("%s", *toys.optargs); in stat_main()