Lines Matching refs:name
43 # define XElf_Ehdr_vardef(name) Elf32_Ehdr *name argument
44 # define xelf_getehdr(elf, name) name = elf32_getehdr (elf) argument
45 # define xelf_getehdr_copy(elf, name, copy) \ argument
46 (copy) = *(name = elf32_getehdr (elf))
53 # define XElf_Phdr_vardef(name) Elf32_Phdr *name argument
55 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
56 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
60 # define XElf_Shdr_vardef(name) Elf32_Shdr *name argument
61 # define xelf_getshdr(scn, name) name = elf32_getshdr (scn) argument
62 # define xelf_getshdr_copy(scn, name, copy) \ argument
63 (copy) = *(name = elf32_getshdr (scn))
67 # define XElf_Sym_vardef(name) Elf32_Sym *name argument
68 # define xelf_getsym(data, idx, name) \ argument
69 name = &((Elf32_Sym *) (data)->d_buf)[idx]
70 # define xelf_getsym_ptr(data, idx, name) \ argument
71 name = &((Elf32_Sym *) (data)->d_buf)[idx]
84 # define XElf_Versym_vardef(name) Elf32_Versym name argument
85 # define xelf_getversym_copy(data, idx, name) \ argument
86 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
88 # define XElf_Dyn_vardef(name) Elf32_Dyn *name argument
89 # define xelf_getdyn(data, idx, name) \ argument
90 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
91 # define xelf_getdyn_ptr(data, idx, name) \ argument
92 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
93 # define xelf_update_dyn(data, idx, name) \ argument
94 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
96 # define XElf_Rel_vardef(name) Elf32_Rel *name argument
97 # define xelf_getrel(data, idx, name) \ argument
98 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
99 # define xelf_getrel_ptr(data, idx, name) \ argument
100 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
101 # define xelf_update_rel(data, idx, name) \ argument
102 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
104 # define XElf_Rela_vardef(name) Elf32_Rela *name argument
105 # define xelf_getrela(data, idx, name) \ argument
106 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
107 # define xelf_getrela_ptr(data, idx, name) \ argument
108 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
109 # define xelf_update_rela(data, idx, name) \ argument
110 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
112 # define XElf_Verdef_vardef(name) Elf32_Verdef *name argument
113 # define xelf_getverdef(data, offset, name) \ argument
114 name = ((Elf32_Verdef *) ((char *) ((data)->d_buf) + (offset)))
116 # define XElf_Verdaux_vardef(name) Elf32_Verdaux *name argument
117 # define xelf_getverdaux(data, offset, name) \ argument
118 name = ((Elf32_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
175 # define XElf_Ehdr_vardef(name) Elf64_Ehdr *name argument
176 # define xelf_getehdr(elf, name) name = elf64_getehdr (elf) argument
177 # define xelf_getehdr_copy(elf, name, copy) \ argument
178 (copy) = *(name = elf64_getehdr (elf))
185 # define XElf_Phdr_vardef(name) Elf64_Phdr *name argument
187 # define xelf_getphdr(elf, idx, name) name = elf64_getphdr (elf) + idx argument
188 # define xelf_getphdr_ptr(elf, idx, name) name = elf64_getphdr (elf) + idx argument
192 # define XElf_Shdr_vardef(name) Elf64_Shdr *name argument
193 # define xelf_getshdr(scn, name) name = elf64_getshdr (scn) argument
194 # define xelf_getshdr_copy(scn, name, copy) \ argument
195 (copy) = *(name = elf64_getshdr (scn))
199 # define XElf_Sym_vardef(name) Elf64_Sym *name argument
200 # define xelf_getsym(data, idx, name) \ argument
201 name = &((Elf64_Sym *) (data)->d_buf)[idx]
202 # define xelf_getsym_ptr(data, idx, name) \ argument
203 name = &((Elf64_Sym *) (data)->d_buf)[idx]
216 # define XElf_Versym_vardef(name) Elf64_Versym name argument
217 # define xelf_getversym_copy(data, idx, name) \ argument
218 (name = ((Elf64_Versym *) ((data)->d_buf))[idx], (&name))
220 # define XElf_Dyn_vardef(name) Elf64_Dyn *name argument
221 # define xelf_getdyn(data, idx, name) \ argument
222 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
223 # define xelf_getdyn_ptr(data, idx, name) \ argument
224 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
225 # define xelf_update_dyn(data, idx, name) \ argument
226 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
228 # define XElf_Rel_vardef(name) Elf64_Rel *name argument
229 # define xelf_getrel(data, idx, name) \ argument
230 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
231 # define xelf_getrel_ptr(data, idx, name) \ argument
232 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
233 # define xelf_update_rel(data, idx, name) \ argument
234 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
236 # define XElf_Rela_vardef(name) Elf64_Rela *name argument
237 # define xelf_getrela(data, idx, name) \ argument
238 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
239 # define xelf_getrela_ptr(data, idx, name) \ argument
240 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
241 # define xelf_update_rela(data, idx, name) \ argument
242 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
244 # define XElf_Verdef_vardef(name) Elf64_Verdef *name argument
245 # define xelf_getverdef(data, offset, name) \ argument
246 name = ((Elf64_Verdef *) ((char *) ((data)->d_buf) + (offset)))
248 # define XElf_Verdaux_vardef(name) Elf64_Verdaux *name argument
249 # define xelf_getverdaux(data, offset, name) \ argument
250 name = ((Elf64_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
309 # define XElf_Ehdr_vardef(name) GElf_Ehdr name##_mem; GElf_Ehdr *name argument
310 # define xelf_getehdr(elf, name) name = gelf_getehdr (elf, &name##_mem) argument
311 # define xelf_getehdr_copy(elf, name, copy) \ argument
312 name = gelf_getehdr (elf, &(copy))
318 # define XElf_Phdr_vardef(name) GElf_Phdr name##_mem; GElf_Phdr *name argument
320 # define xelf_getphdr(elf, idx, name) \ argument
321 name = gelf_getphdr (elf, idx, &name##_mem)
322 # define xelf_getphdr_ptr(elf, idx, name) \ argument
323 name = &name##_mem
327 # define XElf_Shdr_vardef(name) GElf_Shdr name##_mem; GElf_Shdr *name argument
328 # define xelf_getshdr(scn, name) name = gelf_getshdr (scn, &name##_mem) argument
329 # define xelf_getshdr_copy(scn, name, copy) \ argument
330 name = gelf_getshdr (scn, &(copy))
333 # define XElf_Sym_vardef(name) GElf_Sym name##_mem; GElf_Sym *name argument
334 # define xelf_getsym(data, idx, name) \ argument
335 name = gelf_getsym (data, idx, &name##_mem)
336 # define xelf_getsym_ptr(data, idx, name) \ argument
337 name = &name##_mem
344 # define XElf_Versym_vardef(name) GElf_Versym name argument
345 # define xelf_getversym_copy(data, idx, name) \ argument
346 gelf_getversym (data, idx, &name)
348 # define XElf_Dyn_vardef(name) GElf_Dyn name##_mem; GElf_Dyn *name argument
349 # define xelf_getdyn(data, idx, name) \ argument
350 name = gelf_getdyn (data, idx, &name##_mem)
351 # define xelf_getdyn_ptr(data, idx, name) \ argument
352 name = &name##_mem
353 # define xelf_update_dyn(data, idx, name) \ argument
354 gelf_update_dyn (data, idx, name)
356 # define XElf_Rel_vardef(name) GElf_Rel name##_mem; GElf_Rel *name argument
357 # define xelf_getrel(data, idx, name) \ argument
358 name = gelf_getrel (data, idx, &name##_mem)
359 # define xelf_getrel_ptr(data, idx, name) \ argument
360 name = &name##_mem
361 # define xelf_update_rel(data, idx, name) \ argument
362 gelf_update_rel (data, idx, name)
364 # define XElf_Rela_vardef(name) GElf_Rela name##_mem; GElf_Rela *name argument
365 # define xelf_getrela(data, idx, name) \ argument
366 name = gelf_getrela (data, idx, &name##_mem)
367 # define xelf_getrela_ptr(data, idx, name) \ argument
368 name = &name##_mem
369 # define xelf_update_rela(data, idx, name) \ argument
370 gelf_update_rela (data, idx, name)
372 # define XElf_Verdef_vardef(name) GElf_Verdef name##_mem; GElf_Verdef *name argument
373 # define xelf_getverdef(data, offset, name) \ argument
374 name = gelf_getverdef (data, offset, &name##_mem)
376 # define XElf_Verdaux_vardef(name) GElf_Verdaux name##_mem; GElf_Verdaux *name argument
377 # define xelf_getverdaux(data, offset, name) \ argument
378 name = gelf_getverdaux (data, offset, &name##_mem)