Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance
347 auto end_pos = idle_event_str.find(",", start_pos); in handleIdleEnterEvent() local348 while (end_pos != std::string::npos && count < IDLE_ENTER_EVENT_DATA_SIZE) { in handleIdleEnterEvent()349 auto info = idle_event_str.substr(start_pos, end_pos - start_pos); in handleIdleEnterEvent()352 start_pos = end_pos + 1; in handleIdleEnterEvent()353 end_pos = idle_event_str.find(",", start_pos); in handleIdleEnterEvent()354 if (end_pos == std::string::npos) { in handleIdleEnterEvent()
205 auto end_pos = line.find(')'); in updateEnergyValues() local208 strtoul(line.substr(start_pos + 2, end_pos - start_pos - 2).c_str(), NULL, 10); in updateEnergyValues()214 end_pos = line.find(']'); in updateEnergyValues()217 railName = line.substr(start_pos + 2, end_pos - start_pos - 2); in updateEnergyValues()