Home | History | Annotate | Download | only in fastboot

Lines Matching refs:fn

114     char *fn;
118 fn = "boot.img";
120 fn = "recovery.img";
122 fn = "system.img";
124 fn = "vendor.img";
126 fn = "userdata.img";
128 fn = "cache.img";
130 fn = "android-info.txt";
139 "../../../target/product/%s/%s", product, fn);
149 sprintf(path, "%s/%s", dir, fn);
193 static void *load_file(const char *fn, unsigned *_sz)
197 fd = open(fn, O_RDONLY | O_BINARY);
713 void do_update_signature(zipfile_t zip, char *fn)
717 data = unzip_file(zip, fn, &sz);
723 void do_update(usb_handle *usb, char *fn, int erase_first)
739 zdata = load_file(fn, &zsize);
740 if (zdata == 0) die("failed to load '%s': %s", fn, strerror(errno));
783 void do_send_signature(char *fn)
789 xtn = strrchr(fn, '.');
794 data = load_file(fn, &sz);