Searched refs:scns (Results 1 - 16 of 16) sorted by relevance

/external/elfutils/0.153/libelf/
H A Delf_clone.c79 elf->state.elf32.scns.max * sizeof (Elf_Scn));
89 assert (offsetof (struct Elf, state.elf32.scns)
90 == offsetof (struct Elf, state.elf64.scns));
91 retval->state.elf.scns_last = &retval->state.elf32.scns;
92 retval->state.elf32.scns.max = elf->state.elf32.scns.max;
H A Delf_getphdrnum.c79 const Elf_ScnList *const scns = (elf->class == ELFCLASS32 local
80 ? &elf->state.elf32.scns
81 : &elf->state.elf64.scns);
86 if (likely (scns->cnt > 0))
88 ? scns->data[0].shdr.e32->sh_info
89 : scns->data[0].shdr.e64->sh_info);
H A Delf_nextscn.c78 || (offsetof (Elf, state.elf32.scns)
79 == offsetof (Elf, state.elf64.scns)))
81 if (elf->state.elf32.scns.cnt > 1)
82 result = &elf->state.elf32.scns.data[1];
86 if (elf->state.elf64.scns.cnt > 1)
87 result = &elf->state.elf64.scns.data[1];
H A Delf_getscn.c82 || (offsetof (struct Elf, state.elf32.scns)
83 == offsetof (struct Elf, state.elf64.scns))
84 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
H A Delf_getshdrnum.c83 || (offsetof (Elf, state.elf32.scns)
84 == offsetof (Elf, state.elf64.scns))
85 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
H A Delf_begin.c299 assert (offsetof (struct Elf, state.elf32.scns)
300 == offsetof (struct Elf, state.elf64.scns));
301 elf->state.elf32.scns.cnt = scncnt;
302 elf->state.elf32.scns.max = scnmax;
335 elf->state.elf32.scns.data[cnt].index = cnt;
336 elf->state.elf32.scns.data[cnt].elf = elf;
337 elf->state.elf32.scns.data[cnt].shdr.e32 =
342 elf->state.elf32.scns.data[cnt].rawdata_base =
343 elf->state.elf32.scns.data[cnt].data_base =
346 elf->state.elf32.scns
[all...]
H A Delf_newscn.c80 assert (offsetof (Elf, state.elf32.scns)
81 == offsetof (Elf, state.elf64.scns));
93 || (offsetof (Elf, state.elf32.scns)
94 == offsetof (Elf, state.elf64.scns))
95 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
H A Delf_strptr.c83 || (offsetof (struct Elf, state.elf32.scns)
84 == offsetof (struct Elf, state.elf64.scns))
85 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
H A Delf_end.c154 || (offsetof (struct Elf, state.elf32.scns)
155 == offsetof (struct Elf, state.elf64.scns))
156 ? &elf->state.elf32.scns
157 : &elf->state.elf64.scns);
205 || (offsetof (struct Elf, state.elf32.scns)
206 == offsetof (struct Elf, state.elf64.scns))
207 ? &elf->state.elf32.scns
208 : &elf->state.elf64.scns))
H A Delf_getshdrstrndx.c117 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL)
119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
155 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL)
157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
H A Delf32_newphdr.c120 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0)
121 elf->state.ELFW(elf,LIBELFBITS).scns.data[0]
152 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0];
153 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt == 0)
155 assert (elf->state.ELFW(elf,LIBELFBITS).scns.max > 0);
156 elf->state.ELFW(elf,LIBELFBITS).scns.cnt = 1;
H A Delf32_offscn.c80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
H A Delf32_updatefile.c113 sort_sections (Elf_Scn **scns, Elf_ScnList *list) argument
115 Elf_Scn **scnp = scns;
121 qsort (scns, scnp - scns, sizeof (*scns), compare_sections);
226 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns;
227 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); local
241 sort_sections (scns, list);
247 Elf_Scn *scn = scns[cnt];
296 Elf_Scn *scn = scns[cn
666 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); local
[all...]
H A Delf32_getshdr.c154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
159 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0)
160 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index
211 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
H A Delf32_updatenull.c195 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0);
201 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0];
208 list = &elf->state.ELFW(elf,LIBELFBITS).scns;
H A DlibelfP.h366 Elf_ScnList scns; member in struct:Elf::__anon21275::__anon21277
390 Elf_ScnList scns; member in struct:Elf::__anon21275::__anon21278

Completed in 572 milliseconds