Lines Matching refs:direction
528 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
550 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
552 if (direction != SEEK_CUR) in bfd_seek()
555 if (((direction == SEEK_CUR && position == 0) in bfd_seek()
556 || (direction == SEEK_SET && (ufile_ptr) position == abfd->where)) in bfd_seek()
562 result = abfd->iovec->bseek (abfd, position, direction); in bfd_seek()
575 if (direction == SEEK_CUR) in bfd_seek()
812 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument
819 if (direction == SEEK_SET) in memory_bseek()
833 if (abfd->direction == write_direction in memory_bseek()
834 || abfd->direction == both_direction) in memory_bseek()