Lines Matching defs:ptr
93 . file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes);
94 . file_ptr (*bwrite) (struct bfd *abfd, const void *ptr,
113 bfd_bread (void *ptr, bfd_size_type size, bfd *abfd)
141 memcpy (ptr, bim->buffer + abfd->where, (size_t) get);
147 nread = abfd->iovec->bread (abfd, ptr, size);
157 bfd_bwrite (const void *ptr, bfd_size_type size, bfd *abfd)
184 memcpy (bim->buffer + abfd->where, ptr, (size_t) size);
190 nwrote = abfd->iovec->bwrite (abfd, ptr, size);
209 file_ptr ptr;
216 ptr = abfd->iovec->btell (abfd);
219 ptr -= abfd->origin;
222 ptr = 0;
224 abfd->where = ptr;
225 return ptr;