Searched defs:line_start (Results 1 - 15 of 15) sorted by relevance

/external/chromium/net/base/
H A Dssl_false_start_blacklist_process.cc165 off_t line_start = 0; local
171 long len = i - line_start;
174 hosts.push_back(std::string(&buffer[line_start], len));
178 line_start = i + 1;
182 if (i == line_start && buffer[i] == '#')
H A Dsdch_manager.cc388 size_t line_start = 0; // Start of line being parsed. local
390 size_t line_end = dictionary_text.find('\n', line_start);
394 size_t colon_index = dictionary_text.find(':', line_start);
408 std::string name(dictionary_text, line_start, colon_index - line_start);
432 line_start = line_end + 1;
/external/chromium/net/tools/tld_cleanup/
H A Dtld_cleanup.cc176 size_t line_start = 0; local
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
[all...]
/external/chromium_org/net/tools/tld_cleanup/
H A Dtld_cleanup_util.cc139 size_t line_start = 0; local
145 while (line_start < data.size()) {
146 if (line_start + begin_private_length < data.size() &&
147 !data.compare(line_start, begin_private_length,
150 line_end = line_start + begin_private_length;
151 } else if (line_start + end_private_length < data.size() &&
152 !data.compare(line_start, end_private_length,
155 line_end = line_start + end_private_length;
156 } else if (line_start + 1 < data.size() &&
157 data[line_start]
[all...]
/external/chromium/chrome/browser/extensions/
H A Duser_script_master.cc55 size_t line_start = 0; local
56 size_t line_end = line_start;
72 while (line_start < script_text.length()) {
73 line_end = script_text.find('\n', line_start);
79 line.set(script_text.data() + line_start, line_end - line_start);
124 line_start = line_end + 1;
/external/chromium_org/chrome/browser/extensions/
H A Duser_script_master.cc67 size_t line_start = 0; local
68 size_t line_end = line_start;
86 while (line_start < script_text.length()) {
87 line_end = script_text.find('\n', line_start);
93 line.set(script_text.data() + line_start, line_end - line_start);
146 line_start = line_end + 1;
/external/chromium_org/webkit/browser/appcache/
H A Dmanifest_parser.cc149 const wchar_t* line_start = p; local
156 if (*line_start == '#')
161 while (tmp > line_start && (*tmp == ' ' || *tmp == '\t'))
164 std::wstring line(line_start, tmp - line_start + 1);
/external/chromium_org/net/base/
H A Dsdch_manager.cc400 size_t line_start = 0; // Start of line being parsed. local
402 size_t line_end = dictionary_text.find('\n', line_start);
406 size_t colon_index = dictionary_text.find(':', line_start);
420 std::string name(dictionary_text, line_start, colon_index - line_start);
444 line_start = line_end + 1;
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiledata_unittest.cc256 char* line_start = filedata.get() + cur_offset; local
260 char* line_end = strchr(line_start, '\n');
266 char* line_cur = line_start;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiledata_unittest.cc256 char* line_start = filedata.get() + cur_offset; local
260 char* line_end = strchr(line_start, '\n');
266 char* line_cur = line_start;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/ui/base/clipboard/
H A Dclipboard_util_win.cc467 size_t line_start = cf_html.find(src_url_str); local
468 if (line_start != std::string::npos) {
469 size_t src_end = cf_html.find("\n", line_start);
470 size_t src_start = line_start + src_url_str.length();
/external/chromium_org/v8/test/cctest/
H A Dtest-mark-compact.cc495 intptr_t line_start = 0; local
498 while (line_start < length) {
499 if (buffer[line_start] == '\n') {
500 line_start++;
503 intptr_t position = line_start;
533 line_start = position;
/external/v8/test/cctest/
H A Dtest-mark-compact.cc482 intptr_t line_start = 0; local
485 while (line_start < length) {
486 if (buffer[line_start] == '\n') {
487 line_start++;
490 intptr_t position = line_start;
520 line_start = position;
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dpeerconnection_unittest.cc95 static void RemoveLinesFromSdp(const std::string& line_start, argument
99 while ((ssrc_pos = sdp->find(line_start, ssrc_pos)) !=
H A Dwebrtcsdp.cc330 // The line starting at |line_start| of |message| is the failing line.
334 size_t line_start,
337 // Get the first line of |message| from |line_start|.
339 size_t line_end = message.find(kNewLine, line_start);
344 first_line = message.substr(line_start, (line_end - line_start));
401 // The line starting at |line_start| of |message| is the failing line. The
406 size_t line_start,
412 return ParseFailed(message, line_start, description.str(), error);
489 size_t line_start) {
333 ParseFailed(const std::string& message, size_t line_start, const std::string& description, SdpParseError* error) argument
405 ParseFailedExpectLine(const std::string& message, size_t line_start, const char line_type, const std::string& line_value, SdpParseError* error) argument
487 IsLineType(const std::string& message, const char type, size_t line_start) argument
[all...]

Completed in 342 milliseconds