/third_party/elfutils/libasm/ |
D | asm_newsubscn.c | 43 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 …]
|
D | asm_end.c | 183 void *runp = NULL; in binary_end() local 188 while ((sym = asm_symbol_tab_iterate (&ctx->symbol_tab, &runp)) != NULL) in binary_end() 314 AsmScnGrp_t *runp = ctx->groups->next; in binary_end() local 321 scn = runp->scn; in binary_end() 335 data->d_size = elf32_fsize (ELF_T_WORD, runp->nmembers + 1, in binary_end() 345 *grpdata++ = runp->flags; in binary_end() 347 if (runp->members != NULL) in binary_end() 349 AsmScn_t *member = runp->members->data.main.next_in_group; in binary_end() 361 != runp->members->data.main.next_in_group); in binary_end() 365 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end() [all …]
|
/third_party/elfutils/libelf/ |
D | elf32_offscn.c | 57 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 …]
|
D | elf_getscn.c | 58 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()
|
D | elf_strptr.c | 92 Elf_ScnList *runp = (elf->class == ELFCLASS32 in elf_strptr() local 98 if (idx < runp->max) in elf_strptr() 100 if (idx < runp->cnt) in elf_strptr() 101 strscn = &runp->data[idx]; in elf_strptr() 110 idx -= runp->max; in elf_strptr() 112 runp = runp->next; in elf_strptr() 113 if (runp == NULL) in elf_strptr()
|
D | elf_end.c | 146 Elf_Data_List *runp; in elf_end() local 175 runp = scn->data_list.next; in elf_end() 176 while (runp != NULL) in elf_end() 178 Elf_Data_List *oldp = runp; in elf_end() 179 runp = runp->next; in elf_end()
|
D | elf_getdata.c | 501 Elf_Data_List *runp; in __elf_getdata_rdlock() local 516 runp = &scn->data_list; in __elf_getdata_rdlock() 521 if (runp == NULL) in __elf_getdata_rdlock() 527 if (&runp->data.d == data) in __elf_getdata_rdlock() 531 runp = runp->next; in __elf_getdata_rdlock() 535 result = runp->next ? &runp->next->data.d : NULL; in __elf_getdata_rdlock()
|
D | elf_begin.c | 791 char *runp; in read_long_names() local 819 runp = newp; in read_long_names() 822 char *startp = runp; in read_long_names() 823 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names() 824 if (runp == NULL) in read_long_names() 832 *runp++ = '\0'; in read_long_names() 836 if (runp >= newp + len) in read_long_names()
|
/third_party/elfutils/libcpu/ |
D | i386_parse.y | 393 struct bitvalue *runp = $1; variable 394 while (runp->next != NULL) 395 runp = runp->next; 396 runp->next = $3; 408 struct bitvalue *runp = $1; variable 409 while (runp->next != NULL) 410 runp = runp->next; 411 runp->next = $2; 462 struct argument *runp = $1; variable 463 while (runp->next != NULL) [all …]
|
/third_party/elfutils/lib/ |
D | dynamicsizehash.c | 114 __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()
|
/third_party/elfutils/src/ |
D | objdump.c | 447 struct section_list *runp = section_list; in section_match() local 452 if (runp->is_name) in section_match() 454 if (name && strcmp (runp->name, name) == 0) in section_match() 459 if (runp->scnndx == scnndx) in section_match() 463 runp = runp->next; in section_match() 465 while (runp != NULL); in section_match()
|
D | elflint.c | 3014 struct version_namelist *runp = version_namelist; in check_versym() local 3015 while (runp != NULL) in check_versym() 3016 if (runp->ndx == (*versym & (GElf_Versym) 0x7fff)) in check_versym() 3019 runp = runp->next; in check_versym() 3021 if (runp == NULL) in check_versym() 3026 && runp->type == ver_def) in check_versym() 3031 && runp->type == ver_need) in check_versym() 3412 struct version_namelist *runp = version_namelist; in check_verdef() local 3413 while (runp != NULL) in check_verdef() 3415 if (runp->type == ver_def in check_verdef() [all …]
|
D | readelf.c | 5594 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_decoded_aranges_section() local 5595 if (unlikely (runp == NULL)) in print_decoded_aranges_section() 5605 if (unlikely (dwarf_getarangeinfo (runp, &start, &length, &offset) != 0)) in print_decoded_aranges_section()
|