Searched refs:scns (Results 1 – 13 of 13) sorted by relevance
/external/elfutils/libelf/ |
D | elf_nextscn.c | 45 || (offsetof (Elf, state.elf32.scns) 46 == offsetof (Elf, state.elf64.scns))) 48 if (elf->state.elf32.scns.cnt > 1) 49 result = &elf->state.elf32.scns.data[1]; 53 if (elf->state.elf64.scns.cnt > 1) 54 result = &elf->state.elf64.scns.data[1];
|
D | elf_clone.c | 46 elf->state.elf32.scns.max * sizeof (Elf_Scn)); in elf_clone() 56 assert (offsetof (struct Elf, state.elf32.scns) in elf_clone() 57 == offsetof (struct Elf, state.elf64.scns)); in elf_clone() 58 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone() 59 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
|
D | elf_begin.c | 245 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; in file_read_elf() 271 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf() 272 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf() 273 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf() 275 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf() 276 elf->state.elf32.scns.data[cnt].data_base = in file_read_elf() 279 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf() 314 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf() 315 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf() 316 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf() [all …]
|
D | elf_end.c | 105 || (offsetof (struct Elf, state.elf32.scns) 106 == offsetof (struct Elf, state.elf64.scns)) 107 ? &elf->state.elf32.scns 108 : &elf->state.elf64.scns); 156 || (offsetof (struct Elf, state.elf32.scns) 157 == offsetof (struct Elf, state.elf64.scns)) 158 ? &elf->state.elf32.scns 159 : &elf->state.elf64.scns))
|
D | elf_newscn.c | 47 assert (offsetof (Elf, state.elf32.scns) 48 == offsetof (Elf, state.elf64.scns)); 60 || (offsetof (Elf, state.elf32.scns) 61 == offsetof (Elf, state.elf64.scns)) 62 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
|
D | elf_getshnum.c | 52 || (offsetof (Elf, state.elf32.scns) 53 == offsetof (Elf, state.elf64.scns)) 54 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
|
D | elf_getscn.c | 49 || (offsetof (struct Elf, state.elf32.scns) 50 == offsetof (struct Elf, state.elf64.scns)) 51 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
|
D | elf_strptr.c | 50 || (offsetof (struct Elf, state.elf32.scns) 51 == offsetof (struct Elf, state.elf64.scns)) 52 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
|
D | elf32_updatefile.c | 66 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() argument 68 Elf_Scn **scnp = scns; in sort_sections() 78 qsort (scns, scnp - scns, sizeof (*scns), compare_sections); in sort_sections() 172 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2() 173 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2() local 189 sort_sections (scns, list); in __elfw2() 195 Elf_Scn *scn = scns[cnt]; in __elfw2() 478 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2() 480 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2() local 500 sort_sections (scns, list); in __elfw2() [all …]
|
D | elf_getshstrndx.c | 82 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL) 84 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; 121 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL) 123 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
|
D | elf32_updatenull.c | 151 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0); in __elfw2() 157 elf->state.ELFW(elf,LIBELFBITS).scns.data[0].shdr.ELFW(e,LIBELFBITS)->sh_size in __elfw2() 159 elf->state.ELFW(elf,LIBELFBITS).scns.data[0].shdr_flags in __elfw2() 165 list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
|
D | libelfP.h | 310 Elf_ScnList scns; member 334 Elf_ScnList scns; member
|
D | elf32_getshdr.c | 173 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
|