Home
last modified time | relevance | path

Searched refs:err (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/minui/
Dgraphics_adf.cpp81 int err; in adf_interface_init() local
83 err = adf_get_interface_data(pdata->intf_fd, &intf_data); in adf_interface_init()
84 if (err < 0) in adf_interface_init()
85 return err; in adf_interface_init()
87 err = adf_surface_init(pdata, &intf_data.current_mode, &pdata->surfaces[0]); in adf_interface_init()
88 if (err < 0) { in adf_interface_init()
89 fprintf(stderr, "allocating surface 0 failed: %s\n", strerror(-err)); in adf_interface_init()
90 ret = err; in adf_interface_init()
94 err = adf_surface_init(pdata, &intf_data.current_mode, in adf_interface_init()
96 if (err < 0) { in adf_interface_init()
[all …]
/bootable/recovery/minzip/
DDirUtil.c35 int err; in getPathDirStatus() local
37 err = stat(path, &st); in getPathDirStatus()
38 if (err == 0) { in getPathDirStatus()
146 int err; in dirCreateHierarchy() local
155 err = mkdir(cpath, mode); in dirCreateHierarchy()
162 if (err != 0) { in dirCreateHierarchy()
DZip.c428 int err; in mzOpenZipArchive() local
431 err = -1; in mzOpenZipArchive()
440 err = -1; in mzOpenZipArchive()
445 err = 0; in mzOpenZipArchive()
448 if (err != 0) in mzOpenZipArchive()
450 return err; in mzOpenZipArchive()
/bootable/recovery/
Dinstall.cpp234 int err; in really_install_package() local
235 err = verify_file(map.addr, map.length, loadedKeys, numKeys); in really_install_package()
237 LOGI("verify_file returned %d\n", err); in really_install_package()
238 if (err != VERIFY_SUCCESS) { in really_install_package()
247 err = mzOpenZipArchive(map.addr, map.length, &zip); in really_install_package()
248 if (err != 0) { in really_install_package()
249 LOGE("Can't open %s\n(%s)\n", path, err != -1 ? strerror(err) : "bad"); in really_install_package()
/bootable/recovery/updater/
Dupdater.c78 int err; in main() local
79 err = mzOpenZipArchive(map.addr, map.length, &za); in main()
80 if (err != 0) { in main()
82 argv[3], strerror(err)); in main()
/bootable/recovery/mtdutils/
Dflash_image.c35 int err = errno; in die() local
42 if (err != 0) { in die()
44 strlcat(buf, strerror(err), sizeof(buf)); in die()
/bootable/recovery/applypatch/
Dbsdiff.c253 ((eb=malloc(newsize+1))==NULL)) err(1,NULL); in bsdiff()
259 err(1, "%s", patch_filename); in bsdiff()
276 err(1, "fwrite(%s)", patch_filename); in bsdiff()
369 err(1, "ftello"); in bsdiff()
384 err(1, "ftello"); in bsdiff()
399 err(1, "fseeko"); in bsdiff()
401 err(1, "fwrite(%s)", patch_filename); in bsdiff()
403 err(1, "fclose"); in bsdiff()