Home
last modified time | relevance | path

Searched refs:leaf_name (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/kyua/utils/fs/
H A Dpath_test.cpp161 ATF_TEST_CASE_WITHOUT_HEAD(leaf_name);
162 ATF_TEST_CASE_BODY(leaf_name) in ATF_TEST_CASE_BODY() argument
164 ATF_REQUIRE_EQ(".", path(".").leaf_name()); in ATF_TEST_CASE_BODY()
165 ATF_REQUIRE_EQ("foo", path("foo").leaf_name()); in ATF_TEST_CASE_BODY()
166 ATF_REQUIRE_EQ("bar", path("foo/bar").leaf_name()); in ATF_TEST_CASE_BODY()
167 ATF_REQUIRE_EQ("foo", path("/foo").leaf_name()); in ATF_TEST_CASE_BODY()
168 ATF_REQUIRE_EQ("bar", path("/foo/bar").leaf_name()); in ATF_TEST_CASE_BODY()
269 ATF_ADD_TEST_CASE(tcs, leaf_name); in ATF_INIT_TEST_CASES()
H A Dpath.hpp66 std::string leaf_name(void) const;
H A Dpath.cpp138 fs::path::leaf_name(void) const in leaf_name() function in fs::path
H A Dlua_module.cpp114 state.push_string(path.leaf_name().c_str()); in lua_fs_basename()
H A Doperations_test.cpp442 ATF_REQUIRE(lookup("tmp", tempdir.leaf_name().c_str(), S_IFDIR)); in ATF_TEST_CASE_BODY()
564 ATF_REQUIRE(lookup("tmp", tempfile.leaf_name().c_str(), S_IFREG)); in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs_test.cpp150 ATF_REQUIRE_EQ(path(".").leaf_name(), "."); in ATF_TEST_CASE_BODY()
151 ATF_REQUIRE_EQ(path("foo").leaf_name(), "foo"); in ATF_TEST_CASE_BODY()
152 ATF_REQUIRE_EQ(path("foo/bar").leaf_name(), "bar"); in ATF_TEST_CASE_BODY()
153 ATF_REQUIRE_EQ(path("/foo").leaf_name(), "foo"); in ATF_TEST_CASE_BODY()
154 ATF_REQUIRE_EQ(path("/foo/bar").leaf_name(), "bar"); in ATF_TEST_CASE_BODY()
H A Dfs.hpp130 std::string leaf_name(void) const;
H A Dprocess_test.cpp64 argv.push_back(get_process_helpers_path(tc, true).leaf_name()); in exec_process_helpers()
H A Dfs.cpp186 impl::path::leaf_name(void) in leaf_name() function in impl::path
/freebsd/contrib/kyua/utils/cmdline/
H A Dglobals.cpp62 Progname = utils::fs::path(argv0).leaf_name(); in init()
H A Doptions_test.cpp400 ATF_REQUIRE_EQ("bar", path.leaf_name()); // Ensure valid type. in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/utils/
H A Dstacktrace.cpp211 (program.leaf_name().substr(0, max_core_name_length) + ".core")); in find_core()
214 (program.leaf_name().substr(0, max_core_name_length) + ".core")); in find_core()
H A Dstacktrace_test.cpp91 _copy_name(copy_name_.empty() ? binary_.leaf_name() : copy_name_) in crash_me()
/freebsd/contrib/kyua/engine/
H A Dtap_helpers.cpp182 const std::string& test_scenario = fs::path(argv[0]).leaf_name(); in main()
H A Dplain_helpers.cpp74 return fs::path(arg0).leaf_name(); in guess_test_case_name()
H A Dkyuafile.cpp335 else if (raw_path.str() != raw_path.leaf_name()) in callback_test_program()
662 fs::path(file.leaf_name()), user_config, in load()
H A Dscheduler_test.cpp225 const std::string name = test_program.absolute_path().leaf_name(); in exec_list()
/freebsd/contrib/atf/atf-c++/
H A Dtests.cpp125 const std::string program_name = atf::fs::path(argv0).leaf_name(); in set_program_name()
437 if (srcdir.leaf_name() == ".libs") in handle_srcdir()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDebugNamesDWARFIndex.cpp338 llvm::StringRef leaf_name = context[0].name; in GetFullyQualifiedType() local
345 m_debug_names_up->equal_range(leaf_name)) { in GetFullyQualifiedType()
/freebsd/contrib/kyua/utils/process/
H A Dchild_test.cpp711 fs::path(helpers.leaf_name()), args); in ATF_TEST_CASE_BODY()
/freebsd/sys/sys/
H A Dvnode.h719 struct vnode *dvp, char *path, u_int pathlen, const char *leaf_name,
/freebsd/sys/kern/
H A Dvfs_cache.c3959 struct vnode *dvp, char *path, u_int pathlen, const char *leaf_name, in vn_path_to_global_path_hardlink() argument
3976 error = vn_fullpath_hardlink(vp, dvp, leaf_name, leaf_length, in vn_path_to_global_path_hardlink()