HomeSort by relevance Sort by last modified time
    Searched refs:elfw2 (Results 1 - 13 of 13) sorted by null

  /external/elfutils/libelf/
elf32_fsize.c 43 elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version) function
68 local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
elf32_getchdr.c 42 ElfW2(LIBELFBITS,Chdr) *
43 elfw2(LIBELFBITS,getchdr) (Elf_Scn *scn)
45 ElfW2(LIBELFBITS,Shdr) *shdr = elfw2(LIBELFBITS,getshdr) (scn);
76 if (d->d_size < sizeof (ElfW2(LIBELFBITS,Chdr)) || d->d_buf == NULL)
82 return (ElfW2(LIBELFBITS,Chdr) *) d->d_buf;
elf32_checksum.c 54 elfw2(LIBELFBITS,checksum) (Elf *elf) function
145 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
155 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])
168 INTDEF(elfw2(LIBELFBITS,checksum))
elf32_offscn.c 46 elfw2(LIBELFBITS,offscn) (Elf *elf, ElfW2(LIBELFBITS,Off) offset) function
63 && unlikely (elfw2(LIBELFBITS,getshdr) (&runp->data[0]) == NULL))
99 INTDEF(elfw2(LIBELFBITS,offscn))
elf32_newehdr.c 44 ElfW2(LIBELFBITS,Ehdr) *
45 elfw2(LIBELFBITS,newehdr) (Elf *elf)
47 ElfW2(LIBELFBITS,Ehdr) *result;
78 sizeof (ElfW2(LIBELFBITS,Ehdr)));
91 INTDEF(elfw2(LIBELFBITS,newehdr))
elf32_xlatetof.c 46 elfw2(LIBELFBITS, xlatetof) (Elf_Data *dest, const Elf_Data *src, function
121 INTDEF(elfw2(LIBELFBITS, xlatetof))
elf32_xlatetom.c 46 elfw2(LIBELFBITS, xlatetom) (Elf_Data *dest, const Elf_Data *src, function
126 INTDEF(elfw2(LIBELFBITS, xlatetom))
elf32_getehdr.c 44 static ElfW2(LIBELFBITS,Ehdr) *
77 ElfW2(LIBELFBITS,Ehdr) *
84 ElfW2(LIBELFBITS,Ehdr) *
85 elfw2(LIBELFBITS,getehdr) (Elf *elf)
87 ElfW2(LIBELFBITS,Ehdr) *result;
elf32_getphdr.c 48 ElfW2(LIBELFBITS,Phdr) *
51 ElfW2(LIBELFBITS,Phdr) *result;
72 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
85 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr));
87 if (phnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr))
113 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0))
118 ElfW2(LIBELFBITS,Phdr) *notcvt;
119 ElfW2(LIBELFBITS,Phdr) *phdr;
124 (ElfW2(LIBELFBITS,Phdr) *) malloc (size);
145 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)
    [all...]
elf32_newphdr.c 45 ElfW2(LIBELFBITS,Phdr) *
46 elfw2(LIBELFBITS,newphdr) (Elf *elf, size_t count)
48 ElfW2(LIBELFBITS,Phdr) *result;
59 if (unlikely ((ElfW2(LIBELFBITS,Word)) count != count))
102 sizeof (ElfW2(LIBELFBITS,Phdr));
115 if (unlikely (count > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr))))
134 result = (ElfW2(LIBELFBITS,Phdr) *)
136 count * sizeof (ElfW2(LIBELFBITS,Phdr)));
159 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr)));
182 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr)))
    [all...]
libelfP.h 57 #define elfw2(Bits, Name) elfw2_(Bits, Name) macro
58 #define ElfW2(Bits, Name) ElfW2_(Bits, Name)
59 #define ELFW2(Bits, Name) ELFW2_(Bits, Name)
421 elfw2(class,fsize) (type, n, __libelf_version)
elf32_getshdr.c 48 static ElfW2(LIBELFBITS,Shdr) *
51 ElfW2(LIBELFBITS,Shdr) *result;
55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
64 || shnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Shdr)))
66 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
71 (ElfW2(LIBELFBITS,Shdr) *) malloc (size);
91 ElfW2(LIBELFBITS,Shdr) *notcvt;
105 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0));
119 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)
    [all...]
elf32_updatenull.c 51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,
129 ElfW2(LIBELFBITS,Ehdr) *ehdr;
211 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS);
215 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
216 ElfW2(LIBELFBITS,Word) sh_align = shdr->sh_addralign ?: 1;
389 ElfW2(LIBELFBITS,Word) sh_size;
394 ElfW2(LIBELFBITS,Chdr) *chdr;
395 chdr = elfw2(LIBELFBITS,getchdr) (scn);
434 #define SHDR_ALIGN sizeof (ElfW2(LIBELFBITS,Off))

Completed in 212 milliseconds