Home
last modified time | relevance | path

Searched refs:runp (Results 1 – 14 of 14) sorted by relevance

/external/elfutils/libasm/
Dasm_newsubscn.c43 AsmScn_t *runp; in asm_newsubscn() local
52 runp = asmscn->subsection_id == 0 ? asmscn : asmscn->data.up; in asm_newsubscn()
55 if (runp->subsection_id == nr) in asm_newsubscn()
57 return runp; in asm_newsubscn()
59 if (runp->subnext == NULL || runp->subnext->subsection_id > nr) in asm_newsubscn()
62 runp = runp->subnext; in asm_newsubscn()
70 newp->ctx = runp->ctx; in asm_newsubscn()
76 newp->type = runp->type; in asm_newsubscn()
79 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up; in asm_newsubscn()
93 newp->subnext = runp->subnext; in asm_newsubscn()
[all …]
Dasm_end.c186 void *runp = NULL; in binary_end() local
191 while ((sym = asm_symbol_tab_iterate (&ctx->symbol_tab, &runp)) != NULL) in binary_end()
317 AsmScnGrp_t *runp = ctx->groups->next; in binary_end() local
324 scn = runp->scn; in binary_end()
338 data->d_size = elf32_fsize (ELF_T_WORD, runp->nmembers + 1, in binary_end()
348 *grpdata++ = runp->flags; in binary_end()
350 if (runp->members != NULL) in binary_end()
352 AsmScn_t *member = runp->members->data.main.next_in_group; in binary_end()
364 != runp->members->data.main.next_in_group); in binary_end()
368 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end()
[all …]
/external/elfutils/libelf/
Delf32_offscn.c57 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns; in elfw2() local
61 if (runp->cnt > 0 in elfw2()
62 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL) in elfw2()
63 && unlikely (elfw2(LIBELFBITS,getshdr) (&runp->data[0]) == NULL)) in elfw2()
73 for (unsigned int i = 0; i < runp->cnt; ++i) in elfw2()
74 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset) in elfw2()
76 result = &runp->data[i]; in elfw2()
81 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0 in elfw2()
82 && runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_type != SHT_NOBITS) in elfw2()
86 runp = runp->next; in elfw2()
[all …]
Delf_getscn.c58 Elf_ScnList *runp = (elf->class == ELFCLASS32 in elf_getscn() local
66 if (idx == 0 && runp->cnt == 0 && runp->max > 0) in elf_getscn()
68 Elf_Scn *scn0 = &runp->data[0]; in elf_getscn()
91 runp->cnt = 1; in elf_getscn()
96 if (idx < runp->max) in elf_getscn()
98 if (idx < runp->cnt) in elf_getscn()
99 result = &runp->data[idx]; in elf_getscn()
105 idx -= runp->max; in elf_getscn()
107 runp = runp->next; in elf_getscn()
108 if (runp == NULL) in elf_getscn()
Delf_strptr.c90 Elf_ScnList *runp = (elf->class == ELFCLASS32 in elf_strptr() local
96 if (idx < runp->max) in elf_strptr()
98 if (idx < runp->cnt) in elf_strptr()
99 strscn = &runp->data[idx]; in elf_strptr()
108 idx -= runp->max; in elf_strptr()
110 runp = runp->next; in elf_strptr()
111 if (runp == NULL) in elf_strptr()
Delf_end.c147 Elf_Data_List *runp; in elf_end() local
176 runp = scn->data_list.next; in elf_end()
177 while (runp != NULL) in elf_end()
179 Elf_Data_List *oldp = runp; in elf_end()
180 runp = runp->next; in elf_end()
Delf_getdata.c489 Elf_Data_List *runp; in __elf_getdata_rdlock() local
504 runp = &scn->data_list; in __elf_getdata_rdlock()
509 if (runp == NULL) in __elf_getdata_rdlock()
515 if (&runp->data.d == data) in __elf_getdata_rdlock()
519 runp = runp->next; in __elf_getdata_rdlock()
523 result = runp->next ? &runp->next->data.d : NULL; in __elf_getdata_rdlock()
Delf_begin.c780 char *runp; in read_long_names() local
808 runp = newp; in read_long_names()
811 char *startp = runp; in read_long_names()
812 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names()
813 if (runp == NULL) in read_long_names()
821 *runp++ = '\0'; in read_long_names()
825 if (runp >= newp + len) in read_long_names()
/external/elfutils/libcpu/
Di386_parse.y394 struct bitvalue *runp = $1; variable
395 while (runp->next != NULL)
396 runp = runp->next;
397 runp->next = $3;
409 struct bitvalue *runp = $1; variable
410 while (runp->next != NULL)
411 runp = runp->next;
412 runp->next = $2;
463 struct argument *runp = $1; variable
464 while (runp->next != NULL)
[all …]
/external/e2fsprogs/intl/
Dfinddomain.c180 struct loaded_l10nfile *runp = _nl_loaded_domains; in libc_freeres_fn() local
182 while (runp != NULL) in libc_freeres_fn()
184 struct loaded_l10nfile *here = runp; in libc_freeres_fn()
185 if (runp->data != NULL) in libc_freeres_fn()
186 _nl_unload_domain ((struct loaded_domain *) runp->data); in libc_freeres_fn()
187 runp = runp->next; in libc_freeres_fn()
/external/elfutils/lib/
Ddynamicsizehash.c114 __typeof__ (htab->first) runp; in insert_entry_2() local
153 runp = first = first->next; in insert_entry_2()
155 insert_entry_2 (htab, runp->hashval, in insert_entry_2()
156 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2()
157 while ((runp = runp->next) != first); in insert_entry_2()
/external/elfutils/src/
Dobjdump.c448 struct section_list *runp = section_list; in section_match() local
453 if (runp->is_name) in section_match()
455 if (name && strcmp (runp->name, name) == 0) in section_match()
460 if (runp->scnndx == scnndx) in section_match()
464 runp = runp->next; in section_match()
466 while (runp != NULL); in section_match()
Delflint.c3015 struct version_namelist *runp = version_namelist; in check_versym() local
3016 while (runp != NULL) in check_versym()
3017 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym()
3020 runp = runp->next; in check_versym()
3022 if (runp == NULL) in check_versym()
3027 && runp->type == ver_def) in check_versym()
3032 && runp->type == ver_need) in check_versym()
3413 struct version_namelist *runp = version_namelist; in check_verdef() local
3414 while (runp != NULL) in check_verdef()
3416 if (runp->type == ver_def in check_verdef()
[all …]
Dreadelf.c5425 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_decoded_aranges_section() local
5426 if (unlikely (runp == NULL)) in print_decoded_aranges_section()
5436 if (unlikely (dwarf_getarangeinfo (runp, &start, &length, &offset) != 0)) in print_decoded_aranges_section()