| /netbsd-src/external/bsd/atf/dist/tools/ |
| H A D | user_test.cpp | 105 ATF_TEST_CASE(is_root); 106 ATF_TEST_CASE_HEAD(is_root) in ATF_TEST_CASE_HEAD() argument 110 ATF_TEST_CASE_BODY(is_root) in ATF_TEST_CASE_BODY() argument 112 using tools::user::is_root; in ATF_TEST_CASE_BODY() 115 ATF_REQUIRE(is_root()); in ATF_TEST_CASE_BODY() 117 ATF_REQUIRE(!is_root()); in ATF_TEST_CASE_BODY() 146 ATF_ADD_TEST_CASE(tcs, is_root); in ATF_INIT_TEST_CASES()
|
| H A D | fs_test.cpp | 129 ATF_REQUIRE( path("/").is_root()); in ATF_TEST_CASE_BODY() 130 ATF_REQUIRE( path("////").is_root()); in ATF_TEST_CASE_BODY() 131 ATF_REQUIRE(!path("////a").is_root()); in ATF_TEST_CASE_BODY() 132 ATF_REQUIRE(!path("//a//").is_root()); in ATF_TEST_CASE_BODY() 133 ATF_REQUIRE(!path("a////").is_root()); in ATF_TEST_CASE_BODY() 134 ATF_REQUIRE(!path("../foo").is_root()); in ATF_TEST_CASE_BODY() 620 ATF_REQUIRE(tools::user::is_root()); in ATF_TEST_CASE_BODY() 622 ATF_REQUIRE(!tools::user::is_root()); in ATF_TEST_CASE_BODY()
|
| H A D | requirements.cpp | 187 if (!tools::user::is_root()) in check_user() 192 if (tools::user::is_root()) { in check_user() 263 if (tools::user::is_root()) { in get_required_user()
|
| H A D | user.hpp | 46 bool is_root(void);
|
| H A D | user.cpp | 93 impl::is_root(void) in is_root() function in impl
|
| H A D | requirements_test.cpp | 320 if (tools::user::is_root()) in ATF_TEST_CASE_BODY() 331 if (tools::user::is_root()) in ATF_TEST_CASE_BODY()
|
| H A D | fs.hpp | 129 bool is_root(void) const;
|
| H A D | fs.cpp | 96 if (tools::user::is_root()) { in eaccess() 333 impl::path::is_root(void) in is_root() function in impl::path
|
| /netbsd-src/external/bsd/atf/dist/atf-c/detail/ |
| H A D | user_test.c | 110 ATF_TC(is_root); 111 ATF_TC_HEAD(is_root, tc) in ATF_TC_HEAD() argument 115 ATF_TC_BODY(is_root, tc) in ATF_TC_BODY() argument 145 ATF_TP_ADD_TC(tp, is_root); in ATF_TP_ADD_TCS()
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
| H A D | fs_test.cpp | 120 ATF_REQUIRE( path("/").is_root()); in ATF_TEST_CASE_BODY() 121 ATF_REQUIRE( path("////").is_root()); in ATF_TEST_CASE_BODY() 122 ATF_REQUIRE(!path("////a").is_root()); in ATF_TEST_CASE_BODY() 123 ATF_REQUIRE(!path("//a//").is_root()); in ATF_TEST_CASE_BODY() 124 ATF_REQUIRE(!path("a////").is_root()); in ATF_TEST_CASE_BODY() 125 ATF_REQUIRE(!path("../foo").is_root()); in ATF_TEST_CASE_BODY()
|
| H A D | fs.hpp | 152 bool is_root(void) const;
|
| H A D | fs.cpp | 167 impl::path::is_root(void) in is_root() function in impl::path
|
| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | passwd_test.cpp | 60 ATF_REQUIRE(user.is_root()); in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE(!user.is_root()); in ATF_TEST_CASE_BODY()
|
| H A D | passwd.hpp | 56 bool is_root(void) const;
|
| H A D | passwd.cpp | 92 passwd_ns::user::is_root(void) const in is_root() function in passwd_ns::user
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | rbt.c | 170 if (node->is_root) { 461 new_current->is_root = 1; in dns_rbt_addnode() 478 INSIST((*root)->is_root); in dns_rbt_addnode() 538 ((*root)->is_root && in dns_rbt_addnode() 585 new_current->is_root = current->is_root; in dns_rbt_addnode() 625 current->is_root = 1; in dns_rbt_addnode() 810 INSIST(current->is_root); in dns_rbt_findnode() 1662 if (node->is_root) { in hashtable_free() 1664 child->is_root in hashtable_free() [all...] |
| /netbsd-src/sys/fs/msdosfs/ |
| H A D | msdosfs_denode.c | 212 bool is_root; in msdosfs_loadvnode() local 226 is_root = ((dkey.dk_dirclust == MSDOSFSROOT || in msdosfs_loadvnode() 251 if (is_root) { in msdosfs_loadvnode() 319 if (is_root) in msdosfs_loadvnode()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | rbt.c | 245 #define IS_ROOT(node) ((node)->is_root) 1253 new_current->is_root = 1; in dns_rbt_addnode() 1385 new_current->is_root = current->is_root; in dns_rbt_addnode() 1425 current->is_root = 1; in dns_rbt_addnode() 2295 node->is_root = 0; in create_node() 2500 child->is_root = 1; in rotate_left() 2501 node->is_root = 0; in rotate_left() 2533 child->is_root = 1; in rotate_right() 2534 node->is_root = 0; in rotate_right() 2568 node->is_root = 1; in addonlevel() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/ |
| H A D | rbt.h | 85 unsigned int is_root : 1; /*%< range is 0..1 */ 94 unsigned int is_root : 1; /*%< range is 0..1 */ global() member
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
| H A D | rbt.h | 95 unsigned int is_root : 1; /*%< range is 0..1 */ member
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/ |
| H A D | message_queue.c | 80 (*new_bc)->is_root = be_isroot( op ); in asyncmeta_new_bm_context()
|
| H A D | delete.c | 68 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls ) != LDAP_SUCCESS ) in asyncmeta_back_delete_start()
|
| H A D | compare.c | 74 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root,&ctrls ) != LDAP_SUCCESS ) in asyncmeta_back_compare_start()
|
| H A D | modrdn.c | 127 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls ) != LDAP_SUCCESS ) in asyncmeta_back_modrdn_start()
|
| /netbsd-src/external/bsd/kyua-cli/dist/engine/ |
| H A D | metadata.cpp | 426 if (!user.is_root()) in check_required_user() 429 if (user.is_root()) in check_required_user()
|