/openbmc/phosphor-user-manager/test/ |
H A D | ldap_config_test.cpp | 121 if (fs::exists(configFilePath)) in TEST_F() 123 fs::remove(configFilePath); in TEST_F() 181 if (fs::exists(configFilePath)) in TEST_F() 183 fs::remove(configFilePath); in TEST_F() 208 if (fs::exists(configFilePath)) in TEST_F() 210 fs::remove(configFilePath); in TEST_F() 241 if (fs::exists(configFilePath)) in TEST_F() 243 fs::remove(configFilePath); in TEST_F() 289 if (fs::exists(configFilePath)) in TEST_F() 291 fs::remove(configFilePath); in TEST_F() [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/test/ |
H A D | config_file_parser_tests.cpp | 74 EXPECT_EQ(pathFound, configFilePath); in TEST() 87 EXPECT_EQ(pathFound, configFilePath); in TEST() 96 configFilePath /= "MegaServer.json"; in TEST() 100 EXPECT_EQ(pathFound, configFilePath); in TEST() 109 configFilePath /= "Server.json"; in TEST() 113 EXPECT_EQ(pathFound, configFilePath); in TEST() 122 configFilePath /= "Server.json"; in TEST() 128 EXPECT_EQ(pathFound, configFilePath); in TEST() 137 configFilePath /= "Server.json"; in TEST() 194 fs::create_directory(configFilePath); in TEST() [all …]
|
/openbmc/phosphor-logging/test/ |
H A D | remote_logging_test_config.cpp | 32 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 38 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 45 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 52 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 54 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 61 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 63 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 70 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@[abcd:ef01::01]:50000"); in TEST_F() 167 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @[abcd:ef01::01]:50000"); in TEST_F()
|
H A D | remote_logging_tests.hpp | 41 configFilePath = std::string(dir.c_str()) + "/server.conf"; in TestRemoteLogging() 43 configFilePath.c_str()); in TestRemoteLogging() 57 std::string configFilePath; member in phosphor::logging::test::TestRemoteLogging
|
/openbmc/phosphor-logging/phosphor-rsyslog-config/ |
H A D | server-conf.hpp | 45 configFilePath(filePath), in Server() 55 restore(configFilePath.c_str()); in Server() 114 std::string configFilePath{}; member in phosphor::rsyslog_config::Server
|
H A D | server-conf.cpp | 143 writeConfig(value, port(), transportProtocol(), configFilePath.c_str()); in address() 176 configFilePath.c_str()); in port() 205 writeConfig(address(), port(), value, configFilePath.c_str()); in transportProtocol()
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_config_mgr.cpp | 143 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 155 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig() 171 bus, openLDAPDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects() 179 bus, adDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects()
|
H A D | ldap_config_mgr.hpp | 55 dbusPersistentPath(dbusPersistentPath), configFilePath(filePath), in ConfigMgr() 112 std::string configFilePath{}; member in phosphor::ldap::ConfigMgr
|
H A D | ldap_config.cpp | 62 tlsCertFile(certFile), configFilePath(filePath), objectPath(path), bus(bus), in Config() 113 tlsCacertFile(caCertFile), tlsCertFile(certFile), configFilePath(filePath), in Config() 302 std::fstream stream(configFilePath.c_str(), std::fstream::out); in writeConfig() 309 fs::permissions(configFilePath, permission); in writeConfig() 313 fs::permissions(configFilePath, in writeConfig()
|
H A D | ldap_config.hpp | 249 std::string configFilePath{}; member in phosphor::ldap::Config
|
/openbmc/phosphor-led-manager/manager/ |
H A D | json-config.hpp | 75 auto configFilePath = fs::path{confBasePath} / configFileName; in filePathExists() 76 if (fs::exists(configFilePath)) in filePathExists() 78 confFile = configFilePath; in filePathExists()
|
/openbmc/ipmbbridge/ |
H A D | ipmbbridged.cpp | 799 constexpr const char* configFilePath = in initializeChannels() local 801 std::ifstream configFile(configFilePath); in initializeChannels()
|
/openbmc/x86-power-control/src/ |
H A D | power_control.cpp | 2338 const std::string configFilePath = in loadConfigValues() local 2341 std::ifstream configFile(configFilePath.c_str()); in loadConfigValues() 2345 "PATH", configFilePath); in loadConfigValues()
|