| /src/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 …]
|
| /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 …]
|
| /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("%s: remove", to); in fastcopy() [all …]
|
| /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 …]
|
| /src/contrib/kyua/admin/ |
| 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");
|
| /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 …]
|
| /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_drive.c | 78 warn("mfi_open"); in mfi_drive_name() 84 warn("Failed to fetch info for drive %2u", device_id); in mfi_drive_name() 195 warn("Failed to fetch drive list"); in mfi_lookup_drive() 382 warn("mfi_open"); in drive_set_state() 395 warn("Failed to fetch info for drive %u", device_id); in drive_set_state() 413 warn("Failed to set drive %u to %s", device_id, in drive_set_state() 497 warn("mfi_open"); in start_rebuild() 510 warn("Failed to fetch info for drive %u", device_id); in start_rebuild() 527 warn("Failed to start rebuild on drive %u", device_id); in start_rebuild() 554 warn("mfi_open"); in abort_rebuild() [all …]
|
| /src/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() 232 warn("%s", entp->fts_path); in copy_file() 247 warn("%s%s", to.base, to.path); in copy_file() 270 warn("readlink: %s", p->fts_path); in copy_link() 275 warn("unlink: %s%s", to.base, to.path); in copy_link() 279 warn("symlink: %s", llink); in copy_link() 296 warn("unlink: %s%s", to.base, to.path); in copy_fifo() [all …]
|
| /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 …]
|
| /src/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()
|
| /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 …]
|
| /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()
|
| /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}"
|
| /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 …]
|
| /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 …]
|
| /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()
|
| H A D | mps_show.c | 84 warn("mps_open"); in show_adapter() 91 warn("Failed to get controller info"); in show_adapter() 108 warn("Failed to get BIOS page 3 info"); in show_adapter() 134 warn("Failed to get IOUNIT page 1 info"); in show_adapter() 145 warn("Failed to get IOUNIT page 7 info"); in show_adapter() 162 warn("mps_open"); in show_adapter() 171 warn("Error retrieving SAS IO Unit page %d", IOCStatus); in show_adapter() 182 warn("Error retrieving SAS IO Unit page %d", IOCStatus); in show_adapter() 243 warn("mps_open"); in show_iocfacts() 331 warn("Faled to get controller iocfacts"); in show_adapters() [all …]
|
| /src/sbin/ifconfig/ |
| H A D | af_nd6.c | 87 warn("ioctl(SIOCGIFINFO_IN6)"); in setnd6flags() 96 warn("ioctl(SIOCSIFINFO_IN6)"); in setnd6flags() 115 warn("if_nametoindex(%s)", ndifreq.ifname); in setnd6defif() 122 warn("ioctl(SIOCSDEFIFACE_IN6)"); in setnd6defif() 137 warn("ioctl(SIOCGDEFIFACE_IN6)"); in isnd6defif() 155 warn("socket(AF_INET6, SOCK_DGRAM)"); in nd6_status() 161 warn("ioctl(SIOCGIFINFO_IN6)"); in nd6_status()
|
| /src/bin/ln/ |
| H A D | ln.c | 236 warn("%s", source); in linkit() 242 warn("%s", source); in linkit() 272 warn("%s", source); in linkit() 286 warn("warning: %s inaccessible", source); in linkit() 299 warn("warning: %s", source); in linkit() 322 warn("%s", target); in linkit() 326 warn("%s", target); in linkit() 343 warn("%s", target); in linkit() 347 warn("%s", target); in linkit() 356 warn("%s", target); in linkit()
|
| /src/usr.bin/mkuzip/ |
| H A D | mkuz_insize.c | 49 warn("fstat(%s)", cfp->iname); in mkuz_get_insize() 54 warn("fstatfs(%s)", cfp->iname); in mkuz_get_insize() 59 warn("open(%s, O_RDONLY)", statfsbuf.f_mntfromname); in mkuz_get_insize() 63 warn("ioctl(DIOCGMEDIASIZE)"); in mkuz_get_insize() 71 warn("ioctl(DIOCGMEDIASIZE)"); in mkuz_get_insize()
|
| /src/usr.bin/posixshmcontrol/ |
| H A D | posixshmcontrol.c | 69 warn("create %s", path); in create_one_shm() 76 warn("shm_create_largepage %s psind %d", path, idx); in create_one_shm() 172 warn("unlink of %s failed", path); in delete_one_shm() 277 warn("cannot translate %s", listmib); in list_shm() 283 warn("cannot get %s length", listmib); in list_shm() 289 warn("malloc"); in list_shm() 294 warn("reading %s", listmib); in list_shm() 309 warn("open %s", kif->kf_path); in list_shm() 317 warn("stat %s", kif->kf_path); in list_shm() 355 warn("open %s", path); in read_one_shm() [all …]
|