/external/elfutils/src/libdw/ |
D | dwarf_getscopes.c | 49 pc_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in pc_match() argument 54 die->prune = true; in pc_match() 61 int result = INTUSE(dwarf_haspc) (&die->die, a->pc); in pc_match() 73 die->prune = true; in pc_match() 75 if (!die->prune in pc_match() 76 && INTUSE (dwarf_tag) (&die->die) == DW_TAG_inlined_subroutine) in pc_match() 86 origin_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in origin_match() argument 90 if (die->die.addr != a->inlined_origin.addr) in origin_match() 109 die = die->parent; in origin_match() 110 scopes[a->nscopes++] = die->die; in origin_match() [all …]
|
D | dwarf_getscopes_die.c | 37 scope_visitor (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument 39 if (die->die.addr != *(void **) arg) in scope_visitor() 52 scopes[i++] = die->die; in scope_visitor() 53 die = die->parent; in scope_visitor() 55 while (die != NULL); in scope_visitor() 63 dwarf_getscopes_die (Dwarf_Die *die, Dwarf_Die **scopes) in dwarf_getscopes_die() argument 65 if (die == NULL) in dwarf_getscopes_die() 68 struct Dwarf_Die_Chain cu = { .die = CUDIE (die->cu), .parent = NULL }; in dwarf_getscopes_die() 69 void *info = die->addr; in dwarf_getscopes_die()
|
D | libdw_visit_scopes.c | 38 may_have_scopes (Dwarf_Die *die) in may_have_scopes() argument 40 switch (INTUSE(dwarf_tag) (die)) in may_have_scopes() 79 if ((ret = INTUSE(dwarf_child) (&root->die, &child.die)) != 0) 96 while (INTUSE(dwarf_tag) (&child.die) == DW_TAG_imported_unit) 98 Dwarf_Die orig_child_die = child.die; 100 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&child.die, 103 if (INTUSE(dwarf_formref_die) (attr, &child.die) != NULL 104 && INTUSE(dwarf_child) (&child.die, &child.die) == 0) 113 &child.die)) != 0) 126 if (!child.prune && may_have_scopes (&child.die) [all …]
|
D | dwarf_aggregate_size.c | 38 get_type (Dwarf_Die *die, Dwarf_Attribute *attr_mem, Dwarf_Die *type_mem) in get_type() argument 41 (INTUSE(dwarf_attr_integrate) (die, DW_AT_type, attr_mem), type_mem); in get_type() 50 array_size (Dwarf_Die *die, Dwarf_Word *size, in array_size() argument 54 if (INTUSE(dwarf_aggregate_size) (get_type (die, attr_mem, type_mem), in array_size() 62 if (INTUSE(dwarf_child) (die, &child) != 0) in array_size() 100 Dwarf_Die cu = CUDIE (die->cu); in array_size() 147 int has_children = INTUSE(dwarf_child) (die, &enum_child); in array_size() 201 aggregate_size (Dwarf_Die *die, Dwarf_Word *size, Dwarf_Die *type_mem) in aggregate_size() argument 205 if (INTUSE(dwarf_attr_integrate) (die, DW_AT_byte_size, &attr_mem) != NULL) in aggregate_size() 208 switch (INTUSE(dwarf_tag) (die)) in aggregate_size() [all …]
|
D | dwarf_child.c | 43 __libdw_find_attr (Dwarf_Die *die, unsigned int search_name, in __libdw_find_attr() argument 46 Dwarf *dbg = die->cu->dbg; in __libdw_find_attr() 50 Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, &readp); in __libdw_find_attr() 95 size_t len = __libdw_form_val_len (die->cu, attr_form, readp); in __libdw_find_attr() 118 dwarf_child (die, result) in dwarf_child() argument 119 Dwarf_Die *die; in dwarf_child() 123 if (die == NULL) 127 Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, NULL); 139 void *addr = __libdw_find_attr (die, INVALID, NULL, NULL); 145 struct Dwarf_CU *cu = die->cu;
|
D | libdw.h | 358 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die); 361 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die); 364 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result, 390 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result) 399 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) 417 extern int dwarf_peel_type (Dwarf_Die *die, Dwarf_Die *result) 421 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1); 429 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die, 435 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1); 439 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name, [all …]
|
D | dwarf_func_inline.c | 45 struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument 49 if (INTUSE(dwarf_tag) (&die->die) != DW_TAG_inlined_subroutine) in scope_visitor() 53 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&die->die, DW_AT_abstract_origin, in scope_visitor() 66 return (*v->callback) (&die->die, v->arg); in scope_visitor() 99 struct Dwarf_Die_Chain cu = { .die = CUDIE (func->cu), .parent = NULL }; in dwarf_func_inline_instances()
|
D | dwarf_ranges.c | 85 dwarf_ranges (Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep, in dwarf_ranges() argument 88 if (die == NULL) in dwarf_ranges() 93 && INTUSE(dwarf_highpc) (die, endp) == 0 in dwarf_ranges() 94 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges() 105 const Elf_Data *d = die->cu->dbg->sectiondata[IDX_debug_ranges]; in dwarf_ranges() 117 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_ranges, in dwarf_ranges() 156 if (__libdw_offset_in_section (die->cu->dbg, in dwarf_ranges() 165 if (readendp - readp < die->cu->address_size * 2) in dwarf_ranges() 171 switch (__libdw_read_begin_end_pair_inc (die->cu->dbg, IDX_debug_ranges, in dwarf_ranges() 172 &readp, die->cu->address_size, in dwarf_ranges()
|
D | dwarf_dieoffset.c | 39 dwarf_dieoffset (die) in dwarf_dieoffset() argument 40 Dwarf_Die *die; in dwarf_dieoffset() 42 return (die == NULL 44 : (Dwarf_Off) (die->addr - die->cu->startp + die->cu->start));
|
D | dwarf_diecu.c | 38 dwarf_diecu (die, result, address_sizep, offset_sizep) in dwarf_diecu() argument 39 Dwarf_Die *die; in dwarf_diecu() 44 if (die == NULL) 47 *result = CUDIE (die->cu); 50 *address_sizep = die->cu->address_size; 52 *offset_sizep = die->cu->offset_size;
|
D | dwarf_hasattr_integrate.c | 37 dwarf_hasattr_integrate (Dwarf_Die *die, unsigned int search_name) in dwarf_hasattr_integrate() argument 43 if (INTUSE(dwarf_hasattr) (die, search_name)) in dwarf_hasattr_integrate() 47 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, in dwarf_hasattr_integrate() 50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, &attr_mem); in dwarf_hasattr_integrate() 54 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_hasattr_integrate() 56 while (die != NULL); in dwarf_hasattr_integrate()
|
D | dwarf_attr_integrate.c | 37 dwarf_attr_integrate (Dwarf_Die *die, unsigned int search_name, in dwarf_attr_integrate() argument 44 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, search_name, result); in dwarf_attr_integrate() 48 attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, result); in dwarf_attr_integrate() 50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, result); in dwarf_attr_integrate() 54 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_attr_integrate() 56 while (die != NULL); in dwarf_attr_integrate()
|
/external/elfutils/src/tests/ |
D | show-die-info.c | 59 handle (Dwarf *dbg, Dwarf_Die *die, int n) in handle() argument 72 tag = dwarf_tag (die); in handle() 85 name = dwarf_diename (die); in handle() 89 off = dwarf_dieoffset (die); in handle() 90 cuoff = dwarf_cuoffset (die); in handle() 99 if (dwarf_hasattr (die, cnt)) in handle() 103 if (dwarf_hasattr (die, DW_AT_low_pc) && dwarf_lowpc (die, &addr) == 0) in handle() 110 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle() 121 if (dwarf_hasattr (die, DW_AT_high_pc) && dwarf_highpc (die, &addr) == 0) in handle() 127 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle() [all …]
|
D | run-get-pubnames.sh | 24 [ 0] "main", die: 104, cu: 11 27 [ 1] "a", die: 174, cu: 11 30 [ 2] "bar", die: 295, cu: 202 33 [ 3] "foo", die: 5721, cu: 5628 36 [ 0] "bar", die: 72, cu: 11 39 [ 1] "foo", die: 2490, cu: 2429 42 [ 2] "main", die: 2593, cu: 2532 45 [ 3] "a", die: 2663, cu: 2532
|
D | low_high_pc.c | 51 handle_die (Dwarf_Die *die, void *arg) in handle_die() argument 54 Dwarf_Off off = dwarf_dieoffset (die); in handle_die() 56 const char *name = dwarf_diename (die); in handle_die() 62 if (dwarf_lowpc (die, &lowpc) != 0 && dwarf_hasattr (die, DW_AT_low_pc)) in handle_die() 64 if (dwarf_highpc (die, &highpc) != 0 && dwarf_hasattr (die, DW_AT_high_pc)) in handle_die() 69 if (dwarf_hasattr (die, DW_AT_low_pc) in handle_die() 70 && dwarf_hasattr (die, DW_AT_high_pc) in handle_die() 72 && ! (dwarf_tag (die) == DW_TAG_compile_unit && highpc == lowpc)) in handle_die()
|
D | rerequest_tag.c | 36 Dwarf_Die die_mem, *die; in main() local 37 die = dwarf_offdie (dw, 11, &die_mem); in main() 38 assert (die == &die_mem); in main() 39 assert (dwarf_tag (die) == 0); in main() 41 die = dwarf_offdie (dw, 11, &die_mem); in main() 42 assert (die == &die_mem); in main() 43 assert (dwarf_tag (die) == 0); in main()
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | SymbolFileDWARF.cpp | 119 void Push (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die) in Push() argument 121 m_dies.push_back (DIEInfo(cu, die)); in Push() 133 const DWARFDebugInfoEntry *die = m_dies[i].die; in LogDIEs() local 135 die->GetQualifiedName(dwarf, cu, qualified_name); in LogDIEs() 138 die->GetOffset(), in LogDIEs() 139 DW_TAG_value_to_name(die->Tag()), in LogDIEs() 159 Push (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die) in Push() argument 162 m_die_stack.Push (cu, die); in Push() 182 die(d) in DIEInfo() 186 const DWARFDebugInfoEntry *die; member [all …]
|
D | DWARFDebugInfo.cpp | 294 DWARFDebugInfoEntry* die = NULL; in GetDIEPtrWithCompileUnitHint() local 296 die = (*cu_handle)->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint() 298 if (die == NULL) in GetDIEPtrWithCompileUnitHint() 304 die = cu_sp->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint() 307 if (die == NULL) in GetDIEPtrWithCompileUnitHint() 309 return die; in GetDIEPtrWithCompileUnitHint() 339 DWARFDebugInfoEntry* die, in DWARFDebugInfo_ParseCallback() argument 347 if (die) in DWARFDebugInfo_ParseCallback() 349 cu->AddDIE(*die); in DWARFDebugInfo_ParseCallback() 400 DWARFDebugInfoEntry die; in Parse() local [all …]
|
D | DWARFCompileUnit.cpp | 174 DWARFDebugInfoEntry die; in ExtractDIEsIfNeeded() local 197 die.FastExtract (debug_info_data, this, fixed_form_sizes, &offset)) in ExtractDIEsIfNeeded() 206 const bool null_die = die.IsNULL(); in ExtractDIEsIfNeeded() 209 …uint64_t base_addr = die.GetAttributeValueAsUnsigned(m_dwarf2Data, this, DW_AT_low_pc, LLDB_INVALI… in ExtractDIEsIfNeeded() 211 base_addr = die.GetAttributeValueAsUnsigned(m_dwarf2Data, this, DW_AT_entry_pc, 0); in ExtractDIEsIfNeeded() 214 AddDIE (die); in ExtractDIEsIfNeeded() 235 die.SetParentIndex(m_die_array.size() - die_index_stack[depth-1]); in ExtractDIEsIfNeeded() 241 m_die_array.push_back(die); in ExtractDIEsIfNeeded() 262 const bool die_has_children = die.HasChildren(); in ExtractDIEsIfNeeded() 395 const DWARFDebugInfoEntry* die = DIE(); in BuildAddressRangeTable() local [all …]
|
/external/llvm/autoconf/ |
D | AutoRegen.sh | 3 die() { function 30 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first" 32 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean" 34 test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean" 36 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean" 48 aclocal --force -I $cwd/m4 || die "aclocal failed" 50 autoconf --force --warnings=all -o ../$outfile $configfile || die "autoconf failed" 53 autoheader --warnings=all -I autoconf -I autoconf/m4 autoconf/$configfile || die "autoheader failed"
|
/external/elfutils/include/elfutils/ |
D | libdw.h | 358 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die); 361 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die); 364 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result, 390 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result) 399 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) 417 extern int dwarf_peel_type (Dwarf_Die *die, Dwarf_Die *result) 421 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1); 429 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die, 435 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1); 439 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name, [all …]
|
/external/valgrind/cachegrind/ |
D | cg_diff.in | 80 die("cg_diff-$version\n"); 89 die($usage); 99 die($usage); 105 die($usage); 158 (@CC <= $numEvents) or die("Line $.: too many event counts\n"); 167 || die "Cannot open $input_file for reading\n"; 181 ($line =~ s/^cmd:\s+//) or die("Line $.: missing command line\n"); 189 or die("Line $.: missing events line\n"); 206 defined($currCC) || die; 210 defined($currFileName) || die; [all …]
|
/external/valgrind/massif/ |
D | ms_print.in | 116 die("ms_print-$version\n"); 121 ($1 >= 0 && $1 <= 100) or die($usage); 125 (4 <= $graph_x && $graph_x <= 1000) or die($usage); 129 (4 <= $graph_y && $graph_y <= 1000) or die($usage); 132 die($usage); 144 die($usage); 169 or die("Line $.: expected \"$fieldname\" line, got end of file\n"); 171 or die("Line $.: expected \"$fieldname\" line, got:\n$line"); 178 ($xpt_szB <= $total_szB) or die; 201 or die("Line $.: expected a tree node line, got:\n$line\n"); [all …]
|
/external/selinux/libselinux/utils/ |
D | avcstat.c | 46 static __attribute__((__format__(printf,1,2))) void die(const char *msg, ...) in die() function 121 die("unrecognized parameter '%c'", i); in main() 131 die("invalid interval \'%s\'", arg); in main() 146 die("sigaction"); in main() 151 die("open: \'%s\'", avcstatfile); in main() 160 die("read"); in main() 163 die("read: \'%s\': unexpected end of file", in main() 168 die("unable to parse \'%s\': end of line not found", in main() 172 die("unable to parse \'%s\': invalid headers", in main() 191 die("unable to parse \'%s\': scan error", in main() [all …]
|
/external/libvpx/libvpx/ |
D | args.c | 22 extern void die(const char *fmt, ...) __attribute__((noreturn)); 24 extern void die(const char *fmt, ...); 70 die("Error: option %s requires argument.\n", arg.name); in arg_match() 73 die("Error: option %s requires no argument.\n", arg.name); in arg_match() 149 die("Option %s: Value %ld out of range for unsigned int\n", in arg_parse_uint() 153 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_uint() 168 die("Option %s: Value %ld out of range for signed int\n", in arg_parse_int() 172 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_int() 192 else die("Option %s: Value %ld out of range for signed int\n", in arg_parse_rational() 194 } else die("Option %s: Expected / at '%c'\n", arg->name, *endptr); in arg_parse_rational() [all …]
|