Searched refs:cu (Results 1 - 25 of 131) sorted by relevance

123456

/external/elfutils/0.153/libdwfl/
H A Ddwfl_cumodule.c55 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; local
56 return cu->mod;
H A Ddwfl_module_getsrc.c60 struct dwfl_cu *cu; local
61 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
63 error = __libdwfl_cu_getsrclines (cu);
70 size_t l = 0, u = cu->die.cu->lines->nlines;
74 if (addr < cu->die.cu->lines->info[idx].addr)
76 else if (addr > cu->die.cu->lines->info[idx].addr)
79 return &cu
[all...]
H A Dlines.c55 __libdwfl_cu_getsrclines (struct dwfl_cu *cu) argument
57 if (cu->lines == NULL)
61 if (INTUSE(dwarf_getsrclines) (&cu->die, &lines, &nlines) != 0)
64 cu->lines = malloc (offsetof (struct Dwfl_Lines, idx[nlines]));
65 if (cu->lines == NULL)
67 cu->lines->cu = cu;
69 cu->lines->idx[i].idx = i;
H A Ddwfl_getsrclines.c55 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; local
57 if (cu->lines == NULL)
59 Dwfl_Error error = __libdwfl_cu_getsrclines (cu);
67 *nlines = cu->die.cu->lines->nlines;
H A Ddwfl_onesrcline.c55 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; local
60 if (cu->lines == NULL)
62 Dwfl_Error error = __libdwfl_cu_getsrclines (cu);
70 if (idx >= cu->die.cu->lines->nlines)
76 return &cu->lines->idx[idx];
H A Ddwfl_dwarf_line.c59 struct dwfl_cu *cu = dwfl_linecu (line); local
60 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx];
62 *bias = dwfl_adjusted_dwarf_addr (cu->mod, 0);
H A Ddwfl_linecu.c60 struct dwfl_cu *cu = dwfl_linecu_inline (line); local
61 return &cu->die;
H A Ddwfl_module_addrdie.c58 struct dwfl_cu *cu; local
59 Dwfl_Error error = __libdwfl_addrcu (mod, addr, &cu);
61 return &cu->die;
H A Ddwfl_module_nextcu.c58 struct dwfl_cu *cu; local
59 Dwfl_Error error = __libdwfl_nextcu (mod, (struct dwfl_cu *) lastcu, &cu);
61 return &cu->die; /* Same as a cast, so ok for null too. */
H A Ddwfl_nextcu.c58 struct dwfl_cu *cu = (struct dwfl_cu *) lastcu; local
61 if (cu == NULL)
67 mod = cu->mod;
72 error = __libdwfl_nextcu (mod, cu, &cu);
76 if (cu != NULL)
79 return &cu->die;
H A Dcu.c95 aranges[naranges].cu = NULL;
153 struct dwfl_cu *cu = arg; local
154 if (cu == (void *) -1l)
157 assert (cu->mod->lazycu == 0);
173 cudie_offset (const struct dwfl_cu *cu) argument
175 return DIE_OFFSET_FROM_CU_OFFSET (cu->die.cu->start, cu->die.cu->offset_size,
176 cu
213 struct dwfl_cu *cu = malloc (sizeof *cu); local
253 __libdwfl_nextcu(Dwfl_Module *mod, struct dwfl_cu *lastcu, struct dwfl_cu **cu) argument
302 arangecu(Dwfl_Module *mod, struct dwfl_arange *arange, struct dwfl_cu **cu) argument
320 __libdwfl_addrcu(Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_cu **cu) argument
[all...]
H A Ddwfl_line_comp_dir.c59 struct dwfl_cu *cu = dwfl_linecu (line); local
61 return INTUSE(dwarf_formstring) (INTUSE(dwarf_attr) (&cu->die,
/external/elfutils/0.153/libdw/
H A Ddwarf_formref_die.c67 struct Dwarf_CU *cu = attr->cu; local
74 uint8_t ref_size = (cu->version == 2
75 ? cu->address_size
76 : cu->offset_size);
78 if (__libdw_read_offset (cu->dbg, IDX_debug_info, attr->valp,
82 return INTUSE(dwarf_offdie) (cu->dbg, offset, result);
91 uint64_t sig = read_8ubyte_unaligned (cu->dbg, attr->valp);
92 cu = Dwarf_Sig8_Hash_find (&cu
[all...]
H A Ddwarf_decl_file.c79 struct Dwarf_CU *cu = die->cu; local
80 if (cu->lines == NULL)
87 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines);
88 assert (cu->lines != NULL);
91 if (cu->lines == (void *) -1l)
99 assert (cu->files != NULL && cu->files != (void *) -1l);
101 if (idx >= cu->files->nfiles)
107 return cu
[all...]
H A Ddwarf_getsrcfiles.c70 struct Dwarf_CU *const cu = cudie->cu; local
71 if (cu->lines == NULL)
80 else if (cu->files != (void *) -1l)
86 assert (cu->files != NULL && cu->files != (void *) -1l);
87 *files = cu->files;
89 *nfiles = cu->files->nfiles;
H A Ddwarf_diecu.c68 *result = CUDIE (die->cu);
71 *address_sizep = die->cu->address_size;
73 *offset_sizep = die->cu->offset_size;
H A Ddwarf_formaddr.c73 if (__libdw_read_address (attr->cu->dbg,
74 cu_sec_idx (attr->cu), attr->valp,
75 attr->cu->address_size, return_addr))
H A Ddwarf_tag.c60 __libdw_findabbrev (struct Dwarf_CU *cu, unsigned int code) argument
69 abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code, NULL);
71 while (cu->last_abbrev_offset != (size_t) -1l)
77 abb = __libdw_getabbrev (cu->dbg, cu, cu->last_abbrev_offset, &length,
82 cu->last_abbrev_offset = (size_t) -1l;
86 cu->last_abbrev_offset += length;
115 die->abbrev = __libdw_findabbrev (die->cu, u128);
H A Ddwarf_cuoffset.c65 : (die->addr - cu_data (die->cu)->d_buf - die->cu->start));
H A Ddwarf_siblingof.c82 sibattr.cu = this_die.cu;
87 = ((unsigned char *) cu_data (sibattr.cu)->d_buf + sibattr.cu->end);
105 addr = ((unsigned char *) cu_data (sibattr.cu)->d_buf
106 + sibattr.cu->start + offset);
155 result->cu = sibattr.cu;
H A Dlibdw_form.c63 __libdw_form_val_len (Dwarf *dbg, struct Dwarf_CU *cu, unsigned int form, argument
73 result = cu->address_size;
77 result = cu->version == 2 ? cu->address_size : cu->offset_size;
82 result = cu->offset_size;
146 result = __libdw_form_val_len (dbg, cu, u128, valp);
H A Ddwarf_getabbrev.c62 __libdw_getabbrev (dbg, cu, offset, lengthp, result)
64 struct Dwarf_CU *cu;
109 if (cu == NULL
110 || (abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code, NULL)) == NULL)
153 if (cu != NULL && ! foundit)
154 (void) Dwarf_Abbrev_Hash_insert (&cu->abbrev_hash, abb->code, abb);
167 return __libdw_getabbrev (die->cu->dbg, die->cu,
168 die->cu->orig_abbrev_offset + offset, lengthp,
H A Ddwarf_formstring.c72 Dwarf *dbg = attrp->cu->dbg;
82 if (__libdw_read_offset (dbg, cu_sec_idx (attrp->cu), attrp->valp,
83 attrp->cu->offset_size, &off, IDX_debug_str, 1))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dreport.py41 for cu in self.code_units:
43 if fnmatch.fnmatch(cu.filename, pattern):
44 filtered.append(cu)
51 for cu in self.code_units:
53 if fnmatch.fnmatch(cu.filename, pattern):
56 filtered.append(cu)
84 for cu in self.code_units:
86 report_fn(cu, self.coverage._analyze(cu))
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.h66 void Append(const DWARFCompileUnit *cu, dw_offset_t attr_die_offset, dw_attr_t attr, dw_form_t form);
67 const DWARFCompileUnit * CompileUnitAtIndex(uint32_t i) const { return m_infos[i].cu; }
83 const DWARFCompileUnit *cu; // Keep the compile unit with each attribute in case we have DW_FORM_ref_addr values member in struct:DWARFDebugInfoEntry::Attributes::Info
136 const DWARFCompileUnit* cu,
141 const DWARFCompileUnit* cu,
146 const DWARFCompileUnit* cu,
152 const DWARFCompileUnit* cu,
158 const DWARFCompileUnit* cu,
164 const DWARFCompileUnit* cu,
171 const DWARFCompileUnit* cu,
[all...]

Completed in 5248 milliseconds

123456