Home
last modified time | relevance | path

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

12345678910>>...17

/external/elfutils/libdw/
Ddwarf_getscopes.c49 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 …]
Ddwarf_getscopes_die.c37 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()
Dlibdw_visit_scopes.c38 may_have_scopes (Dwarf_Die *die) in may_have_scopes() argument
40 switch (INTUSE(dwarf_tag) (die)) in may_have_scopes()
105 if ((ret = INTUSE(dwarf_child) (&root->die, &state.child.die)) != 0) in __libdw_visit_scopes()
121 while (INTUSE(dwarf_tag) (&state->child.die) == DW_TAG_imported_unit) in walk_children()
123 Dwarf_Die orig_child_die = state->child.die; in walk_children()
125 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&state->child.die, in walk_children()
128 if (INTUSE(dwarf_formref_die) (attr, &state->child.die) != NULL in walk_children()
129 && INTUSE(dwarf_child) (&state->child.die, &state->child.die) == 0) in walk_children()
136 if (import->die.addr == orig_child_die.addr) in walk_children()
147 struct Dwarf_Die_Chain import = { .die = orig_child_die, in walk_children()
[all …]
Ddwarf_aggregate_size.c38 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()
149 int has_children = INTUSE(dwarf_child) (die, &enum_child); in array_size()
203 aggregate_size (Dwarf_Die *die, Dwarf_Word *size, Dwarf_Die *type_mem) in aggregate_size() argument
207 if (INTUSE(dwarf_attr_integrate) (die, DW_AT_byte_size, &attr_mem) != NULL) in aggregate_size()
210 switch (INTUSE(dwarf_tag) (die)) in aggregate_size()
[all …]
Dlibdw.h358 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)
418 extern int dwarf_peel_type (Dwarf_Die *die, Dwarf_Die *result)
422 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1);
430 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die,
436 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1);
440 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name,
[all …]
Ddwarf_func_inline.c45 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()
Ddwarf_ranges.c85 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()
149 if (__libdw_offset_in_section (die->cu->dbg, in dwarf_ranges()
158 if (readendp - readp < die->cu->address_size * 2) in dwarf_ranges()
164 switch (__libdw_read_begin_end_pair_inc (die->cu->dbg, IDX_debug_ranges, in dwarf_ranges()
165 &readp, die->cu->address_size, in dwarf_ranges()
Ddwarf_child.c43 __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 (Dwarf_Die *die, Dwarf_Die *result) in dwarf_child() argument
121 if (die == NULL) in dwarf_child()
125 Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, NULL); in dwarf_child()
137 void *addr = __libdw_find_attr (die, INVALID, NULL, NULL); in dwarf_child()
143 struct Dwarf_CU *cu = die->cu; in dwarf_child()
/external/elfutils/tests/
Dshow-die-info.c59 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 …]
Dlow_high_pc.c51 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()
Drun-get-pubnames.sh24 [ 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
Drerequest_tag.c36 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/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/tlsdate/src/
Dtlsdate-helper-plan9.c107 die("invalid proxy scheme\n"); in validate_proxy_scheme()
118 die("invalid char in host\n"); in validate_proxy_host()
126 die("invalid char in port\n"); in validate_proxy_port()
136 die("malformed proxy URI\n"); in parse_proxy_uri()
143 die("malformed proxy URI\n"); in parse_proxy_uri()
188 die("BIO_s_connect failed\n"); in make_ssl_bio()
190 die("BIO_new_ssl failed\n"); in make_ssl_bio()
203 die("xmalloc: zero size\n"); in xmalloc()
207 die("xmalloc: out of memory (allocating %zu bytes)\n", size); in xmalloc()
218 die("xfree: NULL pointer given as argument\n"); in xfree()
[all …]
Dtlsdate-helper.c108 die("invalid proxy scheme"); in validate_proxy_scheme()
119 die("invalid char in host"); in validate_proxy_host()
127 die("invalid char in port"); in validate_proxy_port()
137 die("malformed proxy URI"); in parse_proxy_uri()
144 die("malformed proxy URI"); in parse_proxy_uri()
337 die("xmalloc: zero size"); in xmalloc()
341 die("xmalloc: out of memory (allocating %zu bytes)", size); in xmalloc()
352 die("xfree: NULL pointer given as argument"); in xfree()
385 die("V: the remote server is a false ticker! server: %d compile: %d", in openssl_time_callback()
446 die ("unknown public key type"); in get_certificate_keybits()
[all …]
Dutil-plan9.c24 die (const char *fmt, ...) in die() function
75 die ("Supplementary groups not supported\n"); in drop_privs_to()
83 die ("Failed to obtain UID for `%s'\n", user); in drop_privs_to()
85 die ("Failed to obtain GID for `%s'\n", group); in drop_privs_to()
88 die ("UID for `%s' is 0, refusing to run SSL\n", user); in drop_privs_to()
91 die ("GID for `%s' is 0, refusing to run SSL\n", user); in drop_privs_to()
93 die ("GID for `%s' is not `%s' as expected, refusing to run SSL\n", in drop_privs_to()
97 die ("Unable to initgroups for `%s' in group `%s' as expected\n", in drop_privs_to()
102 die ("Failed to setresgid: %s\n", strerror (errno)); in drop_privs_to()
105 die ("Failed to setgid: %s\n", strerror (errno)); in drop_privs_to()
[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 …]
/external/dbus/bus/
Dtest-main.c36 die (const char *failure) in die() function
52 die ("memleaks"); in check_memleaks()
66 die ("could not init selinux support"); in test_pre_hook()
113 die ("initializing debug threads"); in main()
120 die ("expire list"); in main()
129 die ("parser"); in main()
138 die ("signals"); in main()
147 die ("sha1"); in main()
156 die ("dispatch"); in main()
165 die ("service reload"); in main()
[all …]
/external/autotest/client/site_tests/security_Minijail0/src/
Dtest-chroot10 die () {
16 [ "$wd" != "/" ] && die "not in /"
17 [ ! -d /lib ] && die "no /lib"
18 [ ! -d /tmp-rw ] && die "no /tmp-rw"
19 [ ! -d /tmp-ro ] && die "no /tmp-ro"
20 echo 'x' > /tmp-rw/test-rw || die "non-writeable /tmp-rw"
21 echo 'x' > /tmp-ro/test-ro && die "writeable /tmp-ro"
Dtest-pivotroot10 die () {
16 [ "$wd" != "/" ] && die "not in /"
17 [ ! -d /lib ] && die "no /lib"
18 [ ! -d /tmp-rw ] && die "no /tmp-rw"
19 [ ! -d /tmp-ro ] && die "no /tmp-ro"
20 echo 'x' > /tmp-rw/test-rw || die "non-writeable /tmp-rw"
21 echo 'x' > /tmp-ro/test-ro && die "writeable /tmp-ro"
/external/llvm/autoconf/
DAutoRegen.sh3 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/
Dlibdw.h358 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)
418 extern int dwarf_peel_type (Dwarf_Die *die, Dwarf_Die *result)
422 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1);
430 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die,
436 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1);
440 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name,
[all …]
/external/dbus/test/name-test/
Drun-test.sh3 die() function
34 …}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-ids || die "test-ids failed"
37 …ute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-pending-call-dispatch || die "test-pending-call-…
40 …cute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-pending-call-timeout || die "test-pending-call-…
43 …mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-threads-init || die "test-threads-init …
46 …execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-privserver-client || die "test-privserver-cl…
49 …l --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-shutdown || die "test-shutdown fail…
60 …--mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/name-test/test-autolaunch || die "test-autolaunch fa…
/external/valgrind/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>>...17