Home
last modified time | relevance | path

Searched refs:rptr (Results 1 – 12 of 12) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Drandom.c200 static long int *rptr = &randtbl[1]; variable
240 rptr = &state[0]; in srandom()
265 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in initstate()
309 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in initstate()
334 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; in setstate()
356 rptr = &state[rear]; in setstate()
387 *fptr += *rptr; in random()
394 ++rptr; in random()
398 ++rptr; in random()
399 if (rptr >= end_ptr) in random()
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Di386lynx.c432 struct reloc_ext_external *rptr = (struct reloc_ext_external *) relocs; in NAME() local
436 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
438 NAME(lynx,swap_ext_reloc_in) (abfd, rptr, cache_ptr, symbols, in NAME()
444 struct reloc_std_external *rptr = (struct reloc_std_external *) relocs; in NAME() local
448 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
450 NAME(lynx,swap_std_reloc_in) (abfd, rptr, cache_ptr, symbols, in NAME()
Dcoff-alpha.c596 arelent *rptr) in alpha_adjust_reloc_in() argument
604 rptr->addend = 0; in alpha_adjust_reloc_in()
605 rptr->howto = NULL; in alpha_adjust_reloc_in()
619 rptr->addend = 0; in alpha_adjust_reloc_in()
621 rptr->addend = - (intern->r_vaddr + 4); in alpha_adjust_reloc_in()
629 rptr->addend += ecoff_data (abfd)->gp; in alpha_adjust_reloc_in()
637 rptr->addend = intern->r_size; in alpha_adjust_reloc_in()
644 rptr->addend = (intern->r_offset << 8) + intern->r_size; in alpha_adjust_reloc_in()
653 rptr->addend = intern->r_vaddr; in alpha_adjust_reloc_in()
658 rptr->addend = intern->r_symndx + ecoff_data (abfd)->gp; in alpha_adjust_reloc_in()
[all …]
Dhp300hpux.c714 struct hp300hpux_reloc *rptr; in MY() local
764 rptr = (struct hp300hpux_reloc *) relocs; in MY()
768 for (; counter < count; counter++, rptr++, cache_ptr++) in MY()
770 MY (swap_std_reloc_in) (abfd, rptr, cache_ptr, symbols, in MY()
Dsom.c4906 arelent *rptr = internal_relocs; in som_set_reloc_info() local
4952 rptr->address = offset; in som_set_reloc_info()
4953 rptr->howto = &som_hppa_howto_table[op]; in som_set_reloc_info()
4954 rptr->addend = 0; in som_set_reloc_info()
4955 rptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in som_set_reloc_info()
5052 rptr->sym_ptr_ptr = &symbols[c]; in som_set_reloc_info()
5059 rptr->addend = 0; in som_set_reloc_info()
5070 rptr->addend |= 1; in som_set_reloc_info()
5073 rptr->addend |= 1 << 8 | 1 << 6 | 1 << 4 | 1 << 2; in som_set_reloc_info()
5075 rptr->addend |= 1 << 8 | 1 << 6 | 1 << 4; in som_set_reloc_info()
[all …]
Dvms-alpha.c3656 arelent **rptr = section->orelocation; in _bfd_vms_write_etir() local
3662 (*(*rptr)->sym_ptr_ptr)->name, in _bfd_vms_write_etir()
3663 (*(*rptr)->sym_ptr_ptr)->section->name, in _bfd_vms_write_etir()
3664 (long) (*(*rptr)->sym_ptr_ptr)->value, in _bfd_vms_write_etir()
3665 (unsigned long)(*rptr)->address, in _bfd_vms_write_etir()
3666 (unsigned long)(*rptr)->addend, in _bfd_vms_write_etir()
3667 bfd_get_reloc_size ((*rptr)->howto), in _bfd_vms_write_etir()
3668 ( *rptr)->howto->name); in _bfd_vms_write_etir()
3669 rptr++; in _bfd_vms_write_etir()
3678 arelent *rptr = section->orelocation [irel]; in _bfd_vms_write_etir() local
[all …]
Dcoff-mips.c348 arelent *rptr) in mips_adjust_reloc_in() argument
356 rptr->addend += ecoff_data (abfd)->gp; in mips_adjust_reloc_in()
361 rptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in mips_adjust_reloc_in()
363 rptr->howto = &mips_howto_table[intern->r_type]; in mips_adjust_reloc_in()
Decoff.c1565 arelent *rptr; in ecoff_slurp_reloc_table() local
1590 for (i = 0, rptr = internal_relocs; i < section->reloc_count; i++, rptr++) in ecoff_slurp_reloc_table()
1605 rptr->sym_ptr_ptr = symbols + intern.r_symndx; in ecoff_slurp_reloc_table()
1606 rptr->addend = 0; in ecoff_slurp_reloc_table()
1611 rptr->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in ecoff_slurp_reloc_table()
1612 rptr->addend = 0; in ecoff_slurp_reloc_table()
1642 rptr->sym_ptr_ptr = sec->symbol_ptr_ptr; in ecoff_slurp_reloc_table()
1644 rptr->addend = - bfd_get_section_vma (abfd, sec); in ecoff_slurp_reloc_table()
1647 rptr->address = intern.r_vaddr - bfd_get_section_vma (abfd, section); in ecoff_slurp_reloc_table()
1651 (*backend->adjust_reloc_in) (abfd, &intern, rptr); in ecoff_slurp_reloc_table()
Dbout.c673 struct relocation_info *rptr; in b_out_slurp_reloc_table() local
749 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0; in b_out_slurp_reloc_table()
751 counter++, rptr++, cache_ptr++) in b_out_slurp_reloc_table()
753 unsigned char *raw = (unsigned char *)rptr; in b_out_slurp_reloc_table()
Dpdp11.c1818 bfd_byte *rptr; in NAME() local
1884 rptr = relocs; in NAME()
1887 counter++, rptr += RELOC_SIZE, cache_ptr++) in NAME()
1889 while (GET_WORD (abfd, (void *) rptr) == 0) in NAME()
1891 rptr += RELOC_SIZE; in NAME()
1892 if ((char *) rptr >= (char *) relocs + reloc_size) in NAME()
1896 pdp11_aout_swap_reloc_in (abfd, rptr, cache_ptr, in NAME()
1897 (bfd_size_type) ((char *) rptr - (char *) relocs), in NAME()
Daoutx.h2337 struct reloc_ext_external *rptr = (struct reloc_ext_external *) relocs; in NAME() local
2339 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
2340 MY_swap_ext_reloc_in (abfd, rptr, cache_ptr, symbols, in NAME()
2345 struct reloc_std_external *rptr = (struct reloc_std_external *) relocs; in NAME() local
2347 for (; counter < count; counter++, rptr++, cache_ptr++) in NAME()
2348 MY_swap_std_reloc_in (abfd, rptr, cache_ptr, symbols, in NAME()
Delf64-ppc.c7765 bfd_byte *rptr, *wptr; in ppc64_elf_edit_opd() local
7813 rptr = sec->contents; in ppc64_elf_edit_opd()
7894 = (wptr - new_contents) - (rptr - sec->contents); in ppc64_elf_edit_opd()
7896 if (wptr != rptr) in ppc64_elf_edit_opd()
7897 memcpy (wptr, rptr, opd_ent_size); in ppc64_elf_edit_opd()
7905 rptr += opd_ent_size; in ppc64_elf_edit_opd()