Lines Matching refs:configs
36 std::vector<Config> configs(3); in GetConfigs() local
37 if (sscanf(group.c_str(), "Enabled-%d,%d,%d,%d,%d,%d", &(configs[0].pixels), in GetConfigs()
38 &(configs[0].cpu_speed), &(configs[1].pixels), in GetConfigs()
39 &(configs[1].cpu_speed), &(configs[2].pixels), in GetConfigs()
40 &(configs[2].cpu_speed)) != 6) { in GetConfigs()
45 for (const auto& config : configs) { in GetConfigs()
52 for (size_t i = 1; i < configs.size(); ++i) { in GetConfigs()
53 if (configs[i].pixels < configs[i - 1].pixels || in GetConfigs()
54 configs[i].cpu_speed > configs[i - 1].cpu_speed) { in GetConfigs()
60 return absl::optional<std::vector<Config>>(configs); in GetConfigs()
64 const std::vector<Config>& configs) { in GetValue() argument
65 for (const auto& config : configs) { in GetValue()