Lines Matching refs:die
189 die("ANDROID_PRODUCT_OUT not set"); in find_item_given_name()
218 die("Command failed"); in Epilog()
232 die("could not get file size"); in get_file_size()
321 die("invalid network address '%s': %s\n", net_address, error.c_str()); in open_device()
474 die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); in LoadBootableImage()
479 die("cannot load '%s': too short", kernel.c_str()); in LoadBootableImage()
486 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage()
494 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage()
501 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage()
508 die("Argument dtb not supported for boot image header version %d\n", in LoadBootableImage()
512 die("cannot load '%s': %s", g_dtb_path.c_str(), strerror(errno)); in LoadBootableImage()
542 if (error != 0) die("failed to extract '%s': %s", entry_name.c_str(), ErrorCodeString(error)); in UnzipToMemory()
559 die("GetTempPath failed, error %ld", GetLastError()); in win32_tmpfile()
564 die("GetTempFileName failed, error %ld", GetLastError()); in win32_tmpfile()
573 die("make_temporary_directory not supported under Windows, sorry!"); in make_temporary_directory()
592 die("unable to create temporary directory with template %s: %s", in make_temporary_directory()
602 die("failed to create temporary file for %s with template %s: %s\n", in make_temporary_fd()
616 die("unable to create FBE marker file %s locally: %s", in create_fbemarker_tmpdir()
652 die("\nfailed to extract '%s': %s", entry_name, ErrorCodeString(error)); in unzip_to_file()
656 die("\nlseek on extracted file '%s' failed: %s", entry_name, strerror(errno)); in unzip_to_file()
685 die("requirements not met!"); in CheckRequirement()
715 die("requirements not met!"); in CheckRequirement()
764 die("device doesn't have required partition %s!", partition_name.c_str()); in HandlePartitionExists()
774 die("device requires partition %s which is not known to this version of fastboot", in HandlePartitionExists()
830 if (!s) die("cannot sparse read file"); in load_sparse_files()
833 die("invalid max size %" PRId64, max_size); in load_sparse_files()
837 if (files < 0) die("Failed to resparse"); in load_sparse_files()
840 if (!out_s) die("Failed to allocate sparse file array"); in load_sparse_files()
843 if (files < 0) die("Failed to resparse"); in load_sparse_files()
950 die("Failed reading from vbmeta"); in rewrite_vbmeta_buffer()
958 die("Failed to find AVB_FOOTER at offset: %" PRId64, footer_offset); in rewrite_vbmeta_buffer()
965 die("Failed to find AVB_MAGIC at offset: %" PRId64, vbmeta_offset); in rewrite_vbmeta_buffer()
986 die("Failed writing to modified vbmeta"); in rewrite_vbmeta_buffer()
1016 die("cannot get boot partition size"); in copy_boot_avb_footer()
1022 die("Couldn't parse partition size '%s'.", partition_size_str.c_str()); in copy_boot_avb_footer()
1028 die("boot partition is smaller than boot image"); in copy_boot_avb_footer()
1033 die("Failed reading from boot"); in copy_boot_avb_footer()
1043 die("Failed writing to modified boot"); in copy_boot_avb_footer()
1047 die("Failed copying AVB footer in boot"); in copy_boot_avb_footer()
1093 die("unknown buffer type: %d", buf->type); in flash_buf()
1147 die("No known slots"); in verify_slot()
1153 if (count == 0) die("Device does not support slots"); in verify_slot()
1158 die("No known slots"); in verify_slot()
1190 die("Failed to identify current slot"); in do_for_partition()
1216 die("Could not check if partition %s has slot %s", part.c_str(), slot.c_str()); in do_for_partitions()
1247 die("cannot load '%s': %s", fname, strerror(errno)); in do_flash()
1287 die("Failed to boot into userspace fastboot; one or more components might be unbootable."); in reboot_to_userspace_fastboot()
1382 die("could not read android-info.txt"); in CheckRequirements()
1429 die("could not load '%s': %s", image->img_name, strerror(errno)); in FlashImages()
1508 die("failed to open zip file '%s': %s", filename, ErrorCodeString(error)); in do_update()
1630 die("Formatting is not supported for file system with type '%s'.", in fb_perform_format()
1636 die("Couldn't parse partition size '%s'.", partition_size.c_str()); in fb_perform_format()
1645 die("Cannot generate image for %s", partition.c_str()); in fb_perform_format()
1650 die("Cannot open generated image: %s", strerror(errno)); in fb_perform_format()
1653 die("Cannot read image: %s", strerror(errno)); in fb_perform_format()
1665 die("Command failed"); in fb_perform_format()
1749 die("Could not read image: %s", image.c_str()); in do_wipe_super()
1753 die("Could not parse image: %s", image.c_str()); in do_wipe_super()
1763 die(message); in do_wipe_super()
1846 if (g_boot_img_hdr.page_size == 0) die("invalid page size"); in Main()
1872 die("unknown option %s", longopts[longindex].name); in Main()
1890 die("invalid sparse limit %s", optarg); in Main()
1997 die("could not load '%s': %s", filename.c_str(), strerror(errno)); in Main()
1999 if (data.size() != 256) die("signature must be 256 bytes (got %zu)", data.size()); in Main()
2048 if (fname.empty()) die("cannot determine image filename for '%s'", pname.c_str()); in Main()
2053 die("The partition you are trying to flash is dynamic, and " in Main()
2104 die("cannot load '%s'", filename.c_str()); in Main()