/external/wpa_supplicant_8/src/utils/ |
trace.c | 46 bfd *abfd; local 49 abfd = bfd_openr(prg_fname, NULL); 50 if (abfd == NULL) { 55 if (bfd_check_format(abfd, bfd_archive)) { 57 bfd_close(abfd); 61 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 64 bfd_close(abfd); 68 return abfd; 72 static void read_syms(bfd *abfd) 80 if (!(bfd_get_file_flags(abfd) & HAS_SYMS)) 154 bfd *abfd = cached_abfd; local 198 bfd *abfd = cached_abfd; local [all...] |
/ndk/sources/host-tools/ndk-stack/binutils/ |
addr2line.c | 110 slurp_symtab (bfd *abfd) 116 if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0) 119 storage = bfd_get_symtab_upper_bound (abfd); 122 storage = bfd_get_dynamic_symtab_upper_bound (abfd); 126 bfd_fatal (bfd_get_filename (abfd)); 130 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms); 132 symcount = bfd_canonicalize_symtab (abfd, syms); 134 bfd_fatal (bfd_get_filename (abfd)); 152 find_address_in_section (bfd *abfd, asection *section, 161 if ((bfd_get_section_flags (abfd, section) & SEC_ALLOC) == 0 340 bfd *abfd; local [all...] |
/external/oprofile/pp/ |
opgprof.cpp | 44 void op_write_vma(FILE * fp, op_bfd const & abfd, bfd_vma vma) 48 switch (abfd.bfd_arch_bits_per_address()) { 86 * @param abfd bfd object 108 void output_cg(FILE * fp, op_bfd const & abfd, profile_t const & cg_db) 113 offset = abfd.get_start_offset(0); 123 op_write_vma(fp, abfd, abfd.offset_to_pc(from + offset)); 124 op_write_vma(fp, abfd, abfd.offset_to_pc(to + offset)); 136 void output_gprof(op_bfd const & abfd, profile_container const & samples [all...] |
/external/oprofile/opjitconv/ |
create_bfd.c | 75 asection * create_section(bfd * abfd, char const * section_name, 81 section = bfd_make_section(abfd, section_name); 86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) { 90 if (bfd_set_section_size(abfd, section, size) == FALSE) { 94 if (bfd_set_section_flags(abfd, section, flags) == FALSE) { 133 int fill_section_content(bfd * abfd, asection * section, 136 if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) { 252 bfd * abfd; local 254 abfd = bfd_openw(filename, dump_bfd_target_name); 255 if (!abfd) { [all...] |
opjitconv.h | 102 asection * create_section(bfd * abfd, char const * section_name, 104 int fill_section_content(bfd * abfd, asection * section, 108 int init_debug_line_info(bfd * abfd); 109 int finalize_debug_line_info(bfd * abfd);
|
debug_line.c | 440 int init_debug_line_info(bfd * abfd) 477 line_section = create_section(abfd, ".debug_line", b_line.size, 0, 482 debug_info = create_section(abfd, ".debug_info", b_debug_info.size, 0, 487 debug_abbrev = create_section(abfd, ".debug_abbrev", 497 int finalize_debug_line_info(bfd * abfd) 501 line_section = bfd_get_section_by_name(abfd, ".debug_line"); 505 debug_info = bfd_get_section_by_name(abfd, ".debug_info"); 510 debug_abbrev = bfd_get_section_by_name(abfd, ".debug_abbrev"); 514 fill_section_content(abfd, line_section, b_line.p, 0, b_line.size); 515 fill_section_content(abfd, debug_info, b_debug_info.p [all...] |
/external/oprofile/libpp/ |
populate.cpp | 33 populate_from_files(profile_t & profile, op_bfd const & abfd, 47 profile.set_offset(abfd); 69 op_bfd abfd(ip.image, symbol_filter, 92 if (populate_from_files(profile, abfd, it->files)) { 94 samples.add(profile, abfd, it->app_image, i); 109 *has_debug_info = abfd.has_debug_info();
|
profile_container.cpp | 74 op_bfd const & abfd, string const & app_name, 77 string const image_name = abfd.get_filename(); 80 for (symbol_index_t i = 0; i < abfd.syms.size(); ++i) { 85 abfd.get_symbol_range(i, start, end); 100 symb_entry.name = symbol_names.create(abfd.syms[i].name()); 106 if (abfd.get_linenr(i, start, filename, 116 symb_entry.sample.vma = abfd.syms[i].vma(); 121 image_names.create(abfd.get_embedding_filename()); 128 add_samples(abfd, i, p_it, symbol, pclass, start); 134 profile_container::add_samples(op_bfd const & abfd, symbol_index_t sym_index [all...] |
populate_for_spu.cpp | 44 * file of the SPU image, abfd->filename. 56 op_bfd * abfd = NULL; local 68 abfd = new op_bfd(header.embedded_offset, 75 abfd = new op_bfd(ip.image, 79 fname_to_check = abfd->get_filename(); 81 profile.set_offset(*abfd); 89 samples.add(profile, *abfd, app_image, ip_grp_num); 99 *has_debug_info = abfd->has_debug_info(); 100 delete abfd;
|
format_output.cpp | 658 xml_formatter::get_bfd_object(symbol_entry const * symb, op_bfd * & abfd) const 670 if (abfd && abfd->get_filename() == tmp) 672 delete abfd; 673 abfd = new op_bfd(symb->spu_offset, tmp, 676 if (abfd && abfd->get_filename() == image_name) 678 delete abfd; 679 abfd = new op_bfd(image_name, symbol_filter, 687 delete abfd; 759 op_bfd * abfd = NULL; local [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/x86_64-linux-gnu/aarch64-linux-android/include/ |
bfd.h | 202 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 264 bfd *abfd; 482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 487 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 489 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 491 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 492 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 262 bfd *abfd; member in union:orl::__anon44954 [all...] |
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44171 [all...] |
bfdlink.h | 126 bfd *abfd; /* BFD symbol was found in. */ 523 archive. ABFD is the archive element being added. NAME is the 529 (struct bfd_link_info *, bfd *abfd, const char *name, bfd **subsbfd); 551 ABFD, SEC and VALUE identify the value to add to the set. */ 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 559 relocatable file. NAME is the name of the symbol found. ABFD, 563 bfd *abfd, asection *sec, bfd_vma value); 568 there is none. ABFD, SECTION and ADDRESS identify the location 569 which trigerred the warning; either ABFD or SECTION or both may 573 bfd *abfd, asection *section, bfd_vma address) 125 bfd *abfd; \/* BFD symbol was found in. *\/ member in struct:bfd_link_hash_entry::__anon44177::__anon44178 [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44200 [all...] |
bfdlink.h | 126 bfd *abfd; /* BFD symbol was found in. */ 523 archive. ABFD is the archive element being added. NAME is the 529 (struct bfd_link_info *, bfd *abfd, const char *name, bfd **subsbfd); 551 ABFD, SEC and VALUE identify the value to add to the set. */ 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 559 relocatable file. NAME is the name of the symbol found. ABFD, 563 bfd *abfd, asection *sec, bfd_vma value); 568 there is none. ABFD, SECTION and ADDRESS identify the location 569 which trigerred the warning; either ABFD or SECTION or both may 573 bfd *abfd, asection *section, bfd_vma address) 125 bfd *abfd; \/* BFD symbol was found in. *\/ member in struct:bfd_link_hash_entry::__anon44206::__anon44207 [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44537 [all...] |
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44886 [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44925 [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon44972 [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon45309 [all...] |
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.8/include/ |
bfd.h | 204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) 266 bfd *abfd; 484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \ 493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \ 264 bfd *abfd; member in union:orl::__anon51847 [all...] |
/external/oprofile/libutil++/ |
bfd_support.cpp | 226 void fixup_linenr(bfd * abfd, asection * section, asymbol ** syms, 242 size_t section_size = bfd_section_size(abfd, section); 247 bool ret = bfd_find_nearest_line(abfd, section, syms, pc + i, 413 for (asection const * sect = abfd->sections; sect; sect = sect->next) { 431 if (abfd) 432 bfd_close(abfd); 455 bfd * image_bfd = image_bfd_info->abfd; 480 if (sym->section->owner && sym->section->owner == abfd) { 508 bool is_elf64_powerpc_target = (abfd->xvec == &bfd_elf64_powerpc_vec) 509 || (abfd->xvec == &bfd_elf64_powerpcle_vec) 616 bfd * abfd; local [all...] |
bfd_spu_support.cpp | 68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, 75 /* Checking abfd isn't really necessary, except to silence 76 * compile warning. In fact, abfd will always be non-NULL. 78 if (abfd)
|
op_spu_bfd.cpp | 84 ibfd.abfd = spu_open_bfd(image_path, fd, spu_offset); 96 note = bfd_get_section_by_name(ibfd.abfd, ".note.spu_name"); 104 oct_per_byte = bfd_octets_per_byte(ibfd.abfd); 105 sec_size = bfd_section_size(ibfd.abfd, note)/oct_per_byte; 108 if (!bfd_get_section_contents(ibfd.abfd, note, sec_contents, 156 for (sect = ibfd.abfd->sections; sect; sect = sect->next) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/share/info/ |
bfd.info | 111 within code `abfd'. All operations on the target object file are 118 `abfd'. 122 unsigned int number_of_sections (abfd) 123 bfd *abfd; 125 return bfd_count_sections (abfd); 723 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect); 726 associated with section SECT attached to bfd ABFD. If an error occurs, 734 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms); 736 Call the back end associated with the open BFD ABFD and translate the 749 (bfd *abfd, asection *sec, arelent **rel, unsigned int count) [all...] |