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.cpp93 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
94 auto ret = findFiles("non-exist", "", foundPaths); in TEST_F()
97 EXPECT_TRUE(foundPaths.empty()); in TEST_F()
102 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
103 auto ret = findFiles(hwmonDir, R"(in\d+_input)", foundPaths); in TEST_F()
106 EXPECT_EQ(foundPaths.size(), 0U); in TEST_F()
111 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
112 auto ret = findFiles(hwmonDir, R"(temp\d+_input)", foundPaths); in TEST_F()
115 EXPECT_EQ(foundPaths.size(), 2U); in TEST_F()
120 std::vector<std::filesystem::path> foundPaths; in TEST_F() local
[all …]
/openbmc/entity-manager/src/
H A Dutils.cpp23 std::vector<fs::path>& foundPaths) in findFiles() argument
37 foundPaths.emplace_back(p.path()); in findFiles()
45 std::vector<fs::path>& foundPaths) in findFiles() argument
75 foundPaths.emplace_back(value); in findFiles()
78 return !foundPaths.empty(); in findFiles()
H A Dutils.hpp27 std::vector<std::filesystem::path>& foundPaths);
30 std::vector<std::filesystem::path>& foundPaths);
/openbmc/dbus-sensors/src/
H A DUtils.cpp202 std::vector<std::filesystem::path>& foundPaths, int symlinkDepth) in findFiles() argument
239 foundPaths.emplace_back(p->path()); in findFiles()
295 foundPaths.emplace_back(p->path()); in findFiles()
H A DUtils.hpp81 std::vector<std::filesystem::path>& foundPaths,