Searched refs:fd1 (Results 1 - 5 of 5) sorted by relevance
/system/core/libsync/include/sync/ |
H A D | sync.h | 46 int sync_merge(const char *name, int fd1, int fd2);
|
/system/core/libsync/ |
H A D | sync.c | 38 int sync_merge(const char *name, int fd1, int fd2) argument 46 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
|
/system/core/init/ |
H A D | builtins.cpp | 822 int fd1 = -1, fd2 = -1; local 830 if ((fd1 = open(args[1].c_str(), O_RDONLY|O_CLOEXEC)) < 0) 842 rc = read(fd1, p, brtr); 870 if (fd1 >= 0) 871 close(fd1);
|
/system/core/toolbox/ |
H A D | newfs_msdos.c | 265 int ch, fd, fd1; local 495 fd1 = -1; 503 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) 648 if (!x && lseek(fd1, opt_ofs, SEEK_SET)) 652 if ((n = read(fd1, img, bpb.bps)) == -1)
|
/system/core/adb/ |
H A D | shell_service.cpp | 138 // Creates a socketpair and saves the endpoints to |fd1| and |fd2|. 139 bool CreateSocketpair(ScopedFd* fd1, ScopedFd* fd2) { argument 145 fd1->Reset(sockets[0]);
|
Completed in 140 milliseconds