/external/jsoncpp/devtools/ |
D | fixeol.py | 20 raw_lines = f.readlines() 23 fixed_lines = [line.rstrip('\r\n') + eol for line in raw_lines] 24 if raw_lines != fixed_lines:
|
/external/angle/src/tests/gles_conformance_tests/ |
D | generate_gles_conformance_tests.py | 9 raw_lines = file.readlines() 12 for line in raw_lines:
|
/external/python/cpython2/Lib/ |
D | nntplib.py | 331 resp, raw_lines = self.longcmd('LIST NEWSGROUPS ' + group_pattern) 336 resp, raw_lines = self.longcmd('XGTITLE ' + group_pattern) 338 for raw_line in raw_lines: 512 resp, raw_lines = self.longcmd('XGTITLE ' + group, file) 514 for raw_line in raw_lines:
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | ipynb.py | 45 raw_lines = [cl.code for cl in raw_code] 51 upgrader.update_string_pasta("\n".join(raw_lines), in_filename))
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 1288 def CleanseRawStrings(raw_lines): argument 1310 for line in raw_lines: 1438 self.raw_lines = lines 1903 raw_lines = clean_lines.lines_without_raw_strings 1904 for i in raw_lines: 1915 for linenum, line in enumerate(raw_lines): 1943 ParseNolintSuppressions(filename, raw_lines[ifndef_linenum], ifndef_linenum, 1949 ParseNolintSuppressions(filename, raw_lines[endif_linenum], endif_linenum, 1963 for i in xrange(1, len(raw_lines) - 1): 1964 line = raw_lines[i] [all …]
|
/external/google-styleguide/cpplint/ |
D | cpplint.py | 1288 def CleanseRawStrings(raw_lines): argument 1310 for line in raw_lines: 1438 self.raw_lines = lines 1903 raw_lines = clean_lines.lines_without_raw_strings 1904 for i in raw_lines: 1915 for linenum, line in enumerate(raw_lines): 1943 ParseNolintSuppressions(filename, raw_lines[ifndef_linenum], ifndef_linenum, 1949 ParseNolintSuppressions(filename, raw_lines[endif_linenum], endif_linenum, 1963 for i in xrange(1, len(raw_lines) - 1): 1964 line = raw_lines[i] [all …]
|
D | cpplint_unittest.py | 4628 self.assertEquals(lines, clean_lines.raw_lines) 4647 self.assertEquals([], clean_lines.raw_lines)
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 998 self.raw_lines = lines 1437 line = clean_lines.raw_lines[linenum] 1964 raw = clean_lines.raw_lines 2217 raw = clean_lines.raw_lines 2716 raw_lines = clean_lines.raw_lines 2719 if raw_lines[linenum].find(macro) >= 0: 2810 raw_lines = clean_lines.raw_lines 2811 line = raw_lines[linenum] 3237 CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], 3245 if CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], [all …]
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 1051 def CleanseRawStrings(raw_lines): argument 1073 for line in raw_lines: 1184 self.raw_lines = lines 1698 initial_indent = Match(r'^( *)\S', clean_lines.raw_lines[linenum]) 1747 line = clean_lines.raw_lines[linenum] 2298 raw = clean_lines.raw_lines 3369 raw_lines = clean_lines.lines_without_raw_strings 3370 line = raw_lines[linenum] 3810 CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], 3818 if CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], [all …]
|
/external/libaom/libaom/tools/ |
D | cpplint.py | 1051 def CleanseRawStrings(raw_lines): argument 1073 for line in raw_lines: 1184 self.raw_lines = lines 1698 initial_indent = Match(r'^( *)\S', clean_lines.raw_lines[linenum]) 1747 line = clean_lines.raw_lines[linenum] 2298 raw = clean_lines.raw_lines 3369 raw_lines = clean_lines.lines_without_raw_strings 3370 line = raw_lines[linenum] 3810 CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], 3818 if CheckCStyleCast(filename, linenum, line, clean_lines.raw_lines[linenum], [all …]
|
/external/llvm-project/llvm/utils/UpdateTestChecks/ |
D | common.py | 200 raw_lines = [m.group(1) 202 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else [] 203 for l in raw_lines[1:]:
|
/external/rust/crates/bindgen/src/ |
D | lib.rs | 496 for line in &self.options.raw_lines { in command_line_flags() 1025 self.options.raw_lines.push(arg.into()); in raw_line() 1775 raw_lines: Vec<String>, field 2007 raw_lines: vec![], in default() 2330 for line in self.options.raw_lines.iter() { in write() 2335 if !self.options.raw_lines.is_empty() { in write()
|
/external/python/setuptools/setuptools/ |
D | package_index.py | 411 with open(os.path.join(path, entry)) as raw_lines: 413 lines = list(filter(None, map(str.strip, raw_lines)))
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 555 if let Some(raw_lines) = ctx.options().module_lines.get(&path) { in codegen() 556 for raw_line in raw_lines { in codegen()
|