Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/tests/
H A Dtest_Utils.cpp92 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
93 auto ret = findFiles("non-exist", "", foundPaths); in TEST_F()
96 EXPECT_TRUE(foundPaths.empty()); in TEST_F()
101 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
102 auto ret = findFiles(hwmonDir, R"(in\d+_input)", foundPaths); in TEST_F()
105 EXPECT_EQ(foundPaths.size(), 0U); in TEST_F()
110 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
111 auto ret = findFiles(hwmonDir, R"(temp\d+_input)", foundPaths); in TEST_F()
114 EXPECT_EQ(foundPaths.size(), 2U); in TEST_F()
119 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
[all …]
/openbmc/entity-manager/src/
H A Dutils.cpp51 std::vector<fs::path>& foundPaths) in findFiles() argument
65 foundPaths.emplace_back(p.path()); in findFiles()
73 std::vector<fs::path>& foundPaths) in findFiles() argument
97 foundPaths.emplace_back(value); in findFiles()
100 return !foundPaths.empty(); in findFiles()
H A Dutils.hpp60 std::vector<std::filesystem::path>& foundPaths);
63 std::vector<std::filesystem::path>& foundPaths);
/openbmc/dbus-sensors/src/
H A DUtils.cpp200 std::vector<std::filesystem::path>& foundPaths, int symlinkDepth) in findFiles() argument
237 foundPaths.emplace_back(p->path()); in findFiles()
293 foundPaths.emplace_back(p->path()); in findFiles()
H A DUtils.hpp80 std::vector<std::filesystem::path>& foundPaths,