Lines Matching refs:die
179 die("ANDROID_PRODUCT_OUT not set"); in find_item_given_name()
206 die("Command failed"); in Epilog()
220 die("could not get file size"); in get_file_size()
305 die("invalid network address '%s': %s\n", net_address, error.c_str()); in open_device()
450 die("cannot load '%s': %s", kernel.c_str(), strerror(errno)); in LoadBootableImage()
455 die("cannot load '%s': too short", kernel.c_str()); in LoadBootableImage()
462 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage()
470 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage()
477 die("cannot load '%s': %s", second_stage.c_str(), strerror(errno)); in LoadBootableImage()
484 die("Argument dtb not supported for boot image header version %d\n", in LoadBootableImage()
488 die("cannot load '%s': %s", g_dtb_path.c_str(), strerror(errno)); in LoadBootableImage()
519 if (error != 0) die("failed to extract '%s': %s", entry_name.c_str(), ErrorCodeString(error)); in UnzipToMemory()
536 die("GetTempPath failed, error %ld", GetLastError()); in win32_tmpfile()
541 die("GetTempFileName failed, error %ld", GetLastError()); in win32_tmpfile()
550 die("make_temporary_directory not supported under Windows, sorry!"); in make_temporary_directory()
569 die("unable to create temporary directory with template %s: %s", in make_temporary_directory()
579 die("failed to create temporary file for %s with template %s: %s\n", in make_temporary_fd()
593 die("unable to create FBE marker file %s locally: %s", in create_fbemarker_tmpdir()
630 die("\nfailed to extract '%s': %s", entry_name, ErrorCodeString(error)); in unzip_to_file()
634 die("\nlseek on extracted file '%s' failed: %s", entry_name, strerror(errno)); in unzip_to_file()
663 die("requirements not met!"); in CheckRequirement()
693 die("requirements not met!"); in CheckRequirement()
742 die("device doesn't have required partition %s!", partition_name.c_str()); in HandlePartitionExists()
752 die("device requires partition %s which is not known to this version of fastboot", in HandlePartitionExists()
808 if (!s) die("cannot sparse read file"); in load_sparse_files()
811 die("invalid max size %" PRId64, max_size); in load_sparse_files()
815 if (files < 0) die("Failed to resparse"); in load_sparse_files()
818 if (!out_s) die("Failed to allocate sparse file array"); in load_sparse_files()
821 if (files < 0) die("Failed to resparse"); in load_sparse_files()
930 die("Failed reading from vbmeta"); in rewrite_vbmeta_buffer()
947 die("Failed writing to modified vbmeta"); in rewrite_vbmeta_buffer()
984 die("unknown buffer type: %d", buf->type); in flash_buf()
1038 die("No known slots"); in verify_slot()
1044 if (count == 0) die("Device does not support slots"); in verify_slot()
1049 die("No known slots"); in verify_slot()
1081 die("Failed to identify current slot"); in do_for_partition()
1107 die("Could not check if partition %s has slot %s", part.c_str(), slot.c_str()); in do_for_partitions()
1138 die("cannot load '%s': %s", fname, strerror(errno)); in do_flash()
1178 die("Failed to boot into userspace fastboot; one or more components might be unbootable."); in reboot_to_userspace_fastboot()
1263 die("could not read android-info.txt"); in CheckRequirements()
1310 die("could not load '%s': %s", image->img_name, strerror(errno)); in FlashImages()
1389 die("failed to open zip file '%s': %s", filename, ErrorCodeString(error)); in do_update()
1520 die("Formatting is not supported for file system with type '%s'.", in fb_perform_format()
1526 die("Couldn't parse partition size '%s'.", partition_size.c_str()); in fb_perform_format()
1535 die("Cannot generate image for %s", partition.c_str()); in fb_perform_format()
1540 die("Cannot open generated image: %s", strerror(errno)); in fb_perform_format()
1543 die("Cannot read image: %s", strerror(errno)); in fb_perform_format()
1555 die("Command failed"); in fb_perform_format()
1666 if (g_boot_img_hdr.page_size == 0) die("invalid page size"); in Main()
1692 die("unknown option %s", longopts[longindex].name); in Main()
1710 die("invalid sparse limit %s", optarg); in Main()
1817 die("could not load '%s': %s", filename.c_str(), strerror(errno)); in Main()
1819 if (data.size() != 256) die("signature must be 256 bytes (got %zu)", data.size()); in Main()
1868 if (fname.empty()) die("cannot determine image filename for '%s'", pname.c_str()); in Main()
1873 die("The partition you are trying to flash is dynamic, and " in Main()
1924 die("cannot load '%s'", filename.c_str()); in Main()