Home
last modified time | relevance | path

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

/external/jsoncpp/devtools/
Dfixeol.py20 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/
Dgenerate_gles_conformance_tests.py9 raw_lines = file.readlines()
12 for line in raw_lines:
/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.py45 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/
Dcpplint.py1288 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/
Dcpplint.py1288 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 …]
Dcpplint_unittest.py4628 self.assertEquals(lines, clean_lines.raw_lines)
4647 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/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py200 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/
Dlib.rs496 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/
Dpackage_index.py411 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/
Dmod.rs555 if let Some(raw_lines) = ctx.options().module_lines.get(&path) { in codegen()
556 for raw_line in raw_lines { in codegen()