/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 | 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);
|
/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]);
|
help.c | 56 error_exit("Unknown command '%s'", *toys.optargs);
|
rfkill.c | 40 if (tvar == 3) error_exit("unknown cmd '%s'", *optargs); 52 if (!*++optargs) error_exit("'%s' needs IDENTIFIER", optargs[-1]);
|
/system/bt/stack/btu/ |
btu_init.c | 141 goto error_exit; 145 goto error_exit; 149 goto error_exit; 157 error_exit:;
|
/external/toybox/toys/pending/ |
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");
|
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...] |
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);
|
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]);
|
/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);
|
seq.c | 38 if (!s) error_exit("bad -f no %%f"); 41 error_exit("bad -f '%s'@%ld", f, s-f+1);
|
/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 | 68 error_exit (j_common_ptr cinfo) function 231 err->error_exit = error_exit;
|
/external/opencv3/3rdparty/libjpeg/ |
jerror.c | 71 error_exit (j_common_ptr cinfo) 234 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) {
|
/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;
|