Searched refs:e_phnum (Results 1 - 25 of 27) sorted by relevance

12

/macosx-10.10.1/dtrace-147/libelf/
H A Dgetphnum.c44 if (ehdr.e_phnum != PN_XNUM) {
45 *phnum = ehdr.e_phnum;
54 *phnum = ehdr.e_phnum;
H A Dnewphdr.c110 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0;
121 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0;
132 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count;
H A Dupdate.c185 if (eh->e_phnum != 0) {
190 hi += eh->e_phentsize * eh->e_phnum;
199 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum.
203 * e_phnum may have already been initialized by the caller (for example,
377 if (eh->e_phnum != 0)
382 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi)
543 if (eh->e_phnum != 0) {
557 dst.d_size = eh->e_phnum * eh->e_phentsize;
841 Half e_phnum; local
851 e_phnum
[all...]
H A Dclscook.c423 if (eh->e_phnum == 0)
432 fsz *= eh->e_phnum;
434 msz = _elf_msize(ELF_T_PHDR, work) * eh->e_phnum;
H A Dgelf.c114 dst->e_phnum = e->e_phnum;
176 d->e_phnum = src->e_phnum;
H A Dbegin.c416 ((Elf32_Ehdr *)(elf->ed_ident))->e_phnum = 0;
522 ((Elf64_Ehdr *)(elf->ed_ident))->e_phnum = 0;
H A Dxlate.m41000 tofh(dst, src->e_phnum, E1_phnum_$2);
1512 dst->e_phnum = tomh(src, E1_phnum_$2);
H A Dxlate64.m4991 tofh(dst, src->e_phnum, E1_phnum_$2);
1550 dst->e_phnum = tomh(src, E1_phnum_$2);
H A Dxlate.c1169 { register Elf32_Half _t_ = src->e_phnum;
1230 { register Elf32_Half _t_ = src->e_phnum;
2641 dst->e_phnum = (((Elf32_Half)(src)[E1_phnum_L1]<<8)+(src)[E1_phnum_L0]);
2683 dst->e_phnum = (((Elf32_Half)(src)[E1_phnum_M1]<<8)+(src)[E1_phnum_M0]);
H A Dxlate64.c1158 { Elf64_Half _t_ = src->e_phnum;
1231 { Elf64_Half _t_ = src->e_phnum;
2979 dst->e_phnum = (((Elf64_Half)(src)[E1_phnum_L1]<<8)+(src)[E1_phnum_L0]);
3033 dst->e_phnum = (((Elf64_Half)(src)[E1_phnum_M1]<<8)+(src)[E1_phnum_M0]);
/macosx-10.10.1/file-46/file/src/
H A Delfclass.h40 elf_getu16(swap, elfhdr.e_phnum),
50 elf_getu16(swap, elfhdr.e_phnum),
H A Dreadelf.h75 Elf32_Half e_phnum; member in struct:__anon8628
92 Elf64_Half e_phnum; member in struct:__anon8629
/macosx-10.10.1/cxxfilt-11/cxxfilt/include/elf/
H A Dexternal.h51 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon7556
68 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon7557
H A Dinternal.h55 unsigned int e_phnum; /* Program header table entry count */ member in struct:elf_internal_ehdr
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delfcore.h189 amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum;
197 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
225 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
H A Delfcode.h247 dst->e_phnum = H_GET_16 (abfd, src->e_phnum);
277 H_PUT_16 (abfd, src->e_phnum, dst->e_phnum);
623 if (i_ehdrp->e_phnum > 0)
777 if (i_ehdrp->e_phnum == 0)
784 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr);
791 for (i = 0; i < i_ehdrp->e_phnum; i++, i_phdr++)
1510 fprintf (stderr, "e_phnum = %ld\n", (long) ehdrp->e_phnum);
[all...]
H A Delf.c884 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++)
889 if (i < elf_elfheader (abfd)->e_phnum)
892 for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++)
1135 c = elf_elfheader (abfd)->e_phnum;
4262 elf_elfheader (abfd)->e_phnum = alloc;
4959 i_ehdrp->e_phnum = 0;
5195 num_segments = elf_elfheader (ibfd)->e_phnum;
5450 + iehdr->e_phnum * iehdr->e_phentsize)));
5542 ? (iehdr->e_phnum
5616 map->p_paddr -= iehdr->e_phnum * iehd
[all...]
H A Delf32-bfin.c4730 for (i = 0; i < elf_elfheader (ibfd)->e_phnum; i++)
4735 for (i = 0; i < elf_elfheader (obfd)->e_phnum; i++)
4746 elf_elfheader (obfd)->e_phnum) != 0)
/macosx-10.10.1/dtrace-147/tools/ctfconvert/
H A Doutput.c655 if (sehdr.e_phnum != 0) {
657 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL)
660 for (i = 0; i < sehdr.e_phnum; i++) {
724 if (changing && sehdr.e_phnum != 0) {
760 if (sehdr.e_phnum != 0)
812 if (changing && sehdr.e_phnum != 0) {
830 if (sehdr.e_phnum != 0) {
/macosx-10.10.1/emacs-93/emacs/src/
H A Dunexsni.c603 old_file_h->e_phnum * old_file_h->e_phentsize);
630 for (n = new_file_h->e_phnum - 1; n >= 0; n--)
661 for (n = new_file_h->e_phnum - 1; n >= 0; n--)
H A Dunexelf.c844 old_file_h->e_phnum * old_file_h->e_phentsize);
869 for (n = new_file_h->e_phnum - 1; n >= 0; n--)
905 for (n = new_file_h->e_phnum - 1; n >= 0; n--)
/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_lib.c113 dst->e_phnum = src->e_phnum;
/macosx-10.10.1/dtrace-147/sys/
H A Delf.h84 Elf32_Half e_phnum; /* number phdrs */ member in struct:__anon8238
102 Elf64_Half e_phnum; /* number phdrs */ member in struct:__anon8239
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dreadelf.c3229 (long) elf_header.e_phnum);
3277 elf_header.e_phentsize, elf_header.e_phnum,
3283 i < elf_header.e_phnum;
3310 elf_header.e_phentsize, elf_header.e_phnum,
3316 i < elf_header.e_phnum;
3345 phdrs = cmalloc (elf_header.e_phnum, sizeof (Elf_Internal_Phdr));
3373 if (elf_header.e_phnum == 0)
3386 elf_header.e_phnum);
3396 if (elf_header.e_phnum > 1)
3420 i < elf_header.e_phnum;
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DELF.h73 Elf32_Half e_phnum; // Number of entries in the program header table member in struct:llvm::ELF::Elf32_Ehdr
97 Elf64_Half e_phnum; member in struct:llvm::ELF::Elf64_Ehdr

Completed in 322 milliseconds

12