Lines Matching defs:fd
45 * 'fd' the file descriptor of an ELF file
52 int fd;
135 int fd;
143 if ((fd = open(f, O_RDONLY)) < 0) {
148 return (fd);
154 int fd = -1;
179 if ((fd = open(f, O_RDONLY)) < 0) {
184 hargs.fd = fd;
198 int fd, ret;
200 if ((fd = py_get_fd(args)) < 0) {
204 ret = iself(fd);
206 (void) close(fd);
234 int fd;
237 if ((fd = py_get_fd(args)) < 0) {
241 if ((hi = getheaderinfo(fd)) == NULL) {
270 (void) close(fd);
301 if (hargs.fd < 0) {
305 if ((h = gethashes(hargs.fd, hargs.elfhash,
372 (void) close(hargs.fd);
410 int fd;
417 fd = py_get_fd(args);
418 if (fd < 0) {
422 if ((dyn = getdynamic(fd)) == NULL) {
489 (void) close(fd);