Lines Matching defs:bufend

1439 static char *ecoff_add_bytes (char **buf, char **bufend,
1442 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1445 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1448 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1451 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1454 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1456 static unsigned long ecoff_build_strings (char **buf, char **bufend,
1460 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
1463 (const struct ecoff_debug_swap *backend, char **buf, char **bufend,
3639 char **bufend,
3647 need -= *bufend - bufptr;
3650 want = (*bufend - *buf) + need;
3652 *bufend = *buf + want;
3662 char **bufend,
3674 if ((unsigned long) (*bufend - (*buf + offset)) < add)
3675 (void) ecoff_add_bytes (buf, bufend, *buf + offset, add);
3690 char **bufend,
3842 if (bufptr >= *bufend)
3843 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1);
3852 if (*bufend - bufptr < 3)
3853 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 3);
3879 if (bufptr >= *bufend)
3880 bufptr = ecoff_add_bytes (buf, bufend, bufptr, (long) 1);
3911 c = ecoff_padding_adjust (backend, buf, bufend, c, &bufptr);
3921 char **bufend,
4238 if ((bfd_size_type)(*bufend - sym_out) < external_sym_size)
4239 sym_out = ecoff_add_bytes (buf, bufend,
4286 char **bufend,
4355 if ((bfd_size_type)(*bufend - pdr_out) < external_pdr_size)
4356 pdr_out = ecoff_add_bytes (buf, bufend,
4376 char **bufend,
4427 if ((unsigned long) (*bufend - (char *) aux_out)
4430 ecoff_add_bytes (buf, bufend,
4479 return ecoff_padding_adjust (backend, buf, bufend,
4489 char **bufend,
4512 if ((unsigned long)(*bufend - str_out) < str_cnt)
4513 str_out = ecoff_add_bytes (buf, bufend, str_out, str_cnt);
4528 char **bufend,
4555 ss_cnt = ecoff_build_strings (buf, bufend, offset + iss,
4562 return ecoff_padding_adjust (backend, buf, bufend, offset + iss,
4571 char **bufend,
4601 if ((bfd_size_type)(*bufend - fdr_out) < external_fdr_size)
4602 fdr_out = ecoff_add_bytes (buf, bufend, fdr_out,
4661 char *bufend;
4733 bufend = buf + PAGE_SIZE;
4737 offset = ecoff_build_lineno (backend, &buf, &bufend, offset,
4750 if ((bfd_size_type)(bufend - (buf + offset)) < proc_cnt * external_pdr_size)
4751 (void) ecoff_add_bytes (&buf, &bufend, buf + offset,
4757 offset = ecoff_build_symbols (backend, &buf, &bufend, offset);
4762 (void) ecoff_build_procs (backend, &buf, &bufend, hdr->cbPdOffset);
4770 offset = ecoff_build_aux (backend, &buf, &bufend, offset);
4775 offset = ecoff_build_ss (backend, &buf, &bufend, offset);
4784 offset = ecoff_build_fdr (backend, &buf, &bufend, offset);