Lines Matching defs:direction
242 bfd_seek (bfd *abfd, file_ptr position, int direction)
251 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR);
253 if (direction == SEEK_CUR && position == 0)
262 if (direction == SEEK_SET)
269 if ((abfd->direction == write_direction) ||
270 (abfd->direction == both_direction))
313 if (direction == SEEK_SET && (bfd_vma) position == abfd->where)
333 if (direction == SEEK_SET && abfd->my_archive != NULL)
336 result = real_fseek (f, file_position, direction);
357 if (direction == SEEK_SET)