/third_party/toybox/toys/pending/ |
D | useradd.c | 67 pwd.pw_dir = TT.dir ? TT.dir : xmprintf("/home/%s", *toys.optargs); 105 char *s = xmprintf("-g%ld", (long)pwd.pw_gid); 119 entry = xmprintf("%s:%s:%ld:%ld:%s:%s:%s", pwd.pw_name, pwd.pw_passwd, 126 entry = xmprintf("%s:!!:%u::::::", pwd.pw_name, 128 else entry = xmprintf("%s:!!:%u:0:99999:7:::", pwd.pw_name, 144 xmprintf("%lu:%lu", TT.uid, TT.gid), p, 0});
|
D | groupadd.c | 52 entry = xmprintf("%s:%s:%d:", *toys.optargs, "x", TT.gid); 55 entry = xmprintf("%s:%s::", *toys.optargs, "!"); 73 if (!grp->gr_mem) entry = xmprintf("%s", *toys.optargs); in groupadd_main()
|
D | man.c | 152 char *s = xmprintf("%s/man%s/%s.%s.bz2", TT.m, *TT.sct, name, *TT.sct), **suf; in tryfile() 181 d = xmprintf("%s/man%s", TT.m, *TT.sct); in man_main() 185 f = xmprintf("%s/%s", d, TT.k = entry->d_name); in man_main()
|
D | lsof.c | 205 fi->name = xmprintf(af == 4 ? in scan_ip() 211 fi->name = xmprintf(af == 4 ? "%s %s:%d->%s:%d" : "%s [%s]:%d->[%s]:%d", in scan_ip() 324 fi->name = xmprintf("%s (readlink: %s)", toybuf, strerror(errno)); in visit_symlink() 372 fi->name = xmprintf("%s (opendir: %s)", toybuf, strerror(errno)); in visit_fds()
|
D | getty.c | 111 if (*++toys.optargs) TT.tty_name = xmprintf("%s", *toys.optargs); in parse_arguments() 113 TT.tty_name = xmprintf("%s", *toys.optargs); in parse_arguments() 123 if (*(TT.tty_name) != '/') TT.tty_name = xmprintf("/dev/%s", TT.tty_name); in open_tty()
|
D | expr.c | 75 else return xmprintf("%lld", v->i); in get_str() 116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re()
|
D | userdel.c | 33 filenamesfx = xmprintf("%s+", filename); in update_groupfiles()
|
D | init.c | 152 tty_name = xmprintf("%s",extracted_token); in inittab_parsing() 153 else tty_name = xmprintf("/dev/%s",extracted_token); in inittab_parsing()
|
/third_party/toybox/toys/posix/ |
D | ln.c | 58 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); 66 new = xmprintf("%s_XXXXXX", new);
|
D | nohup.c | 33 temp = xmprintf("%s/%s", temp ? temp : "", "nohup.out"); in nohup_main()
|
D | cp.c | 231 char *s2 = xmprintf("%*c%s", 3*dotdots, ' ', s); in cp_node() 356 catch = xmprintf("%s%s", TT.destname, f+strlen(try->name)); in cp_node() 415 TT.destname = xmprintf("%s/%s", destname, s); in cp_main()
|
D | split.c | 101 TT.outfile = xmprintf("%s%*c", (toys.optc == 2) ? toys.optargs[1] : "x", in split_main()
|
D | tar.c | 675 TT.hdr.name = xmprintf("%.*s%s%.*s", i, tar.prefix, in unpack_tar() 739 xsetenv(xmprintf("TAR_MODE=%o", TT.hdr.mode), 0); in unpack_tar() 740 xsetenv(xmprintf("TAR_SIZE=%lld", TT.hdr.ssize), 0); in unpack_tar() 744 xsetenv(xmprintf("TAR_MTIME=%llo", (long long)TT.hdr.mtime), 0); in unpack_tar() 745 xsetenv(xmprintf("TAR_UID=%o", TT.hdr.uid), 0); in unpack_tar() 746 xsetenv(xmprintf("TAR_GID=%o", TT.hdr.gid), 0); in unpack_tar()
|
/third_party/toybox/lib/ |
D | env.c | 53 if (val) new = xmprintf("%s=%s", name, val); in xsetenv() 97 stuff[i] = (s = getenv(stuff[i])) ? xmprintf("%s=%s", stuff[i], s) : 0; in reset_env()
|
D | password.c | 118 filenamesfx = xmprintf("%s+", filename); in update_password() 152 namesfx = xmprintf("%s:",username); in update_password()
|
D | commas.c | 38 temp = xmprintf("%s%s%s", atold, comma, new); in comma_collate()
|
/third_party/toybox/toys/other/ |
D | mountpoint.c | 53 arg = xmprintf("%s/..", arg); in mountpoint_main()
|
D | login.c | 131 execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0); in login_main()
|
D | modinfo.c | 127 char *path = xmprintf("%s/lib/modules/%s", TT.b, TT.k); in modinfo_main()
|
D | sysctl.c | 105 path = xmprintf("/proc/sys/%s", key); in process_key()
|
/third_party/toybox/scripts/ |
D | config2help.c | 42 char *xmprintf(char *format, ...) in xmprintf() function 443 try = xmprintf("[-%.*s%.*s] ", ff, from, tt, to); in main() 454 dlist_add(&anchor, xmprintf("%*cusage: %.*s %s%s%s%s", in main()
|
/third_party/toybox/toys/lsb/ |
D | mktemp.c | 55 template = dir ? xmprintf("%s/%s", dir, template) : xstrdup(template); in mktemp_main()
|
D | passwd.c | 78 encrypted = xmprintf("!%s", pass); in passwd_main()
|
D | gzip.c | 132 if (!FLAG(d)) out = xmprintf("%s%s", in, ".gz"); in do_gzip()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | cp.c | 204 char *s2 = xmprintf("%*c%s", 3*dotdots, ' ', s); in cp_node() 329 catch = xmprintf("%s%s", TT.destname, f+strlen(try->name)); in cp_node() 409 TT.destname = xmprintf("%s/%s", destname, s); in cp_main()
|