Home
last modified time | relevance | path

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

12345678910>>...39

/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/v8/tools/
Djs2c.py54 def RemoveCommentsAndTrailingWhitespace(lines): argument
55 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
56 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
57 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
58 return lines
64 lines = file.read()
67 return lines
73 def Validate(lines): argument
76 if EVAL_PATTERN.search(lines):
78 if WITH_PATTERN.search(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/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/bench/
Dwrite.py153 lines = []
160 lines.append('')
161 lines.append('')
164 lines.append(line)
165 lines.append('~' * len(line))
168 lines.append('')
169 lines.append('.. rst-class:: benchmark')
170 lines.append('')
175 lines.append(separator())
176 lines.append('|'.join([''] + [
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/bench/
Dwrite.py156 lines = []
163 lines.append('')
164 lines.append('')
167 lines.append(line)
168 lines.append('~' * len(line))
171 lines.append('')
172 lines.append('.. rst-class:: benchmark')
173 lines.append('')
178 lines.append(separator())
179 lines.append('|'.join([''] + [
[all …]
/external/boringssl/src/util/
Ddoc.go80 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
81 if len(lines) == 0 {
82 return nil, lines, lineNo, nil
86 rest = lines
142 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
143 if len(lines) == 0 {
144 return "", lines, lineNo, nil
147 rest = lines
256 var lines, oldLines []string
258 lines = append(lines, scanner.Text())
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dformatter.py42 lines = []
54 lines.append(self.format_sup_line_pos(sup.line, sup.column))
56 lines.append(self.format_sup_expression(sup.expression))
59 lines.append(self.format_sup_warning(warning))
61 lines.extend(self.format_sup_info(sup.info))
63 lines.append('Exception in supplement:')
64 lines.append(self.quote_long(frame.supplement_exception))
66 lines.append(self.format_traceback_info(frame.traceback_info))
73 lines.append(self.format_source_line(filename or '?', frame))
77 lines.append(self.format_long_source(
[all …]
/external/elfutils/src/libdw/
Ddwarf_getsrc_die.c41 Dwarf_Lines *lines; in dwarf_getsrc_die() local
44 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_die()
52 if (addr < lines->info[idx].addr) in dwarf_getsrc_die()
54 else if (addr > lines->info[idx].addr || lines->info[idx].end_sequence) in dwarf_getsrc_die()
57 return &lines->info[idx]; in dwarf_getsrc_die()
61 assert (lines->info[nlines - 1].end_sequence); in dwarf_getsrc_die()
68 if (u > 0 && u < nlines && addr > lines->info[u - 1].addr) in dwarf_getsrc_die()
70 while (lines->info[u - 1].end_sequence && u > 0) in dwarf_getsrc_die()
73 return &lines->info[u - 1]; in dwarf_getsrc_die()
Ddwarf_entry_breakpoints.c70 Dwarf_Lines *lines; local
72 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0)
91 if (lines->info[idx].addr < low)
93 else if (lines->info[idx].addr > low)
95 else if (lines->info[idx].end_sequence)
106 for (size_t i = l; i < u && lines->info[i].addr < high; ++i)
107 if (lines->info[i].prologue_end
108 && add_bkpt (lines->info[i].addr) < 0)
111 while (++l < nlines && lines->info[l].addr < high)
112 if (!lines->info[l].end_sequence)
[all …]
/external/harfbuzz_ng/test/shaping/
Dhb_test_tools.py76 def colorize_lines (self, lines): argument
77 lines = (l if l else '' for l in lines)
78 ss = [self.diff_regex.sub (r'\1\n\2\n', l).splitlines (True) for l in lines]
106 lines = [None, None]
112 if lines[i]:
114 for line in self.colorize_lines (lines):
116 lines = [None, None]
117 lines[i] = l[1:]
118 if (all (lines)):
120 for line in self.colorize_lines (lines):
[all …]
/external/toybox/toys/posix/
Dtail.c34 long lines;
73 static int try_lseek(int fd, long bytes, long lines) in try_lseek() argument
92 while (lines && pos) { in try_lseek()
113 else if (list->data[offset] == '\n' && !++lines) { in try_lseek()
134 long bytes = TT.bytes, lines = TT.lines; in do_tail() local
144 if (bytes<0 || lines<0) { in do_tail()
149 if (CFG_TAIL_SEEK && try_lseek(fd, bytes, lines)) return; in do_tail()
176 if (linepop) lines++; in do_tail()
179 if (lines > 0) { in do_tail()
187 lines--; in do_tail()
[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/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 …]
/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/libvncserver/utils/
Dgit2cl.pl94 my @lines = split /\n/, $text;
96 $lines[0] =~ s/^$indent1\s+/$indent1/;
98 for @lines[1..$#lines];
99 my $newtext = join "\n", @lines;
107 my @lines = split (/\n/, $files_list);
108 my $last_line = pop (@lines);
128 my @lines = split (/\n/, $text);
129 while (@lines) # Don't use `foreach' here, it won't work.
131 my $this_line = shift (@lines);
200 my $next_next_line = shift (@lines);
[all …]
/external/llvm/utils/lint/
Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length): argument
22 for line in lines:
30 def VerifyTabs(filename, lines): argument
44 for line in lines:
51 def VerifyTrailingWhitespace(filename, lines): argument
65 for line in lines:
73 def RunOnFile(filename, lines): argument
94 lines = file.readlines()
95 lint.extend(linter.RunOnFile(filename, lines))
/external/markdown/markdown/extensions/
Dfootnotes.py153 def run(self, lines): argument
154 lines = self._handleFootnoteDefinitions(lines)
155 text = "\n".join(lines)
158 def _handleFootnoteDefinitions(self, lines): argument
169 i, id, footnote = self._findFootnoteDefinition(lines)
172 plain = lines[:i]
173 detabbed, theRest = self.detectTabbed(lines[i+1:])
180 return lines
182 def _findFootnoteDefinition(self, lines): argument
196 for line in lines:
[all …]
/external/fonttools/Lib/fontTools/
DafmLib.py110 lines = readlines(path)
111 for line in lines:
193 lines = [ "StartFontMetrics 2.0",
201 lines.append("Comment " + comment)
211 lines.append(attr + " " + str(value))
218 lines.append(attr + " " + str(value))
221 lines.append("StartCharMetrics " + repr(len(self._chars)))
233 lines.append("C %d ; WX %d ; N %s ; B %d %d %d %d ;" %
235 lines.append("EndCharMetrics")
238 lines.append("StartKernData")
[all …]
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp51 if(lines[i].name[0]>=0x41) { in DictionaryTriePerfTest()
54 int32_t len=lines[i].len; in DictionaryTriePerfTest()
56 while(len>0 && ((c=lines[i].name[len-1])==0xa || c==0xd)) { in DictionaryTriePerfTest()
59 lines[i].len=len; in DictionaryTriePerfTest()
70 const ULine *getCachedLines() const { return lines; } in getCachedLines()
408 const ULine *lines=perf.getCachedLines(); in UCharsTrieDictLookup() local
412 if(lines[i].name[0]<0x41) { in UCharsTrieDictLookup()
415 builder->add(UnicodeString(FALSE, lines[i].name, lines[i].len), 0, errorCode); in UCharsTrieDictLookup()
441 const ULine *lines=perf.getCachedLines(); in call() local
445 if(lines[i].name[0]<0x41) { in call()
[all …]
/external/elfutils/src/libdwfl/
Dlines.c36 if (cu->lines == NULL) in __libdwfl_cu_getsrclines()
38 Dwarf_Lines *lines; in __libdwfl_cu_getsrclines() local
40 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0) in __libdwfl_cu_getsrclines()
43 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines])); in __libdwfl_cu_getsrclines()
44 if (cu->lines == NULL) in __libdwfl_cu_getsrclines()
46 cu->lines->cu = cu; in __libdwfl_cu_getsrclines()
48 cu->lines->idx[i].idx = i; in __libdwfl_cu_getsrclines()
Ddwfl_module_getsrc.c45 Dwarf_Lines *lines = cu->die.cu->lines; in dwfl_module_getsrc() local
46 size_t nlines = lines->nlines; in dwfl_module_getsrc()
50 assert(lines->info[nlines - 1].end_sequence); in dwfl_module_getsrc()
60 Dwarf_Line *line = &lines->info[idx]; in dwfl_module_getsrc()
69 Dwarf_Line *line = &lines->info[l]; in dwfl_module_getsrc()
72 return &cu->lines->idx[l]; in dwfl_module_getsrc()
/external/harfbuzz_ng/util/
Dview-cairo.hh40 lines (0), scale_bits (0) {} in view_cairo_t()
48 lines = g_array_new (false, false, sizeof (helper_cairo_line_t)); in init()
75 g_array_append_val (lines, l); in consume_glyphs()
81 for (unsigned int i = 0; i < lines->len; i++) { in finish()
82 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); in finish()
86 g_array_unref (lines); in finish()
88 g_array_free (lines, TRUE); in finish()
102 GArray *lines; member
/external/clang/tools/clang-format/
Dclang-format.py46 lines = '%s:%s' % (vim.current.range.start + 1, vim.current.range.end + 1)
62 command = [binary, '-lines', lines, '-style', style, '-cursor', str(cursor)]
80 lines = stdout.split('\n')
81 output = json.loads(lines[0])
82 lines = lines[1:]
83 sequence = difflib.SequenceMatcher(None, vim.current.buffer, lines)
86 vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]]
/external/emma/core/java12/com/vladium/emma/data/
DMethodDescriptor.java137 final int [] lines = blockMap [bl]; in getLineMap() local
138 if (lines != null) in getLineMap()
140 final int lineCount = lines.length; in getLineMap()
144 final int line = lines [l]; in getLineMap()
158 final int [] lines = lineMap.keys (); in getLineMap() local
159 for (int l = 0, lineCount = lines.length; l < lineCount; ++ l) in getLineMap()
161 final int line = lines [l]; in getLineMap()
203 final int [] lines = m_blockMap [bl]; in toString() local
204 for (int l = 0; l < lines.length; ++ l) in toString()
207 s.append (lines [l]); in toString()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dmock_code_generator.cc86 vector<string> lines = Split(content, "\n", true); in ExpectGenerated() local
88 while (!lines.empty() && lines.back().empty()) { in ExpectGenerated()
89 lines.pop_back(); in ExpectGenerated()
91 for (int i = 0; i < lines.size(); i++) { in ExpectGenerated()
92 lines[i] += "\n"; in ExpectGenerated()
100 EXPECT_EQ(lines.size(), 3 + insertion_list.size() * 2); in ExpectGenerated()
103 lines[0]); in ExpectGenerated()
105 EXPECT_EQ(kFirstInsertionPoint, lines[1 + insertion_list.size()]); in ExpectGenerated()
106 EXPECT_EQ(kSecondInsertionPoint, lines[2 + insertion_list.size() * 2]); in ExpectGenerated()
111 lines[1 + i]); in ExpectGenerated()
[all …]

12345678910>>...39