Searched refs:curPos (Results 1 – 8 of 8) sorted by relevance
47 size_t curPos = 0; in SplitStringToVec() local50 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()
134 size_t curPos = 0; in SplitStringToVec() local137 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()
82 for (uint64_t curPos = 0; curPos < secSize; curPos += entrySize) { in MakeUnique() local83 symBuf = const_cast<char *>(secBuf + curPos); in MakeUnique()106 if ((curPos + entrySize) > secSize) { in MakeUnique()
89 for (uint64_t curPos = 0; curPos < secSize; curPos += entrySize) { in MakeUnique() local90 char *symBuf = const_cast<char *>(secBuf + curPos); in MakeUnique()114 if ((curPos + entrySize) > secSize) { in MakeUnique()
121 std::size_t curPos = mapPos_ + offset_; in RemapFile() local122 std::size_t remapPos = curPos & ~(pageSize_ - 1); in RemapFile()123 std::size_t remapOff = curPos - remapPos; in RemapFile()
55 std::size_t curPos = mapPos_ + offset_; in ~HiebpfDataFile() local56 ftruncate(fd_, curPos); in ~HiebpfDataFile()
821 Iterator curPos {first}; in erase() local822 while (curPos < last) { in erase()823 curPos = erase(curPos); in erase()
820 Iterator curPos {first};821 while (curPos < last) {822 curPos = erase(curPos);