Home | History | Annotate | Download | only in pdf

Lines Matching refs:cur_offset

111   size_t cur_offset = offset;
114 if (cur_offset < it->first) {
115 size_t new_size = it->first - cur_offset;
116 ranges->push_back(std::pair<size_t, size_t>(cur_offset, new_size));
117 cur_offset = it->first + it->second;
118 } else if (cur_offset < it->first + it->second) {
119 cur_offset = it->first + it->second;
124 if (cur_offset < offset + size)
125 ranges->push_back(std::pair<size_t, size_t>(cur_offset,
126 offset + size - cur_offset));