/external/toybox/toys/android/ |
H A D | setenforce.c | 25 if (!is_selinux_enabled()) error_exit("SELinux is disabled"); 28 else error_exit("Invalid state: %s", new);
|
H A D | setprop.c | 35 error_exit("name '%s' too long; try '%.*s'", 38 error_exit("value '%s' too long; try '%.*s'", 42 error_exit("property names must not start or end with '.'"); 44 error_exit("'..' is not allowed in a property name"); 47 error_exit("invalid character '%c' in name '%s'", *p, name);
|
H A D | getprop.c | 45 if (property_list((void *)add_property, 0)) error_exit("property_list");
|
/external/toybox/toys/other/ |
H A D | fallocate.c | 29 if (posix_fallocate(fd, 0, TT.size)) error_exit("Not enough space");
|
H A D | mkpasswd.c | 39 if (TT.salt) error_exit("duplicate salt"); 43 if (-1 == (i = get_salt(salt, TT.method))) error_exit("bad -m"); 49 if (*s) error_exit("salt not in [./A-Za-z0-9]");
|
H A D | taskset.c | 71 if (digit > 15) error_exit("bad mask '%s'", *toys.optargs); 91 if (toys.optc < 2) error_exit("Needs 2 args"); 98 if (*c) error_exit("Not int %s", toys.optargs[1]);
|
H A D | login.c | 124 error_exit("Failed to spawn shell"); 152 if (f_flag && toys.optc != 1) error_exit("-f requires username"); 154 if (geteuid()) error_exit("not root"); 156 if (!isatty(0) || !isatty(1) || !isatty(2)) error_exit("no tty"); 201 error_exit("Maximum number of tries exceeded (3)\n");
|
H A D | blockdev.c | 48 error_exit("need --option");
|
H A D | help.c | 56 error_exit("Unknown command '%s'", *toys.optargs);
|
H A D | netcat.c | 56 if (TT.wait) error_exit("Timeout"); 73 if (!hostbyname) error_exit("no host '%s'", name); 98 if (toys.exithelp) error_exit("Argument count wrong"); 135 if (listen(sockfd, 5)) error_exit("listen");
|
/external/toybox/toys/pending/ |
H A D | groupadd.c | 43 if (TT.gid > INT_MAX) error_exit("gid should be less than '%d' ", INT_MAX); 44 if (getgrgid(TT.gid)) error_exit("group '%ld' is in use", TT.gid); 67 error_exit("options, user and group can't be together"); 74 error_exit("group '%s' does not exist", toys.optargs[1]); 98 if (getgrnam(s)) error_exit("'%s' in use", s); 100 error_exit("bad name");
|
H A D | useradd.c | 51 error_exit("options with USER GROUP"); 58 error_exit("bad username"); 60 if (getpwnam(s)) error_exit("'%s' in use", s); 85 if (TT.uid > INT_MAX) error_exit("bad uid"); 86 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid); 100 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name); 124 if (update_password("/etc/passwd", pwd.pw_name, entry)) error_exit("updating passwd file failed"); 153 if (xrun((char *[]){"passwd", pwd.pw_name, 0})) error_exit("passwd"); 158 error_exit("groupadd");
|
H A D | expr.c | 107 if (lhs->s || rhs->s) error_exit("non-integer argument"); 108 if (is_zero(rhs)) error_exit("division by zero"); 114 if (lhs->s || rhs->s) error_exit("non-integer argument"); 115 if (is_zero(rhs)) error_exit("division by zero"); 121 if (lhs->s || rhs->s) error_exit("non-integer argument"); 127 if (lhs->s || rhs->s) error_exit("non-integer argument"); 133 if (lhs->s || rhs->s) error_exit("non-integer argument"); 197 // if (TT.argidx >= toys.optc) error_exit("syntax error"); 239 if (!match(tok, ")")) error_exit("syntax error"); // missing closing paren 253 if (rhs.s && !*rhs.s) error_exit("synta [all...] |
H A D | sulogin.c | 74 error_exit("Failed to spawn shell"); 92 if (!isatty(0)) error_exit("%s: it is not a tty", toys.optargs[0]); 100 if (!(pwd = getpwuid(0))) error_exit("invalid user");
|
H A D | groupdel.c | 39 error_exit("user '%s' not in group '%s'", *toys.optargs, toys.optargs[1]); 54 if (pw) error_exit("can't remove primary group of user '%s'", pw->pw_name);
|
H A D | logger.c | 40 error_exit("bad facility: %s", TT.priority_arg); 45 error_exit("bad priority: %s", TT.priority_arg);
|
H A D | arp.c | 103 error_exit("bad hw addr '%s'", hw); 144 if (!*++argv) error_exit("NULL netmask"); 151 if (!*++argv) error_exit("NULL dev"); 153 } else if (j > 4) error_exit("invalid arg"); 162 if (!toys.optargs[1]) error_exit("bad syntax"); 171 error_exit("protocol type mismatch"); 228 error_exit((type != -1)?"only inet supported by kernel":"unknown family"); 234 error_exit((type != -1)?"h/w type not supported":"unknown h/w type"); 239 if (!toys.optargs[0]) error_exit("host name req"); 281 if (!hwtype[i].name) error_exit("unknow [all...] |
H A D | pgrep.c | 91 error_exit("Unknown signal '%s'", arg); 96 error_exit("missing argument"); 100 error_exit("max argument > 1"); 106 error_exit("%s", errbuf);
|
H A D | test.c | 49 if (!strcmp("]", toys.optargs[--toys.optc])) error_exit("Missing ']'"); 58 if (id == -1 || toys.optargs[0][2]) error_exit(err_fmt, toys.optargs[0]); 101 else error_exit(err_fmt, toys.optargs[1]); 109 else error_exit(err_fmt, toys.optargs[1]);
|
/external/toybox/toys/lsb/ |
H A D | passwd.c | 108 error_exit("Not root"); 118 error_exit("You need to be root to change '%s' password\n", name); 132 error_exit("Error: Unkown encryption algorithm\n"); 136 error_exit("Can't change, password is locked for %s",name); 145 if (verify_passwd(pass)) error_exit("Authentication failed\n"); 162 if (pass[0] == '!') error_exit("password is already locked for %s",name); 166 if (pass[0] != '!') error_exit("password is already unlocked for %s",name);
|
H A D | killall.c | 78 error_exit("Invalid signal"); 88 error_exit("no name");
|
/external/toybox/lib/ |
H A D | args.c | 83 // ! More than one in group is error [!abc] means -ab calls error_exit() 137 error_exit("Unknown option %s", gof->arg); 164 error_exit("No '%c' with '%c'", opt->c, bad->c); 188 if (opt->c != -1) error_exit("%s-%c", s, opt->c); 191 error_exit("%s--%.*s", s, lo->len, lo->str); 205 if (l < opt->val[0].l) error_exit("-%c < %ld", opt->c, opt->val[0].l); 206 if (l > opt->val[1].l) error_exit("-%c > %ld", opt->c, opt->val[1].l); 214 error_exit("-%c < %lf", opt->c, (double)opt->val[0].f); 216 error_exit("-%c > %lf", opt->c, (double)opt->val[1].f); 275 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longop [all...] |
/external/toybox/toys/posix/ |
H A D | nl.c | 82 else error_exit("bad -n '%s'", TT.n); 90 else if (!strchr("atn", *TT.b)) error_exit("bad -b '%s'", TT.b);
|
/external/jpeg/ |
H A D | jerror.c | 70 error_exit (j_common_ptr cinfo) function 233 err->error_exit = error_exit;
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
H A D | fpdfapi_jerror.c | 62 error_exit (j_common_ptr cinfo) function 221 err->error_exit = error_exit;
|