Searched defs:die (Results 1 - 7 of 7) sorted by relevance
/system/extras/fatblock/ |
H A D | utils.c | 38 void die(char *msg) function
|
/system/core/toolbox/ |
H A D | ifconfig.c | 16 static void die(const char *s) function 24 if(ioctl(s, SIOCGIFFLAGS, ifr) < 0) die("SIOCGIFFLAGS"); 26 if(ioctl(s, SIOCSIFFLAGS, ifr) < 0) die("SIOCSIFFLAGS"); 40 if(ioctl(s, SIOCSIFMTU, ifr) < 0) die("SIOCSIFMTU"); 45 if(ioctl(s, SIOCSIFDSTADDR, ifr) < 0) die("SIOCSIFDSTADDR"); 51 if(ioctl(s, SIOCSIFNETMASK, ifr) < 0) die("SIOCSIFNETMASK"); 57 if(ioctl(s, SIOCSIFADDR, ifr) < 0) die("SIOCSIFADDR"); 80 die("cannot open control socket\n"); 134 die("expecting a value for parameter \"mtu\""); 143 die("expectin [all...] |
H A D | top.c | 79 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro 205 if (!proc) die("Could not allocate struct process_info.\n"); 235 if (!proc_dir) die("Could not open /proc.\n"); 241 if (!file) die("Could not open /proc/stat.\n"); 357 if (!new_procs) die("Could not expand procs array.\n");
|
/system/core/netcfg/ |
H A D | netcfg.c | 31 void die(const char *reason) function 142 die("Cannot perform requested operation");
|
/system/core/cpio/ |
H A D | mkbootfs.c | 26 void die(const char *why, ...) function 123 if(strlen(out) != (unsigned int)olen) die("ACK!"); 166 if(d == 0) die("cannot open directory '%s'", in); 234 if(lstat(in, &s)) die("could not stat '%s'\n", in); 241 if(fd < 0) die("cannot open '%s' for read", in); 244 if(tmp == 0) die("cannot allocate %d bytes", s.st_size); 247 die("cannot read %d bytes", s.st_size); 261 if(size < 0) die("cannot read symlink '%s'", in); 264 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); 289 if (f == NULL) die("faile [all...] |
/system/extras/cpustats/ |
H A D | cpustats.c | 49 #define die(...) { fprintf(stderr, __VA_ARGS__); exit(EXIT_FAILURE); } macro 109 if (!old_cpus) die("Could not allocate struct cpu_info\n"); 111 if (!new_cpus) die("Could not allocate struct cpu_info\n"); 116 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 118 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 128 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 130 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 178 die("present cpus != online cpus\n"); 192 if (!file) die("Could not open %s\n", filename); 193 if (!fgets(line, MAX_BUF_SIZE, file)) die("Coul [all...] |
/system/core/fastboot/ |
H A D | fastboot.c | 109 void die(const char *fmt, ...) function 154 die("neither -p product specified nor ANDROID_PRODUCT_OUT set"); 522 die("out of memory"); 548 die("cannot sparse read file\n"); 553 die("Failed to resparse\n"); 558 die("Failed to allocate sparse file array\n"); 563 die("Failed to resparse\n"); 662 die("cannot open '%s'\n", fname); 684 die("unknown buffer type: %d", buf->type); 693 die("canno [all...] |
Completed in 120 milliseconds