Lines Matching refs:fn
78 char *fn; in find_item() local
82 fn = "boot.img"; in find_item()
84 fn = "recovery.img"; in find_item()
86 fn = "system.img"; in find_item()
88 fn = "userdata.img"; in find_item()
90 fn = "android-info.txt"; in find_item()
99 "../../../target/product/%s/%s", product, fn); in find_item()
109 sprintf(path, "%s/%s", dir, fn); in find_item()
114 void *load_file(const char *fn, unsigned *_sz);
116 void *load_file(const char *fn, unsigned *_sz) in load_file() argument
123 fd = open(fn, O_RDONLY); in load_file()
414 void do_update_signature(zipfile_t zip, char *fn) in do_update_signature() argument
418 data = unzip_file(zip, fn, &sz); in do_update_signature()
424 void do_update(char *fn) in do_update() argument
434 zdata = load_file(fn, &zsize); in do_update()
435 if (zdata == 0) die("failed to load '%s'", fn); in do_update()
474 void do_send_signature(char *fn) in do_send_signature() argument
480 xtn = strrchr(fn, '.'); in do_send_signature()
485 data = load_file(fn, &sz); in do_send_signature()