Searched refs:lines (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/external/elfutils/src/libdw/
H A Ddwarf_onesrcline.c1 /* Return one of the sources lines of a CU.
38 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx) argument
40 if (lines == NULL)
43 if (idx >= lines->nlines)
49 return &lines->info[idx];
H A Ddwarf_getsrc_die.c41 Dwarf_Lines *lines; local
44 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0)
47 /* The lines are sorted by address, so we can use binary search. */
52 if (addr < lines->info[idx].addr)
54 else if (addr > lines->info[idx].addr || lines->info[idx].end_sequence)
57 return &lines->info[idx];
61 assert (lines->info[nlines - 1].end_sequence);
68 if (u > 0 && u < nlines && addr > lines->info[u - 1].addr)
70 while (lines
[all...]
H A Ddwarf_decl_file.c59 if (cu->lines == NULL)
61 Dwarf_Lines *lines; local
66 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines); local
67 assert (cu->lines != NULL);
70 if (cu->lines == (void *) -1l)
/external/elfutils/src/libdwfl/
H A Dlines.c36 if (cu->lines == NULL)
38 Dwarf_Lines *lines; local
40 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0)
43 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines]));
44 if (cu->lines == NULL)
46 cu->lines->cu = cu;
48 cu->lines->idx[i].idx = i;
H A Ddwfl_onesrcline.c1 /* Return one of the sources lines of a CU.
39 if (cu->lines == NULL)
49 if (idx >= cu->die.cu->lines->nlines)
55 return &cu->lines->idx[idx];
H A Ddwfl_getsrclines.c36 if (cu->lines == NULL)
46 *nlines = cu->die.cu->lines->nlines;
H A Ddwfl_module_getsrc.c45 Dwarf_Lines *lines = cu->die.cu->lines; local
46 size_t nlines = lines->nlines;
50 assert(lines->info[nlines - 1].end_sequence);
55 /* The lines are sorted by address, so we can use binary search. */
60 Dwarf_Line *line = &lines->info[idx];
69 Dwarf_Line *line = &lines->info[l];
72 return &cu->lines->idx[l];
/external/google-breakpad/src/common/
H A Ddwarf_line_to_module_unittest.cc47 vector<Module::Line> lines; local
48 DwarfLineToModule h(&m, "/", &lines);
59 EXPECT_EQ(1U, lines.size());
60 EXPECT_EQ(0x6fd126fbf74f2680ULL, lines[0].address);
61 EXPECT_EQ(0x63c9a14cf556712bULL, lines[0].size);
62 EXPECT_TRUE(lines[0].file == files[0]);
63 EXPECT_EQ(0x4c090cbf, lines[0].number);
68 vector<Module::Line> lines; local
69 DwarfLineToModule h(&m, "/", &lines);
98 ASSERT_EQ(5U, lines
128 vector<Module::Line> lines; local
146 vector<Module::Line> lines; local
164 vector<Module::Line> lines; local
177 vector<Module::Line> lines; local
190 vector<Module::Line> lines; local
205 vector<Module::Line> lines; local
221 vector<Module::Line> lines; local
237 vector<Module::Line> lines; local
253 vector<Module::Line> lines; local
269 vector<Module::Line> lines; local
283 vector<Module::Line> lines; local
298 vector<Module::Line> lines; local
311 vector<Module::Line> lines; local
328 vector<Module::Line> lines; local
341 vector<Module::Line> lines; local
354 vector<Module::Line> lines; local
375 vector<Module::Line> lines; local
[all...]
/external/strace/tests/
H A Dmatch.awk4 NR > lines { next }
21 if (fail == 0 && NR != lines) {
23 print "Expected " lines " lines, found " NR " line(s)."
H A Dgetrandom.awk7 lines = 4
H A Dselect.awk7 lines = 4
H A Dcaps.awk8 lines = 3
H A Dnet-yy-connect.awk2 lines = 5
32 NR == lines && $0 == "+++ exited with 0 +++" {next}
40 if (NR != lines) {
41 print "Expected " lines " lines, found " NR " line(s)."
H A Dunix-yy-connect.awk2 lines = 6
31 NR == lines && $0 == "+++ exited with 0 +++" {next}
39 if (NR != lines) {
40 print "Expected " lines " lines, found " NR " line(s)."
/external/llvm/utils/lint/
H A Dgeneric_lint.py12 def RunOnFile(self, filename, lines):
13 common_lint.VerifyLineLength(filename, lines,
15 common_lint.VerifyTrailingWhitespace(filename, lines)
H A Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length):
8 """Checks to make sure the file has no lines with lines exceeding the length
13 lines: contents of the file as string array
22 for line in lines:
30 def VerifyTabs(filename, lines):
35 lines: contents of the file as string array
44 for line in lines:
51 def VerifyTrailingWhitespace(filename, lines):
52 """Checks to make sure the file has no lines wit
[all...]
/external/toybox/toys/posix/
H A Dhead.c1 /* head.c - copy first lines from input to stdout.
15 Copy first lines from files to stdout. If no files listed, copy from
18 -n Number of lines to copy.
25 long lines;
31 int i, len, lines=TT.lines, size=sizeof(toybuf); local
40 while (lines) {
45 for(i=0; i<len;) if (toybuf[i++] == '\n' && !--lines) break;
57 TT.lines = atolx(arg+1);
/external/v8/test/mjsunit/
H A Ddebug-sourceslice.js29 // Source lines for test.
30 var lines = [ 'function a() { b(); };\n', variable
42 // Build source by putting all lines together
44 for (var i = 0; i < lines.length; i++) {
45 source += lines[i];
61 for (var slice_size = 0; slice_size < lines.length; slice_size++) {
62 for (var n = 0; n < lines.length - slice_size; n++) {
70 expected += lines[n + i];
/external/pcre/dist/
H A DDetrail3 # This is a script for removing trailing whitespace from lines in files that
12 @lines = <IN>;
14 foreach (@lines)
25 print OUT @lines;
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
H A Djs_utils.py19 lines = stripped_text.split('\n')
20 for line in lines:
/external/harfbuzz_ng/util/
H A Dview-cairo.hh40 lines (0), scale_bits (0) {}
48 lines = g_array_new (false, false, sizeof (helper_cairo_line_t));
75 g_array_append_val (lines, l);
81 for (unsigned int i = 0; i < lines->len; i++) {
82 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i);
86 g_array_unref (lines);
88 g_array_free (lines, TRUE);
102 GArray *lines; member in struct:view_cairo_t
/external/v8/tools/
H A Djs2c.py54 def RemoveCommentsAndTrailingWhitespace(lines):
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
[all...]
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
H A Dtest_grantip.py7 lines = [
13 lines = [line.encode('utf8') for line in lines]
14 return lines
/external/google-breakpad/src/testing/scripts/generator/cpp/
H A 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
[all...]
/external/markdown/markdown/extensions/
H A Dmeta.py27 >>> text = ' Some Code - not extra lines of meta data.'
30 u'<pre><code>Some Code - not extra lines of meta data.\\n</code></pre>'
61 def run(self, lines):
66 line = lines.pop(0)
79 lines.insert(0, line)
82 return lines

Completed in 674 milliseconds

1234567891011>>