Home
last modified time | relevance | path

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

12345678910>>...19

/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c48 static void die(char *fmt, ...) in die() function
66 die("vsnprintf failed: %s\n", in vmaybe_write_file()
70 die("vsnprintf output truncated\n"); in vmaybe_write_file()
77 die("open of %s failed: %s\n", in vmaybe_write_file()
83 die("short write to %s\n", filename); in vmaybe_write_file()
85 die("write to %s failed: %s\n", in vmaybe_write_file()
90 die("close of %s failed: %s\n", in vmaybe_write_file()
123 die("statvfs of %s failed: %s\n", in read_mnt_flags()
129 die("Unrecognized mount flags\n"); in read_mnt_flags()
163 die("unshare(CLONE_NEWUSER) failed: %s\n", in create_and_enter_userns()
[all …]
/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_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()
/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/ltp/testcases/kernel/fs/quota_remount/
Dquota_remount_test01.sh61 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/tensorflow/tensorflow/tools/docker/
Dparameterized_docker_build.sh125 die "ERROR: docker is not available on path"
141 die "ERROR: TF_DOCKER_BUILD_DEVEL_BRANCH is missing for devel docker build"
146 die "ERROR: Unrecognized value in TF_DOCKER_BUILD_IS_DEVEL: "\
163 die "ERROR: Unrecognized value in TF_DOCKER_BUILD_TYPE: "\
172 die "Unrecognized value in TF_DOCKER_BUILD_PYTHON_VERSION: "\
179 die "ERROR: Cannot find Dockerfile at: ${ORIG_DOCKERFILE}"
219 die "FAIL: Failed to build pip file locally"
224 die "ERROR: Cannot locate the locally-built pip whl file"
230 die "ERROR: Failed to copy wheel file: ${PIP_WHL}"
247 die "ERROR: Cannot locate the specified pip whl file"
[all …]
/external/tensorflow/tensorflow/tools/gcs_test/
Dgcs_smoke_wrapper.sh27 die () { function
41 die "ERROR: Command-line argument GCS_BUCKET_URL is not supplied"
47 die "ERROR: Unable to find gcloud at path ${GCLOUD_BIN}"
52 die "ERROR: Unable to find gsutil at path ${GSUTIL_BIN}"
57 die "ERROR: Required gcloud environment variable "\
64 die "ERROR: Unable to find Python file at ${GCS_SMOKE_PY}"
70 die "ERROR: Failed to remove existing log file ${LOG_FILE}"
78 die "FAIL: End-to-end test of GCS access from TensorFlow failed."
88 die "ERROR: Failed to activate gcloud service account with JSON key file"
93 die "FAIL: Unable to determine the URL to the new tfrecord file in GCS"
[all …]
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dtest_user_ops.sh60 die() { function
86 die "FAILED to determine TensorFlow compilation or linking flags"
95 die "ERROR: ${GPP_BIN} not on path"
133 die "ERROR: Unable to find user-op kernel C++ file at: ${OP_KERNEL_CC}"
149 die "g++ compilation of ${SRC_FILE} FAILED"
160 die "ERROR: ${NVCC_BIN} not on path"
171 die "ERROR: Unable to find user-op kernel CUDA file at: ${OP_KERNEL_CU}"
177 die "ERROR: Unable to find user-op kernel C++ file at: ${OP_KERNEL_CC}"
188 die "nvcc compilation of ${OP_KERNEL_CC} FAILED"
195 die "ERROR: Failed to find CUDA library directory at either of "
[all …]
Ddocker_test.sh31 die() { function
52 die "Usage: $(basename $0) <IMAGE_TYPE> <TAG> <WHL_PATH>"
64 die "Unrecognized image type: $1"
69 die "FAILED: docker binary unavailable"
75 die "FAILED: Unable to find the base directory where the dockerfile "\
88 die "whl file does not exist: ${WHL_PATH}"
93 die "FAILED to copy whl file from ${WHL_PATH} to ${TMP_WHL_DIR}/"
97 die "FAILED to build docker image from Dockerfile ${DOCKERFILE_PATH}"
101 die "Failed to remove temporary directory ${TMP_WHL_DIR}"
127 die "FAILED to build and test docker image: ${DOCKER_IMG_TAG}"
Dpip.sh133 die "Build failed."
136 die "Build failed."
139 die "Unrecognized container type: \"${CONTAINER_TYPE}\""
153 deactivate || die "FAILED: Unable to deactivate from existing virtualenv"
161 die "PYTHON_BIN_PATH was not provided. Did you run configure?"
169 die "ERROR: Unable to determine the major.minor version of Python"
192 die "build_pip_package FAILED"
196 die "ERROR: Failed to find exactly one built TensorFlow .whl file in "\
234 die "ERROR: Failed to copy wheel file to ${NEW_WHL_BASE_NAME}"
251 die "ERROR: Cannot find repaired wheel."
[all …]
/external/tensorflow/tensorflow/tools/dist_test/scripts/
Dcreate_tf_cluster.sh60 die "Usage: $0 <num_workers> <num_parameter_servers>"
68 die "Invalid GRPC port: \"${GRPC_PORT}\""
88 die "gcloud binary cannot be found at: ${GCLOUD_BIN}"
94 die "gcloud service account key file cannot be found at: ${GCLOUD_KEY_FILE}"
120 die "FAILED to get credentials for container cluster: ${CONTAINER_CLUSTER}"
130 die "kubectl binary cannot be found at: ${KUBECTL_BIN}"
138 die "FAILED to find yaml-generating script at: ${K8S_GEN_TF_YAML}"
159 die "Generation of the yaml configuration file for k8s cluster FAILED"
162 die "FAILED to generate yaml file for TensorFlow k8s container cluster"
189 die "Reached maximum polling steps while waiting for external IP "\
[all …]
/external/swiftshader/third_party/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/syslinux/com32/tools/
Drelocs.c18 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/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/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/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 …]
/external/valgrind/massif/
Dms_print.in116 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 …]

12345678910>>...19