Lines Matching full:first
113 switch (iface.first) in updateSensorInterfaces()
151 auto mode = env::getEnv("MODE", sensor.first); in getID()
155 sensor.first); in getID()
165 id = (id.empty()) ? sensor.first.second : id; in getID()
181 label = env::getEnv("LABEL", sensor.first.first, id); in getIdentifiers()
182 accuracy = env::getEnv("ACCURACY", sensor.first.first, id); in getIdentifiers()
183 priority = env::getEnv("PRIORITY", sensor.first.first, id); in getIdentifiers()
210 if (!hwmon::getAttributes(sensor.first.first, attrs)) in getObject()
412 std::make_tuple(std::move(i.second), std::move((*object).first), in init()
415 _state[std::move(i.first)] = std::move(value); in init()
419 if ((i.first.first == hwmon::type::power) && in init()
420 (phosphor::utility::isAverageEnvSet(i.first))) in init()
422 _average.setAverageValue(i.first, std::make_pair(0, 0)); in init()
637 auto& objInfo = std::get<ObjectInfo>(_state[i.first]); in removeSensors()
643 _state.erase(i.first); in removeSensors()
653 if (_state.find(it->first) == _state.end()) in addDroppedSensors()
656 std::make_pair(it->first, it->second); in addDroppedSensors()
666 std::move((*object).first), in addDroppedSensors()
669 _state[std::move(ssValueType.first)] = std::move(value); in addDroppedSensors()
674 if ((it->first.first == hwmon::type::power) && in addDroppedSensors()
675 (phosphor::utility::isAverageEnvSet(it->first))) in addDroppedSensors()
681 sysfs::make_sysfs_path(_ioAccess->path(), it->first.first, in addDroppedSensors()
682 it->first.second, input); in addDroppedSensors()