Searched defs:die (Results 1 - 6 of 6) sorted by relevance

/system/core/crash_reporter/
H A Dkernel_log_collector.sh30 die() { function
45 die "coule not get timestamp from: ${last_line}"
50 die "could not get timestamp from: ${line}"
/system/core/fastboot/
H A Dutil.cpp56 if (s == 0) die("out of memory");
60 void die(const char *fmt, ...) function
/system/update_engine/scripts/
H A Dbrillo_update_payload62 die() { function
74 . "${path}/shflags" || die "Could not load ${path}/shflags."
78 die "Could not find shflags."
250 die "Cleanup encountered an error."
257 die "Cleanup success after an error."
295 die "Couldn't detect the image format of ${image}"
353 die "Invalid partition names found in the partition list."
357 die "The list of partitions is empty. Can't generate a payload."
446 die "Error: you must specify an output filename with --payload FILENAME"
449 die "Erro
[all...]
/system/core/cpio/
H A Dmkbootfs.c26 void die(const char *why, ...) function
126 if(strlen(out) != (unsigned int)olen) die("ACK!");
169 if(d == 0) die("cannot open directory '%s'", in);
239 if(lstat(in, &s)) die("could not stat '%s'\n", in);
246 if(fd < 0) die("cannot open '%s' for read", in);
249 if(tmp == 0) die("cannot allocate %d bytes", s.st_size);
252 die("cannot read %d bytes", s.st_size);
266 if(size < 0) die("cannot read symlink '%s'", in);
269 die("Unknown '%s' (mode %d)?\n", in, s.st_mode);
294 if (f == NULL) die("faile
[all...]
/system/extras/cpustats/
H A Dcpustats.c50 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro
110 if (!old_cpus) die("Could not allocate struct cpu_info\n");
112 if (!new_cpus) die("Could not allocate struct cpu_info\n");
117 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n");
119 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n");
129 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n");
131 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n");
179 die("present cpus != online cpus\n");
193 if (!file) die("Could not open %s\n", filename);
194 if (!fgets(line, MAX_BUF_SIZE, file)) die("Coul
[all...]
/system/core/toolbox/
H A Dtop.c81 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro
206 if (!proc) die("Could not allocate struct process_info.\n");
236 if (!proc_dir) die("Could not open /proc.\n");
242 if (!file) die("Could not open /proc/stat.\n");
376 if (!new_procs) die("Could not expand procs array.\n");

Completed in 276 milliseconds