Lines Matching refs:direction
279 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
287 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
289 if (direction == SEEK_CUR && position == 0) in bfd_seek()
294 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek()
313 if (direction == SEEK_SET) in bfd_seek()
325 result = abfd->iovec->bseek (abfd, file_position, direction); in bfd_seek()
349 if (direction == SEEK_SET) in bfd_seek()
524 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument
531 if (direction == SEEK_SET) in memory_bseek()
545 if (abfd->direction == write_direction in memory_bseek()
546 || abfd->direction == both_direction) in memory_bseek()