Home
last modified time | relevance | path

Searched refs:die (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/external/elfutils/libdw/
Ddwarf_getscopes.c70 pc_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in pc_match() argument
75 die->prune = true; in pc_match()
82 int result = INTUSE(dwarf_haspc) (&die->die, a->pc); in pc_match()
94 die->prune = true; in pc_match()
96 if (!die->prune in pc_match()
97 && INTUSE (dwarf_tag) (&die->die) == DW_TAG_inlined_subroutine) in pc_match()
107 origin_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in origin_match() argument
111 if (die->die.addr != a->inlined_origin.addr) in origin_match()
130 die = die->parent; in origin_match()
131 scopes[a->nscopes++] = die->die; in origin_match()
[all …]
Ddwarf_child.c64 __libdw_find_attr (Dwarf_Die *die, unsigned int search_name, in __libdw_find_attr() argument
67 Dwarf *dbg = die->cu->dbg; in __libdw_find_attr()
68 const unsigned char *readp = (unsigned char *) die->addr; in __libdw_find_attr()
76 Dwarf_Abbrev *abbrevp = die->abbrev; in __libdw_find_attr()
79 abbrevp = __libdw_findabbrev (die->cu, abbrev_code); in __libdw_find_attr()
80 die->abbrev = abbrevp ?: DWARF_END_ABBREV; in __libdw_find_attr()
82 if (unlikely (die->abbrev == DWARF_END_ABBREV)) in __libdw_find_attr()
94 const unsigned char *attrp = die->abbrev->attrp; in __libdw_find_attr()
128 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); in __libdw_find_attr()
152 dwarf_child (die, result) in dwarf_child() argument
[all …]
Ddwarf_getscopes_die.c58 scope_visitor (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument
60 if (die->die.addr != *(void **) arg) in scope_visitor()
73 scopes[i++] = die->die; in scope_visitor()
74 die = die->parent; in scope_visitor()
76 while (die != NULL); in scope_visitor()
84 dwarf_getscopes_die (Dwarf_Die *die, Dwarf_Die **scopes) in dwarf_getscopes_die() argument
86 if (die == NULL) in dwarf_getscopes_die()
89 struct Dwarf_Die_Chain cu = { .die = CUDIE (die->cu), .parent = NULL }; in dwarf_getscopes_die()
90 void *info = die->addr; in dwarf_getscopes_die()
Ddwarf_getattrs.c59 dwarf_getattrs (Dwarf_Die *die, int (*callback) (Dwarf_Attribute *, void *), in dwarf_getattrs() argument
62 if (die == NULL) in dwarf_getattrs()
65 const unsigned char *die_addr = die->addr; in dwarf_getattrs()
71 if (die->abbrev == NULL) in dwarf_getattrs()
73 die->abbrev = __libdw_findabbrev (die->cu, u128); in dwarf_getattrs()
75 if (unlikely (die->abbrev == DWARF_END_ABBREV)) in dwarf_getattrs()
83 const unsigned char *attrp = die->abbrev->attrp + offset; in dwarf_getattrs()
86 Dwarf *dbg = die->cu->dbg; in dwarf_getattrs()
113 attr.cu = die->cu; in dwarf_getattrs()
120 return remembered_attrp - die->abbrev->attrp; in dwarf_getattrs()
[all …]
Ddwarf_diecu.c59 dwarf_diecu (die, result, address_sizep, offset_sizep) in dwarf_diecu() argument
60 Dwarf_Die *die; in dwarf_diecu()
65 if (die == NULL)
72 result->addr = ((char *) die->cu->dbg->sectiondata[IDX_debug_info]->d_buf
73 + DIE_OFFSET_FROM_CU_OFFSET (die->cu->start,
74 die->cu->offset_size));
75 result->cu = die->cu;
78 *address_sizep = die->cu->address_size;
80 *offset_sizep = die->cu->offset_size;
Ddwarf_getfuncs.c68 Dwarf_Die *die; in dwarf_getfuncs() local
75 die = INTUSE(dwarf_offdie) (cudie->cu->dbg, offset, &die_mem); in dwarf_getfuncs()
76 res = INTUSE(dwarf_siblingof) (die, &die_mem); in dwarf_getfuncs()
78 die = res != 0 ? NULL : &die_mem; in dwarf_getfuncs()
80 while (die != NULL) in dwarf_getfuncs()
82 if (INTUSE(dwarf_tag) (die) == DW_TAG_subprogram) in dwarf_getfuncs()
84 if (callback (die, arg) != DWARF_CB_OK) in dwarf_getfuncs()
85 return INTUSE(dwarf_dieoffset) (die); in dwarf_getfuncs()
88 if (INTUSE(dwarf_siblingof) (die, &die_mem) != 0) in dwarf_getfuncs()
Ddwarf_ranges.c60 dwarf_ranges (Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep, in dwarf_ranges() argument
63 if (die == NULL) in dwarf_ranges()
68 && INTUSE(dwarf_highpc) (die, endp) == 0 in dwarf_ranges()
69 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges()
80 const Elf_Data *d = die->cu->dbg->sectiondata[IDX_debug_ranges]; in dwarf_ranges()
90 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_ranges, in dwarf_ranges()
135 < die->cu->address_size * 2) in dwarf_ranges()
140 if (die->cu->address_size == 8) in dwarf_ranges()
142 begin = read_8ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
143 end = read_8ubyte_unaligned_inc (die->cu->dbg, readp); in dwarf_ranges()
[all …]
Dlibdw.h237 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die);
240 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die);
243 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result,
252 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result)
261 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result)
265 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1);
273 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die,
279 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1);
283 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name,
288 extern int dwarf_hasattr (Dwarf_Die *die, unsigned int search_name);
[all …]
Ddwarf_haschildren.c60 dwarf_haschildren (die) in dwarf_haschildren() argument
61 Dwarf_Die *die; in dwarf_haschildren()
64 Dwarf_Abbrev *abbrevp = die->abbrev;
67 const unsigned char *readp = (unsigned char *) die->addr;
74 abbrevp = __libdw_findabbrev (die->cu, abbrev_code);
75 die->abbrev = abbrevp ?: DWARF_END_ABBREV;
77 if (unlikely (die->abbrev == DWARF_END_ABBREV))
83 return die->abbrev->has_children;
Dlibdw_visit_scopes.c59 classify_die (Dwarf_Die *die) in classify_die() argument
61 switch (INTUSE(dwarf_tag) (die)) in classify_die()
78 return (INTUSE(dwarf_hasattr) (die, DW_AT_abstract_origin) in classify_die()
109 if (INTUSE(dwarf_child) (&root->die, &child.die) != 0)
130 switch (classify_die (&child.die))
135 if (INTUSE(dwarf_haschildren) (&child.die))
151 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&child.die,
154 if (INTUSE(dwarf_formref_die) (attr, &child.die) != NULL)
174 while (INTUSE(dwarf_siblingof) (&child.die, &child.die) == 0);
Ddwarf_tag.c94 dwarf_tag (die) in dwarf_tag() argument
95 Dwarf_Die *die; in dwarf_tag()
98 if (die->abbrev == NULL)
102 const unsigned char *addr = die->addr;
106 die->abbrev = __libdw_findabbrev (die->cu, u128);
109 if (unlikely (die->abbrev == DWARF_END_ABBREV))
115 return die->abbrev->tag;
Ddwarf_func_inline.c65 struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument
69 if (INTUSE(dwarf_tag) (&die->die) != DW_TAG_inlined_subroutine) in scope_visitor()
73 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&die->die, DW_AT_abstract_origin, in scope_visitor()
86 return (*v->callback) (&die->die, v->arg); in scope_visitor()
119 struct Dwarf_Die_Chain cu = { .die = CUDIE (func->cu), .parent = NULL }; in dwarf_func_inline_instances()
Ddwarf_cuoffset.c60 dwarf_cuoffset (die) in dwarf_cuoffset() argument
61 Dwarf_Die *die; in dwarf_cuoffset()
63 return (die == NULL
65 : (die->addr
66 - die->cu->dbg->sectiondata[IDX_debug_info]->d_buf
67 - die->cu->start));
/external/dbus/test/
Dtest-service.c23 die (const char *message) in die() function
48 die("no memory"); in check_hello_from_self_reply()
73 die ("No memory\n"); in check_hello_from_self_reply()
80 die ("No memory\n"); in check_hello_from_self_reply()
85 die ("No memory"); in check_hello_from_self_reply()
89 die ("No memory\n"); in check_hello_from_self_reply()
105 die ("No memory\n"); in check_hello_from_self_reply()
108 die ("No memory\n"); in check_hello_from_self_reply()
148 die ("No memory\n"); in handle_run_hello_from_self()
151 die ("No memory\n"); in handle_run_hello_from_self()
[all …]
Dtest-shell-service.c26 die (const char *message) in die() function
45 die ("No memory"); in handle_echo()
52 die ("No memory\n"); in handle_echo()
57 die ("No memory\n"); in handle_echo()
60 die ("No memory\n"); in handle_echo()
145 die ("No memory\n"); in main()
148 die ("No memory\n"); in main()
152 die ("No memory"); in main()
158 die ("No memory"); in main()
163 die ("No memory"); in main()
[all …]
/external/elfutils/tests/
Dshow-die-info.c225 handle (Dwarf *dbg, Dwarf_Die *die, int n) in handle() argument
238 tag = dwarf_tag (die); in handle()
252 name = dwarf_diename (die); in handle()
256 off = dwarf_dieoffset (die); in handle()
257 cuoff = dwarf_cuoffset (die); in handle()
266 if (dwarf_hasattr (die, attrs[cnt].code)) in handle()
270 if (dwarf_hasattr (die, DW_AT_low_pc) && dwarf_lowpc (die, &addr) == 0) in handle()
277 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle()
288 if (dwarf_hasattr (die, DW_AT_high_pc) && dwarf_highpc (die, &addr) == 0) in handle()
294 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle()
[all …]
Drun-get-pubnames.sh32 [ 0] "main", die: 104, cu: 11
35 [ 1] "a", die: 174, cu: 11
38 [ 2] "bar", die: 295, cu: 202
41 [ 3] "foo", die: 5721, cu: 5628
44 [ 0] "bar", die: 72, cu: 11
47 [ 1] "foo", die: 2490, cu: 2429
50 [ 2] "main", die: 2593, cu: 2532
53 [ 3] "a", die: 2663, cu: 2532
/external/dbus/bus/
Dtest-main.c36 die (const char *failure) in die() function
52 die ("memleaks"); in check_memleaks()
64 die ("could not init selinux support"); in test_pre_hook()
100 die ("initializing debug threads"); in main()
105 die ("expire list"); in main()
111 die ("parser"); in main()
117 die ("policy"); in main()
123 die ("signals"); in main()
129 die ("sha1"); in main()
135 die ("dispatch"); in main()
[all …]
/external/dbus/
Dcleanup-man-pages.sh12 die() { function
22 cd "$MANDIR" || die "Could not cd to $MANDIR"
24 test -d keep || mkdir keep || die "Could not create $MANDIR/keep directory"
25 test -d nuke || mkdir nuke || die "Could not create $MANDIR/nuke directory"
28 (find . -maxdepth 1 -name "_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not move all unde…
29 (find . -maxdepth 1 -name "DBus*Internal*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could not m…
30 (find . -maxdepth 1 -name "dbus_*_internal_*" | xargs -I ITEMS /bin/mv ITEMS nuke) || die "could no…
45 /bin/mv "$I" nuke || die "could not move $I to $MANDIR/nuke"
58 /bin/mv "$I" nuke || die "could not move $I to $MANDIR/nuke"
65 (find . -maxdepth 1 -name "dbus_*" | xargs -I ITEMS /bin/mv ITEMS keep) || die "could not move all …
[all …]
Dupdate-dbus-docs.sh3 function die() function
19 cd $CHECKOUTDIR || die "could not changedir to $CHECKOUTDIR"
24 cvs co dbus || die "failed to cvs update"
25 cd dbus || die "could not cd to dbus"
31 ./autogen.sh --enable-xml-docs=yes --enable-doxygen-docs=yes || die "could not autogen"
32 doxygen Doxyfile || die "could not run Doxygen"
33 make -C doc || die "could not build docs"
43 cp README HACKING AUTHORS NEWS COPYING ChangeLog doc/ || die "could not copy in assorted files"
44 …/NEWS doc/ChangeLog doc/TODO doc/README doc/COPYING doc/*.png doc/*.svg || die "could not tar up d…
46 tar tfz dbus-docs.tar.gz | sort > tarball.list || die "could not list tarball contents"
[all …]
/external/llvm/autoconf/
DAutoRegen.sh3 die() { function
32 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first"
34 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean"
36 test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean"
38 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean"
40 test $? -eq 0 || die "Your libtool was not detected as being $want_libtool_version_clean"
52 aclocal --force -I $cwd/m4 || die "aclocal failed"
54 autoconf --force --warnings=all -o ../$outfile $configfile || die "autoconf failed"
57 autoheader --warnings=all -I autoconf -I autoconf/m4 autoconf/$configfile || die "autoheader failed"
/external/v8/tools/
Dpush-to-trunk.sh92 || die "Creating branch $BRANCHNAME failed."
160 [[ -n "$CHANGELOGENTRY" ]] || die "Empty ChangeLog entry."
193 || die "'git commit -a' failed."
213 git cl dcommit || die "'git cl dcommit' failed, please try again."
220 git svn fetch || die "'git svn fetch' failed."
254 }' > "$COMMITMSG_FILE" || die "Commit message editing failed."
262 || die "Checking out a new branch '$TRUNKBRANCH' failed."
283 -i "$VERSION_FILE" || die "Patching $VERSION_FILE failed."
290 git commit -F "$COMMITMSG_FILE" || die "'git commit' failed."
300 [[ $? -eq 0 ]] || die "Execution canceled."
[all …]
Dcommon-includes.sh46 die() { function
67 git branch -D $1 || die "Deleting branch '$1' failed."
70 die "Can't continue. Please delete branch $1 and try again."
93 [[ -z "${!VARNAME}" ]] && die "Variable '$VARNAME' could not be restored."
99 || die "This is not a git checkout, this script won't work for you."
103 || die "Please set your EDITOR environment variable, you'll need it."
109 || die "Workspace is not clean. Please commit or undo your changes."
116 git svn fetch || die "'git svn fetch' failed."
159 || die "'git cl upload' failed, please try again."
179 { cat "$PATCH_OUTPUT_FILE" && die "Applying the patch failed."; }
/external/elfutils/libdwfl/
Ddwfl_module_getsrc.c70 size_t l = 0, u = cu->die.cu->lines->nlines; in dwfl_module_getsrc()
74 if (addr < cu->die.cu->lines->info[idx].addr) in dwfl_module_getsrc()
76 else if (addr > cu->die.cu->lines->info[idx].addr) in dwfl_module_getsrc()
82 if (cu->die.cu->lines->nlines > 0) in dwfl_module_getsrc()
83 assert (cu->die.cu->lines->info in dwfl_module_getsrc()
84 [cu->die.cu->lines->nlines - 1].end_sequence); in dwfl_module_getsrc()
89 if (u > 0 && u < cu->die.cu->lines->nlines in dwfl_module_getsrc()
90 && addr > cu->die.cu->lines->info[u - 1].addr) in dwfl_module_getsrc()
/external/valgrind/main/cachegrind/
Dcg_diff.in80 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 …]

12345678910>>...13