/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_namecheck.c | 98 zfs_component_namecheck(const char *path, namecheck_err_t *why, char *what) in zfs_component_namecheck() argument 118 *what = *loc; in zfs_component_namecheck() 135 permset_namecheck(const char *path, namecheck_err_t *why, char *what) in permset_namecheck() argument 146 *what = path[0]; in permset_namecheck() 151 return (zfs_component_namecheck(&path[1], why, what)); in permset_namecheck() 182 entity_namecheck(const char *path, namecheck_err_t *why, char *what) in entity_namecheck() argument 186 EQUIV(why == NULL, what == NULL); in entity_namecheck() 231 *what = *loc; in entity_namecheck() 300 dataset_namecheck(const char *path, namecheck_err_t *why, char *what) in dataset_namecheck() argument 302 int ret = entity_namecheck(path, why, what); in dataset_namecheck() [all …]
|
/freebsd/usr.bin/posixmqcontrol/ |
H A D | posixmqcontrol.c | 457 errno_t what = errno; in create() local 459 warnc(what, "mq_open(create)"); in create() 460 return (what); in create() 471 errno_t what = errno; in create() local 473 warnc(what, "mq_getfd_np(create)"); in create() 475 return (what); in create() 480 errno_t what = errno; in create() local 482 warnc(what, "fstat(create)"); in create() 484 return (what); in create() 495 errno_t what = errno; in create() local [all …]
|
/freebsd/sys/fs/cuse/ |
H A D | cuse_defs.h | 81 #define CUSE_ID_DEFAULT(what) CUSE_MAKE_ID(0,0,what,0) argument 82 #define CUSE_ID_WEBCAMD(what) CUSE_MAKE_ID('W','C',what,0) /* Used by Webcamd. */ argument 83 #define CUSE_ID_SUNDTEK(what) CUSE_MAKE_ID('S','K',what,0) /* Used by Sundtek. */ argument 84 #define CUSE_ID_CX88(what) CUSE_MAKE_ID('C','X',what,0) /* Used by cx88 driver. */ argument 85 #define CUSE_ID_UHIDD(what) CUSE_MAKE_ID('U','D',what,0) /* Used by uhidd. */ argument
|
/freebsd/tools/tools/ath/athregs/ |
H A D | dumpregs.c | 60 static int ath_hal_anyregs(int what); 61 static int ath_hal_setupregs(struct ath_diag *atd, int what); 63 static void ath_hal_dumpregs(FILE *fd, int what); 66 static void ath_hal_dumpint(FILE *fd, int what); 67 static void ath_hal_dumpqcu(FILE *fd, int what); 68 static void ath_hal_dumpdcu(FILE *fd, int what); 69 static void ath_hal_dumpbb(FILE *fd, int what); 96 int what, c, i; in main() local 105 what = 0; in main() 111 what |= DUMP_ALL; in main() [all …]
|
/freebsd/crypto/openssl/ |
H A D | configdata.pm.in | 265 foreach my $what (@disablables) { 266 $longest = length($what) if $longest < length($what); 267 $longest2 = length($disabled{$what}) 268 if $disabled{$what} && $longest2 < length($disabled{$what}); 271 foreach my $what (@disablables) { 272 print " $what\n" unless $disabled{$what}; 275 foreach my $what (@disablables) { 276 if ($disabled{$what}) { 277 print " $what", ' ' x ($longest - length($what) + 1), 278 "[$disabled{$what}]", ' ' x ($longest2 - length($disabled{$what}) + 1); [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | xhcireg.h | 210 #define XREAD1(sc, what, a) \ argument 212 (a) + (sc)->sc_##what##_off) 213 #define XREAD2(sc, what, a) \ argument 215 (a) + (sc)->sc_##what##_off) 216 #define XREAD4(sc, what, a) \ argument 218 (a) + (sc)->sc_##what##_off) 219 #define XWRITE1(sc, what, a, x) \ argument 221 (a) + (sc)->sc_##what##_off, (x)) 222 #define XWRITE2(sc, what, a, x) \ argument 224 (a) + (sc)->sc_##what##_off, (x)) [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | modpipe.c | 45 enum { MOD_XOR, MOD_AND_OR } what; member 53 char what[16+1]; in parse_modification() local 58 what, &m->offset, &m1, &m2)) < 3) in parse_modification() 60 if (strcasecmp(what, "xor") == 0) { in parse_modification() 65 m->what = MOD_XOR; in parse_modification() 67 } else if (strcasecmp(what, "andor") == 0) { in parse_modification() 74 m->what = MOD_AND_OR; in parse_modification() 78 errx(1, "Invalid modification type \"%s\"", what); in parse_modification() 119 switch (mods[i].what) { in main()
|
/freebsd/contrib/kyua/utils/config/ |
H A D | exceptions_test.cpp | 45 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 57 ATF_REQUIRE(std::strcmp("Failed to combine 'first.second'", e.what()) == 0); in ATF_TEST_CASE_BODY() 65 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 78 e.what()) == 0); in ATF_TEST_CASE_BODY() 86 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 99 e.what()) == 0); in ATF_TEST_CASE_BODY() 111 ATF_REQUIRE(std::strcmp("The test '1.two' string", e.what()) == 0); in ATF_TEST_CASE_BODY() 119 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_async.c | 105 be_async_run_eventcb(struct bufferevent *bev, short what, int options) in be_async_run_eventcb() argument 106 { bufferevent_run_eventcb_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_run_eventcb() 109 be_async_trigger_nolock(struct bufferevent *bev, short what, int options) in be_async_trigger_nolock() argument 110 { bufferevent_trigger_nolock_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_trigger_nolock() 345 be_async_enable(struct bufferevent *buf, short what) in be_async_enable() argument 357 if (what & EV_READ) in be_async_enable() 359 if (what & EV_WRITE) in be_async_enable() 365 if (what & EV_READ) in be_async_enable() 367 if (what & EV_WRITE) in be_async_enable() 373 be_async_disable(struct bufferevent *bev, short what) in be_async_disable() argument [all …]
|
H A D | devpoll.c | 204 int what = events[i].revents; in devpoll_dispatch() local 206 if (what & POLLHUP) in devpoll_dispatch() 207 what |= POLLIN | POLLOUT; in devpoll_dispatch() 208 else if (what & POLLERR) in devpoll_dispatch() 209 what |= POLLIN | POLLOUT; in devpoll_dispatch() 211 if (what & POLLIN) in devpoll_dispatch() 213 if (what & POLLOUT) in devpoll_dispatch()
|
/freebsd/contrib/libevent/ |
H A D | bufferevent_async.c | 105 be_async_run_eventcb(struct bufferevent *bev, short what, int options) in be_async_run_eventcb() argument 106 { bufferevent_run_eventcb_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_run_eventcb() 109 be_async_trigger_nolock(struct bufferevent *bev, short what, int options) in be_async_trigger_nolock() argument 110 { bufferevent_trigger_nolock_(bev, what, options|BEV_TRIG_DEFER_CALLBACKS); } in be_async_trigger_nolock() 345 be_async_enable(struct bufferevent *buf, short what) in be_async_enable() argument 357 if (what & EV_READ) in be_async_enable() 359 if (what & EV_WRITE) in be_async_enable() 365 if (what & EV_READ) in be_async_enable() 367 if (what & EV_WRITE) in be_async_enable() 373 be_async_disable(struct bufferevent *bev, short what) in be_async_disable() argument [all …]
|
/freebsd/usr.bin/stat/ |
H A D | stat.c | 420 int flags, size, prec, ofmt, hilo, what; in output() local 558 fmtcase(what, SHOW_realpath); in output() 559 fmtcase(what, SHOW_st_dev); in output() 560 fmtcase(what, SHOW_st_ino); in output() 561 fmtcase(what, SHOW_st_mode); in output() 562 fmtcase(what, SHOW_st_nlink); in output() 563 fmtcase(what, SHOW_st_uid); in output() 564 fmtcase(what, SHOW_st_gid); in output() 565 fmtcase(what, SHOW_st_rdev); in output() 566 fmtcase(what, SHOW_st_atime); in output() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | syslogio.c | 173 sm_syslogsetinfo(fp, what, valp) in sm_syslogsetinfo() argument 175 int what; 178 switch (what) 206 sm_sysloggetinfo(fp, what, valp) in sm_sysloggetinfo() argument 208 int what; 211 switch (what)
|
/freebsd/sys/sys/ |
H A D | rangelock.h | 70 void _rangelock_cookie_assert(void *cookie, int what, const char *file, 75 #define rangelock_cookie_assert_(cookie, what, file, line) \ argument 76 _rangelock_cookie_assert((cookie), (what), (file), (line)) 78 #define rangelock_cookie_assert_(cookie, what, file, line) (void)0 argument 81 #define rangelock_cookie_assert(cookie, what) \ argument 82 rangelock_cookie_assert_((cookie), (what), __FILE__, __LINE__)
|
/freebsd/contrib/sendmail/src/ |
H A D | shmticklib.c | 35 shmtick(inc_me, what) 37 int what; variable 66 if (what >= STATUSD_LONGS) 67 what = STATUSD_LONGS - 1; 76 ++(sp->ul[what]);
|
/freebsd/usr.sbin/extattr/ |
H A D | rmextattr.c | 54 static enum { EADUNNO, EAGET, EASET, EARM, EALS } what = EADUNNO; variable 60 switch (what) { in usage() 130 what = EAGET; in main() 134 what = EASET; in main() 138 what = EARM; in main() 142 what = EALS; in main() 181 if (what == EASET && flag_from_stdin == 0) in main() 192 if (what != EALS) { in main() 198 if (what == EASET) { in main() 211 switch (what) { in main()
|
/freebsd/contrib/libcxxrt/ |
H A D | stdexcept.cc | 41 const char* exception::what() const _LIBCXXRT_NOEXCEPT in what() function in std::exception 53 const char* bad_alloc::what() const _LIBCXXRT_NOEXCEPT in what() function in std::bad_alloc 67 const char* bad_cast::what() const _LIBCXXRT_NOEXCEPT in what() function in std::bad_cast 80 const char* bad_typeid::what() const _LIBCXXRT_NOEXCEPT in what() function in std::bad_typeid 93 const char* bad_array_new_length::what() const _LIBCXXRT_NOEXCEPT in what() function in std::bad_array_new_length
|
H A D | stdexcept.h | 44 virtual const char* what() const _LIBCXXRT_NOEXCEPT; 58 virtual const char* what() const _LIBCXXRT_NOEXCEPT; 70 virtual const char* what() const _LIBCXXRT_NOEXCEPT; 83 virtual const char* what() const _LIBCXXRT_NOEXCEPT; 93 virtual const char *what() const _LIBCXXRT_NOEXCEPT;
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | exceptions_test.cpp | 45 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 54 e.what()) == 0); in ATF_TEST_CASE_BODY() 64 "The reason", e.what()) == 0); in ATF_TEST_CASE_BODY() 75 ATF_REQUIRE_EQ(expected, e.what()); in ATF_TEST_CASE_BODY() 84 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY()
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_main.c | 89 static int fuse_loader(struct module *m, int what, void *arg); 133 fuse_loader(struct module *m, int what, void *arg) in fuse_loader() argument 138 switch (what) { in fuse_loader() 152 if ((err = vfs_modevent(NULL, what, &fuse_vfsconf))) in fuse_loader() 156 if ((err = vfs_modevent(NULL, what, &fuse_vfsconf))) in fuse_loader()
|
/freebsd/contrib/pf/libevent/ |
H A D | evbuffer.c | 93 short what = EVBUFFER_READ; in bufferevent_readcb() local 98 what |= EVBUFFER_TIMEOUT; in bufferevent_readcb() 114 what |= EVBUFFER_ERROR; in bufferevent_readcb() 117 what |= EVBUFFER_EOF; in bufferevent_readcb() 148 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_readcb() 156 short what = EVBUFFER_WRITE; in bufferevent_writecb() local 159 what |= EVBUFFER_TIMEOUT; in bufferevent_writecb() 174 what |= EVBUFFER_ERROR; in bufferevent_writecb() 182 what |= EVBUFFER_EOF; in bufferevent_writecb() 207 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_writecb()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | exceptions_test.cpp | 94 ATF_REQUIRE(std::string(e.what()).find("System error 1") != in ATF_TEST_CASE_BODY() 97 ATF_FAIL(std::string("Got unexpected exception: ") + e.what()); in ATF_TEST_CASE_BODY() 113 ATF_FAIL(std::string("Got unexpected exception: ") + e.what()); in ATF_TEST_CASE_BODY() 128 const std::string msg = e.what(); in ATF_TEST_CASE_BODY() 131 ATF_FAIL(std::string("Got unexpected exception: ") + e.what()); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | error.h | 155 string what = string("in ") + func_name_; in report() 158 __throw_filesystem_error(what, ec); in report() local 160 __throw_filesystem_error(what, *p1_, ec); in report() 162 __throw_filesystem_error(what, *p1_, *p2_, ec); in report() 173 string what = string("in ") + func_name_ + ": " + detail::vformat_string(msg, ap); in report_impl() 176 __throw_filesystem_error(what, ec); in report_impl() local 178 __throw_filesystem_error(what, *p1_, ec); in report_impl() 180 __throw_filesystem_error(what, *p1_, *p2_, ec); in report_impl()
|
/freebsd/sbin/dhclient/ |
H A D | dispatch.c | 184 (*(t->func))(t->what); in dispatch() 366 add_timeout(time_t when_s, void (*where)(void *), void *what) in add_timeout() argument 369 add_timeout_timespec(when, where, what); in add_timeout() 373 add_timeout_timespec(struct timespec when, void (*where)(void *), void *what) in add_timeout_timespec() argument 380 if (q->func == where && q->what == what) { in add_timeout_timespec() 397 q->what = what; in add_timeout_timespec() 403 q->what = what; in add_timeout_timespec() 433 cancel_timeout(void (*where)(void *), void *what) in cancel_timeout() argument 440 if (q->func == where && q->what == what) { in cancel_timeout()
|
/freebsd/contrib/kyua/utils/text/ |
H A D | exceptions_test.cpp | 42 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 50 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 58 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 66 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY()
|