Home
last modified time | relevance | path

Searched refs:ncomponents (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/kyua/utils/fs/
H A Dpath_test.cpp134 ATF_TEST_CASE_WITHOUT_HEAD(ncomponents);
135 ATF_TEST_CASE_BODY(ncomponents) in ATF_TEST_CASE_BODY() argument
137 ATF_REQUIRE_EQ(1, path(".").ncomponents()); in ATF_TEST_CASE_BODY()
138 ATF_REQUIRE_EQ(1, path("/").ncomponents()); in ATF_TEST_CASE_BODY()
140 ATF_REQUIRE_EQ(1, path("abc").ncomponents()); in ATF_TEST_CASE_BODY()
141 ATF_REQUIRE_EQ(1, path("abc/").ncomponents()); in ATF_TEST_CASE_BODY()
143 ATF_REQUIRE_EQ(2, path("/abc").ncomponents()); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE_EQ(3, path("/abc/def").ncomponents()); in ATF_TEST_CASE_BODY()
146 ATF_REQUIRE_EQ(2, path("abc/def").ncomponents()); in ATF_TEST_CASE_BODY()
267 ATF_ADD_TEST_CASE(tcs, ncomponents); in ATF_INIT_TEST_CASES()
H A Dpath.hpp71 int ncomponents(void) const;
H A Dpath.cpp191 fs::path::ncomponents(void) const in ncomponents() function in fs::path
/freebsd/crypto/heimdal/lib/krb5/
H A Dparse-name-test.c42 unsigned ncomponents; member
98 if (t->ncomponents != princ->name.name_string.len) { in main()
101 princ->name.name_string.len, t->ncomponents, in main()
105 for (i = 0; i < t->ncomponents; ++i) { in main()
/freebsd/contrib/kyua/model/
H A Dmetadata.cpp233 if (!path.is_absolute() && path.ncomponents() > 1) in validate()