Home
last modified time | relevance | path

Searched refs:is_root (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/bsd/atf/dist/tools/
H A Duser_test.cpp105 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 Dfs_test.cpp129 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 Drequirements.cpp187 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 Duser.hpp46 bool is_root(void);
H A Duser.cpp93 impl::is_root(void) in is_root() function in impl
H A Drequirements_test.cpp320 if (tools::user::is_root()) in ATF_TEST_CASE_BODY()
331 if (tools::user::is_root()) in ATF_TEST_CASE_BODY()
H A Dfs.hpp129 bool is_root(void) const;
H A Dfs.cpp96 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 Duser_test.c110 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 Dfs_test.cpp120 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 Dfs.hpp152 bool is_root(void) const;
H A Dfs.cpp167 impl::path::is_root(void) in is_root() function in impl::path
/netbsd-src/external/bsd/kyua-cli/dist/utils/
H A Dpasswd_test.cpp60 ATF_REQUIRE(user.is_root()); in ATF_TEST_CASE_BODY()
68 ATF_REQUIRE(!user.is_root()); in ATF_TEST_CASE_BODY()
H A Dpasswd.hpp56 bool is_root(void) const;
H A Dpasswd.cpp92 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 Drbt.c170 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 Dmsdosfs_denode.c212 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 Drbt.c245 #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 Drbt.h85 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 Drbt.h95 unsigned int is_root : 1; /*%< range is 0..1 */ member
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Dmessage_queue.c80 (*new_bc)->is_root = be_isroot( op ); in asyncmeta_new_bm_context()
H A Ddelete.c68 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root, &ctrls ) != LDAP_SUCCESS ) in asyncmeta_back_delete_start()
H A Dcompare.c74 if ( asyncmeta_controls_add( op, rs, mc, candidate, bc->is_root,&ctrls ) != LDAP_SUCCESS ) in asyncmeta_back_compare_start()
H A Dmodrdn.c127 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 Dmetadata.cpp426 if (!user.is_root()) in check_required_user()
429 if (user.is_root()) in check_required_user()

12