| /freebsd-src/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-src/bin/cp/ |
| H A D | utils.c | 114 warn("%s", entp->fts_path); in copy_file() 172 warn("%s", to.p_path); in copy_file() 180 warn("%s", to.p_path); in copy_file() 195 warn("%s", to.p_path); in copy_file() 223 warn("%s", entp->fts_path); in copy_file() 238 warn("%s", to.p_path); in copy_file() 260 warn("readlink: %s", p->fts_path); in copy_link() 265 warn("unlink: %s", to.p_path); in copy_link() 269 warn("symlink: %s", llink); in copy_link() 285 warn("unlink: %s", to.p_path); in copy_fifo() [all …]
|
| /freebsd-src/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-src/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-src/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(" in fastcopy() [all...] |
| /freebsd-src/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-src/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-src/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() 361 warn("mfi_open"); in show_config() 368 warn("Failed to get config"); in show_config() 462 warn("mfi_open"); in show_volumes() [all …]
|
| /freebsd-src/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-src/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-src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafety.h | 83 /// This enum distinguishes between different situations where we warn due to 106 /// Warn about lock expressions which fail to resolve to lockable objects. 110 /// Warn about unlock function calls that do not have a prior matching lock 121 /// Warn about an unlock function call that attempts to unlock a lock with 136 /// Warn about lock function calls for locks which are already held. 146 /// Warn about situations where a mutex is sometimes held and sometimes not. 158 /// \param LEK -- which of the three above cases we should warn for 164 /// Warn when a mutex is held exclusively and shared at the same point. For 176 /// Warn when a protected operation occurs while no locks are held. 184 /// Warn when a protected operation occurs while the specific mutex protecting [all …]
|
| /freebsd-src/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-src/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-src/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-src/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-src/contrib/libxo/libxo/ |
| H A D | xo_options.7 | 61 .It "warn " "Emit warnings when libxo detects bad calls" 62 .It "warn\-xml " "Emit warnings in XML" 84 .It "W " "warn" 128 .Fa warn 132 .Fa warn\-xml causes those warnings to be placed in 139 ps \-\-libxo json,pretty,warn \-ux
|
| /freebsd-src/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()
|
| /freebsd-src/contrib/llvm-project/lld/docs/ELF/ |
| H A D | warn_backrefs.rst | 1 --warn-backrefs 4 ``--warn-backrefs`` gives a warning when an undefined symbol reference is 37 The ``warn-backrefs`` option provides information that helps identify cases 40 | % ld.lld --warn-backrefs ... -lB -lA 43 | % ld.lld --warn-backrefs ... --start-lib B/b.o --end-lib --start-lib A/a.o --end-lib 46 …# To suppress the warning, you can specify --warn-backrefs-exclude=<glob> to match B/b.o or B.a(b.… 48 The ``--warn-backrefs`` option can also provide a check to enforce a 90 * ``A.a B A2.a``: similar to the above case but ``--warn-backrefs`` does not
|
| /freebsd-src/usr.sbin/mpsutil/ |
| H A D | mps_set.c | 57 warn("mps_open"); in set_ncq() 65 warn("Failed to get IOUNIT page 1 header"); in set_ncq() 72 warn("Failed to get IOUNIT page 1 info"); in set_ncq() 89 warn("set ncq: Only 'enable' and 'disable' allowed."); in set_ncq() 102 warn("Failed to update config page"); in set_ncq() 108 warn("%s", mps_ioc_status(reply.IOCStatus)); in set_ncq() 115 warn("set ncq: too many arguments"); in set_ncq()
|