Lines Matching refs:param
213 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate() argument
225 if (param == name) { in ParseRate()
231 spec.rate_hz = std::stof(param); in ParseRate()
244 std::string param; in ParseSensorArg() local
249 while (std::getline(full_arg_ss, param, '=')) { in ParseSensorArg()
251 pre_cal_ref = param; in ParseSensorArg()
253 spec.cal_ref = std::stof(param); in ParseSensorArg()
265 while (std::getline(pre_cal_ref_ss, param, ':')) { in ParseSensorArg()
267 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); in ParseSensorArg()
270 name, param.c_str()); in ParseSensorArg()
274 if (!ParseRate(param, spec)) { in ParseSensorArg()
276 param.c_str()); in ParseSensorArg()
280 long long latency_ms = std::stoll(param); in ParseSensorArg()