Searched refs:ifsConf (Results 1 – 2 of 2) sorted by relevance
53 std::ifstream ifsConf; in ParseConfig() local55 RETURN_IF_WITH_RET (!OpenFile(ifsConf, configPath), false); in ParseConfig()61 if (parseFromStream(readerBuilder, ifsConf, &config_, &errs) && !config_.empty()) { in ParseConfig()64 ifsConf.close(); in ParseConfig()84 bool BatteryConfig::OpenFile(std::ifstream& ifsConf, const std::string& configPath) in OpenFile() argument88 ifsConf.open(configPath); in OpenFile()89 isOpen = ifsConf.is_open(); in OpenFile()94 ifsConf.open(VENDOR_BATTERY_CONFIG_PATH); in OpenFile()95 isOpen = ifsConf.is_open(); in OpenFile()99 ifsConf.open(SYSTEM_BATTERY_CONFIG_PATH); in OpenFile()[all …]
44 bool OpenFile(std::ifstream& ifsConf, const std::string& configPath);