/external/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 | watch.c | 38 cmd = xmprintf("%s %s", oldcmd, toys.optargs[i]); 41 header = xmprintf("Every %us: %s", TT.interval, cmd);
|
D | lsof.c | 220 fi->name = xmprintf(af == 4 ? in match_ip() 226 fi->name = xmprintf(af == 4 ? "%s %s:%d->%s:%d" : "%s [%s]:%d->[%s]:%d", in match_ip() 322 fi->name = xmprintf("%s (readlink: %s)", toybuf, strerror(errno)); in visit_symlink() 370 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 | netstat.c | 179 if (!lport) return xmprintf("%s", "*"); in get_servname() 181 if (ser) return xmprintf("%s", ser->s_name); in get_servname() 182 return xmprintf("%u", (unsigned)ntohs(lport)); in get_servname() 446 fd_dir = xmprintf("/proc/%d/fd", pid); in scan_pid()
|
D | userdel.c | 32 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()
|
D | tcpsvd.c | 82 if (flags & NI_NUMERICSERV) return xmprintf("%s:%s",hbuf, sbuf); in sock_to_address() 83 return xmprintf("%s",hbuf); in sock_to_address()
|
D | fsck.c | 203 args[0] = xmprintf("fsck.%s", type); in do_fsck() 205 if(toys.optflags & FLAG_C) args[i++] = xmprintf("%s %d","-C", TT.fd_num); in do_fsck()
|
/external/toybox/toys/posix/ |
D | ln.c | 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); in ln_main() 59 new = xmprintf("%s_XXXXXX", new); in ln_main()
|
D | nohup.c | 32 temp = xmprintf("%s/%s", temp ? temp : "", "nohup.out"); in nohup_main()
|
D | split.c | 103 TT.outfile = xmprintf("%s%*c", (toys.optc == 2) ? toys.optargs[1] : "x", in split_main()
|
D | cp.c | 249 char *s2 = xmprintf("%*c%s", 3*dotdots, ' ', s); in cp_node() 411 if (destdir) TT.destname = xmprintf("%s/%s", destname, basename(src)); in cp_main()
|
/external/toybox/toys/other/ |
D | pwdx.c | 26 path = xmprintf("/proc/%s/cwd", *optargs); in pwdx_main()
|
D | mountpoint.c | 50 arg = xmprintf("%s/..", arg); in mountpoint_main()
|
D | sysctl.c | 105 path = xmprintf("/proc/sys/%s", key); in process_key()
|
D | login.c | 163 execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0); in login_main()
|
/external/toybox/lib/ |
D | password.c | 118 filenamesfx = xmprintf("%s+", filename); in update_password() 152 namesfx = xmprintf("%s:",username); in update_password()
|
D | help.c | 29 s = xmprintf("See %s --help\n", ++s); in show_help()
|
D | getmountlist.c | 39 temp = xmprintf("%s%s%s", atold, comma, new); in comma_collate()
|
/external/toybox/toys/lsb/ |
D | mktemp.c | 45 : xmprintf("%s/%s", TT.tmpdir, template);
|
D | su.c | 37 if (s) return xmprintf("%s=%s", name, s);
|
D | passwd.c | 170 encrypted = xmprintf("!%s",pass); in passwd_main()
|
/external/toybox/scripts/ |
D | config2help.c | 344 try = xmprintf("[-%.*s%.*s] ", ff, from, tt, to); in main() 355 dlist_add(&anchor, xmprintf("%*cusage: %.*s %s%s%s%s", in main()
|