Home
last modified time | relevance | path

Searched refs:scns_last (Results 1 – 6 of 6) sorted by relevance

/external/elfutils/libelf/
Delf_newscn.c54 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn()
55 == offsetof (Elf, state.elf32.scns_last)); in elf_newscn()
56 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn()
57 == offsetof (Elf, state.elf64.scns_last)); in elf_newscn()
64 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) in elf_newscn()
66 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt]; in elf_newscn()
68 if (++elf->state.elf.scns_last->cnt == 1 in elf_newscn()
69 && (elf->state.elf.scns_last in elf_newscn()
78 assert (elf->state.elf.scns_last->cnt > 1); in elf_newscn()
116 = 1 + elf->state.elf.scns_last->data[elf->state.elf.scns_last->max - 1].index; in elf_newscn()
[all …]
Delf_getshdrnum.c57 idx = elf->state.elf.scns_last->cnt; in __elf_getshdrnum_rdlock()
59 || (elf->state.elf.scns_last in __elf_getshdrnum_rdlock()
65 *dst = 1 + elf->state.elf.scns_last->data[idx - 1].index; in __elf_getshdrnum_rdlock()
Delf_update.c184 shnum = (elf->state.elf.scns_last->cnt == 0 in elf_update()
186 : 1 + elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt - 1].index); in elf_update()
Delf_clone.c70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
DlibelfP.h322 Elf_ScnList *scns_last; /* Last element in the section list. member
341 Elf_ScnList *scns_last; /* Last element in the section list. member
366 Elf_ScnList *scns_last; /* Last element in the section list. member
Delf_begin.c400 elf->state.elf32.scns_last = &elf->state.elf32.scns; in file_read_elf()
497 elf->state.elf64.scns_last = &elf->state.elf64.scns; in file_read_elf()
1037 result->state.elf.scns_last = &result->state.elf32.scns; in write_file()