Home
last modified time | relevance | path

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

12345678910>>...266

/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 logical 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 LogicalLine) This is a splice of LogicalLines from the full
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 …]
Dyapf_api.py26 lines: (list of tuples of integers) A list of tuples of lines, [start, end],
27 that we want to format. The lines are 1-based indexed. It can be used by
59 lines=None, argument
71 lines: (list of tuples of integers) A list of tuples of lines, [start, end],
72 that we want to format. The lines are 1-based indexed. It can be used by
100 lines=lines,
104 lines = reformatted_source.rstrip('\n').split('\n')
105 reformatted_source = newline.join(iter(lines)) + newline
115 def FormatTree(tree, style_config=None, lines=None, verify=False): argument
125 lines: (list of tuples of integers) A list of tuples of lines, [start, end],
[all …]
/external/deqp/android/cts/main/vk-master-2021-03-01/
Drasterization.txt37 dEQP-VK.rasterization.line_continuity.polygon-mode-lines
121 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_00
122 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_25
123 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_50
124 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.0_75
125 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.1_00
126 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.2_00
127 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.4_00
128 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.min
129 dEQP-VK.rasterization.conservative.overestimate.samples_1.lines.normal.max
[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/apache-commons-io/src/test/java/org/apache/commons/io/
DLineIteratorTest.java51 private void assertLines(final List<String> lines, final LineIterator iterator) { in assertLines() argument
53 for (int i = 0; i < lines.size(); i++) { in assertLines()
55 assertEquals(lines.get(i), line, "nextLine() line " + i); in assertLines()
64 * Creates a test file with a specified number of lines.
67 * @param lineCount number of lines to create
72 final List<String> lines = createStringLines(lineCount); in createLinesFile() local
73 FileUtils.writeLines(file, lines); in createLinesFile()
74 return lines; in createLinesFile()
78 * Creates a test file with a specified number of lines.
81 * @param encoding the encoding to use while writing the 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.py59 lines = []
62 lines.append(num + function_header)
63 lines.extend(function_body)
64 return lines
74 lines = _generate_repeated_function_body(1)
75 result_file = "\n".join(lines) + "\n"
76 self.assertEqual(_redact(lines), result_file)
79 lines = _generate_repeated_function_body(2)
80 result_file = "\n".join(lines) + "\n"
81 self.assertEqual(_redact(lines), result_file)
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format_test.py54 ValueError: if any ellipses ("...") are found in the lines representing
58 while not out.lines[begin_line_num].startswith("array"):
61 for line_num in range(begin_line_num, len(out.lines)):
62 line = out.lines[line_num]
84 ValueError: if any ellipses ("...") are found in the lines representing
89 while not out.lines[begin_line_num].startswith("array"):
93 for line_num in range(begin_line_num, len(out.lines)):
94 line = out.lines[line_num]
109 def _findFirst(self, lines, string): argument
111 for i, line in enumerate(lines):
[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/freetype/
Dgenerate_notice.py133 C_STYLE_BLOCK_AS_LINE = 2 # /* ... */ but uses multiple lines of block comments.
157 # If all lines starts from empty space, strip it out.
194 def extract_copyright_at(lines: Sequence[str], i: int, path: str) -> Tuple[str, int]:
195 commentType = get_comment_type(lines[i], path)
198 return extract_from_c_style_block_at(lines, i, path)
200 return extract_from_c_style_block_as_line_at(lines, i, path)
202 return extract_from_c_style_lines_at(lines, i, path)
204 return extract_from_script_hash_at(lines, i, path)
206 return extract_from_script_doller_at(lines, i, path)
208 return extract_from_doc_style_at(lines, i, path)
[all …]
/external/deqp/android/cts/main/vksc-master/
Drasterization.txt13 dEQP-VKSC.rasterization.primitives.no_stipple.lines
61 dEQP-VKSC.rasterization.primitives.static_stipple.lines
77 dEQP-VKSC.rasterization.primitives.dynamic_stipple.lines
176 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.0_00
177 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.0_25
178 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.0_50
179 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.0_75
180 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.1_00
181 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.2_00
182 dEQP-VKSC.rasterization.conservative.overestimate.samples_1.lines.normal.4_00
[all …]
/external/deqp/android/cts/main/vksc-main/
Drasterization.txt7 dEQP-VKSC.rasterization.primitives_multisample_8_bit.no_stipple.lines
23 dEQP-VKSC.rasterization.primitives_multisample_8_bit.static_stipple.lines
39 dEQP-VKSC.rasterization.primitives_multisample_8_bit.dynamic_stipple.lines
61 dEQP-VKSC.rasterization.primitives_multisample_64_bit.no_stipple.lines
77 dEQP-VKSC.rasterization.primitives_multisample_64_bit.static_stipple.lines
93 dEQP-VKSC.rasterization.primitives_multisample_64_bit.dynamic_stipple.lines
115 dEQP-VKSC.rasterization.primitives_multisample_4_bit.no_stipple.lines
131 dEQP-VKSC.rasterization.primitives_multisample_4_bit.static_stipple.lines
147 dEQP-VKSC.rasterization.primitives_multisample_4_bit.dynamic_stipple.lines
169 dEQP-VKSC.rasterization.primitives_multisample_32_bit.no_stipple.lines
[all …]
/external/deqp/external/vulkancts/mustpass/main/vksc-default/
Drasterization.txt7 dEQP-VKSC.rasterization.primitives_multisample_8_bit.no_stipple.lines
23 dEQP-VKSC.rasterization.primitives_multisample_8_bit.static_stipple.lines
39 dEQP-VKSC.rasterization.primitives_multisample_8_bit.dynamic_stipple.lines
61 dEQP-VKSC.rasterization.primitives_multisample_64_bit.no_stipple.lines
77 dEQP-VKSC.rasterization.primitives_multisample_64_bit.static_stipple.lines
93 dEQP-VKSC.rasterization.primitives_multisample_64_bit.dynamic_stipple.lines
115 dEQP-VKSC.rasterization.primitives_multisample_4_bit.no_stipple.lines
131 dEQP-VKSC.rasterization.primitives_multisample_4_bit.static_stipple.lines
147 dEQP-VKSC.rasterization.primitives_multisample_4_bit.dynamic_stipple.lines
169 dEQP-VKSC.rasterization.primitives_multisample_32_bit.no_stipple.lines
[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/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/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/
DKDocCommentsHelper.kt51 val lines = ArrayList<String>() in rewrite() constant
54 lines.add(CharMatcher.whitespace().trimTrailingFrom(it.next())) in rewrite()
57 indentLineComments(lines, column0) in rewrite()
58 } else if (javadocShaped(lines)) { in rewrite()
59 indentJavadoc(lines, column0) in rewrite()
61 preserveIndentation(lines, column0) in rewrite()
67 private fun preserveIndentation(lines: List<String>, column0: Int): String { in preserveIndentation()
70 // find the leftmost non-whitespace character in all trailing lines in preserveIndentation()
72 for (i in 1 until lines.size) { in preserveIndentation()
73 val lineIdx = CharMatcher.whitespace().negate().indexIn(lines[i]) in preserveIndentation()
[all …]
/external/rust/crates/clap_derive/src/utils/
Ddoc_comments.rs4 //! non-empty adjacent lines, delimited by sequences of blank (whitespace only) lines.
14 // we need to split so we could handle the lines correctly in extract_doc_comment()
16 // we also need to remove leading and trailing blank lines in extract_doc_comment()
17 let mut lines: Vec<_> = attrs in extract_doc_comment() localVariable
31 let lines = s in extract_doc_comment() localVariable
39 lines in extract_doc_comment()
43 while let Some(true) = lines.last().map(|s| is_blank(s)) { in extract_doc_comment()
44 lines.pop(); in extract_doc_comment()
47 lines in extract_doc_comment()
51 lines: &[String], in format_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 …]

12345678910>>...266