/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 47 static void die(char *fmt, ...) in die() function 65 die("vsnprintf failed: %s\n", in vmaybe_write_file() 69 die("vsnprintf output truncated\n"); in vmaybe_write_file() 76 die("open of %s failed: %s\n", in vmaybe_write_file() 82 die("short write to %s\n", filename); in vmaybe_write_file() 84 die("write to %s failed: %s\n", in vmaybe_write_file() 89 die("close of %s failed: %s\n", in vmaybe_write_file() 122 die("statvfs of %s failed: %s\n", in read_mnt_flags() 128 die("Unrecognized mount flags\n"); in read_mnt_flags() 162 die("unshare(CLONE_NEWUSER) failed: %s\n", in create_and_enter_userns() [all …]
|
/external/elfutils/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() 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 …]
|
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() 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 …]
|
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) 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 …]
|
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() 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()
|
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 (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()
|
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/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/ltp/testcases/kernel/fs/quota_remount/ |
D | quota_remount_test01.sh | 61 die() function 71 cd $TMPDIR || die 2 "Cannot cd to $TMPDIR" 73 dd if=/dev/zero of=$IMAGE bs=4096 count=8000 2>/dev/null || die 2 "Cannot create filesystem image" 74 mkfs.ext3 -q -F -b 4096 $IMAGE || die 2 "Could not create the filesystem" 75 mkdir $MNTDIR || die 2 "Could not create the mountpoint" 76 mount -t ext3 -o loop,usrquota,grpquota $IMAGE $MNTDIR || die 2 "Could not mount the filesystem" 82 chcon -t tmp_t $MNTDIR || die 2 "Could not change SELinux file type" 86 quotacheck -cug $MNTDIR || die 2 "Could not create quota files" 89 quotaon -ug $MNTDIR || die 2 "Could not turn quota on" 92 echo "blah" >$MNTDIR/file || die 2 "Could not write to the filesystem" [all …]
|
/external/swiftshader/third_party/LLVM/autoconf/ |
D | AutoRegen.sh | 3 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/autotest/client/site_tests/security_Minijail0/src/ |
D | test-pivotroot | 10 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"
|
D | test-chroot | 10 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/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) 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/syslinux/com32/tools/ |
D | relocs.c | 18 static void die(char *fmt, ...); 105 die("%s", errbuf); in regex_init() 110 static void die(char *fmt, ...) in die() function 255 die("Cannot read ELF header: %s\n", in read_ehdr() 259 die("No ELF magic\n"); in read_ehdr() 262 die("Not a 32 bit executable\n"); in read_ehdr() 265 die("Not a LSB ELF executable\n"); in read_ehdr() 268 die("Unknown ELF version\n"); in read_ehdr() 286 die("Unsupported ELF header type\n"); in read_ehdr() 289 die("Not for x86\n"); in read_ehdr() [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),__noreturn__)) 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 | 20 extern void die(const char *fmt, ...) __attribute__((noreturn)); 22 extern void die(const char *fmt, ...); 62 die("Error: option %s requires argument.\n", arg.name); in arg_match() 65 die("Error: option %s requires no argument.\n", arg.name); in arg_match() 130 die("Option %s: Value %ld out of range for unsigned int\n", arg->name, in arg_parse_uint() 134 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_uint() 147 die("Option %s: Value %ld out of range for signed int\n", arg->name, in arg_parse_int() 151 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_int() 171 die("Option %s: Value %ld out of range for signed int\n", arg->name, in arg_parse_rational() 174 die("Option %s: Expected / at '%c'\n", arg->name, *endptr); in arg_parse_rational() [all …]
|