Home
last modified time | relevance | path

Searched refs:remove_all (Results 1 – 25 of 70) sorted by relevance

123

/openbmc/estoraged/src/test/
H A Dutil_test.cpp150 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
151 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
152 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
208 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
209 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
210 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
245 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
246 EXPECT_EQ(3U, std::filesystem::remove_all("abc")); in TEST()
247 EXPECT_EQ(2U, std::filesystem::remove_all("def")); in TEST()
284 EXPECT_EQ(3U, std::filesystem::remove_all("mmcblk0")); in TEST()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.hpp22 std::filesystem::remove_all( in TearDownTestCase()
41 std::filesystem::remove_all( in TearDown()
43 std::filesystem::remove_all(repoPath); in TearDown()
44 std::filesystem::remove_all(registryPath); in TearDown()
H A Dtemporary_file_test.cpp39 fs::remove_all(path); in makeFileRemovable()
84 std::filesystem::remove_all(tmpFile->getPath()); in TearDown()
87 std::filesystem::remove_all(tmpFileNoData->getPath()); in TearDown()
148 std::filesystem::remove_all(file.getPath()); in TEST_F()
H A Dlog_id_test.cpp60 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST()
98 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST()
H A Djson_utils_test.cpp83 std::filesystem::remove_all(dataPath); in TEST()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dserialize.cpp36 fs::remove_all(path, ec); in storePriority()
57 fs::remove_all(path, ec); in storePurpose()
83 fs::remove_all(path, ec); in restorePriority()
145 fs::remove_all(path, ec); in restorePurpose()
158 fs::remove_all(path, ec); in removePersistDataDirectory()
H A Dsoftware_utils.hpp22 fs::remove_all(path, ec); in ~RemovablePath()
H A Dimage_manager.cpp54 fs::remove_all(path, ec); in ~RemovablePath()
256 fs::remove_all(imageDirPath, ec); in erase()
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp269 std::filesystem::remove_all(workdir); in TEST()
284 std::filesystem::remove_all(workdir); in TEST()
305 std::filesystem::remove_all(workdir); in TEST()
324 std::filesystem::remove_all(workdir); in TEST()
345 std::filesystem::remove_all(workdir); in TEST()
371 std::filesystem::remove_all(workdir); in TEST()
396 std::filesystem::remove_all(workdir); in TEST()
421 std::filesystem::remove_all(workdir); in TEST()
443 std::filesystem::remove_all(workdir); in TEST()
463 std::filesystem::remove_all(workdir); in TEST()
/openbmc/linux/drivers/md/
H A Ddm-ima.h62 void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all);
71 static inline void dm_ima_measure_on_device_remove(struct mapped_device *md, bool remove_all) {} in dm_ima_measure_on_device_remove() argument
/openbmc/openpower-proc-control/test/
H A Dutest.cpp51 std::filesystem::remove_all(_slaveDir); in TearDown()
52 std::filesystem::remove_all(_slaveBaseDir); in TearDown()
/openbmc/qemu/tests/bench/
H A Dqtree-bench.c107 static inline void remove_all(void *tree, enum impl_type impl) in remove_all() function
191 remove_all(tree, impl); in run_benchmark()
211 remove_all(tree, impl); in run_benchmark()
/openbmc/phosphor-debug-collector/
H A Ddump_entry.cpp105 std::filesystem::remove_all(dir, ec); in serialize()
157 std::filesystem::remove_all(dir, ec); in deserialize()
H A Dbmc_dump_entry.cpp21 std::filesystem::remove_all(file.parent_path()); in delete_()
/openbmc/openpower-pnor-code-mgmt/mmc/
H A Ditem_updater_mmc.cpp75 std::filesystem::remove_all(p); in reset()
93 std::filesystem::remove_all(consolePath); in reset()
/openbmc/phosphor-logging/test/
H A Dserialization_tests.hpp35 fs::remove_all(dir); in ~TestSerialization()
H A Dremote_logging_tests.hpp53 fs::remove_all(dir); in TearDownTestCase()
/openbmc/phosphor-power/
H A Dtemporary_subdirectory.cpp74 fs::remove_all(path); in remove()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dinband_code_update.cpp356 fs::remove_all(iter); in clearDirPath()
609 fs::remove_all(updateDirPath); in assembleCodeUpdateImage()
610 fs::remove_all(lidDirPath); in assembleCodeUpdateImage()
611 fs::remove_all(imageDirPath); in assembleCodeUpdateImage()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.cpp222 std::filesystem::remove_all(iter); in reset()
234 std::filesystem::remove_all(iter); in reset()
250 std::filesystem::remove_all(iter); in reset()
/openbmc/openpower-proc-control/procedures/phal/
H A Dimport_devtree.cpp82 fs::remove_all(path); in importDevtree()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_table_test.cpp22 fs::remove_all(dir); in TearDown()
/openbmc/phosphor-debug-collector/test/
H A Ddebug_inif_test.cpp35 std::filesystem::remove_all(dumpDir); in TearDown()
/openbmc/phosphor-power/tools/power-utils/test/
H A Dtest_updater.cpp44 fs::remove_all(tmpDir); in ~TestUpdater()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_version.cpp45 fs::remove_all(tmpDir); in ~TestVersion()

123