/external/elfutils/libasm/ |
D | asm_newsubscn.c | 42 AsmScn_t *runp; local 51 runp = asmscn->subsection_id == 0 ? asmscn : asmscn->data.up; 54 if (runp->subsection_id == nr) 56 return runp; 58 if (runp->subnext == NULL || runp->subnext->subsection_id > nr) 61 runp = runp->subnext; 69 newp->ctx = runp->ctx; 75 newp->type = runp->type; 78 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up; 92 newp->subnext = runp->subnext; [all …]
|
D | asm_end.c | 184 void *runp = NULL; in binary_end() local 189 while ((sym = asm_symbol_tab_iterate (&ctx->symbol_tab, &runp)) != NULL) in binary_end() 313 AsmScnGrp_t *runp = ctx->groups->next; in binary_end() local 320 scn = runp->scn; in binary_end() 334 data->d_size = elf32_fsize (ELF_T_WORD, runp->nmembers + 1, in binary_end() 344 *grpdata++ = runp->flags; in binary_end() 346 if (runp->members != NULL) in binary_end() 348 AsmScn_t *member = runp->members->data.main.next_in_group; in binary_end() 360 != runp->members->data.main.next_in_group); in binary_end() 364 shdr->sh_name = ebl_strtaboffset (runp->strent); in binary_end() [all …]
|
/external/elfutils/libelf/ |
D | elf32_offscn.c | 80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns; variable 84 if (runp->cnt > 0 85 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL) 86 && unlikely (elfw2(LIBELFBITS,getshdr) (&runp->data[0]) == NULL)) 96 for (unsigned int i = 0; i < runp->cnt; ++i) 97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset) 99 result = &runp->data[i]; 104 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0) 108 runp = runp->next; 109 if (runp == NULL)
|
D | elf_getscn.c | 81 Elf_ScnList *runp = (elf->class == ELFCLASS32 local 87 if (idx < runp->max) 89 if (idx < runp->cnt) 90 result = &runp->data[idx]; 96 idx -= runp->max; 98 runp = runp->next; 99 if (runp == NULL)
|
D | elf_strptr.c | 82 Elf_ScnList *runp = (elf->class == ELFCLASS32 local 88 if (idx < runp->max) 90 if (idx < runp->cnt) 91 strscn = &runp->data[idx]; 100 idx -= runp->max; 102 runp = runp->next; 103 if (runp == NULL)
|
D | elf_end.c | 169 Elf_Data_List *runp; local 190 runp = scn->data_list.next; 191 while (runp != NULL) 193 Elf_Data_List *oldp = runp; 194 runp = runp->next;
|
D | elf_getdata.c | 388 Elf_Data_List *runp; local 403 runp = &scn->data_list; 408 if (runp == NULL) 414 if (&runp->data.d == data) 418 runp = runp->next; 422 result = runp->next ? &runp->next->data.d : NULL;
|
D | elf_begin.c | 698 char *runp; in read_long_names() local 724 runp = newp; in read_long_names() 727 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names() 728 if (runp == NULL) in read_long_names() 733 *runp = '\0'; in read_long_names() 736 runp += 2; in read_long_names() 740 if (runp >= newp + len) in read_long_names()
|
/external/elfutils/libcpu/ |
D | i386_parse.y | 391 struct bitvalue *runp = $1; variable 392 while (runp->next != NULL) 393 runp = runp->next; 394 runp->next = $3; 406 struct bitvalue *runp = $1; variable 407 while (runp->next != NULL) 408 runp = runp->next; 409 runp->next = $2; 460 struct argument *runp = $1; variable 461 while (runp->next != NULL) [all …]
|
D | i386_parse.c | 1739 struct bitvalue *runp = (yyvsp[(1) - (3)].bit); local 1740 while (runp->next != NULL) 1741 runp = runp->next; 1742 runp->next = (yyvsp[(3) - (3)].bit); 1758 struct bitvalue *runp = (yyvsp[(1) - (2)].bit); local 1759 while (runp->next != NULL) 1760 runp = runp->next; 1761 runp->next = (yyvsp[(2) - (2)].bit); 1827 struct argument *runp = (yyvsp[(1) - (3)].arg); local 1828 while (runp->next != NULL) [all …]
|
/external/elfutils/src/ |
D | ldscript.y | 562 struct output_rule *runp; in new_segment() local 564 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment() 565 if (runp->tag == output_section) in new_segment() 566 runp->val.section.ignored = true; in new_segment() 587 struct filename_list *runp = listp; in mark_as_needed() local 590 runp->as_needed = true; in mark_as_needed() 591 runp = runp->next; in mark_as_needed() 593 while (runp != listp); in mark_as_needed() 700 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument 702 struct id_list *lastp = runp; in add_id_list() [all …]
|
D | ldgeneric.c | 807 struct scninfo *runp; in find_section_group() local 809 for (runp = fileinfo->groups; runp != NULL; runp = runp->next) in find_section_group() 810 if (!runp->used) in find_section_group() 816 data = elf_getdata (runp->scn, NULL); in find_section_group() 823 assert (elf_getdata (runp->scn, data) == NULL); in find_section_group() 833 return runp; in find_section_group() 1038 struct scninfo *runp = queued->last; in add_section() local 1041 if (SCNINFO_SHDR (runp->shdr).sh_flags & SHF_GROUP) in add_section() 1044 = find_section_group (runp->fileinfo, in add_section() 1045 elf_ndxscn (runp->scn), in add_section() [all …]
|
D | ld.c | 438 struct scninfo *runp = h->last; in main() local 444 COUNT_RELOCATIONS (&ld_state, runp); in main() 446 ld_state.relsize_total += runp->relsize; in main() 448 while ((runp = runp->next) != h->last); in main() 917 struct usedfiles *runp; in load_needed() local 934 runp = first = ld_state.needed->next; in load_needed() 938 struct usedfiles *next = runp->next; in load_needed() 941 err = FILE_PROCESS (-1, runp, &ld_state, &ignore); in load_needed() 946 runp = next; in load_needed() 948 while (runp != first); in load_needed() [all …]
|
D | ldscript.c | 2357 struct output_rule *runp; in new_segment() local 2359 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment() 2360 if (runp->tag == output_section) in new_segment() 2361 runp->val.section.ignored = true; in new_segment() 2382 struct filename_list *runp = listp; in mark_as_needed() local 2385 runp->as_needed = true; in mark_as_needed() 2386 runp = runp->next; in mark_as_needed() 2388 while (runp != listp); in mark_as_needed() 2495 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument 2497 struct id_list *lastp = runp; in add_id_list() [all …]
|
D | i386_ld.c | 71 struct scninfo *runp; in elf_i386_relocate_section() local 76 runp = firstp; in elf_i386_relocate_section() 87 struct usedfiles *file = runp->fileinfo; in elf_i386_relocate_section() 88 XElf_Shdr *shdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_relocate_section() 105 inxndxdata = runp->fileinfo->xndxdata; in elf_i386_relocate_section() 186 runp = runp->next; in elf_i386_relocate_section() 188 while (runp != firstp); in elf_i386_relocate_section() 750 struct scninfo *runp = first; in elf_i386_create_relocations() local 753 XElf_Shdr *rshdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_create_relocations() 754 Elf_Data *reldata = elf_getdata (runp->scn, NULL); in elf_i386_create_relocations() [all …]
|
D | objdump.c | 516 struct section_list *runp = section_list; in section_match() local 520 if (runp->is_name) in section_match() 522 if (strcmp (runp->name, in section_match() 528 if (runp->scnndx == scnndx) in section_match() 532 runp = runp->next; in section_match() 534 while (runp != NULL); in section_match()
|
D | elflint.c | 2733 struct version_namelist *runp = version_namelist; in check_versym() local 2734 while (runp != NULL) in check_versym() 2735 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym() 2738 runp = runp->next; in check_versym() 2740 if (runp == NULL) in check_versym() 2745 && runp->type == ver_def) in check_versym() 2750 && runp->type == ver_need) in check_versym() 3094 struct version_namelist *runp = version_namelist; in check_verdef() local 3095 while (runp != NULL) in check_verdef() 3097 if (runp->type == ver_def in check_verdef() [all …]
|
D | readelf.c | 4065 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_debug_aranges_section() local 4066 if (unlikely (runp == NULL)) in print_debug_aranges_section() 4076 if (unlikely (dwarf_getarangeinfo (runp, &start, &length, &offset) != 0)) in print_debug_aranges_section()
|
/external/e2fsprogs/intl/ |
D | finddomain.c | 180 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/ |
D | dynamicsizehash.c | 137 __typeof__ (htab->first) runp; in insert_entry_2() local 176 runp = first = first->next; in insert_entry_2() 178 insert_entry_2 (htab, runp->hashval, in insert_entry_2() 179 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2() 180 while ((runp = runp->next) != first); in insert_entry_2()
|