Lines Matching refs:fd
50 // Object assumes ownership of fd.
51 explicit MyStreamSource(int fd);
72 MyStreamSource::MyStreamSource(int fd)
73 : mFd(fd),
76 CHECK_GE(fd, 0);
78 mFileSize = lseek64(fd, 0, SEEK_END);
79 lseek64(fd, 0, SEEK_SET);
367 int fd = open(argv[1], O_RDONLY);
369 if (fd < 0) {
374 source = new MyStreamSource(fd);