Home
last modified time | relevance | path

Searched refs:xmprintf (Results 1 – 25 of 35) sorted by relevance

12

/external/toybox/toys/pending/
Duseradd.c70 pwd.pw_dir = TT.dir ? TT.dir : xmprintf("/home/%s", *toys.optargs);
108 char *s = xmprintf("-g%ld", pwd.pw_gid);
122 entry = xmprintf("%s:%s:%ld:%ld:%s:%s:%s", pwd.pw_name, pwd.pw_passwd,
128 entry = xmprintf("%s:!!:%u::::::", pwd.pw_name,
130 else entry = xmprintf("%s:!!:%u:%ld:%ld:%ld:::", pwd.pw_name,
146 xmprintf("%u:%u", TT.uid, TT.gid), p, 0});
Dgroupadd.c52 entry = xmprintf("%s:%s:%d:", *toys.optargs, "x", TT.gid);
55 entry = xmprintf("%s:%s::", *toys.optargs, "!");
75 if (!grp->gr_mem) entry = xmprintf("%s", *toys.optargs); in groupadd_main()
Dwatch.c38 cmd = xmprintf("%s %s", oldcmd, toys.optargs[i]);
41 header = xmprintf("Every %us: %s", TT.interval, cmd);
Dgetty.c111 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()
Dnetstat.c109 return xmprintf("%s%s%s", path, (c)? "" : "/", fname); in append_pathandfile()
205 if (!lport) return xmprintf("%s", "*"); in get_servname()
207 if (ser) return xmprintf("%s", ser->s_name); in get_servname()
208 return xmprintf("%u", (unsigned)ntohs(lport)); in get_servname()
Duserdel.c32 filenamesfx = xmprintf("%s+", filename); in update_groupfiles()
Dinit.c152 tty_name = xmprintf("%s",extracted_token); in inittab_parsing()
153 else tty_name = xmprintf("/dev/%s",extracted_token); in inittab_parsing()
Dtcpsvd.c82 if (flags & NI_NUMERICSERV) return xmprintf("%s:%s",hbuf, sbuf); in sock_to_address()
83 return xmprintf("%s",hbuf); in sock_to_address()
Dfsck.c203 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()
Dexpr.c92 lhs->s = xmprintf("%.*s", rm[1].rm_eo - rm[1].rm_so, lhs->s+rm[1].rm_so); in re()
Ddiff.c446 final_path = xmprintf("%s%s", path, default_path); in concat_file_path()
449 final_path = xmprintf("%s/%s", path, default_path); in concat_file_path()
450 else final_path = xmprintf("%s%s", path, default_path); in concat_file_path()
/external/toybox/toys/posix/
Dln.c51 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()
Dnohup.c32 temp = xmprintf("%s/%s", temp ? temp : "", "nohup.out"); in nohup_main()
Dsplit.c103 TT.outfile = xmprintf("%s%*c", (toys.optc == 2) ? toys.optargs[1] : "x", in split_main()
Dcp.c210 char *s2 = xmprintf("%*c%s", 3*dotdots, ' ', s);
319 if (destdir) TT.destname = xmprintf("%s/%s", destname, basename(src)); in cp_main()
/external/toybox/toys/other/
Dpwdx.c26 path = xmprintf("/proc/%s/cwd", *optargs); in pwdx_main()
Dmountpoint.c50 arg = xmprintf("%s/..", arg); in mountpoint_main()
Dsysctl.c105 path = xmprintf("/proc/sys/%s", key); in process_key()
/external/toybox/lib/
Dpassword.c116 filenamesfx = xmprintf("%s+", filename); in update_password()
150 namesfx = xmprintf("%s:",username); in update_password()
Dhelp.c29 s = xmprintf("See %s --help\n", ++s); in show_help()
Dgetmountlist.c20 temp = xmprintf("%s%s%s", atold, comma, new); in comma_collate()
/external/toybox/toys/lsb/
Dmktemp.c44 : xmprintf("%s/%s", TT.tmpdir, template);
Dsu.c37 if (s) return xmprintf("%s=%s", name, s);
Dpasswd.c164 encrypted = xmprintf("!%s",pass); in passwd_main()
/external/toybox/scripts/
Dconfig2help.c327 try = xmprintf("[-%.*s%.*s] ", ff, from, tt, to); in main()
338 dlist_add(&anchor, xmprintf("%*cusage: %.*s %s%s%s%s", in main()

12