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