Searched refs:start_pos (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | power_files.cpp | 204 auto start_pos = line.find("T="); in updateEnergyValues() local 206 if (start_pos != std::string::npos) { in updateEnergyValues() 208 strtoul(line.substr(start_pos + 2, end_pos - start_pos - 2).c_str(), NULL, 10); in updateEnergyValues() 213 start_pos = line.find(")["); in updateEnergyValues() 216 if (start_pos != std::string::npos) { in updateEnergyValues() 217 railName = line.substr(start_pos + 2, end_pos - start_pos - 2); in updateEnergyValues() 222 start_pos = line.find("],"); in updateEnergyValues() 223 if (start_pos != std::string::npos) { in updateEnergyValues() 224 energy_counter = strtoul(line.substr(start_pos + 2).c_str(), NULL, 10); in updateEnergyValues()
|
D | thermal_watcher.cpp | 451 auto start_pos = uevent.find("NAME="); in parseUevent() local 452 if (start_pos != std::string::npos) { in parseUevent() 453 start_pos += 5; in parseUevent() 454 std::string name = uevent.substr(start_pos); in parseUevent()
|
/hardware/google/aemu/base/ |
D | StringUtils.cpp | 194 std::string_view::size_type start_pos = 0; in StringReplace() local 196 std::string_view::size_type pos = s.find(from, start_pos); in StringReplace() 200 result.append(s.data() + start_pos, pos - start_pos); in StringReplace() 203 start_pos = pos + from.size(); in StringReplace() 205 result.append(s.data() + start_pos, s.size() - start_pos); in StringReplace()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 266 size_t start_pos = json_doc_.find(from); in SetUp() local 267 json_doc_.replace(start_pos, from.length(), files_[0 + 2]->path); in SetUp() 269 start_pos = json_doc_.find(from); in SetUp() 270 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in SetUp() 483 size_t start_pos = json_doc_.find(from); in TEST_F() local 484 json_doc_.replace(start_pos, from.length(), "CPUCluster1MinFreq"); in TEST_F() 492 size_t start_pos = json_doc_.find(from); in TEST_F() local 493 json_doc_.replace(start_pos, from.length(), "CPUCluster1MinFreq"); in TEST_F() 502 size_t start_pos = json_doc_.find(from); in TEST_F() local 503 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in TEST_F() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDeviceDrmInterface.cpp | 346 auto start_pos = prefix_shift_pos + 1; in handleIdleEnterEvent() local 347 auto end_pos = idle_event_str.find(",", start_pos); 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() 355 info = idle_event_str.substr(start_pos, idle_event_str.size() - start_pos); in handleIdleEnterEvent()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 44927 uint64_t start_pos = io_buf.reader_position(); in DecodeImage0() local 44968 if (pos <= start_pos) { in DecodeImage0()
|