/external/toybox/toys/android/ |
D | setprop.c | 35 error_exit("name '%s' too long; try '%.*s'", in setprop_main() 38 error_exit("value '%s' too long; try '%.*s'", in setprop_main() 42 error_exit("property names must not start or end with '.'"); in setprop_main() 44 error_exit("'..' is not allowed in a property name"); in setprop_main() 47 error_exit("invalid character '%c' in name '%s'", *p, name); in setprop_main()
|
D | setenforce.c | 25 if (!is_selinux_enabled()) error_exit("SELinux is disabled"); in setenforce_main() 28 else error_exit("Invalid state: %s", new); in setenforce_main()
|
/external/toybox/toys/pending/ |
D | 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");
|
D | expr.c | 107 if (lhs->s || rhs->s) error_exit("non-integer argument"); in mod() 108 if (is_zero(rhs)) error_exit("division by zero"); in mod() 114 if (lhs->s || rhs->s) error_exit("non-integer argument"); in divi() 115 if (is_zero(rhs)) error_exit("division by zero"); in divi() 121 if (lhs->s || rhs->s) error_exit("non-integer argument"); in mul() 127 if (lhs->s || rhs->s) error_exit("non-integer argument"); in sub() 133 if (lhs->s || rhs->s) error_exit("non-integer argument"); in add() 239 if (!match(tok, ")")) error_exit("syntax error"); // missing closing paren in parse_op() 253 if (rhs.s && !*rhs.s) error_exit("syntax error"); // premature end of expression in parse_op() 270 if (!tok.s || *tok.s) error_exit("syntax error"); in expr_main()
|
D | ip.c | 272 error_exit("wrong database"); in getlist() 341 if (family == AF_PACKET) error_exit("'%s' may be inet prefix", name); in get_prefix() 413 if (get_prefix(addr, &af, name, family)) error_exit("Invalid prefix"); in parse_prefix() 417 error_exit("Invalid prefix"); in parse_prefix() 475 if (!arg) error_exit("bad hw-addr '%s'", ""); in fill_hwaddr() 479 error_exit("bad hw-addr '%s'", arg); in fill_hwaddr() 524 if (!*argv) error_exit("Invalid vlan id."); in vlan_parse_opt() 573 error_exit("Not enough information: \"dev\" argument is required.\n"); in linkupdate() 575 error_exit("Not enough information: \"type\" argument is required.\n"); in linkupdate() 625 if (len < 2 || len > IFNAMSIZ) error_exit("Invalid device name."); in linkupdate() [all …]
|
D | arp.c | 103 error_exit("bad hw addr '%s'", hw); in get_hw_add() 144 if (!*++argv) error_exit("NULL netmask"); in check_flags() 151 if (!*++argv) error_exit("NULL dev"); in check_flags() 153 } else if (j > 4) error_exit("invalid arg"); in check_flags() 162 if (!toys.optargs[1]) error_exit("bad syntax"); in set_entry() 171 error_exit("protocol type mismatch"); in set_entry() 228 error_exit((type != -1)?"only inet supported by kernel":"unknown family"); in arp_main() 234 error_exit((type != -1)?"h/w type not supported":"unknown h/w type"); in arp_main() 239 if (!toys.optargs[0]) error_exit("host name req"); in arp_main() 281 if (!hwtype[i].name) error_exit("unknown h/w type"); in arp_main()
|
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); 72 error_exit("group '%s' does not exist", toys.optargs[1]); in groupadd_main() 96 if (getgrnam(s)) error_exit("'%s' in use", s); in groupadd_main() 98 error_exit("bad name"); in groupadd_main()
|
D | test.c | 49 if (!strcmp("]", toys.optargs[--toys.optc])) error_exit("Missing ']'"); in test_main() 58 if (id == -1 || toys.optargs[0][2]) error_exit(err_fmt, toys.optargs[0]); in test_main() 101 else error_exit(err_fmt, toys.optargs[1]); in test_main() 109 else error_exit(err_fmt, toys.optargs[1]); in test_main()
|
D | sulogin.c | 74 error_exit("Failed to spawn shell"); in run_shell() 92 if (!isatty(0)) error_exit("%s: it is not a tty", toys.optargs[0]); in sulogin_main() 100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
|
D | brctl.c | 83 if (num < 0) error_exit("get bridges fail"); in br_show() 179 if (sscanf(time, "%lf", &secs) != 1) error_exit("time format not proper"); in strtotimeval() 238 if (sscanf(argv[1], "%i", &prio) != 1) error_exit("prio not proper"); in br_set_bridge_prio() 254 if (i >= ARRAY_LEN(ss)) error_exit("invalid stp state"); in br_set_stp() 264 if (!(index = if_nametoindex(port))) error_exit("invalid port"); in set_cost_prio() 271 if (i >= MAX_BRIDGES) error_exit("%s not in bridge", port); in set_cost_prio()
|
D | host.c | 113 if (type < 0) error_exit("Invalid query type: %s", TT.type_str); in host_main() 117 if (qlen < 0) error_exit("Invalid query parameters: %s", name); in host_main() 123 error_exit("Error looking up server name: %s", gai_strerror(ret)); in host_main() 134 if (alen < 12) error_exit("Host not found."); in host_main() 144 if (rcode) error_exit("Host not found."); in host_main()
|
D | groupdel.c | 39 error_exit("user '%s' not in group '%s'", *toys.optargs, toys.optargs[1]); in groupdel_main() 54 if (pw) error_exit("can't remove primary group of user '%s'", pw->pw_name); in groupdel_main()
|
D | compress.c | 291 if ((length - huff->length) & 16) error_exit("bad symbol"); in huff_and_puff() 308 if (type == 3) error_exit("bad type"); in inflate() 318 if (len != (0xffff & ~nlen)) error_exit("bad len"); in inflate() 372 if (i > litlen+distlen) error_exit("bad tree"); in inflate() 558 if (!is_gzip(bb)) error_exit("not gzip"); in do_zcat() 571 error_exit("bad crc"); in do_zcat()
|
/external/toybox/toys/lsb/ |
D | passwd.c | 115 error_exit("Not root"); in passwd_main() 124 if (myuid && (myuid != pw->pw_uid)) error_exit("Not root"); in passwd_main() 138 error_exit("Error: Unkown encryption algorithm\n"); in passwd_main() 142 error_exit("Can't change, password is locked for %s",name); in passwd_main() 151 if (verify_passwd(pass)) error_exit("Authentication failed\n"); in passwd_main() 168 if (pass[0] == '!') error_exit("password is already locked for %s",name); in passwd_main() 172 if (pass[0] != '!') error_exit("password is already unlocked for %s",name); in passwd_main()
|
/external/toybox/toys/other/ |
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]");
|
D | taskset.c | 82 if (digit > 15) error_exit("bad mask '%s'", *toys.optargs); in do_taskset() 102 if (toys.optc < 2) error_exit("Needs 2 args"); in taskset_main() 109 if (*c) error_exit("Not int %s", toys.optargs[1]); in taskset_main()
|
D | login.c | 55 if (tty == 3) error_exit("no tty"); in login_main() 99 } else if (TT.username) error_exit("bad -f '%s'", TT.username); in login_main() 124 if (!pwd) error_exit("max retries (3)"); in login_main()
|
/external/toybox/lib/ |
D | xwrap.c | 18 if (strlen(src)+1 > size) error_exit("'%s' > %ld bytes", src, (long)size); in xstrncpy() 27 error_exit("'%s%s' > %ld bytes", dest, src, (long)size); in xstrncat() 44 if (!ret) error_exit("xmalloc(%ld)", (long)size); in xmalloc() 62 if (!ptr) error_exit("xrealloc"); in xrealloc() 72 if (!ret) error_exit("xstrndup"); in xstrndup() 512 if (chdir(path)) error_exit("chdir '%s'", path); in xchdir() 517 if (chroot(path)) error_exit("chroot '%s'", path); in xchroot() 524 if (!pwd) error_exit("bad uid %ld", (long)uid); in xgetpwuid() 662 if (i == 3) error_exit("xpidfile %s", name); in xpidfile() 695 if (i == -1) error_exit("Unknown suffix '%c'", *arg); in xparsetime() [all …]
|
D | args.c | 277 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longopt) didn't end"); in parse_optflaglist() 297 error_exit("multiple types %c:%c%c", new->c, new->type, *options); in parse_optflaglist() 308 } else if (CFG_TOYBOX_DEBUG) error_exit("<>= only after .#"); in parse_optflaglist() 344 if (CFG_TOYBOX_DEBUG && *options != '[') error_exit("trailing %s", options); in parse_optflaglist() 347 if (CFG_TOYBOX_DEBUG && idx == -1) error_exit("[ needs +-!"); in parse_optflaglist() 349 error_exit("empty []"); in parse_optflaglist() 356 if (CFG_TOYBOX_DEBUG && !*options) error_exit("[ without ]"); in parse_optflaglist() 364 error_exit("[] unknown target %c", *options); in parse_optflaglist()
|
/external/opencv3/3rdparty/libjpeg/ |
D | jerror.h | 211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 215 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 220 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 226 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 233 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 242 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 246 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
|
D | jerror.c | 71 error_exit (j_common_ptr cinfo) in error_exit() function 234 err->error_exit = error_exit; in jpeg_std_error()
|
/external/libjpeg-turbo/ |
D | jerror.c | 68 error_exit (j_common_ptr cinfo) in error_exit() function 231 err->error_exit = error_exit; in jpeg_std_error()
|
D | jerror.h | 232 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 236 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 241 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 247 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 254 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 258 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jerror.c | 61 error_exit (j_common_ptr cinfo) in error_exit() function 220 err->error_exit = error_exit; in jpeg_std_error()
|
D | jerror.h | 207 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 216 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 222 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 229 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 233 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
|