Home
last modified time | relevance | path

Searched full:lines (Results 1 – 25 of 6037) sorted by relevance

12345678910>>...242

/external/google-breakpad/src/common/
Ddwarf_line_to_module_unittest.cc47 vector<Module::Line> lines; in TEST() local
48 DwarfLineToModule h(&m, "/", &lines); in TEST()
59 EXPECT_EQ(1U, lines.size()); in TEST()
60 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address); in TEST()
61 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size); in TEST()
62 EXPECT_TRUE(lines[0].file == files[0]); in TEST()
63 EXPECT_EQ(0x4c090cbf, lines[0].number); in TEST()
68 vector<Module::Line> lines; in TEST() local
69 DwarfLineToModule h(&m, "/", &lines); in TEST()
98 ASSERT_EQ(5U, lines.size()); in TEST()
[all …]
/external/yapf/yapf/yapflib/
Dline_joiner.py14 """Join unwrapped lines together.
16 Determine how many lines can be joined into one line. For instance, we could
28 1. The lines should have been joined in the original source.
29 2. The joined lines must not go over the column boundary if placed on the same
34 follows that there can only be at most two lines to join.
42 def CanMergeMultipleLines(lines, last_was_merged=False): argument
43 """Determine if multiple lines can be joined into one.
46 lines: (list of UnwrappedLine) This is a splice of UnwrappedLines from the
51 True if two consecutive lines can be joined together. In reality, this will
52 only happen if two consecutive lines can be joined, due to the style guide.
[all …]
/external/deqp/android/cts/angle/
Dgles3-angle-excluded.txt87 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.lowp_float
88 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.mediump_float
89 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.highp_float
90 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.lowp_vec2
91 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.mediump_vec2
92 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.highp_vec2
93 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.lowp_vec3
94 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.mediump_vec3
95 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.highp_vec3
96 dEQP-GLES3.functional.transform_feedback.array_element.separate.lines.lowp_vec4
[all …]
/external/deqp/android/cts/master/vk-master-2021-03-01/
Drasterization.txt25 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_00
26 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_25
27 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_50
28 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_75
29 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.1_00
30 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.2_00
31 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.4_00
32 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.min
33 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.max
34 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.degenerate.0_00
[all …]
/external/python/cpython2/PC/VS9.0/
Dvs9to8.py15 lines = fin.read()
16 lines = lines.replace('Version="9,00"', 'Version="8.00"')
17 lines = lines.replace('Version="9.00"', 'Version="8.00"')
18 lines = lines.replace('Format Version 10.00', 'Format Version 9.00')
19 lines = lines.replace('Visual Studio 2008', 'Visual Studio 2005')
21 lines = lines.replace('wininst-9.0', 'wininst-8.0')
22 lines = lines.replace('..\\', '..\\..\\')
23 lines = lines.replace('..\\..\\..\\..\\', '..\\..\\..\\')
27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.6.21')
28lines = lines.replace('$(bsddbDir)\\..\\..', '..\\..\\..\\db-4.7.25.0\\build_windows\\..')
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DSourceTest.java39 List<Line> lines = s.getLines(); in should_parse_lines() local
40 assertEquals(3, lines.size()); in should_parse_lines()
41 assertEquals("aaa", lines.get(0).getText()); in should_parse_lines()
42 assertEquals("bbb", lines.get(1).getText()); in should_parse_lines()
43 assertEquals(";", lines.get(2).getText()); in should_parse_lines()
53 List<Line> lines = s.getLines(); in should_parse_empty_lines() local
54 assertEquals(4, lines.size()); in should_parse_empty_lines()
55 assertEquals("", lines.get(0).getText()); in should_parse_empty_lines()
56 assertEquals("aaa", lines.get(1).getText()); in should_parse_empty_lines()
57 assertEquals("", lines.get(2).getText()); in should_parse_empty_lines()
[all …]
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py97 def parseScriptList(lines, featureMap=None): argument
100 with lines.between('script table'):
101 for line in lines:
147 def parseFeatureList(lines, lookupMap=None, featureMap=None): argument
150 with lines.between('feature table'):
151 for line in lines:
176 def parseLookupFlags(lines): argument
187 while lines.peeks()[0].lower() in allFlags:
188 line = next(lines)
208 def parseSingleSubst(lines, font, _lookupMap=None): argument
[all …]
/external/toolchain-utils/afdo_redaction/
Dredact_profile_test.py58 lines = []
61 lines.append(num + function_header)
62 lines.extend(function_body)
63 return lines
73 lines = _generate_repeated_function_body(1)
74 result_file = '\n'.join(lines) + '\n'
75 self.assertEqual(_redact(lines), result_file)
78 lines = _generate_repeated_function_body(2)
79 result_file = '\n'.join(lines) + '\n'
80 self.assertEqual(_redact(lines), result_file)
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format_test.py58 ValueError: if any ellipses ("...") are found in the lines representing
62 while not out.lines[begin_line_num].startswith("array"):
65 for line_num in range(begin_line_num, len(out.lines)):
66 line = out.lines[line_num]
88 ValueError: if any ellipses ("...") are found in the lines representing
93 while not out.lines[begin_line_num].startswith("array"):
97 for line_num in range(begin_line_num, len(out.lines)):
98 line = out.lines[line_num]
113 def _findFirst(self, lines, string): argument
115 for i, line in enumerate(lines):
[all …]
Dcli_shared_test.py126 self.assertTrue(run_start_intro.lines[1].endswith("run() call #12:"))
129 const_a_name_line = run_start_intro.lines[4]
133 feeds_line = run_start_intro.lines[7]
136 # Verify lines about possible commands and their font attributes.
137 self.assertEqual("run:", run_start_intro.lines[11][2:])
148 self.assertEqual("run -t <T>:", run_start_intro.lines[15][2:])
150 self.assertEqual("run -f <filter_name>:", run_start_intro.lines[17][2:])
168 self.assertEqual(str(self.sparse_d), run_start_intro.lines[7].strip())
177 self.assertEqual(str(self.sparse_d), run_start_intro.lines[4].strip())
183 const_a_name_line = run_start_intro.lines[4]
[all …]
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DPartialFormattingTest.java56 String lines(String... args) { in lines() method in PartialFormattingTest
63 lines( in testGetFormatReplacements0()
71 lines( in testGetFormatReplacements0()
86 lines( in testGetFormatReplacements1()
94 lines( in testGetFormatReplacements1()
107 lines( in expandToStatement()
117 lines( in expandToStatement()
131 lines( in expandToMethodSignature()
143 lines( in expandToMethodSignature()
160 lines( in expandToClassSignature()
[all …]
/external/python/cpython3/Lib/idlelib/
Dformat.py45 If text is selected, format_paragraph_event will start breaking lines
49 cursor location to determine the paragraph (lines of text surrounded
50 by blank lines) and formats it.
122 lines = data.split("\n")
124 n = len(lines)
125 while i < n and is_all_white(lines[i]):
129 indent1 = get_indent(lines[i])
130 if i+1 < n and not is_all_white(lines[i+1]):
131 indent2 = get_indent(lines[i+1])
134 new = lines[:i]
[all …]
/external/clang/test/Preprocessor/
Darm-target-features.c1 // RUN: %clang -target armv8a-none-linux-gnu -x c -E -dM %s -o - | FileCheck -match-full-lines --ch…
12 // RUN: %clang -target armv7a-none-linux-gnu -x c -E -dM %s -o - | FileCheck -match-full-lines --ch…
21 …pple-macosx10.10 -arch armv7s -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
30 // RUN: %clang -target armv8a -mfloat-abi=hard -x c -E -dM %s | FileCheck -match-full-lines --check…
42 …8a -mfloat-abi=hard -mfpu=fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE…
47 …float-abi=hard -mfpu=neon-fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE…
48 …bi=hard -mfpu=crypto-neon-fp-armv8 -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=CHE…
53 // RUN: %clang -target armv8a -mnocrc -x c -E -dM %s | FileCheck -match-full-lines --check-prefix=C…
58 // RUN: %clang -target armv8 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=V8 %s
59 // RUN: %clang -target armv8 -mthumb -x c -E -dM %s -o - | FileCheck -match-full-lines --check-pref…
[all …]
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaCommentsHelper.java49 List<String> lines = new ArrayList<>(); in rewrite() local
52 lines.add(CharMatcher.whitespace().trimTrailingFrom(it.next())); in rewrite()
55 return indentLineComments(lines, column0); in rewrite()
56 } else if (javadocShaped(lines)) { in rewrite()
57 return indentJavadoc(lines, column0); in rewrite()
59 return preserveIndentation(lines, column0); in rewrite()
65 private String preserveIndentation(List<String> lines, int column0) { in preserveIndentation() argument
68 // find the leftmost non-whitespace character in all trailing lines in preserveIndentation()
70 for (int i = 1; i < lines.size(); i++) { in preserveIndentation()
71 int lineIdx = CharMatcher.whitespace().negate().indexIn(lines.get(i)); in preserveIndentation()
[all …]
/external/gfxstream-protocols/registry/vulkan/scripts/
Dcomment_convert.py27 "Temporary storage for contiguous comment lines."
30 "Temporary storage for empty lines following a comment."
33 "Fully-processed output lines."
39 "Whether we allow blank lines between a comment and the thing it's considered to document."
51 # flush any comment lines we had stored and output this line.
87 lines = [extract(line) for line in self.comment_lines]
90 while lines and not lines[0].strip():
91 lines.pop(0)
94 while lines and not lines[-1].strip():
95 lines.pop()
[all …]
/external/eigen/bench/btl/data/
Dperlib_plot_settings.txt1 eigen3 ; with lines lw 4 lt 1 lc rgbcolor "black"
2 eigen2 ; with lines lw 3 lt 1 lc rgbcolor "#999999"
3 EigenBLAS ; with lines lw 3 lt 3 lc rgbcolor "#999999"
4 eigen3_novec ; with lines lw 2 lt 1 lc rgbcolor "#999999"
5 eigen3_nogccvec ; with lines lw 2 lt 2 lc rgbcolor "#991010"
6 INTEL_MKL ; with lines lw 3 lt 1 lc rgbcolor "#ff0000"
7 ATLAS ; with lines lw 3 lt 1 lc rgbcolor "#008000"
8 gmm ; with lines lw 3 lt 1 lc rgbcolor "#0000ff"
9 ublas ; with lines lw 3 lt 1 lc rgbcolor "#00b7ff"
10 mtl4 ; with lines lw 3 lt 1 lc rgbcolor "#d18847"
[all …]
/external/oss-fuzz/infra/cifuzz/test_data/
Dexample_curl_fuzzer_cov.json1lines": {"count": 0, "covered": 0, "percent": 0}, "regions": {"count": 0, "covered": 0, "notcovere… object
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/
DKDocCommentsHelper.kt43 val lines = ArrayList<String>() in rewrite() constant
46 lines.add(CharMatcher.whitespace().trimTrailingFrom(it.next())) in rewrite()
49 indentLineComments(lines, column0) in rewrite()
50 } else if (javadocShaped(lines)) { in rewrite()
51 indentJavadoc(lines, column0) in rewrite()
53 preserveIndentation(lines, column0) in rewrite()
59 private fun preserveIndentation(lines: List<String>, column0: Int): String { in preserveIndentation()
62 // find the leftmost non-whitespace character in all trailing lines in preserveIndentation()
64 for (i in 1 until lines.size) { in preserveIndentation()
65 val lineIdx = CharMatcher.whitespace().negate().indexIn(lines[i]) in preserveIndentation()
[all …]
/external/python/cpython3/Tools/msi/
Dcsv_to_wxs.py64 lines = [
69 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
71lines.append(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name)…
72 lines.append(' </DirectoryRef>')
74 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
75lines.append(' <Directory Id="{}___pycache__" Name="__pycache__" />'.format(dir_parent))
76 lines.append(' </DirectoryRef>')
77 lines.append(' </Fragment>')
80 lines.extend([
85lines.append(' <Component Id="{}" Directory="{}" Guid="*">'.format(make_id(target), mak…
[all …]
/external/rust/crates/structopt-derive/src/
Ddoc_comments.rs4 //! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines.
10 pub fn process_doc_comment(lines: Vec<String>, name: &str, preprocess: bool) -> Vec<Method> { in process_doc_comment()
12 // we need to split so we could handle the lines correctly in process_doc_comment()
14 // we also need to remove leading and trailing blank lines in process_doc_comment()
15 let mut lines: Vec<&str> = lines in process_doc_comment() localVariable
21 while let Some(true) = lines.last().map(|s| is_blank(s)) { in process_doc_comment()
22 lines.pop(); in process_doc_comment()
26 for line in lines.iter_mut() { in process_doc_comment()
32 if lines.is_empty() { in process_doc_comment()
39 if let Some(first_blank) = lines.iter().position(|s| is_blank(s)) { in process_doc_comment()
[all …]
/external/rust/crates/tokio-stream/src/wrappers/
Dlines.rs6 use tokio::io::{AsyncBufRead, Lines};
9 /// A wrapper around [`tokio::io::Lines`] that implements [`Stream`].
11 /// [`tokio::io::Lines`]: struct@tokio::io::Lines
17 inner: Lines<R>,
23 pub fn new(lines: Lines<R>) -> Self { in new()
24 Self { inner: lines } in new()
27 /// Get back the inner `Lines`.
28 pub fn into_inner(self) -> Lines<R> { in into_inner()
32 /// Obtain a pinned reference to the inner `Lines<R>`.
34 pub fn as_pin_mut(self: Pin<&mut Self>) -> Pin<&mut Lines<R>> { in as_pin_mut()
[all …]
/external/clang/lib/Format/
DBreakableToken.cpp259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n"); in BreakableBlockComment()
262 LeadingWhitespace.resize(Lines.size()); in BreakableBlockComment()
263 StartOfLineColumn.resize(Lines.size()); in BreakableBlockComment()
265 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
269 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
272 // lines with the first one. in BreakableBlockComment()
277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { in BreakableBlockComment()
279 if (i + 1 == e && Lines[i].empty()) in BreakableBlockComment()
281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i])) in BreakableBlockComment()
283 while (!Lines[i].startswith(Decoration)) in BreakableBlockComment()
[all …]
/external/harfbuzz_ng/test/shape/
Dhb_test_tools.py79 def colorize_lines (self, lines): argument
80 lines = (l if l else '' for l in lines)
81 ss = [self.diff_regex.sub (r'\1\n\2\n', l).splitlines (True) for l in lines]
109 lines = [None, None]
115 if lines[i]:
117 for line in self.colorize_lines (lines):
119 lines = [None, None]
120 lines[i] = l[1:]
121 if (all (lines)):
123 for line in self.colorize_lines (lines):
[all …]
/external/ComputeLibrary/scripts/
Dinclude_functions_kernels.py32 lines = f.readlines()
33 return lines
36 def write_file(file, lines): argument
38 for line in lines:
42 def remove_existing_includes(lines): argument
43 first_pos = next(i for i, line in enumerate(lines) if include_str in line)
44 return [x for x in lines if not x.startswith(include_str)], first_pos
47 def add_updated_includes(lines, pos, includes): argument
48 lines[pos:pos] = includes
49 return lines
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dwrite.py154 lines = []
161 lines.append('')
162 lines.append('')
165 lines.append(line)
166 lines.append('~' * len(line))
169 lines.append('')
170 lines.append('.. rst-class:: benchmark')
171 lines.append('')
176 lines.append(separator())
177 lines.append('|'.join([''] + [
[all …]

12345678910>>...242