Home
last modified time | relevance | path

Searched refs:parent_path (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/openbmc/poky/meta/recipes-devtools/clang/clang/
H A D0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch29 StringRef Dir = llvm::sys::path::parent_path(BinaryPath);
38 - P = llvm::sys::path::parent_path(Dir);
44 + P = llvm::sys::path::parent_path(Dir);
46 + P = llvm::sys::path::parent_path(llvm::sys::path::parent_path(Dir));
/openbmc/sdbusplus/test/message/
H A Dtypes.cpp66 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").parent_path(), in TEST()
68 EXPECT_EQ(sdbusplus::message::object_path("/abc/").parent_path(), in TEST()
70 EXPECT_EQ(sdbusplus::message::object_path("/abc").parent_path(), in TEST()
72 EXPECT_EQ(sdbusplus::message::object_path("/").parent_path(), in TEST()
/openbmc/telemetry/src/
H A Dpersistent_json_storage.cpp24 currentPath = currentPath.parent_path(); in isAnySymlink()
44 std::filesystem::create_directories(path.parent_path(), ec); in store()
61 limitPermissions(path.parent_path()); in store()
93 std::filesystem::remove(path.parent_path(), ec); in remove()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.hpp23 std::filesystem::path{pelIDFile}.parent_path()); in TearDownTestCase()
42 std::filesystem::path{pelIDFile}.parent_path()); in TearDown()
H A Dlog_id_test.cpp48 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST()
86 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST()
H A Dtemporary_file_test.cpp93 fs::path parentDir = path.parent_path(); in TEST_F()
108 fs::path parentDir = path.parent_path(); in TEST_F()
339 EXPECT_EQ(tmpFile->getPath().parent_path(), "/tmp"); in TEST_F()
/openbmc/phosphor-inventory-manager/
H A Dserialize.hpp43 fs::create_directories(p.parent_path()); in serialize()
58 fs::create_directories(p.parent_path()); in serialize()
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dalarm_timestamps.hpp184 if (!std::filesystem::exists(path.parent_path())) in save()
186 std::filesystem::create_directory(path.parent_path()); in save()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dlogger.cpp317 if (!std::filesystem::exists(m_filePath.parent_path(), l_ec))
323 m_filePath.parent_path().string() +
330 if (!std::filesystem::create_directories(m_filePath.parent_path(),
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dmain.cpp18 std::filesystem::path(LDAP_CONFIG_FILE).parent_path(); in main()
H A Dldap_mapper_serialize.cpp69 fs::create_directories(path.parent_path()); in deserialize()
/openbmc/phosphor-debug-collector/
H A Dbmc_dump_entry.cpp21 std::filesystem::remove_all(file.parent_path()); in delete_()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dsync_manager.cpp50 fs::create_directories(dst.parent_path(), ec); in processEntry()
/openbmc/phosphor-led-manager/manager/
H A Dserialize.cpp45 auto dir = path.parent_path(); in storeGroups()
/openbmc/phosphor-state-manager/
H A Dscheduled_host_transition_main.cpp50 auto dir = fs::path(SCHEDULED_HOST_TRANSITION_PERSIST_PATH).parent_path(); in main()
H A Dhost_state_manager_main.cpp85 auto dir = fs::path(HOST_STATE_PERSIST_PATH).parent_path(); in main()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dlog_id.cpp62 auto path = fs::path(idFilename).parent_path(); in generatePELID()
/openbmc/bios-settings-mgr/src/
H A Dsecureboot.cpp52 std::filesystem::create_directories(secureBootFile.parent_path()); in serialize()
/openbmc/phosphor-power/test/
H A Dtemporary_file_tests.cpp76 fs::path parentDir = path.parent_path(); in TEST()
322 EXPECT_EQ(file.getPath().parent_path(), "/tmp"); in TEST()
H A Dtemporary_subdirectory_tests.cpp37 fs::path parentDir = path.parent_path(); in TEST()
291 EXPECT_EQ(subdirectory.getPath().parent_path(), "/tmp"); in TEST()
/openbmc/phosphor-certificate-manager/
H A Dcsr.cpp50 csrFilePath = csrFilePath.parent_path() / defaultCSRFileName; in csr()
H A Dwatch.cpp31 fs::path path = fs::path(certFile).parent_path(); in Watch()
/openbmc/phosphor-fan-presence/control/json/
H A Ddbus_zone.cpp75 fs::create_directories(path.parent_path()); in restoreCurrentMode()
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaDriverInformation.cpp52 associations.emplace_back("running", "ran_on", path.parent_path()); in NvidiaDriverInformation()
/openbmc/openpower-proc-control/extensions/phal/
H A Dfw_update_watch.cpp134 fs::create_directory(expFile.parent_path()); in exportDevtree()

1234