Home
last modified time | relevance | path

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

/external/elfutils/libasm/
Dasm_newsubscn.c30 AsmScn_t *runp; local
39 runp = asmscn->subsection_id == 0 ? asmscn : asmscn->data.up;
42 if (runp->subsection_id == nr)
44 return runp;
46 if (runp->subnext == NULL || runp->subnext->subsection_id > nr)
49 runp = runp->subnext;
57 newp->ctx = runp->ctx;
63 newp->type = runp->type;
66 newp->data.up = runp->subsection_id == 0 ? runp : runp->data.up;
80 newp->subnext = runp->subnext;
[all …]
Dasm_end.c124 void *runp; in binary_end() local
170 runp = NULL; in binary_end()
173 while ((sym = asm_symbol_tab_iterate (&ctx->symbol_tab, &runp)) != NULL) in binary_end()
298 AsmScnGrp_t *runp = ctx->groups->next; in binary_end() local
308 scn = runp->scn; in binary_end()
321 data->d_size = elf32_fsize (ELF_T_WORD, runp->nmembers + 1, in binary_end()
331 *grpdata++ = runp->flags; in binary_end()
333 if (runp->members != NULL) in binary_end()
335 AsmScn_t *member = runp->members->data.main.next_in_group; in binary_end()
347 != runp->members->data.main.next_in_group); in binary_end()
[all …]
/external/elfutils/libelf/
Delf_getscn.c48 Elf_ScnList *runp = (elf->class == ELFCLASS32 local
54 if (idx < runp->max)
56 if (idx < runp->cnt)
57 result = &runp->data[idx];
63 idx -= runp->max;
65 runp = runp->next;
66 if (runp == NULL)
Delf_strptr.c49 Elf_ScnList *runp = (elf->class == ELFCLASS32 local
55 if (idx < runp->max)
57 if (idx < runp->cnt)
58 strscn = &runp->data[idx];
67 idx -= runp->max;
69 runp = runp->next;
70 if (runp == NULL)
Delf_end.c120 Elf_Data_List *runp; local
141 runp = scn->data_list.next;
142 while (runp != NULL)
144 Elf_Data_List *oldp = runp;
145 runp = runp->next;
Delf_getdata.c365 Elf_Data_List *runp; local
380 runp = &scn->data_list;
385 if (runp == NULL)
391 if (&runp->data.d == data)
395 runp = runp->next;
399 result = runp->next ? &runp->next->data.d : NULL;
Delf_begin.c616 char *runp; in read_long_names() local
642 runp = newp; in read_long_names()
645 runp = (char *) memchr (runp, '/', newp + len - runp); in read_long_names()
646 if (runp == NULL) in read_long_names()
651 *runp = '\0'; in read_long_names()
654 runp += 2; in read_long_names()
658 if (runp >= newp + len) in read_long_names()
/external/elfutils/src/
Dldgeneric.c746 struct scninfo *runp; in find_section_group() local
748 for (runp = fileinfo->groups; runp != NULL; runp = runp->next) in find_section_group()
749 if (!runp->used) in find_section_group()
755 data = elf_getdata (runp->scn, NULL); in find_section_group()
762 assert (elf_getdata (runp->scn, data) == NULL); in find_section_group()
772 return runp; in find_section_group()
1514 struct filename_list *runp; in ld_handle_filename_list() local
1517 for (runp = fnames; runp != NULL; runp = runp->next) in ld_handle_filename_list()
1522 curp = runp->real = ld_new_inputfile (runp->name, relocatable_file_type); in ld_handle_filename_list()
1525 runp->real->group_start = runp->group_start; in ld_handle_filename_list()
[all …]
Dldscript.y527 struct output_rule *runp; in new_segment() local
529 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment()
530 if (runp->tag == output_section) in new_segment()
531 runp->val.section.ignored = true; in new_segment()
650 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument
652 struct id_list *lastp = runp; in add_id_list()
654 if (runp == NULL) in add_id_list()
659 runp = runp->next; in add_id_list()
660 assert (runp != NULL); in add_id_list()
664 if (runp->u.id_type == id_str) in add_id_list()
[all …]
Dld.c419 struct scninfo *runp = h->last; in main() local
425 COUNT_RELOCATIONS (&ld_state, runp); in main()
427 ld_state.relsize_total += runp->relsize; in main()
429 while ((runp = runp->next) != h->last); in main()
831 struct usedfiles *runp; in load_needed() local
848 runp = first = ld_state.needed->next; in load_needed()
852 struct usedfiles *next = runp->next; in load_needed()
855 err = FILE_PROCESS (-1, runp, &ld_state, &ignore); in load_needed()
860 runp = next; in load_needed()
862 while (runp != first); in load_needed()
[all …]
Di386_ld.c57 struct scninfo *runp; in elf_i386_relocate_section() local
62 runp = firstp; in elf_i386_relocate_section()
73 struct usedfiles *file = runp->fileinfo; in elf_i386_relocate_section()
74 XElf_Shdr *shdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_relocate_section()
91 inxndxdata = runp->fileinfo->xndxdata; in elf_i386_relocate_section()
174 runp = runp->next; in elf_i386_relocate_section()
176 while (runp != firstp); in elf_i386_relocate_section()
654 struct scninfo *runp = first; in elf_i386_create_relocations() local
657 XElf_Shdr *rshdr = &SCNINFO_SHDR (runp->shdr); in elf_i386_create_relocations()
658 Elf_Data *reldata = elf_getdata (runp->scn, NULL); in elf_i386_create_relocations()
[all …]
Dldscript.c1982 struct output_rule *runp; in new_segment() local
1984 for (runp = newp->output_rules; runp != NULL; runp = runp->next) in new_segment()
1985 if (runp->tag == output_section) in new_segment()
1986 runp->val.section.ignored = true; in new_segment()
2105 add_id_list (const char *versionname, struct id_list *runp, _Bool local) in add_id_list() argument
2107 struct id_list *lastp = runp; in add_id_list()
2109 if (runp == NULL) in add_id_list()
2114 runp = runp->next; in add_id_list()
2115 assert (runp != NULL); in add_id_list()
2119 if (runp->u.id_type == id_str) in add_id_list()
[all …]
Dreadelf.c3339 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_debug_aranges_section() local
3340 if (runp == NULL) in print_debug_aranges_section()
3350 if (dwarf_getarangeinfo (runp, &start, &length, &offset) != 0) in print_debug_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/lib/
Ddynamicsizehash.c101 __typeof__ (htab->first) runp; in insert_entry_2() local
140 runp = first = first->next; in insert_entry_2()
142 insert_entry_2 (htab, runp->hashval, in insert_entry_2()
143 lookup (htab, runp->hashval, runp->data), runp->data); in insert_entry_2()
144 while ((runp = runp->next) != first); in insert_entry_2()
/external/bluetooth/hcidump/src/
Dhcidump.c657 struct addrinfo *ai, *runp; in wait_connection() local
674 runp = ai; in wait_connection()
685 while (runp != NULL && nfds < sizeof(fds) / sizeof(fds[0])) { in wait_connection()
686 fds[nfds].fd = socket(runp->ai_family, runp->ai_socktype, in wait_connection()
687 runp->ai_protocol); in wait_connection()
703 if (bind(fds[nfds].fd, runp->ai_addr, runp->ai_addrlen) < 0) { in wait_connection()
716 getnameinfo(runp->ai_addr, runp->ai_addrlen, in wait_connection()
727 runp = runp->ai_next; in wait_connection()