Lines Matching refs:direction
256 bfd_seek (bfd *abfd, file_ptr position, int direction)
264 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR);
266 if (direction == SEEK_CUR && position == 0)
275 if (direction == SEEK_SET)
282 if ((abfd->direction == write_direction) ||
283 (abfd->direction == both_direction))
313 if (direction == SEEK_SET && (bfd_vma) position == abfd->where)
332 if (direction == SEEK_SET && abfd->my_archive != NULL)
336 result = abfd->iovec->bseek (abfd, file_position, direction);
360 if (direction == SEEK_SET)