Home | History | Annotate | Download | only in installd

Lines Matching defs:out_fd

661     int res, zip_fd=-1, out_fd=-1;
696 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644);
697 if (out_fd < 0) {
701 if (fchmod(out_fd,
707 if (fchown(out_fd, AID_SYSTEM, uid) < 0) {
736 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) {
742 run_dexopt(zip_fd, out_fd, apk_path, out_path, dexopt_flags);
744 run_dex2oat(zip_fd, out_fd, apk_path, out_path, dexopt_flags);
761 close(out_fd);
766 if (out_fd >= 0) {
767 close(out_fd);