Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 1632) sorted by relevance

12345678910>>...66

/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/swiftshader/third_party/LLVM/utils/
DNightlyTest.gnuplot14 plot "running_loc.txt" using 1:2 title '' with lines, \
15 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
23 "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
36 plot "running_Olden_cbe_time.txt" u 1:2 t '' with lines, \
37 "running_Olden_cbe_time.txt" u 1:2 t "bh" with lines, \
38 "running_Olden_cbe_time.txt" u 1:3 t "em3d" with lines, \
39 "running_Olden_cbe_time.txt" u 1:4 t "mst" with lines, \
40 "running_Olden_cbe_time.txt" u 1:5 t "power" with lines, \
41 "running_Olden_cbe_time.txt" u 1:6 t "tsp" with lines, \
42 "running_Olden_cbe_time.txt" u 1:7 t "bisort" with lines, \
[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/v8/tools/
Djs2c.py53 def RemoveCommentsAndTrailingWhitespace(lines): argument
54 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
55 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
56 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
57 return lines
63 lines = file.read()
66 return lines
75 def Validate(lines): argument
78 if EVAL_PATTERN.search(lines):
80 if WITH_PATTERN.search(lines):
[all …]
/external/vulkan-validation-layers/demos/smoke/
Dgenerate-dispatch-table.py82 lines = []
83 lines.append("Extension(name=%s, version=%s, guard=%s, commands=[" %
87 lines.append(" %s," % repr(cmd))
89 lines.append("])")
91 return "\n".join(lines)
314 lines = []
315 lines.append("// This file is generated.")
316 lines.append("#ifndef %s" % guard)
317 lines.append("#define %s" % guard)
318 lines.append("")
[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/ply/ply/ply/
Dygen.py13 def get_source_range(lines, tag): argument
14 srclines = enumerate(lines)
28 def filter_section(lines, tag): argument
32 for line in lines:
43 lines = f.readlines()
45 parse_start, parse_end = get_source_range(lines, 'parsedebug')
46 parseopt_start, parseopt_end = get_source_range(lines, 'parseopt')
47 parseopt_notrack_start, parseopt_notrack_end = get_source_range(lines, 'parseopt-notrack')
50 orig_lines = lines[parse_start:parse_end]
59 lines[parseopt_notrack_start:parseopt_notrack_end] = parseopt_notrack_lines
[all …]
/external/mockito/src/main/java/org/mockito/internal/debugging/
DLoggingListener.java58 List<String> lines = new LinkedList<String>(); in getStubbingInfo() local
59lines.add("[Mockito] Additional stubbing information (see javadoc for StubbingInfo class):"); in getStubbingInfo()
62 lines.add("[Mockito]"); in getStubbingInfo()
63lines.add("[Mockito] Argument mismatch between stubbing and actual invocation (is stubbing correct… in getStubbingInfo()
64 lines.add("[Mockito]"); in getStubbingInfo()
65 addOrderedList(lines, argMismatchStubs); in getStubbingInfo()
69 lines.add("[Mockito]"); in getStubbingInfo()
70 lines.add("[Mockito] Unused stubbing (perhaps can be removed from the test?):"); in getStubbingInfo()
71 lines.add("[Mockito]"); in getStubbingInfo()
72 addOrderedList(lines, unusedStubs); in getStubbingInfo()
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_grep.py55 lines = s.getvalue().split('\n')
56 lines.pop() # remove bogus '' after last \n
57 return lines
61 lines = self.report(pat)
62 self.assertEqual(len(lines), 2)
63 self.assertIn(pat, lines[0])
64 self.assertEqual(lines[1], 'No hits.')
69 lines = self.report(pat)
70 self.assertEqual(len(lines), 5)
71 self.assertIn(pat, lines[0])
[all …]
/external/boringssl/src/util/
Ddoc.go79 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
80 if len(lines) == 0 {
81 return nil, lines, lineNo, nil
85 rest = lines
141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
142 if len(lines) == 0 || len(lines[0]) == 0 {
143 return "", lines, lineNo, nil
146 rest = lines
269 var lines, oldLines []string
271 lines = append(lines, scanner.Text())
[all …]
/external/python/cpython2/Lib/
Dinspect.py374 lines = string.split(string.expandtabs(doc), '\n')
380 for line in lines[1:]:
386 if lines:
387 lines[0] = lines[0].lstrip()
389 for i in range(1, len(lines)): lines[i] = lines[i][margin:]
391 while lines and not lines[-1]:
392 lines.pop()
393 while lines and not lines[0]:
394 lines.pop(0)
395 return string.join(lines, '\n')
[all …]
DMimeWriter.py105 lines = value.split("\n")
106 while lines and not lines[-1]: del lines[-1]
107 while lines and not lines[0]: del lines[0]
108 for i in range(1, len(lines)):
109 lines[i] = " " + lines[i].strip()
110 value = "\n".join(lines) + "\n"
/external/elfutils/libdw/
Ddwarf_entry_breakpoints.c68 Dwarf_Lines *lines, size_t nlines, in search_range() argument
75 if (lines->info[idx].addr < low) in search_range()
77 else if (lines->info[idx].addr > low) in search_range()
79 else if (lines->info[idx].end_sequence) in search_range()
90 for (size_t i = l; i < u && lines->info[i].addr < high; ++i) in search_range()
91 if (lines->info[i].prologue_end in search_range()
92 && add_bkpt (lines->info[i].addr, bkpts, pnbkpts) < 0) in search_range()
95 while (++l < nlines && lines->info[l].addr < high) in search_range()
96 if (!lines->info[l].end_sequence) in search_range()
97 return add_bkpt (lines->info[l].addr, bkpts, pnbkpts); in search_range()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/csv/
DCSVFormatterTest.java62 final List<String> lines = getLines(); in testStructureWithGroup() local
63 assertEquals(HEADER, lines.get(0)); in testStructureWithGroup()
66 lines.get(1)); in testStructureWithGroup()
72 final List<String> lines = getLines(); in testStructureWithNestedGroups() local
73 assertEquals(HEADER, lines.get(0)); in testStructureWithNestedGroups()
76 lines.get(1)); in testStructureWithNestedGroups()
79 lines.get(2)); in testStructureWithNestedGroups()
85 final List<String> lines = getLines(); in testStructureWithBundleOnly() local
86 assertEquals(HEADER, lines.get(0)); in testStructureWithBundleOnly()
89 lines.get(1)); in testStructureWithBundleOnly()
[all …]
/external/harfbuzz_ng/test/shaping/
Dhb_test_tools.py116 def colorize_lines (self, lines): argument
117 lines = (l if l else '' for l in lines)
118 ss = [self.diff_regex.sub (r'\1\n\2\n', l).splitlines (True) for l in lines]
146 lines = [None, None]
152 if lines[i]:
154 for line in self.colorize_lines (lines):
156 lines = [None, None]
157 lines[i] = l[1:]
158 if (all (lines)):
160 for line in self.colorize_lines (lines):
[all …]
/external/skia/src/gpu/ops/
DGrMSAAPathRenderer.cpp81 MSAALineVertices& lines) { in append_contour_edge_indices() argument
82 *(lines.nextIndex++) = fanCenterIdx; in append_contour_edge_indices()
83 *(lines.nextIndex++) = edgeV0Idx; in append_contour_edge_indices()
84 *(lines.nextIndex++) = edgeV0Idx + 1; in append_contour_edge_indices()
87 static inline void add_quad(MSAALineVertices& lines, MSAAQuadVertices& quads, const SkPoint pts[], in add_quad() argument
89 SkASSERT(lines.nextVertex < lines.verticesEnd); in add_quad()
90 *lines.nextVertex = { pts[2], color }; in add_quad()
92 int prevIdx = (uint16_t) (lines.nextVertex - lines.vertices - 1); in add_quad()
94 append_contour_edge_indices(subpathLineIdxStart, prevIdx, lines); in add_quad()
97 lines.nextVertex++; in add_quad()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/
DMarkedYAMLException.java58 StringBuilder lines = new StringBuilder(); in toString() local
60 lines.append(context); in toString()
61 lines.append("\n"); in toString()
68 lines.append(contextMark.toString()); in toString()
69 lines.append("\n"); in toString()
72 lines.append(problem); in toString()
73 lines.append("\n"); in toString()
76 lines.append(problemMark.toString()); in toString()
77 lines.append("\n"); in toString()
80 lines.append(note); in toString()
[all …]
/external/v8/testing/gmock/scripts/generator/cpp/
Dgmock_class.py128 lines = []
139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
140 lines.append('')
151 lines.append('template <' + ', '.join(template_decls) + '>')
155 lines.append('class Mock%s : public %s {' # }
157 lines.append('%spublic:' % (' ' * (_INDENT // 2)))
160 _GenerateMethods(lines, source, class_node)
163 if lines:
165 if len(lines) == 2:
166 del lines[-1]
[all …]
/external/googletest/googlemock/scripts/generator/cpp/
Dgmock_class.py128 lines = []
139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
140 lines.append('')
151 lines.append('template <' + ', '.join(template_decls) + '>')
155 lines.append('class Mock%s : public %s {' # }
157 lines.append('%spublic:' % (' ' * (_INDENT // 2)))
160 _GenerateMethods(lines, source, class_node)
163 if lines:
165 if len(lines) == 2:
166 del lines[-1]
[all …]
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dgmock_class.py123 lines = []
133 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
134 lines.append('')
137 lines.append('class Mock%s : public %s {' % (class_name, class_name)) # }
138 lines.append('%spublic:' % (' ' * (_INDENT // 2)))
141 _GenerateMethods(lines, source, class_node)
144 if lines:
146 if len(lines) == 2:
147 del lines[-1]
150 lines.append('};')
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
Dpump.py163 def StartsWith(lines, pos, string): argument
166 return lines[pos.line][pos.column:].startswith(string)
186 def FindFirst(lines, token_table, cursor): argument
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
208 def SubString(lines, start, end): argument
212 end = Cursor(len(lines) - 1, len(lines[-1]))
218 return lines[start.line][start.column:end.column]
220 result_lines = ([lines[start.line][start.column:]] +
221 lines[start.line + 1:end.line] +
[all …]
/external/v8/testing/gtest/scripts/
Dpump.py163 def StartsWith(lines, pos, string): argument
166 return lines[pos.line][pos.column:].startswith(string)
186 def FindFirst(lines, token_table, cursor): argument
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
208 def SubString(lines, start, end): argument
212 end = Cursor(len(lines) - 1, len(lines[-1]))
218 return lines[start.line][start.column:end.column]
220 result_lines = ([lines[start.line][start.column:]] +
221 lines[start.line + 1:end.line] +
[all …]
/external/googletest/googletest/scripts/
Dpump.py163 def StartsWith(lines, pos, string): argument
166 return lines[pos.line][pos.column:].startswith(string)
186 def FindFirst(lines, token_table, cursor): argument
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
208 def SubString(lines, start, end): argument
212 end = Cursor(len(lines) - 1, len(lines[-1]))
218 return lines[start.line][start.column:end.column]
220 result_lines = ([lines[start.line][start.column:]] +
221 lines[start.line + 1:end.line] +
[all …]
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py163 def StartsWith(lines, pos, string): argument
166 return lines[pos.line][pos.column:].startswith(string)
186 def FindFirst(lines, token_table, cursor): argument
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
208 def SubString(lines, start, end): argument
212 end = Cursor(len(lines) - 1, len(lines[-1]))
218 return lines[start.line][start.column:end.column]
220 result_lines = ([lines[start.line][start.column:]] +
221 lines[start.line + 1:end.line] +
[all …]
/external/protobuf/gtest/scripts/
Dpump.py164 def StartsWith(lines, pos, string): argument
167 return lines[pos.line][pos.column:].startswith(string)
187 def FindFirst(lines, token_table, cursor): argument
192 for line in lines[start.line:]:
203 return MakeToken(lines, found_start, found_end, token_type)
209 def SubString(lines, start, end): argument
213 end = Cursor(len(lines) - 1, len(lines[-1]))
219 return lines[start.line][start.column:end.column]
221 result_lines = ([lines[start.line][start.column:]] +
222 lines[start.line + 1:end.line] +
[all …]

12345678910>>...66