Home
last modified time | relevance | path

Searched refs:raw_lines (Results 1 – 17 of 17) sorted by relevance

/external/jsoncpp/devtools/
Dfixeol.py14 raw_lines = f.readlines()
17 fixed_lines = [line.rstrip('\r\n') + eol for line in raw_lines]
18 if raw_lines != fixed_lines:
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_test_checks.py78 raw_lines = [m.group(1)
80 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
81 for l in raw_lines[1:]:
Dupdate_analyze_test_checks.py78 raw_lines = [m.group(1)
80 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
81 for l in raw_lines[1:]:
Dupdate_llc_test_checks.py56 raw_lines = [m.group(1)
58 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
59 for l in raw_lines[1:]:
Dupdate_cc_test_checks.py136 raw_lines = [m.group(1)
138 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
139 for l in raw_lines[1:]:
Dupdate_mca_test_checks.py90 raw_lines = [m.group(1)
93 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
94 for l in raw_lines[1:]:
Dupdate_mir_test_checks.py100 raw_lines = [m.group(1)
102 run_lines = [raw_lines[0]] if len(raw_lines) > 0 else []
103 for l in raw_lines[1:]:
/external/v8/tools/testrunner/outproc/
Dmessage.py30 raw_lines = output.stdout.splitlines()
31 actual_lines = [ s for s in raw_lines if not self._ignore_line(s) ]
/external/python/cpython2/Lib/
Dnntplib.py331 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/
Dipynb.py34 raw_lines = [cl.code for cl in raw_code]
40 upgrader.update_string_pasta("\n".join(raw_lines), in_filename))
/external/google-styleguide/cpplint/
Dcpplint.py1282 def CleanseRawStrings(raw_lines): argument
1304 for line in raw_lines:
1432 self.raw_lines = lines
1897 raw_lines = clean_lines.lines_without_raw_strings
1898 for i in raw_lines:
1909 for linenum, line in enumerate(raw_lines):
1937 ParseNolintSuppressions(filename, raw_lines[ifndef_linenum], ifndef_linenum,
1943 ParseNolintSuppressions(filename, raw_lines[endif_linenum], endif_linenum,
1957 for i in xrange(1, len(raw_lines) - 1):
1958 line = raw_lines[i]
[all …]
Dcpplint_unittest.py4619 self.assertEquals(lines, clean_lines.raw_lines)
4638 self.assertEquals([], clean_lines.raw_lines)
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py998 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/
Dcpplint.py1051 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/
Dcpplint.py1051 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/python/cpython3/Lib/
Dnntplib.py845 resp, raw_lines = self._longcmdstring('XGTITLE ' + group, file)
847 for raw_line in raw_lines:
/external/python/setuptools/setuptools/
Dpackage_index.py411 with open(os.path.join(path, entry)) as raw_lines:
413 lines = list(filter(None, map(str.strip, raw_lines)))