Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 4 of 4) sorted by relevance

/system/core/libsync/
Dsync.c38 int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument
46 err = ioctl(fd1, SYNC_IOC_MERGE, &data); in sync_merge()
/system/core/libsync/include/sync/
Dsync.h46 int sync_merge(const char *name, int fd1, int fd2);
/system/core/init/
Dbuiltins.cpp662 int fd1 = -1, fd2 = -1; in do_copy() local
673 if ((fd1 = open(args[1], O_RDONLY|O_CLOEXEC)) < 0) in do_copy()
685 rc = read(fd1, p, brtr); in do_copy()
713 if (fd1 >= 0) in do_copy()
714 close(fd1); in do_copy()
/system/core/toolbox/
Dnewfs_msdos.c265 int ch, fd, fd1; in newfs_msdos_main() local
495 fd1 = -1; in newfs_msdos_main()
503 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) in newfs_msdos_main()
648 if (!x && lseek(fd1, opt_ofs, SEEK_SET)) in newfs_msdos_main()
652 if ((n = read(fd1, img, bpb.bps)) == -1) in newfs_msdos_main()