Home
last modified time | relevance | path

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

/external/elfutils/src/libasm/
Dasm_newsubscn.c45 AsmScn_t *runp; local
54 runp = asmscn->subsection_id == 0 ? asmscn : asmscn->data.up;
57 if (runp->subsection_id == nr)
59 return runp;
61 if (runp->subnext == NULL || runp->subnext->subsection_id > nr)
64 runp = runp->subnext;
72 newp->ctx = runp->ctx;
78 newp->type = runp->type;
81 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up;
95 newp->subnext = runp->subnext;
[all …]
Dasm_end.c187 void *runp = NULL; in binary_end() local
192 while ((sym = asm_symbol_tab_iterate (&ctx->symbol_tab, &runp)) != NULL) in binary_end()
316 AsmScnGrp_t *runp = ctx->groups->next; in binary_end() local
323 scn = runp->scn; in binary_end()
337 data->d_size = elf32_fsize (ELF_T_WORD, runp->nmembers + 1, in binary_end()
347 *grpdata++ = runp->flags; in binary_end()
349 if (runp->members != NULL) in binary_end()
351 AsmScn_t *member = runp->members->data.main.next_in_group; in binary_end()
363 != runp->members->data.main.next_in_group); in binary_end()
367 shdr->sh_name = ebl_strtaboffset (runp->strent); in binary_end()
[all …]
/external/elfutils/src/libelf/
Delf32_offscn.c59 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns; variable
63 if (runp->cnt > 0
64 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL)
65 && unlikely (elfw2(LIBELFBITS,getshdr) (&runp->data[0]) == NULL))
75 for (unsigned int i = 0; i < runp->cnt; ++i)
76 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
78 result = &runp->data[i];
83 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0
84 && runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_type != SHT_NOBITS)
88 runp = runp->next;
[all …]
Delf_getscn.c60 Elf_ScnList *runp = (elf->class == ELFCLASS32 local
66 if (idx < runp->max)
68 if (idx < runp->cnt)
69 result = &runp->data[idx];
75 idx -= runp->max;
77 runp = runp->next;
78 if (runp == NULL)
Delf_strptr.c61 Elf_ScnList *runp = (elf->class == ELFCLASS32 local
67 if (idx < runp->max)
69 if (idx < runp->cnt)
70 strscn = &runp->data[idx];
79 idx -= runp->max;
81 runp = runp->next;
82 if (runp == NULL)
Delf_end.c148 Elf_Data_List *runp; local
169 runp = scn->data_list.next;
170 while (runp != NULL)
172 Elf_Data_List *oldp = runp;
173 runp = runp->next;
Delf_getdata.c369 Elf_Data_List *runp; local
384 runp = &scn->data_list;
389 if (runp == NULL)
395 if (&runp->data.d == data)
399 runp = runp->next;
403 result = runp->next ? &runp->next->data.d : NULL;
Delf_begin.c708 char *runp; in read_long_names() local
739 runp = newp; in read_long_names()
742 char *startp = runp; in read_long_names()
743 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names()
744 if (runp == NULL) in read_long_names()
752 *runp = '\0'; in read_long_names()
755 runp += 2; in read_long_names()
759 if (runp >= newp + len) in read_long_names()
/external/elfutils/src/libcpu/
Di386_parse.y395 struct bitvalue *runp = $1; variable
396 while (runp->next != NULL)
397 runp = runp->next;
398 runp->next = $3;
410 struct bitvalue *runp = $1; variable
411 while (runp->next != NULL)
412 runp = runp->next;
413 runp->next = $2;
464 struct argument *runp = $1; variable
465 while (runp->next != NULL)
[all …]
Di386_parse.c1778 struct bitvalue *runp = (yyvsp[(1) - (3)].bit); local
1779 while (runp->next != NULL)
1780 runp = runp->next;
1781 runp->next = (yyvsp[(3) - (3)].bit);
1799 struct bitvalue *runp = (yyvsp[(1) - (2)].bit); local
1800 while (runp->next != NULL)
1801 runp = runp->next;
1802 runp->next = (yyvsp[(2) - (2)].bit);
1875 struct argument *runp = (yyvsp[(1) - (3)].arg); local
1876 while (runp->next != NULL)
[all …]
/external/elfutils/src/src/
Dldscript.y554 struct output_rule *runp; in new_segment() local
556 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment()
557 if (runp->tag == output_section) in new_segment()
558 runp->val.section.ignored = true; in new_segment()
579 struct filename_list *runp = listp; in mark_as_needed() local
582 runp->as_needed = true; in mark_as_needed()
583 runp = runp->next; in mark_as_needed()
585 while (runp != listp); in mark_as_needed()
692 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument
694 struct id_list *lastp = runp; in add_id_list()
[all …]
Dldgeneric.c797 struct scninfo *runp; in find_section_group() local
799 for (runp = fileinfo->groups; runp != NULL; runp = runp->next) in find_section_group()
800 if (!runp->used) in find_section_group()
806 data = elf_getdata (runp->scn, NULL); in find_section_group()
813 assert (elf_getdata (runp->scn, data) == NULL); in find_section_group()
823 return runp; in find_section_group()
1028 struct scninfo *runp = queued->last; in add_section() local
1031 if (SCNINFO_SHDR (runp->shdr).sh_flags & SHF_GROUP) in add_section()
1034 = find_section_group (runp->fileinfo, in add_section()
1035 elf_ndxscn (runp->scn), in add_section()
[all …]
Dld.c430 struct scninfo *runp = h->last; in main() local
436 COUNT_RELOCATIONS (&ld_state, runp); in main()
438 ld_state.relsize_total += runp->relsize; in main()
440 while ((runp = runp->next) != h->last); in main()
909 struct usedfiles *runp; in load_needed() local
926 runp = first = ld_state.needed->next; in load_needed()
930 struct usedfiles *next = runp->next; in load_needed()
933 err = FILE_PROCESS (-1, runp, &ld_state, &ignore); in load_needed()
938 runp = next; in load_needed()
940 while (runp != first); in load_needed()
[all …]
Dldscript.c2453 struct output_rule *runp; in new_segment() local
2455 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment()
2456 if (runp->tag == output_section) in new_segment()
2457 runp->val.section.ignored = true; in new_segment()
2478 struct filename_list *runp = listp; in mark_as_needed() local
2481 runp->as_needed = true; in mark_as_needed()
2482 runp = runp->next; in mark_as_needed()
2484 while (runp != listp); in mark_as_needed()
2591 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument
2593 struct id_list *lastp = runp; in add_id_list()
[all …]
Di386_ld.c63 struct scninfo *runp; in elf_i386_relocate_section() local
68 runp = firstp; in elf_i386_relocate_section()
79 struct usedfiles *file = runp->fileinfo; in elf_i386_relocate_section()
80 XElf_Shdr *shdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_relocate_section()
97 inxndxdata = runp->fileinfo->xndxdata; in elf_i386_relocate_section()
178 runp = runp->next; in elf_i386_relocate_section()
180 while (runp != firstp); in elf_i386_relocate_section()
742 struct scninfo *runp = first; in elf_i386_create_relocations() local
745 XElf_Shdr *rshdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_create_relocations()
746 Elf_Data *reldata = elf_getdata (runp->scn, NULL); in elf_i386_create_relocations()
[all …]
Dobjdump.c464 struct section_list *runp = section_list; in section_match() local
469 if (runp->is_name) in section_match()
471 if (name && strcmp (runp->name, name) == 0) in section_match()
476 if (runp->scnndx == scnndx) in section_match()
480 runp = runp->next; in section_match()
482 while (runp != NULL); in section_match()
Delflint.c2814 struct version_namelist *runp = version_namelist; in check_versym() local
2815 while (runp != NULL) in check_versym()
2816 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym()
2819 runp = runp->next; in check_versym()
2821 if (runp == NULL) in check_versym()
2826 && runp->type == ver_def) in check_versym()
2831 && runp->type == ver_need) in check_versym()
3175 struct version_namelist *runp = version_namelist; in check_verdef() local
3176 while (runp != NULL) in check_verdef()
3178 if (runp->type == ver_def in check_verdef()
[all …]
Dreadelf.c4634 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_decoded_aranges_section() local
4635 if (unlikely (runp == NULL)) in print_decoded_aranges_section()
4645 if (unlikely (dwarf_getarangeinfo (runp, &start, &length, &offset) != 0)) in print_decoded_aranges_section()
/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/src/lib/
Ddynamicsizehash.c117 __typeof__ (htab->first) runp; in insert_entry_2() local
156 runp = first = first->next; in insert_entry_2()
158 insert_entry_2 (htab, runp->hashval, in insert_entry_2()
159 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2()
160 while ((runp = runp->next) != first); in insert_entry_2()