HomeSort by relevance Sort by last modified time
    Searched refs:error_exit (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /external/toybox/toys/android/
setenforce.c 25 if (!is_selinux_enabled()) error_exit("SELinux is disabled");
28 else error_exit("Invalid state: %s", new);
setprop.c 33 error_exit("value '%s' too long; try '%.*s'",
37 error_exit("property names must not start or end with '.'");
39 error_exit("'..' is not allowed in a property name");
42 error_exit("invalid character '%c' in name '%s'", *p, name);
start.c 40 if (getuid()) error_exit("must be root");
50 error_exit("failed to set property '%s' to '%s'", property, *ss);
log.c 38 if (i==-1 || strlen(TT.pri)!=1) error_exit("bad -p '%s'", TT.pri);
  /external/toybox/toys/pending/
wget.c 33 if(i >= 1024) error_exit("too long hostname in URL");
47 else error_exit("wrong decimal port number");
50 else error_exit("too long port number");
59 if (strncmp(url, "http://", i)) error_exit("only HTTP support");
73 else error_exit("too long path in URL");
74 } else error_exit("wrong URL");
89 error_exit("getaddrinfo: %s", gai_strerror(errno));
104 if(!rp) error_exit("can't connect");
160 if (!strstr(toybuf, "\r\n\r\n")) error_exit("too long HTTP response");
169 if (strcmp(rc, "200")) error_exit("res: %s(%s)", rc, r_str)
    [all...]
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);
72 error_exit("group '%s' does not exist", toys.optargs[1]);
96 if (getgrnam(s)) error_exit("'%s' in use", s);
98 error_exit("bad name");
useradd.c 55 error_exit("bad username");
57 if (getpwnam(s)) error_exit("'%s' in use", s);
82 if (TT.uid > INT_MAX) error_exit("bad uid");
83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid);
97 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name);
122 if (update_password("/etc/passwd", pwd.pw_name, entry)) error_exit("updating passwd file failed");
151 if (xrun((char *[]){"passwd", pwd.pw_name, 0})) error_exit("passwd");
156 error_exit("groupadd");
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");
expr.c 189 error_exit("non-integer argument");
194 case DIVI: if (b == 0) error_exit("division by zero"); x = a / b; break;
195 case MOD: if (b == 0) error_exit("division by zero"); x = a % b; break;
214 if (!*TT.tok) error_exit("Unexpected end of input");
221 if (ret->s && !strcmp(ret->s, ")")) error_exit("empty ( )");
222 if (!*TT.tok) error_exit("Expected )");
223 if (strcmp(*TT.tok, ")")) error_exit("Expected ) but got %s", *TT.tok);
252 if (*TT.tok) error_exit("Unexpected extra input '%s'\n", *TT.tok);
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);
logger.c 40 error_exit("bad facility: %s", TT.priority_arg);
45 error_exit("bad priority: %s", TT.priority_arg);
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("unknown h/w type")
    [all...]
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]);
  /system/bt/stack/btu/
btu_init.cc 124 if (btu_bta_msg_queue == NULL) goto error_exit;
127 if (btu_general_alarm_queue == NULL) goto error_exit;
130 if (bt_workqueue_thread == NULL) goto error_exit;
138 error_exit:;
  /external/toybox/toys/other/
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]");
taskset.c 82 if (digit > 15) error_exit("bad mask '%s'", *toys.optargs);
102 if (toys.optc < 2) error_exit("Needs 2 args");
109 if (*c) error_exit("Not int %s", toys.optargs[1]);
help.c 56 error_exit("Unknown command '%s'", *toys.optargs);
  /external/toybox/toys/lsb/
passwd.c 115 error_exit("Not root");
124 if (myuid && (myuid != pw->pw_uid)) error_exit("Not root");
138 error_exit("Error: Unkown encryption algorithm\n");
142 error_exit("Can't change, password is locked for %s",name);
151 if (verify_passwd(pass)) error_exit("Authentication failed\n");
168 if (pass[0] == '!') error_exit("password is already locked for %s",name);
172 if (pass[0] != '!') error_exit("password is already unlocked for %s",name);
hostname.c 35 if (!(toys.optflags&FLAG_b)) error_exit("empty '%s'", TT.fname);
  /external/toybox/lib/
args.c 85 // ! More than one in group is error [!abc] means -ab calls error_exit()
139 error_exit("Unknown option %s", gof->arg);
166 if (bad) error_exit("No '%c' with '%c'", opt->c, bad->c);
190 if (opt->c != -1) error_exit("%s-%c", s, opt->c);
193 error_exit("%s--%.*s", s, lo->len, lo->str);
207 if (l < opt->val[0].l) error_exit("-%c < %ld", opt->c, opt->val[0].l);
208 if (l > opt->val[1].l) error_exit("-%c > %ld", opt->c, opt->val[1].l);
216 error_exit("-%c < %lf", opt->c, (double)opt->val[0].f);
218 error_exit("-%c > %lf", opt->c, (double)opt->val[1].f);
277 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longopt) didn't end")
    [all...]
  /external/toybox/toys/posix/
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);
  /toolchain/binutils/binutils-2.25/libiberty/
pex-common.c 177 goto error_exit;
189 goto error_exit;
197 goto error_exit;
213 goto error_exit;
237 goto error_exit;
260 goto error_exit;
276 goto error_exit;
292 goto error_exit;
299 goto error_exit;
310 goto error_exit;
    [all...]
  /external/libjpeg-turbo/
jerror.c 69 error_exit (j_common_ptr cinfo) function
232 err->error_exit = error_exit;
  /external/pdfium/third_party/libjpeg/
fpdfapi_jerror.c 61 error_exit (j_common_ptr cinfo) function
220 err->error_exit = error_exit;
  /bionic/tests/
error_test.cpp 58 TEST(error_DeathTest, error_exit) {

Completed in 253 milliseconds

1 2 3 4 5 6