Lines Matching refs:die
71 static void die(int error, const char* fmt, ...) { in die() function
175 die(0, "(EOF/read error; assuming [N]one...)"); in PromptOverwrite()
201 die(0, "entry size %" PRIu64 " is too large to extract.", entry.uncompressed_length); in ExtractToPipe()
207 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in ExtractToPipe()
210 die(errno, "failed to write %s to stdout", name.c_str()); in ExtractToPipe()
218 die(0, "bad filename %s", name.c_str()); in ExtractOne()
231 die(errno, "couldn't create directory hierarchy for %s", dst.c_str()); in ExtractOne()
242 die(errno, "couldn't extract directory %s", dst.c_str()); in ExtractOne()
255 if (fd == -1) die(errno, "couldn't create file %s", dst.c_str()); in ExtractOne()
260 if (err < 0) die(0, "failed to extract %s: %s", dst.c_str(), ErrorCodeString(err)); in ExtractOne()
369 die(0, "couldn't iterate %s: %s", archive_name, ErrorCodeString(err)); in ProcessAll()
378 if (err < -1) die(0, "failed iterating %s: %s", archive_name, ErrorCodeString(err)); in ProcessAll()
452 die(0, "run as ziptool with unzip or zipinfo as the first argument, or symlink"); in main()
514 if (!archive_name) die(0, "missing archive filename"); in main()
520 die(0, "couldn't open %s: %s", archive_name, ErrorCodeString(err)); in main()
529 die(errno, "couldn't created %s", flag_d.c_str()); in main()
532 die(errno, "couldn't chdir to %s", flag_d.c_str()); in main()