| /freebsd/crypto/krb5/src/util/ |
| H A D | cstyle-file.py | 59 def warn(ln, msg): function 94 warn(ln, 'Length exceeds 79 characters') 100 warn(ln, 'Tab character in file which does not allow tabs') 103 warn(ln, 'Tab character immediately following space') 105 warn(ln, '8+ spaces in file which uses tabs') 110 warn(ln, 'Trailing whitespace') 116 warn(ln, 'Multi-line comment begins after code') 120 warn(ln, 'Comment line does not have * aligned with top') 122 warn(ln, 'Garbage before * in comment line') 124 warn(ln, 'Code after end of multi-line comment') [all …]
|
| /freebsd/tools/regression/sockets/unix_bindconnect/ |
| H A D | unix_bindconnect.c | 91 warn("bind_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in bind_test() 97 warn("bind_test: snprintf(socket_path)"); in bind_test() 107 warn("bind_test: snprintf(sun.sun_path)"); in bind_test() 113 warn("bind_test: bind(sun) #1"); in bind_test() 130 warn("bind_test: bind(sun) #2"); in bind_test() 137 warn("bind_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in bind_test() 153 warn("bind_test: bind(sun) #2"); in bind_test() 172 warn("bind_test: bind(sun) #4"); in bind_test() 184 warn("bind_test: bind(sun) #5"); in bind_test() 202 warn("connect_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in connect_test() [all …]
|
| /freebsd/tests/sys/fifo/ |
| H A D | fifo_io.c | 174 warn("%s: fcntl(fd, F_GETFL)", testname); in set_nonblocking() 181 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_nonblocking() 195 warn("%s: fcntl(fd, F_GETFL)", testname); in set_blocking() 202 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_blocking() 228 warn("%s: drain_fd: read", testname); in drain_fd() 232 warn("%s: drain_fd: read: returned 0 bytes", testname); in drain_fd() 251 warn("test_simpleio: openfifo: testfifo"); in test_simpleio() 261 warn("test_simpleio: write"); in test_simpleio() 274 warn("test_simpleio: read"); in test_simpleio() 324 warn("%s: timed_write: sigaction", testname); in timed_write() [all …]
|
| H A D | fifo_misc.c | 112 warn("%s: openfifo", __func__); in test_lseek() 124 warn("%s: lseek returned instead of ESPIPE", __func__); in test_lseek() 142 warn("%s: truncate", __func__); in test_truncate() 158 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname, in test_ioctl_setclearflag() 166 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname, in test_ioctl_setclearflag() 187 warn("%s: openfifo", __func__); in test_ioctl() 239 warn("%s: openfifo", __func__); in test_chmodchown() 245 warn("%s: fchmod", __func__); in test_chmodchown() 251 warn("%s: stat", __func__); in test_chmodchown() 263 warn("%s: fstat", __func__); in test_chmodchown() [all …]
|
| /freebsd/bin/mv/ |
| H A D | mv.c | 174 warn("%s", from); in do_move() 222 warn("%s", from); in do_move() 228 warn("cannot resolve %s: %s", from, path); in do_move() 238 warn("rename %s to %s", from, to); in do_move() 248 warn("%s", from); in do_move() 267 warn("fastcopy: open() failed (from): %s", from); in fastcopy() 279 warn("fastcopy: open() failed (to): %s", to); in fastcopy() 285 warn("fastcopy: write() failed: %s", to); in fastcopy() 289 warn("fastcopy: read() failed: %s", from); in fastcopy() 291 warn("%s: remove", to); in fastcopy() [all …]
|
| /freebsd/contrib/kyua/admin/ |
| H A D | check-style-shell.awk | 29 function warn(msg) { function 63 warn("Variable should not start with an underline") 67 warn("Missing braces around variable name") 71 warn("Assignment to the empty string does not need quotes"); 75 warn("Use parameter expansion instead of basename"); 79 warn("Use [ instead of test"); 83 warn("test(1)'s == operator is not portable"); 87 warn("Avoid using a single-line if conditional"); 92 warn("Missing CHECK_STYLE_ENABLE");
|
| H A D | check-style-cpp.awk | 29 function warn(msg) { function 59 warn("Undesired usage of #ifdef; use #if defined()") 63 warn("Undesired usage of #ifndef; use #if !defined()") 67 warn("Use the macros in sanity.hpp instead of assert"); 71 warn("Do not include assert.h nor cassert"); 75 warn("Use \\n instead of std::endl"); 79 warn("Do not use multi-line C-style comments"); 84 warn("Missing CHECK_STYLE_ENABLE");
|
| H A D | check-style-common.awk | 29 function warn(msg) { function 58 warn("Line too long to fit on screen") 63 warn("Tab character used for indentation"); 67 warn("Trailing spaces or tabs"); 71 warn("Missing space after #!"); 76 warn("Missing CHECK_STYLE_ENABLE");
|
| /freebsd/contrib/libfido2/examples/ |
| H A D | util.c | 58 warn("open %s", path); in write_blob() 63 warn("write"); in write_blob() 91 warn("open %s", path); in read_blob() 95 warn("stat %s", path); in read_blob() 104 warn("malloc"); in read_blob() 108 warn("read"); in read_blob() 138 warn("fopen"); in read_ec_pubkey() 182 warn("open %s", path); in write_es256_pubkey() 187 warn("fdopen"); in write_es256_pubkey() 239 warn("open %s", path); in write_es384_pubkey() [all …]
|
| /freebsd/usr.sbin/sa/ |
| H A D | db.c | 72 warn("retrieving %s summary", uname); in db_copy_in() 86 warn("get version key from %s stats", uname); in db_copy_in() 115 warn("converting %s stats", uname); in db_copy_in() 122 warn("initializing %s stats", uname); in db_copy_in() 128 warn("retrieving %s summary", uname); in db_copy_in() 134 warn("closing %s summary", uname); in db_copy_in() 156 warn("creating %s summary", uname); in db_copy_out() 165 warn("saving %s summary", uname); in db_copy_out() 171 warn("retrieving %s stats", uname); in db_copy_out() 183 warn("add version record to %s stats", uname); in db_copy_out() [all …]
|
| /freebsd/bin/cp/ |
| H A D | utils.c | 115 warn("%s", entp->fts_path); in copy_file() 175 warn("%s%s", to.base, to.path); in copy_file() 183 warn("%s%s", to.base, to.path); in copy_file() 201 warn("%s%s", to.base, to.path); in copy_file() 229 warn("%s", entp->fts_path); in copy_file() 244 warn("%s%s", to.base, to.path); in copy_file() 267 warn("readlink: %s", p->fts_path); in copy_link() 272 warn("unlink: %s%s", to.base, to.path); in copy_link() 276 warn("symlink: %s", llink); in copy_link() 293 warn("unlink: %s%s", to.base, to.path); in copy_fifo() [all …]
|
| /freebsd/usr.sbin/mfiutil/ |
| H A D | mfi_properties.c | 75 warn("mfi_ctrl_set_rebuild_rate"); in mfi_ctrl_rebuild_rate() 82 warn("mfi_open"); in mfi_ctrl_rebuild_rate() 89 warn("Failed to get controller properties"); in mfi_ctrl_rebuild_rate() 101 warn("Failed to set controller properties"); in mfi_ctrl_rebuild_rate() 109 warn("Failed to get controller properties"); in mfi_ctrl_rebuild_rate() 127 warn("mfi_ctrl_alarm_enable"); in mfi_ctrl_alarm_enable() 134 warn("mfi_open"); in mfi_ctrl_alarm_enable() 141 warn("Failed to get controller properties"); in mfi_ctrl_alarm_enable() 153 warn("Failed to set controller properties"); in mfi_ctrl_alarm_enable() 161 warn("Failed to get controller properties"); in mfi_ctrl_alarm_enable()
|
| H A D | mfi_patrol.c | 58 warn("Couldn't fetch adapter time"); in mfi_get_time() 71 warn("Failed to get patrol read properties"); in patrol_get_props() 93 warn("mfi_open"); in show_patrol() 133 warn("Failed to get patrol read properties"); in show_patrol() 159 warn("Failed to get drive list"); in show_patrol() 171 warn("Failed to fetch info for drive %u", in show_patrol() 203 warn("mfi_open"); in start_patrol() 210 warn("Failed to start patrol read"); in start_patrol() 229 warn("mfi_open"); in stop_patrol() 236 warn("Failed to stop patrol read"); in stop_patrol() [all …]
|
| H A D | mfi_show.c | 70 warn("mfi_open"); in show_adapter() 76 warn("Failed to get controller info"); in show_adapter() 159 warn("mfi_open"); in show_battery() 166 warn("Failed to get capacity info"); in show_battery() 180 warn("Failed to get design info"); in show_battery() 188 warn("Failed to get status"); in show_battery() 195 warn("Failed to get properties"); in show_battery() 363 warn("mfi_open"); in show_config() 370 warn("Failed to get config"); in show_config() 464 warn("mfi_open"); in show_volumes() [all …]
|
| /freebsd/usr.sbin/pw/ |
| H A D | cpdir.c | 59 warn("mkdir(%s)", dir); in copymkdir() 65 warn("chmod(%s)", dir); in copymkdir() 68 warn("chown(%s)", dir); in copymkdir() 71 warn("chflags(%s)", dir); in copymkdir() 101 warn("openat(%s)", e->d_name); in copymkdir() 114 warn("symlink(%s)", path); in copymkdir() 117 warn("chown(%s)", path); in copymkdir() 140 warn("copy_file_range"); in copymkdir() 147 warn("chown(%s)", p); in copymkdir() 149 warn("chflags(%s)", p); in copymkdir()
|
| /freebsd/lib/libc/gen/ |
| H A D | err.3 | 38 .Nm warn , 62 .Fn warn "const char *fmt" "..." 84 .Fn warn 103 .Fn warn , 131 .Fn warn , 190 Warn of an error: 199 Warn of an error without using the global variable 216 .Fn warn 228 .Fn warn
|
| /freebsd/usr.sbin/apmd/contrib/ |
| H A D | pccardq.c | 79 warn("socket"); in connect_to_pccardd() 88 warn("bind: %s", pccardq.sun_path); in connect_to_pccardd() 92 warn("strdup"); in connect_to_pccardd() 105 warn("connect: %s", pccardd_file); in connect_to_pccardd() 123 warn("write"); in get_slot_number() 131 warn("read"); in get_slot_number() 172 warn("write"); in get_slot_info() 180 warn("read"); in get_slot_info() 201 warn("strdup"); in get_slot_info() 205 warn("strdup"); in get_slot_info() [all …]
|
| /freebsd/usr.sbin/mptutil/ |
| H A D | mpt_config.c | 113 warn("Unable to lock volume %s", qd.devname); in mpt_lock_volume() 129 warn("Unable to lock disk %s", disk->devname); in mpt_lock_physdisk() 240 warn("mpt_open"); in clear_config() 247 warn("Failed to fetch volume list"); in clear_config() 292 warn("Failed to fetch spare list"); in clear_config() 297 warn("Failed to delete physical disk %d", in clear_config() 305 warn("Failed to fetch drive list"); in clear_config() 310 warn("Failed to delete physical disk %d", in clear_config() 424 warn("Unable to lookup drive %s", cp); in parse_volume() 454 warn( in add_drives() [all …]
|
| /freebsd/libexec/rc/rc.d/ |
| H A D | cfumass | 50 warn "${cfumass_dir} does not exist" 61 warn "unable to create ${cfumass_image}" 73 warn "unable to create CTL LUN" 87 warn "unable to set hw.usb.template sysctl" 102 warn "hw.usb.template sysctl set to neither -1 nor 8; not changing" 111 warn "unable to set hw.usb.template sysctl to ${_new_template}" 132 warn "hw.usb.template sysctl set to neither 0 nor 10; not changing" 141 warn "unable to set hw.usb.template sysctl to ${_new_template}"
|
| H A D | pflog | 33 warn "could not create $pflog_dev." 40 warn "could not bring up $pflog_dev." 57 warn "could not bring down $pflog_dev." 85 # Check that required vars have non-zero length, warn if not. 87 warn "pflog_dev not set" 91 warn "pflog_logfile not set"
|
| /freebsd/usr.sbin/mlx5tool/ |
| H A D | mlx5tool.c | 89 warn("open %s", dumpname); in mlx5tool_save_dump() 97 warn("MLX5_FWDUMP_GET dumpsize"); in mlx5tool_save_dump() 102 warn("alloc rege"); in mlx5tool_save_dump() 112 warn("MLX5_FWDUMP_GET dump fetch"); in mlx5tool_save_dump() 129 warn("MLX5_FWDUMP_RESET"); in mlx5tool_dump_reset() 140 warn("MLX5_FWDUMP_FORCE"); in mlx5tool_dump_force() 157 warn("Unable to open %s", img_fw_path); in mlx5tool_fw_update() 163 warn("Unable to stat %s", img_fw_path); in mlx5tool_fw_update() 172 warn("Unable to mmap %s", img_fw_path); in mlx5tool_fw_update() 180 warn("MLX5_FW_UPDATE"); in mlx5tool_fw_update() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | rohm,bd96801-pmic.yaml | 103 regulator-temp-warn-kelvin = <0>; 114 regulator-temp-warn-kelvin = <1>; 122 regulator-ov-warn-microvolt = <18000>; 123 regulator-uv-warn-microvolt = <18000>; 133 regulator-ov-warn-microvolt = <18000>; 134 regulator-uv-warn-microvolt = <18000>; 147 regulator-temp-warn-kelvin = <0>; 158 regulator-temp-warn-kelvin = <0>; 169 regulator-temp-warn-kelvin = <0>;
|
| /freebsd/tools/tools/ansify/ |
| H A D | ansify.pl | 64 warn("[$fn:$line] $func(): can't parse argument list\n"); 76 warn("[$fn:$line] $func(): unknown type for '$arg' argument\n"); 96 warn("[$fn:$line] $func(): too many arguments\n"); 103 # warn about long lines so they can be fixed up manually 104 warn("[$fn:$line] $func(): definition exceeds 80 characters\n") 126 warn("$fn: $!\n"); 130 warn("$fn.ansify: $!\n"); 133 warn("$fn: $!\n");
|
| /freebsd/usr.sbin/cpucontrol/ |
| H A D | cpucontrol.c | 139 WARN(0, "error opening %s for reading", dev); in do_cpuid() 144 WARN(0, "ioctl(%s, CPUCTL_CPUID)", dev); in do_cpuid() 189 WARN(0, "error opening %s for reading", dev); in do_cpuid_count() 194 WARN(0, "ioctl(%s, CPUCTL_CPUID_COUNT)", dev); in do_cpuid_count() 303 WARN(0, "error opening %s for %s", dev, in do_msr() 309 WARN(0, "ioctl(%s, CPUCTL_%s (%#x))", dev, command_name, msr); in do_msr() 329 WARN(0, "error opening %s for writing", dev); in do_eval_cpu_features() 334 WARN(0, "ioctl(%s, CPUCTL_EVAL_CPU_FEATURES)", dev); in do_eval_cpu_features() 354 WARN(0, "openat(%s, %s)", dpath, fname); in try_a_fw_image() 367 WARN(0, "fstat(%s)", fw_path); in try_a_fw_image() [all …]
|
| /freebsd/tools/regression/netinet/msocket_ifnet_remove/ |
| H A D | msocket_ifnet_remove.c | 79 warn("disc_setup: kldload(if_disc)"); in disc_setup() 86 warn("disc_setup: socket(PF_INET, SOCK_RAW, 0)"); in disc_setup() 95 warn("disc_setup: ioctl(%s, SIOCIFCREATE)", ifr.ifr_name); in disc_setup() 112 warn("disc_done: socket(PF_INET, SOCK_RAW, 0)"); in disc_done() 121 warn("disc_done: ioctl(%s, SIOCIFDESTROY)", ifr.ifr_name); in disc_done() 137 warn("ifconfig_inet: socket(PF_INET, SOCK_RAW, 0)"); in ifconfig_inet() 156 warn("ifconfig_inet: ioctl(%s%d, SIOCAIFADDR, %s)", ifname, in ifconfig_inet() 174 warn("multicast_test: socket(PF_INET, %s, 0)", type_string); in multicast_open() 184 warn("multicast_test: setsockopt(IPPROTO_IP, " in multicast_open()
|