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

  /external/elfutils/libelf/
elf_getscn.c 59 || (offsetof (struct Elf, state.elf32.scns)
60 == offsetof (struct Elf, state.elf64.scns))
61 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
elf_clone.c 58 elf->state.elf32.scns.max * sizeof (Elf_Scn));
68 assert (offsetof (struct Elf, state.elf32.scns)
69 == offsetof (struct Elf, state.elf64.scns));
70 retval->state.elf.scns_last = &retval->state.elf32.scns;
71 retval->state.elf32.scns.max = elf->state.elf32.scns.max;
elf_nextscn.c 55 || (offsetof (Elf, state.elf32.scns)
56 == offsetof (Elf, state.elf64.scns)))
58 if (elf->state.elf32.scns.cnt > 1)
59 result = &elf->state.elf32.scns.data[1];
63 if (elf->state.elf64.scns.cnt > 1)
64 result = &elf->state.elf64.scns.data[1];
elf_getphdrnum.c 57 const Elf_ScnList *const scns = (elf->class == ELFCLASS32 local
58 ? &elf->state.elf32.scns
59 : &elf->state.elf64.scns);
66 if (likely (scns->cnt > 0
67 && elf->state.elf32.scns.data[0].shdr.e32 != NULL))
68 *dst = scns->data[0].shdr.e32->sh_info;
72 if (likely (scns->cnt > 0
73 && elf->state.elf64.scns.data[0].shdr.e64 != NULL))
74 *dst = scns->data[0].shdr.e64->sh_info;
elf_getshdrnum.c 61 || (offsetof (Elf, state.elf32.scns)
62 == offsetof (Elf, state.elf64.scns))
63 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
elf_begin.c 289 assert (offsetof (struct Elf, state.elf32.scns)
290 == offsetof (struct Elf, state.elf64.scns));
291 elf->state.elf32.scns.cnt = scncnt;
292 elf->state.elf32.scns.max = scnmax;
362 elf->state.elf32.scns.data[cnt].index = cnt;
363 elf->state.elf32.scns.data[cnt].elf = elf;
364 elf->state.elf32.scns.data[cnt].shdr.e32 =
369 elf->state.elf32.scns.data[cnt].rawdata_base =
370 elf->state.elf32.scns.data[cnt].data_base =
373 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns
    [all...]
elf_getshdrstrndx.c 93 if (unlikely (elf->state.elf32.scns.cnt == 0))
101 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL)
103 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
154 if (unlikely (elf->state.elf64.scns.cnt == 0))
162 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL)
164 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
elf_newscn.c 58 assert (offsetof (Elf, state.elf32.scns)
59 == offsetof (Elf, state.elf64.scns));
71 || (offsetof (Elf, state.elf32.scns)
72 == offsetof (Elf, state.elf64.scns))
73 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
elf_end.c 132 || (offsetof (struct Elf, state.elf32.scns)
133 == offsetof (struct Elf, state.elf64.scns))
134 ? &elf->state.elf32.scns
135 : &elf->state.elf64.scns);
190 || (offsetof (struct Elf, state.elf32.scns)
191 == offsetof (struct Elf, state.elf64.scns))
192 ? &elf->state.elf32.scns
193 : &elf->state.elf64.scns))
elf_strptr.c 74 || (offsetof (struct Elf, state.elf32.scns)
75 == offsetof (struct Elf, state.elf64.scns))
76 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
elf32_newphdr.c 97 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0)
98 elf->state.ELFW(elf,LIBELFBITS).scns.data[0]
122 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0];
146 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt == 0)
148 assert (elf->state.ELFW(elf,LIBELFBITS).scns.max > 0);
149 elf->state.ELFW(elf,LIBELFBITS).scns.cnt = 1;
elf32_updatefile.c 92 sort_sections (Elf_Scn **scns, Elf_ScnList *list)
94 Elf_Scn **scnp = scns;
100 qsort (scns, scnp - scns, sizeof (*scns), compare_sections);
231 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns;
232 Elf_Scn **scns = (Elf_Scn **) malloc (shnum * sizeof (Elf_Scn *)); local
233 if (unlikely (scns == NULL))
251 sort_sections (scns, list);
257 Elf_Scn *scn = scns[cnt]
681 Elf_Scn **scns = (Elf_Scn **) malloc (shnum * sizeof (Elf_Scn *)); local
    [all...]
elf32_offscn.c 57 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
elf32_getshdr.c 157 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
162 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0)
163 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index
217 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
elf32_updatenull.c 186 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0);
192 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0];
199 list = &elf->state.ELFW(elf,LIBELFBITS).scns;
libelfP.h 357 Elf_ScnList scns; member in struct:Elf::__anon20194::__anon20196
381 Elf_ScnList scns; member in struct:Elf::__anon20194::__anon20197
  /toolchain/binutils/binutils-2.27/include/aout/
encap.h 75 } scns[3]; member in struct:coffheader

Completed in 448 milliseconds