Lines Matching refs:line_start
176 size_t line_start = 0;
180 while (line_start < data.size()) {
182 if (line_start + 1 < data.size() &&
183 data[line_start] == '/' &&
184 data[line_start + 1] == '/') {
185 line_end = data.find_first_of("\r\n", line_start);
190 line_end = data.find_first_of("\r\n \t", line_start);
193 domain.assign(data.data(), line_start, line_end - line_start);
218 line_start = data.find_first_of("\r\n", line_end);
219 if (line_start == std::string::npos)
220 line_start = data.size();
221 line_start = data.find_first_not_of("\r\n", line_start);
222 if (line_start == std::string::npos)
223 line_start = data.size();