Home
last modified time | relevance | path

Searched refs:line_start (Results 1 – 7 of 7) sorted by relevance

/external/chromium/net/tools/tld_cleanup/
Dtld_cleanup.cc176 size_t line_start = 0; in NormalizeFile() local
180 while (line_start < data.size()) { in NormalizeFile()
182 if (line_start + 1 < data.size() && in NormalizeFile()
183 data[line_start] == '/' && in NormalizeFile()
184 data[line_start + 1] == '/') { in NormalizeFile()
185 line_end = data.find_first_of("\r\n", line_start); in NormalizeFile()
190 line_end = data.find_first_of("\r\n \t", line_start); in NormalizeFile()
193 domain.assign(data.data(), line_start, line_end - line_start); in NormalizeFile()
218 line_start = data.find_first_of("\r\n", line_end); in NormalizeFile()
219 if (line_start == std::string::npos) in NormalizeFile()
[all …]
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
Dmatcher.py46 def __init__(self, regex, token_type, result_mode=None, line_start=False): argument
60 self.line_start = line_start
Dtokenizer.py113 if matcher.line_start and index > 0:
/external/chromium/chrome/browser/extensions/
Duser_script_master.cc55 size_t line_start = 0; in ParseMetadataHeader() local
56 size_t line_end = line_start; in ParseMetadataHeader()
72 while (line_start < script_text.length()) { in ParseMetadataHeader()
73 line_end = script_text.find('\n', line_start); in ParseMetadataHeader()
79 line.set(script_text.data() + line_start, line_end - line_start); in ParseMetadataHeader()
124 line_start = line_end + 1; in ParseMetadataHeader()
/external/chromium/net/base/
Dssl_false_start_blacklist_process.cc165 off_t line_start = 0; in main() local
171 long len = i - line_start; in main()
174 hosts.push_back(std::string(&buffer[line_start], len)); in main()
178 line_start = i + 1; in main()
182 if (i == line_start && buffer[i] == '#') in main()
Dsdch_manager.cc388 size_t line_start = 0; // Start of line being parsed. in AddSdchDictionary() local
390 size_t line_end = dictionary_text.find('\n', line_start); in AddSdchDictionary()
394 size_t colon_index = dictionary_text.find(':', line_start); in AddSdchDictionary()
408 std::string name(dictionary_text, line_start, colon_index - line_start); in AddSdchDictionary()
432 line_start = line_end + 1; in AddSdchDictionary()
/external/v8/test/cctest/
Dtest-mark-compact.cc482 intptr_t line_start = 0; in MemoryInUse() local
485 while (line_start < length) { in MemoryInUse()
486 if (buffer[line_start] == '\n') { in MemoryInUse()
487 line_start++; in MemoryInUse()
490 intptr_t position = line_start; in MemoryInUse()
520 line_start = position; in MemoryInUse()