/external/elfutils/src/libdw/ |
dwarf_onesrcline.c | 1 /* Return one of the sources lines of a CU. 38 dwarf_onesrcline (Dwarf_Lines *lines, size_t idx) 40 if (lines == NULL) 43 if (idx >= lines->nlines) 49 return &lines->info[idx];
|
dwarf_getsrc_die.c | 41 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->info[u - 1].end_sequence && u > 0 [all...] |
dwarf_decl_file.c | 59 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/ |
lines.c | 36 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;
|
dwfl_onesrcline.c | 1 /* 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];
|
dwfl_getsrclines.c | 36 if (cu->lines == NULL) 46 *nlines = cu->die.cu->lines->nlines;
|
dwfl_module_getsrc.c | 45 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/ |
dwarf_line_to_module_unittest.cc | 47 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.size()) 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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/ |
leda.py | 49 lines=(line.decode(encoding) for line in path) 50 G=parse_leda(lines) 54 def parse_leda(lines): 59 lines : string or iterable 74 if is_string_like(lines): lines=iter(lines.split('\n')) 75 lines = iter([line.rstrip('\n') for line in lines \ 78 next(lines) [all...] |
/external/strace/tests/ |
match.awk | 4 NR > lines { next } 21 if (fail == 0 && NR != lines) { 23 print "Expected " lines " lines, found " NR " line(s)."
|
getrandom.awk | 7 lines = 4
|
select.awk | 7 lines = 4
|
caps.awk | 8 lines = 3
|
net-yy-connect.awk | 2 lines = 5 32 NR == lines && $0 == "+++ exited with 0 +++" {next} 40 if (NR != lines) { 41 print "Expected " lines " lines, found " NR " line(s)."
|
unix-yy-connect.awk | 2 lines = 6 31 NR == lines && $0 == "+++ exited with 0 +++" {next} 39 if (NR != lines) { 40 print "Expected " lines " lines, found " NR " line(s)."
|
/bionic/libc/tools/ |
generate-NOTICE.py | 36 def ExtractCopyrightAt(lines, i): 37 hash = lines[i].startswith("#") 43 if "/*" in lines[start - 1]: 47 # Read comment lines until we hit something that terminates a 49 while i < len(lines): 50 if "*/" in lines[i]: 52 if hash and len(lines[i]) == 0: 54 if "\t@(#)" in lines[i] or "\tfrom: @(#)" in lines[i] or "From: @(#)" in lines[i] or "from OpenBSD:" in lines[i] 127 lines = content.split("\\n") variable [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
ColorChipView.java | 116 float[] lines = new float[16]; local 118 lines [ptr++] = 0; 119 lines [ptr++] = top; 120 lines [ptr++] = right; 121 lines [ptr++] = top; 122 lines [ptr++] = 0; 123 lines [ptr++] = bottom - halfBorderWidth; 124 lines [ptr++] = right; 125 lines [ptr++] = bottom - halfBorderWidth; 126 lines [ptr++] = left [all...] |
/external/toybox/toys/posix/ |
head.c | 1 /* 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/llvm/utils/lint/ |
generic_lint.py | 12 def RunOnFile(self, filename, lines): 13 common_lint.VerifyLineLength(filename, lines, 15 common_lint.VerifyTrailingWhitespace(filename, lines)
|
common_lint.py | 7 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 with trailing whitespace [all...] |
/external/pcre/dist/ |
Detrail | 3 # This is a script for removing trailing whitespace from lines in files that 12 @lines = <IN>; 14 foreach (@lines) 25 print OUT @lines;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
MimeWriter.py | 105 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( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
MimeWriter.py | 105 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( [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
js_utils.py | 19 lines = stripped_text.split('\n') 20 for line in lines:
|
/external/harfbuzz_ng/util/ |
view-cairo.hh | 40 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
|