/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_namecheck.c | 118 *what = *loc; in zfs_component_namecheck() 146 *what = path[0]; in permset_namecheck() 186 EQUIV(why == NULL, what == NULL); in entity_namecheck() 231 *what = *loc; in entity_namecheck() 302 int ret = entity_namecheck(path, why, what); in dataset_namecheck() 307 *what = '#'; in dataset_namecheck() 321 int ret = entity_namecheck(path, why, what); in bookmark_namecheck() 326 *what = '#'; in bookmark_namecheck() 340 int ret = entity_namecheck(path, why, what); in snapshot_namecheck() 345 *what = '@'; in snapshot_namecheck() [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/usr.bin/posixmqcontrol/ |
H A D | posixmqcontrol.c | 460 return (what); in create() 475 return (what); in create() 484 return (what); in create() 530 return (what); in rm() 566 return (what); in info() 576 return (what); in info() 623 return (what); in recv() 635 return (what); in recv() 648 return (what); in recv() 669 return (what); in send() [all …]
|
/freebsd/tools/tools/ath/athregs/ |
H A D | dumpregs.c | 96 int what, c, i; in main() local 105 what = 0; in main() 111 what |= DUMP_ALL; in main() 120 what |= DUMP_DCU; in main() 129 what |= DUMP_BASIC; in main() 135 what |= DUMP_QCU; in main() 138 what |= DUMP_XR; in main() 161 if (what == 0) in main() 162 what = DUMP_BASIC; in main() 214 if (what & DUMP_BASIC) 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 | 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() 380 if (what & EV_READ) { in be_async_disable() 384 if (what & EV_WRITE) { in be_async_disable() 466 short what = BEV_EVENT_READING; in read_complete() local 486 what |= BEV_EVENT_ERROR; in read_complete() 490 what |= BEV_EVENT_EOF; in read_complete() 529 what |= BEV_EVENT_ERROR; in write_complete() [all …]
|
/freebsd/contrib/libevent/ |
H A D | bufferevent_async.c | 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() 380 if (what & EV_READ) { in be_async_disable() 384 if (what & EV_WRITE) { in be_async_disable() 466 short what = BEV_EVENT_READING; in read_complete() local 486 what |= BEV_EVENT_ERROR; in read_complete() 490 what |= BEV_EVENT_EOF; in read_complete() 529 what |= BEV_EVENT_ERROR; in write_complete() [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/usr.bin/stat/ |
H A D | stat.c | 559 fmtcase(what, SHOW_st_dev); in output() 560 fmtcase(what, SHOW_st_ino); in output() 561 fmtcase(what, SHOW_st_mode); 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() 570 fmtcase(what, SHOW_st_size); in output() 574 fmtcase(what, SHOW_st_gen); in output() 575 fmtcase(what, SHOW_symlink); in output() 615 int hilo, int what) in format1() argument [all …]
|
/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/sys/sys/ |
H A D | rangelock.h | 84 void _rangelock_cookie_assert(void *cookie, int what, const char *file, 89 #define rangelock_cookie_assert_(cookie, what, file, line) \ argument 90 _rangelock_cookie_assert((cookie), (what), (file), (line)) 92 #define rangelock_cookie_assert_(cookie, what, file, line) (void)0 argument 95 #define rangelock_cookie_assert(cookie, what) \ argument 96 rangelock_cookie_assert_((cookie), (what), __FILE__, __LINE__)
|
/freebsd/contrib/libcxxrt/ |
H A D | stdexcept.cc | 41 const char* exception::what() const throw() in what() function in std::exception 53 const char* bad_alloc::what() const throw() in what() function in std::bad_alloc 67 const char* bad_cast::what() const throw() in what() function in std::bad_cast 80 const char* bad_typeid::what() const throw() in what() function in std::bad_typeid 93 const char* bad_array_new_length::what() const throw() in what() function in std::bad_array_new_length
|
H A D | stdexcept.h | 42 virtual const char* what() const throw(); 56 virtual const char* what() const throw(); 68 virtual const char* what() const throw(); 81 virtual const char* what() const throw(); 91 virtual const char *what() const throw();
|
/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/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/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()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | error.h | 155 string what = string("in ") + func_name_; in report() local 158 __throw_filesystem_error(what, ec); in report() 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() local 176 __throw_filesystem_error(what, ec); in report_impl() 178 __throw_filesystem_error(what, *p1_, ec); in report_impl() 180 __throw_filesystem_error(what, *p1_, *p2_, ec); in report_impl()
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | exceptions_test.cpp | 57 std::string(e.what())); in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE_EQ("Some text (sqlite db: test.db)", std::string(e.what())); in ATF_TEST_CASE_BODY() 80 std::string(e.what())); in ATF_TEST_CASE_BODY() 104 std::string(e.what())); in ATF_TEST_CASE_BODY() 115 std::string(e.what())); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/utils/cmdline/ |
H A D | exceptions_test.cpp | 42 ATF_REQUIRE(std::strcmp("Some text", e.what()) == 0); in ATF_TEST_CASE_BODY() 51 e.what()) == 0); in ATF_TEST_CASE_BODY() 62 "--the_option: the reason", e.what()) == 0); in ATF_TEST_CASE_BODY() 72 ATF_REQUIRE(std::strcmp("Unknown option --foo", e.what()) == 0); in ATF_TEST_CASE_BODY()
|