/external/android-clat/ |
clatd_microbenchmark.c | 60 void die(const char *str) { function 67 if (fd == -1) die("tun_open"); 71 if (ret == -1) die("tun_alloc"); 78 if (ioctl(s, SIOCSIFADDR, &ifr) < 0) die("SIOCSIFADDR"); 80 if (ioctl(s, SIOCSIFNETMASK, &ifr) < 0) die("SIOCSIFNETMASK"); 81 if (ioctl(s, SIOCGIFFLAGS, &ifr) < 0) die("SIOCGIFFLAGS"); 83 if (ioctl(s, SIOCSIFFLAGS, &ifr) < 0) die("SIOCSIFFLAGS"); 169 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) == -1) die("SO_REUSEADDR"); 172 if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) die("SO_RCVTIMEO"); 179 if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) == -1) die ("bind") [all...] |
/external/curl/tests/libtest/ |
test613.pl | 59 rmdir $dirname || die "$!"; 77 open(IN, "<$logfile") || die "$!"; 98 open(OUT, ">$newfile") || die "$!";
|
/external/elfutils/tests/ |
get-pubnames.c | 36 printf (" [%2d] \"%s\", die: %llu, cu: %llu\n", 45 puts ("failed to get CU die"); 52 Dwarf_Die die; local 53 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL 54 || (diename = dwarf_diename (&die)) == NULL) 56 puts ("failed to get object die");
|
/external/golang-protobuf/ptypes/ |
regen.sh | 20 function die() { function 27 q=$(which $tool) || die "didn't find $tool" 50 die "not exactly one match"
|
/external/selinux/libselinux/utils/ |
avcstat.c | 46 static __attribute__((__format__(printf,1,2),__noreturn__)) void die(const char *msg, ...) function 121 die("unrecognized parameter '%c'", i); 131 die("invalid interval \'%s\'", arg); 146 die("sigaction"); 151 die("open: \'%s\'", avcstatfile); 160 die("read"); 163 die("read: \'%s\': unexpected end of file", 168 die("unable to parse \'%s\': end of line not found", 172 die("unable to parse \'%s\': invalid headers", 191 die("unable to parse \'%s\': scan error" [all...] |
/external/strace/ |
error_prints.c | 93 die(); 106 die(); 124 die();
|
/external/syslinux/gpxe/src/util/ |
parserom.pl | 11 die "Syntax: $0 driver_source.c" unless @ARGV == 1; 13 open DRV, "<$source" or die "Could not open $source: $!\n"; 16 or die "Could not parse source file name \"$source\"\n";
|
/external/toybox/toys/other/ |
mountpoint.c | 22 static void die(char *gripe) function 45 die("block device"); 49 if (!S_ISDIR(st1.st_mode)) die("directory");
|
/system/libufdt/tests/ |
run_stress_test.sh | 73 die "Run envsetup.sh / lunch yet?" 78 die "Run mmma $(dirname $SCRIPT_DIR) yet?" 97 die "Some test cases failed, please check error message..."
|
/external/icu/icu4j/perf-tests/ |
converterperf.pl | 68 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 87 open(HTML,">$html") or die "Can't write to $html: $!"; 160 close(HTML) or die "Can't close $html: $!"; 300 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 305 close(PIPE) or die "Java failed: \"$cmd\""; 321 die "$method was begun but not finished" if ($method); 327 die "$method end does not match: $_"; 337 die "Can't parse: $_"; 350 die "Can't parse: $_"; 354 die "$method was begun but not finished" if ($method) [all...] |
dateformatperf.pl | 48 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 74 open(HTML,">$html") or die "Can't write to $html: $!"; 147 close(HTML) or die "Can't close $html: $!"; 286 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 291 close(PIPE) or die "Java failed: \"$cmd\""; 307 die "$method was begun but not finished" if ($method); 313 die "$method end does not match: $_"; 323 die "Can't parse: $_"; 336 die "Can't parse: $_"; 340 die "$method was begun but not finished" if ($method) [all...] |
decimalformatperf.pl | 44 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 70 open(HTML,">$html") or die "Can't write to $html: $!"; 142 close(HTML) or die "Can't close $html: $!"; 281 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 286 close(PIPE) or die "Java failed: \"$cmd\""; 302 die "$method was begun but not finished" if ($method); 308 die "$method end does not match: $_"; 318 die "Can't parse: $_"; 331 die "Can't parse: $_"; 335 die "$method was begun but not finished" if ($method) [all...] |
normperf.pl | 104 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 123 open(HTML,">$html") or die "Can't write to $html: $!"; 196 close(HTML) or die "Can't close $html: $!"; 336 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 341 close(PIPE) or die "Java failed: \"$cmd\""; 357 die "$method was begun but not finished" if ($method); 363 die "$method end does not match: $_"; 373 die "Can't parse: $_"; 386 die "Can't parse: $_"; 390 die "$method was begun but not finished" if ($method) [all...] |
ucharacterperf.pl | 52 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 71 open(HTML,">$html") or die "Can't write to $html: $!"; 144 close(HTML) or die "Can't close $html: $!"; 283 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 288 close(PIPE) or die "Java failed: \"$cmd\""; 304 die "$method was begun but not finished" if ($method); 310 die "$method end does not match: $_"; 320 die "Can't parse: $_"; 333 die "Can't parse: $_"; 337 die "$method was begun but not finished" if ($method) [all...] |
unicodesetperf.pl | 42 die "Need at least 3 passes. One is discarded (JIT warmup) and need two to have 1 degree of freedom (t distribution)."; 61 open(HTML,">$html") or die "Can't write to $html: $!"; 134 close(HTML) or die "Can't close $html: $!"; 273 open(PIPE, "$cmd|") or die "Can't run \"$cmd\""; 278 close(PIPE) or die "Java failed: \"$cmd\""; 294 die "$method was begun but not finished" if ($method); 300 die "$method end does not match: $_"; 310 die "Can't parse: $_"; 323 die "Can't parse: $_"; 327 die "$method was begun but not finished" if ($method) [all...] |
/external/tensorflow/tensorflow/tools/ci_build/ |
ci_parameterized_build.sh | 112 die () { function 315 die "Unrecognized value in TF_BUILD_CONTAINER_TYPE: "\ 339 die "Unrecognized value in TF_BUILD_IS_OPT: \"${TF_BUILD_IS_OPT}\"" 349 die "Unsupported value in TF_BUILD_MAVX: ${TF_BUILD_MAVX}" 470 die "FAILED to create data directory for tutorial tests: "\ 489 die "Unrecognized value in TF_BUILD_IS_PIP: \"${TF_BUILD_IS_PIP}\"" 511 die "ERROR: Failed to locate ${TF_BUILD_PYTHON_VERSION} binary on path" 520 die "Unrecognized value in TF_BUILD_PYTHON_VERSION: "\ 579 die "ERROR: Failed to copy directory ${SCRIPT_DIR}/install" 583 die "ERROR: Failed to copy Dockerfile at ${DOCKERFILE} [all...] |
/external/elfutils/libdw/ |
libdw.h | 96 /* Returned to show the last DIE has be returned. */ 139 /* DIE information. */ 150 /* Returned to show the last DIE has be returned. */ 348 /* Return DIE at given offset in .debug_info section. */ 352 /* Return DIE at given offset in .debug_types section. */ 357 /* Return offset of DIE. */ 358 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die); 360 /* Return offset of DIE in CU. */ 361 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die); 363 /* Return CU DIE containing given DIE. * [all...] |
/external/libvpx/libvpx/examples/ |
simple_encoder.c | 170 if (argc != 9) die("Invalid number of arguments"); 181 if (!encoder) die("Unsupported codec."); 191 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 196 die("Failed to allocate image."); 200 if (keyframe_interval < 0) die("Invalid keyframe interval value."); 215 if (!writer) die("Failed to open %s for writing.", outfile_arg); 218 die("Failed to open %s for reading.", infile_arg);
|
vp8cx_set_ref.c | 115 if (argc != 6) die("Invalid number of arguments"); 119 if (!encoder) die("Unsupported codec."); 122 if (!update_frame_num) die("Couldn't parse frame number '%s'\n", argv[5]); 132 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height); 137 die("Failed to allocate image."); 152 if (!writer) die("Failed to open %s for writing.", argv[4]); 155 die("Failed to open %s for reading.", argv[3]);
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
DWARFCompileUnit.cpp | 110 // safely access the next die in the array. 117 // Normal DIE 123 // NULL DIE that terminates a sibling chain 141 // Set the offset to that of the first DIE and calculate the start of the 146 DWARFDebugInfoEntryMinimal die; local 147 // Keep a flat array of the DIE for binary lookup by DIE offset 156 die.extractFast(this, fixed_form_sizes, &offset)) { 160 die.getAttributeValueAsUnsigned(this, DW_AT_low_pc, -1U); 162 base_addr = die.getAttributeValueAsUnsigned(this, DW_AT_entry_pc, 0) [all...] |
/external/tensorflow/tensorflow/tools/ci_build/builds/ |
test_tutorials.sh | 62 die "Unable to locate binary path for timeout command" 70 mkdir -p "${LOGS_DIR}" || die "Failed to create logs directory" 71 mkdir -p "${TUT_TEST_ROOT}" || die "Failed to create test directory" 80 die "PYTHON_BIN_PATH was not provided. If this is not virtualenv, "\ 97 die "Failed to create test directory: ${TEST_DIR}" 107 die "FAILED: Unable to copy directory required by MNIST tutorials: "\ 243 die "Failed to download data file for ptb_world_lm tutorial from "\
|
/external/valgrind/perf/ |
vg_perf | 131 (-f $prog) or die "vg_perf: '$prog' not found or not a file ($dir)\n"; 134 (-x $prog) or die "vg_perf: '$prog' not executable ($dir)\n"; 155 if ($n_reps < 1) { die "bad --reps value: $n_reps\n"; } 168 die $usage; 180 (0 != @fs) or die "No test files or directories specified\n"; 196 open(INPUTFILE, "< $f") || die "File $f not openable\n"; 212 die "Bad line in $f: $line\n"; 221 die "vg_perf: missing 'tools' line in $f\n"; 251 die "\n*** Command returned non-zero ($retval)" 255 die "\n*** missing usertime in perf.stderr\n" [all...] |
vg_perf.in | 131 (-f $prog) or die "vg_perf: '$prog' not found or not a file ($dir)\n"; 134 (-x $prog) or die "vg_perf: '$prog' not executable ($dir)\n"; 155 if ($n_reps < 1) { die "bad --reps value: $n_reps\n"; } 168 die $usage; 180 (0 != @fs) or die "No test files or directories specified\n"; 196 open(INPUTFILE, "< $f") || die "File $f not openable\n"; 212 die "Bad line in $f: $line\n"; 221 die "vg_perf: missing 'tools' line in $f\n"; 251 die "\n*** Command returned non-zero ($retval)" 255 die "\n*** missing usertime in perf.stderr\n" [all...] |
/external/valgrind/massif/ |
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...] |
/system/core/cpio/ |
mkbootfs.c | 26 void die(const char *why, ...) function 128 if(strlen(out) != (unsigned int)olen) die("ACK!"); 171 if(d == 0) die("cannot open directory '%s'", in); 241 if(lstat(in, &s)) die("could not stat '%s'\n", in); 248 if(fd < 0) die("cannot open '%s' for read", in); 251 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); 254 die("cannot read %d bytes", s.st_size); 268 if(size < 0) die("cannot read symlink '%s'", in); 271 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); 296 if (f == NULL) die("failed to open canned file") [all...] |