/third_party/toybox/toys/pending/ |
D | wget.c | 129 else if (!*port) error_exit("unsupported protocol"); in wget_info() 143 error_exit("tls_client: %s", tls_error(TT.tls)); in wget_connect() 145 error_exit("tls_config_new: %s", tls_config_error(cfg)); in wget_connect() 147 error_exit("tls_config_parse_protocols"); in wget_connect() 149 error_exit("tls_config_set_protocols: %s", tls_config_error(cfg)); in wget_connect() 151 error_exit("tls_configure: %s", tls_error(TT.tls)); in wget_connect() 155 error_exit("tls_connect: %s", tls_error(TT.tls)); in wget_connect() 163 if (!TT.ctx) error_exit("SSL_CTX_new"); in wget_connect() 171 error_exit("SSL_new: %s", ERR_error_string(ERR_get_error(), NULL)); in wget_connect() 174 error_exit("SSL_set_tlsext_host_name: %s", in wget_connect() [all …]
|
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 | ip.c | 294 error_exit("wrong database"); in getlist() 363 if (family == AF_PACKET) error_exit("'%s' may be inet prefix", name); in get_prefix() 435 if (get_prefix(addr, &af, name, family)) error_exit("Invalid prefix"); in parse_prefix() 439 error_exit("Invalid prefix"); in parse_prefix() 459 error_exit("RTA exceeds max length %d", maxlen); in add_varlen_rtattr_to_buffer() 526 if (!arg) error_exit("bad hw-addr '%s'", ""); in fill_hwaddr() 530 error_exit("bad hw-addr '%s'", arg); in fill_hwaddr() 575 if (!*argv) error_exit("Invalid vlan id."); in vlan_parse_opt() 624 error_exit("Not enough information: \"dev\" argument is required.\n"); in linkupdate() 626 error_exit("Not enough information: \"type\" argument is required.\n"); in linkupdate() [all …]
|
D | arp.c | 118 if (!*++argv) error_exit("NULL netmask"); in check_flags() 125 if (!*++argv) error_exit("NULL dev"); in check_flags() 127 } else if (j > 4) error_exit("invalid arg"); in check_flags() 136 if (!toys.optargs[1]) error_exit("bad syntax"); in set_entry() 152 error_exit("bad hw addr '%s'", req.arp_ha.sa_data); in set_entry() 159 error_exit("protocol type mismatch"); in set_entry() 215 error_exit((type != -1)?"only inet supported by kernel":"unknown family"); in arp_main() 221 error_exit((type != -1)?"h/w type not supported":"unknown h/w type"); in arp_main() 226 if (!toys.optargs[0]) error_exit("-%c needs a host name", FLAG(d)?'d':'s'); in arp_main() 264 if (!hwtype[i].name) error_exit("unknown h/w type"); in arp_main()
|
D | expr.c | 190 error_exit("non-integer argument"); in eval_op() 195 case DIVI: if (b == 0) error_exit("division by zero"); x = a / b; break; in eval_op() 196 case MOD: if (b == 0) error_exit("division by zero"); x = a % b; break; in eval_op() 215 if (!*TT.tok) error_exit("Unexpected end of input"); in eval_expr() 222 if (ret->s && !strcmp(ret->s, ")")) error_exit("empty ( )"); in eval_expr() 223 if (!*TT.tok) error_exit("Expected )"); in eval_expr() 224 if (strcmp(*TT.tok, ")")) error_exit("Expected ) but got %s", *TT.tok); in eval_expr() 253 if (*TT.tok) error_exit("Unexpected extra input '%s'\n", *TT.tok); in expr_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 | stty.c | 67 if (i == ARRAY_LEN(bauds)) error_exit("unknown speed: %d", baud); in speed() 202 if (!toys.optargs[*i]) error_exit("missing arg"); in get_arg() 217 if (flags[i].mask) error_exit("%s isn't a boolean", name); in set_flag() 235 error_exit("unknown option: %s", option); in set_option() 268 if (!arg) error_exit("missing arg"); in set_special_character() 273 else error_exit("invalid arg: %s", arg); in set_special_character() 354 if (sscanf(arg, "%x%n", &value, &n) != 1) error_exit("bad -g string"); in do_stty() 399 error_exit("unable to perform all requested operations on %s", TT.device); in do_stty() 451 error_exit("can't make settings with -a/-g"); in stty_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 | 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 | host.c | 116 if (type < 0) error_exit("Invalid query type: %s", TT.type_str); in host_main() 120 if (qlen < 0) error_exit("Invalid query parameters: %s", name); in host_main() 126 error_exit("Error looking up server name: %s", gai_strerror(ret)); in host_main() 136 if (alen < 12) error_exit("Host not found."); in host_main() 146 if (rcode) error_exit("Host not found."); in host_main()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | volume.c | 268 goto error_exit; in ntfs_mft_load() 279 goto error_exit; in ntfs_mft_load() 283 goto error_exit; in ntfs_mft_load() 287 goto error_exit; in ntfs_mft_load() 308 goto error_exit; in ntfs_mft_load() 327 goto error_exit; in ntfs_mft_load() 335 goto error_exit; in ntfs_mft_load() 368 goto error_exit; in ntfs_mft_load() 373 goto error_exit; in ntfs_mft_load() 416 goto error_exit; in ntfs_mft_load() [all …]
|
/third_party/toybox/toys/lsb/ |
D | passwd.c | 68 if (!pw || (myuid && (myuid != pw->pw_uid))) error_exit("Not root"); in passwd_main() 76 if (*pass=='!') error_exit("already locked"); in passwd_main() 80 if (*pass!='!') error_exit("already unlocked"); in passwd_main() 87 if (get_salt(salt, TT.a ? TT.a : "des")<0) error_exit("bad -a '%s'", TT.a); in passwd_main() 91 if (*pass=='!') error_exit("'%s' locked", name); in passwd_main() 95 if (!pass || strcmp(pass, pw->pw_passwd)) error_exit("No"); in passwd_main() 102 if (strcmp(toybuf, toybuf+2048)) error_exit("Passwords do not match."); in passwd_main()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsfix.c | 479 goto error_exit; in fix_mftmirr() 491 goto error_exit; in fix_mftmirr() 538 goto error_exit; in fix_mftmirr() 545 goto error_exit; in fix_mftmirr() 555 goto error_exit; in fix_mftmirr() 561 goto error_exit; in fix_mftmirr() 582 goto error_exit; in fix_mftmirr() 592 error_exit: in fix_mftmirr() 676 goto error_exit; in fix_upcase() 682 goto error_exit; in fix_upcase() [all …]
|
/third_party/elfutils/src/ |
D | unstrip.c | 227 error_exit (0, msg, elf_errmsg (-1)); \ 318 error_exit (errno, _("cannot create directory '%s'"), dir); in make_directories() 442 error_exit (0, "bad symbol ndx section"); in adjust_reloc() 458 error_exit (0, "REL section cannot have zero sh_entsize"); in adjust_relocs() 473 error_exit (0, "RELA section cannot have zero sh_entsize"); in adjust_relocs() 503 error_exit (0, "HASH section cannot have zero sh_entsize"); in adjust_relocs() 505 error_exit (0, "Symbol table cannot have zero sh_entsize"); in adjust_relocs() 509 error_exit (0, "HASH section has inconsistent size"); in adjust_relocs() 519 error_exit (0, "HASH section has inconsistent entsize"); \ in adjust_relocs() 564 error_exit (0, "GNU_versym section cannot have zero sh_entsize"); in adjust_relocs() [all …]
|
D | size.c | 104 error_exit (0, _("%s: INTERNAL ERROR %d (%s): %s"), \ 239 error_exit (0, _("Invalid format: %s"), arg); in parse_opt() 250 error_exit (0, _("Invalid radix: %s"), arg); in parse_opt() 287 error_exit (errno, _("while closing '%s'"), fname); in process_file() 296 error_exit (errno, _("while closing '%s'"), fname); in process_file() 307 error_exit (errno, _("while closing '%s'"), fname); in process_file() 396 error_exit (0, _("cannot get section header string table index")); in show_sysv() 467 error_exit (0, _("cannot get section header string table index")); in show_sysv_one_line() 479 error_exit (0, _("cannot get section header")); in show_sysv_one_line()
|
/third_party/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() 72 if (!ret) error_exit("xmalloc(%ld)", (long)size); in xmalloc() 90 if (!ptr) error_exit("xrealloc"); in xrealloc() 100 if (!ret) error_exit("xstrndup"); in xstrndup() 432 if(-1 == (fd = mkstemp(*tempname))) error_exit("no temp file"); in xtempfile() 658 if (chroot(path)) error_exit("chroot '%s'", path); in xchroot() 665 if (!pwd) error_exit("bad uid %ld", (long)uid); in xgetpwuid() 688 error_exit("bad user '%s'", name); in xgetuid() 702 error_exit("bad group '%s'", name); in xgetgid() [all …]
|
D | args.c | 278 if (CFG_TOYBOX_DEBUG && !*end) error_exit("(longopt) didn't end"); in parse_optflaglist() 298 error_exit("multiple types %c:%c%c", new->c, new->type, *options); in parse_optflaglist() 309 } else error_exit("<>= only after .#%%"); in parse_optflaglist() 345 if (CFG_TOYBOX_DEBUG && *options != '[') error_exit("trailing %s", options); in parse_optflaglist() 348 if (CFG_TOYBOX_DEBUG && idx == -1) error_exit("[ needs +-!"); in parse_optflaglist() 350 error_exit("empty []"); in parse_optflaglist() 357 if (CFG_TOYBOX_DEBUG && !*options) error_exit("[ without ]"); in parse_optflaglist() 366 error_exit("[] unknown target %c", *options); in parse_optflaglist()
|
/third_party/skia/third_party/externals/zlib/contrib/bench/ |
D | zlib_bench.cc | 35 void error_exit(const char* error, int code) { in error_exit() function 90 error_exit("bad wrapper type", int(type)); in zlib_stream_wrapper_type() 101 error_exit("bad wrapper type", int(type)); in zlib_wrapper_name() 116 error_exit("bad strategy", zlib_strategy); in zlib_level_strategy_name() 139 error_exit("deflateInit2 failed", result); in zlib_compress() 151 error_exit("compress failed", result); in zlib_compress() 168 error_exit("inflateInit2 failed", result); in zlib_uncompress() 185 error_exit(error.c_str(), result); in zlib_uncompress()
|
/third_party/toybox/toys/other/ |
D | mkpasswd.c | 39 if (TT.S) error_exit("duplicate salt"); in mkpasswd_main() 43 if (-1 == (i = get_salt(salt, TT.m))) error_exit("bad -m"); in mkpasswd_main() 49 if (*s) error_exit("salt not in [./A-Za-z0-9]"); in mkpasswd_main()
|
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 | i2ctools.c | 86 if (!yesno(1)) error_exit("Exiting"); in confirm() 185 if (toys.optc) error_exit("-l doesn't take arguments"); in i2cdetect_main() 188 if (toys.optc != 1) error_exit("-F BUS"); in i2cdetect_main() 203 if (first > last) error_exit("first > last"); in i2cdetect_main() 304 if (toys.optc-4>I2C_SMBUS_BLOCK_MAX) error_exit("too much data"); in i2cset_main()
|
/third_party/toybox/toys/net/ |
D | netcat.c | 65 if (TT.w) error_exit("Timeout"); in timeout() 84 error_exit("socket path too long %s", name); in usock() 132 if (!FLAG(s)) error_exit("-s must be provided if using -U with -L/-l"); in netcat_main() 139 if (listen(sockfd, 5)) error_exit("listen"); in netcat_main()
|
D | ftpget.c | 64 if (total>=len) error_exit("overflow"); in xread2line() 119 if (toys.optc != 3) error_exit("-m FROM TO"); in ftpget_main() 158 else if (get) error_exit("no %s", remote); in ftpget_main() 194 if (lenl != lenr) error_exit("short %lld/%lld", lenl, lenr); in ftpget_main()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jerror.h | 236 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 240 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 245 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 251 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 258 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 267 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo))) 271 (*(cinfo)->err->error_exit) ((j_common_ptr)(cinfo)))
|
/third_party/toybox/toys/android/ |
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()
|