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

1 2 3 4 5 6 7

  /external/toybox/toys/android/
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);
setenforce.c 25 if (!is_selinux_enabled()) error_exit("SELinux is disabled");
28 else error_exit("Invalid state: %s", new);
getprop.c 75 if (!TT.handle) error_exit("unable to get selinux property context handle");
91 if (property_list((void *)add_property, 0)) error_exit("property_list");
  /external/toybox/toys/other/
fallocate.c 29 if (posix_fallocate(fd, 0, TT.size)) error_exit("Not enough space");
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]);
rfkill.c 40 if (tvar == 3) error_exit("unknown cmd '%s'", *optargs);
52 if (!*++optargs) error_exit("'%s' needs IDENTIFIER", optargs[-1]);
  /external/toybox/toys/pending/
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("syntax error"); // premature end of expressio
    [all...]
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");
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");
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...]
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");
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);
ip.c 272 error_exit("wrong database");
341 if (family == AF_PACKET) error_exit("'%s' may be inet prefix", name);
413 if (get_prefix(addr, &af, name, family)) error_exit("Invalid prefix");
417 error_exit("Invalid prefix");
475 if (!arg) error_exit("bad hw-addr '%s'", "");
479 error_exit("bad hw-addr '%s'", arg);
524 if (!*argv) error_exit("Invalid vlan id.");
573 error_exit("Not enough information: \"dev\" argument is required.\n");
575 error_exit("Not enough information: \"type\" argument is required.\n");
625 if (len < 2 || len > IFNAMSIZ) error_exit("Invalid device name.")
    [all...]
brctl.c 83 if (num < 0) error_exit("get bridges fail");
179 if (sscanf(time, "%lf", &secs) != 1) error_exit("time format not proper");
238 if (sscanf(argv[1], "%i", &prio) != 1) error_exit("prio not proper");
254 if (i >= ARRAY_LEN(ss)) error_exit("invalid stp state");
264 if (!(index = if_nametoindex(port))) error_exit("invalid port");
271 if (i >= MAX_BRIDGES) error_exit("%s not in bridge", port);
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]);
  /packages/apps/Gallery2/jni_jpegstream/src/
jerr_hook.cpp 22 * Replaces libjpeg's error_exit function, returns control to
47 errMgr->mgr.error_exit = ErrExit;
  /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);
  /system/bt/stack/btu/
btu_init.c 141 goto error_exit;
145 goto error_exit;
149 goto error_exit;
157 error_exit:;
  /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/skia/src/images/
SkJpegUtility.cpp 21 cinfo->err->error_exit((j_common_ptr)cinfo);
35 cinfo->err->error_exit((j_common_ptr)cinfo);
77 cinfo->err->error_exit((j_common_ptr)cinfo);
  /external/toybox/toys/posix/
uudecode.c 37 if (!(line = get_line(ifd))) error_exit("bad EOF");
97 if (i && i!=len) error_exit("bad %s", line);
  /external/skia/src/codec/
SkJpegDecoderMgr.cpp 52 fErrorMgr.error_exit = skjpeg_err_exit;
  /external/icu/icu4c/source/test/letest/
PortableFontInstance.cpp 116 goto error_exit;
136 goto error_exit;
147 // goto error_exit;
154 // goto error_exit;
164 goto error_exit;
180 goto error_exit;
185 error_exit:

Completed in 207 milliseconds

1 2 3 4 5 6 7