Lines Matching refs:buffer
68 void **buffer;
265 can be returned from the existing buffer. */
268 /* If we're in string mode, then don't consider the buffer we have
270 || (filesz == 0 && memchr (vaddr - start + *read_state->buffer, '\0',
285 *data = vaddr - start + (*read_state->buffer);
319 void *buffer = NULL;
327 read_state.buffer = &buffer;
340 if (! (*memory_callback) (dwfl, ndx, &buffer, &buffer_available,
342 || memcmp (buffer, ELFMAG, SELFMAG) != 0)
362 .d_buf = (void *) buffer,
372 e_ident = ((const unsigned char *) buffer);
375 /* buffer may be unaligned, in which case xlatetom would not work.
381 if (((uintptr_t) buffer & (ehdr_align - 1)) != 0)
383 memcpy (&ehdr, buffer,
445 buffer, otherwise it will be the size of the new buffer that
469 /* ph_ buffer may be unaligned, in which case xlatetom would not work.
543 buffer, otherwise it will be the size of the new buffer that
825 buffer, otherwise it will be the size of the new buffer that
968 && (*read_eagerly) (MODCB_ARGS (mod), &buffer, &buffer_available,
1017 memcpy (contents, buffer, have);
1054 if (buffer != NULL)
1055 (*memory_callback) (dwfl, -1, &buffer, &buffer_available, 0, 0,