Searched defs:fd2 (Results 1 - 3 of 3) sorted by last modified time

/system/extras/tests/ext4/
H A Drand_emmc_perf.c185 int fd, fd2; local
247 fd2 = open("/dev/urandom", O_RDONLY);
248 if (fd2 < 0) {
251 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) {
254 close(fd2);
/system/core/libsync/
H A Dsync.c36 int32_t fd2; member in struct:sync_legacy_merge_data
45 * the sync_pts in both the calling fd and sync_merge_data.fd2. Returns the
131 static int legacy_sync_merge(const char *name, int fd1, int fd2) argument
136 data.fd2 = fd2;
144 static int modern_sync_merge(const char *name, int fd1, int fd2) argument
149 data.fd2 = fd2;
160 int sync_merge(const char *name, int fd1, int fd2) argument
168 ret = modern_sync_merge(name, fd1, fd2);
[all...]
/system/core/adb/
H A Dshell_service.cpp126 // Creates a socketpair and saves the endpoints to |fd1| and |fd2|.
127 bool CreateSocketpair(unique_fd* fd1, unique_fd* fd2) { argument
134 fd2->reset(sockets[1]);

Completed in 89 milliseconds