Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp347 auto end_pos = idle_event_str.find(",", start_pos); in handleIdleEnterEvent() local
348 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()
/hardware/google/pixel/thermal/utils/
Dpower_files.cpp205 auto end_pos = line.find(')'); in updateEnergyValues() local
208 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()