Lines Matching refs:desc
316 register int desc = open (archive, O_RDONLY, 0); in ar_scan() local
317 if (desc < 0) in ar_scan()
322 register int nread = read (desc, buf, SARMAG); in ar_scan()
325 (void) close (desc); in ar_scan()
332 register int nread = read (desc, (char *) &fl_header, FL_HSZ); in ar_scan()
336 (void) close (desc); in ar_scan()
347 if (lseek (desc, 0, 0) < 0) in ar_scan()
349 (void) close (desc); in ar_scan()
354 nread = read (desc, (char *) &fl_header_big, FL_HSZ_BIG); in ar_scan()
357 (void) close (desc); in ar_scan()
366 (void) close (desc); in ar_scan()
377 register int nread = read(desc, &buf, sizeof (buf)); in ar_scan()
380 (void) close (desc); in ar_scan()
412 close (desc); in ar_scan()
446 if (lseek (desc, member_offset, 0) < 0) in ar_scan()
448 (void) close (desc); in ar_scan()
458 nread = read (desc, (char *) &member_header_big, in ar_scan()
463 (void) close (desc); in ar_scan()
468 nread = read (desc, name, name_len); in ar_scan()
472 (void) close (desc); in ar_scan()
490 nread = read (desc, (char *) &member_header, in ar_scan()
495 (void) close (desc); in ar_scan()
500 nread = read (desc, name, name_len); in ar_scan()
504 (void) close (desc); in ar_scan()
522 (*function) (desc, name, 0, in ar_scan()
528 nread = read (desc, (char *) &member_header, AR_HDR_SIZE); in ar_scan()
551 (void) close (desc); in ar_scan()
597 nread = read (desc, name, namesize); in ar_scan()
600 close (desc); in ar_scan()
619 (*function) (desc, name, ! long_name, member_offset, in ar_scan()
636 (void) close (desc); in ar_scan()
652 if (lseek (desc, member_offset, 0) != member_offset) in ar_scan()
654 (void) close (desc); in ar_scan()
668 nread = read (desc, namemap, eltsize); in ar_scan()
671 (void) close (desc); in ar_scan()
699 close (desc); in ar_scan()
740 ar_member_pos (int desc UNUSED, char *mem, int truncated, in ar_member_pos()
819 describe_member (int desc, char *name, int truncated, in describe_member() argument