Home
last modified time | relevance | path

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

12345678910>>...261

/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/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.java38 List<Line> lines = s.getLines(); in should_parse_lines() local
39 assertEquals(3, lines.size()); in should_parse_lines()
40 assertEquals("aaa", lines.get(0).getText()); in should_parse_lines()
41 assertEquals("bbb", lines.get(1).getText()); in should_parse_lines()
42 assertEquals(";", lines.get(2).getText()); in should_parse_lines()
52 List<Line> lines = s.getLines(); in should_parse_empty_lines() local
53 assertEquals(4, lines.size()); in should_parse_empty_lines()
54 assertEquals("", lines.get(0).getText()); in should_parse_empty_lines()
55 assertEquals("aaa", lines.get(1).getText()); in should_parse_empty_lines()
56 assertEquals("", lines.get(2).getText()); in should_parse_empty_lines()
[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/llvm-project/lldb/test/API/tools/lldb-vscode/breakpoint/
DTestVSCode_setBreakpoints.py99 specified and zero or more source lines. If breakpoints have been
110 lines = [first_line, third_line, second_line]
119 response = self.vscode.request_setBreakpoints(self.main_path, lines)
123 self.assertEquals(len(breakpoints), len(lines),
124 "expect %u source breakpoints" % (len(lines)))
125 for (breakpoint, index) in zip(breakpoints, range(len(lines))):
127 self.assertTrue(line, lines[index])
130 self.assertTrue(line in lines, "line expected in lines array")
135 # setBreakpoints packet with the same source file with fewer lines.
141 lines.remove(second_line)
[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/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_parser/
Dtest_declarations.py86 for lines, expected in tests:
91 with self.subTest(lines):
92 lines = lines.splitlines()
94 stmts = list(iter_global_declarations(lines))
115 with self.subTest(lines):
116 lines = lines.splitlines()
118 stmts = list(iter_global_declarations(lines))
124 lines = ['static const int const *spam, *ham=NULL, eggs = 3;']
126 stmts = list(iter_global_declarations(lines))
135 lines = textwrap.dedent('''
[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/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/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DPartialFormattingTest.java57 String lines(String... args) { in lines() method in PartialFormattingTest
64 lines( in testGetFormatReplacements0()
72 lines( in testGetFormatReplacements0()
87 lines( in testGetFormatReplacements1()
95 lines( in testGetFormatReplacements1()
108 lines( in expandToStatement()
118 lines( in expandToStatement()
132 lines( in expandToMethodSignature()
144 lines( in expandToMethodSignature()
161 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/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/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/llvm-project/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…
14 // RUN: %clang -target armv8a-none-linux-gnueabi -x c -E -dM %s -o - | FileCheck -match-full-lines
15 …t armv8a-none-linux-gnueabihf -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
27 …arch=armv8.2-a+nofp16fml+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
28 …arch=armv8.2-a+nofp16+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
29 …arch=armv8.2-a+fp16+nofp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
30 …nueabi -march=armv8-a+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
31 …x-gnueabi -march=armv8-a+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
32 …arch=armv8.4-a+nofp16fml+fp16 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
33 …arch=armv8.4-a+nofp16+fp16fml -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=CHE…
[all …]
Dx86_target_features.c1 …n-unknown -march=core2 -msse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE…
12 …arch=core2 -msse4.1 -mno-sse4 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=NOS…
16 …-march=core2 -msse4 -mno-sse2 -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE…
27 …nown-unknown -march=pentium-m -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE…
38 …arch=pentium-m -mno-sse -mavx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX…
50 …arch=pentium-m -mxop -mno-avx -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=SSE…
62 …unknown -march=atom -mavx512f -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX…
76 …nknown -march=atom -mavx512cd -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX…
91 …nknown -march=atom -mavx512er -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX…
106 …nknown -march=atom -mavx512pf -x c -E -dM -o - %s | FileCheck -match-full-lines --check-prefix=AVX…
[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/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-header-os-abi.test5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
29 # RUN: llvm-readobj --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix…
30 # RUN: llvm-readelf --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix…
37 # RUN: llvm-readobj --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=…
38 # RUN: llvm-readelf --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=…
45 # RUN: llvm-readobj --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O…
46 # RUN: llvm-readelf --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O…
[all …]
Damdgpu-elf-headers.test2 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX600 -DFLAGS=0x20
5 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX601 -DFLAGS=0x21
8 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX602 -DFLAGS=0x3A
11 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX700 -DFLAGS=0x22
14 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX701 -DFLAGS=0x23
17 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX702 -DFLAGS=0x24
20 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX703 -DFLAGS=0x25
23 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX704 -DFLAGS=0x26
26 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX705 -DFLAGS=0x3B
29 # RUN: llvm-readobj -h %t | FileCheck %s --match-full-lines -DFILE=%t -DCPU=GFX801 -DFLAGS=0x28
[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/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/llvm/test/tools/llvm-cov/Inputs/
Dtest_-f.output2 Lines executed:100.00% of 1
5 Lines executed:0.00% of 1
8 Lines executed:0.00% of 1
11 Lines executed:100.00% of 2
14 Lines executed:0.00% of 2
17 Lines executed:100.00% of 3
20 Lines executed:100.00% of 4
23 Lines executed:91.67% of 24
26 Lines executed:100.00% of 1
29 Lines executed:100.00% of 1
[all …]

12345678910>>...261