Home
last modified time | relevance | path

Searched refs:curPos (Results 1 – 8 of 8) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/base/
Dstring_help.cpp47 size_t curPos = 0; in SplitStringToVec() local
50 while (curPos < strSize) { in SplitStringToVec()
51 auto patPos = str.find(pat, curPos); in SplitStringToVec()
55 result.emplace_back(str.substr(curPos, patPos - curPos)); in SplitStringToVec()
56 curPos = patPos + patSize; in SplitStringToVec()
58 if (curPos < strSize) { in SplitStringToVec()
59 result.emplace_back(str.substr(curPos)); in SplitStringToVec()
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dstring_help.cpp134 size_t curPos = 0; in SplitStringToVec() local
137 while (curPos < strSize) { in SplitStringToVec()
138 auto patPos = str.find(pat, curPos); in SplitStringToVec()
142 result.emplace_back(str.substr(curPos, patPos - curPos)); in SplitStringToVec()
143 curPos = patPos + patSize; in SplitStringToVec()
145 if (curPos < strSize) { in SplitStringToVec()
146 result.emplace_back(str.substr(curPos)); in SplitStringToVec()
/developtools/profiler/device/plugins/native_daemon/src/
Delf_symbol.cpp82 for (uint64_t curPos = 0; curPos < secSize; curPos += entrySize) { in MakeUnique() local
83 symBuf = const_cast<char *>(secBuf + curPos); in MakeUnique()
106 if ((curPos + entrySize) > secSize) { in MakeUnique()
/developtools/hiperf/src/
Delf_symbol.cpp89 for (uint64_t curPos = 0; curPos < secSize; curPos += entrySize) { in MakeUnique() local
90 char *symBuf = const_cast<char *>(secBuf + curPos); in MakeUnique()
114 if ((curPos + entrySize) > secSize) { in MakeUnique()
/developtools/profiler/hiebpf/src/
Dhiebpf_data_file.cpp121 std::size_t curPos = mapPos_ + offset_; in RemapFile() local
122 std::size_t remapPos = curPos & ~(pageSize_ - 1); in RemapFile()
123 std::size_t remapOff = curPos - remapPos; in RemapFile()
/developtools/profiler/hiebpf/include/
Dhiebpf_data_file.h55 std::size_t curPos = mapPos_ + offset_; in ~HiebpfDataFile() local
56 ftruncate(fd_, curPos); in ~HiebpfDataFile()
/developtools/hiperf/include/
Dhashlist.hpp821 Iterator curPos {first}; in erase() local
822 while (curPos < last) { in erase()
823 curPos = erase(curPos); in erase()
/developtools/profiler/device/plugins/native_daemon/include/
Dhashlistpp.h820 Iterator curPos {first};
821 while (curPos < last) {
822 curPos = erase(curPos);