Home
last modified time | relevance | path

Searched refs:p_offset (Results 1 – 25 of 62) sorted by relevance

123

/external/libunwind/src/dwarf/
DGfind_unwind_table.c38 GET_PHDR_FIELD(ei, dyn_phdr_offset, &phdr, p_offset); in get_dyn_gp()
40 Elf_W(Off) dyn_offset = phdr.p_offset; in get_dyn_gp()
63 GET_PHDR_FIELD(ei, phdr_offset, &phdr, p_offset); in get_eh_frame_info()
64 unw_word_t hdr_offset = phdr.p_offset; in get_eh_frame_info()
67 if (sizeof(hdr) != elf_w (memory_read) (ei, ei->u.memory.map->start +phdr.p_offset, in get_eh_frame_info()
115 GET_PHDR_FIELD(ei, phdr_offset, &phdr, p_offset); in get_eh_frame_info()
117 load_base + phdr.p_vaddr + addr - (uintptr_t) ei->u.memory.map->start - phdr.p_offset; in get_eh_frame_info()
121 di_cache->u.rti.segbase = ((load_base + phdr.p_vaddr) + (hdr_offset - phdr.p_offset)); in get_eh_frame_info()
160 GET_PHDR_FIELD(ei, offset, &phdr, p_offset); in dwarf_find_unwind_table_memory()
161 if (phdr.p_offset == mapoff) { in dwarf_find_unwind_table_memory()
[all …]
/external/libunwind/src/coredump/
D_UCD_create.c168 cur->p_offset = hdr64.p_offset; in _UCD_create()
194 cur->p_offset = hdr32.p_offset; in _UCD_create()
219 if (lseek(fd, cur->p_offset, SEEK_SET) != (off_t)cur->p_offset in _UCD_create()
255 (unsigned long long) cur->p_offset, in _UCD_create()
359 if (lseek(ui->coredump_fd, phdr->p_offset, SEEK_SET) != (off_t)phdr->p_offset in _UCD_add_backing_file_at_segment()
D_UCD_internal.h64 uoff_t p_offset; member
D_UCD_access_mem.c76 fileofs = phdr->p_offset + (addr - phdr->p_vaddr); in _UCD_access_mem()
D_UCD_elf_map_image.c41 … ei->image = mmap(NULL, phdr->p_memsz, PROT_READ, MAP_PRIVATE, ui->coredump_fd, phdr->p_offset); in CD_elf_map_image()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-minimal.c134 phdr->p_offset = bswap_32(phdr->p_offset); in filename__read_build_id()
147 fseek(fp, phdr->p_offset, SEEK_SET); in filename__read_build_id()
183 phdr->p_offset = bswap_64(phdr->p_offset); in filename__read_build_id()
196 fseek(fp, phdr->p_offset, SEEK_SET); in filename__read_build_id()
/external/elfutils/src/tests/
Dshowptable.c103 (unsigned long long int) phdr->p_offset, in main()
126 if (filedata != NULL && phdr->p_offset < maxsize) in main()
128 filedata + phdr->p_offset); in main()
Dupdate2.c110 phdr[0].p_offset = ehdr->e_phoff; in main()
111 phdr[0].p_offset = ehdr->e_phoff; in main()
Dupdate3.c159 phdr[0].p_offset = ehdr->e_phoff; in main()
160 phdr[0].p_offset = ehdr->e_phoff; in main()
Dalldts.c228 phdr[0].p_offset = ehdr->e_phoff; in main()
237 phdr[1].p_offset = *dynscn_offset; in main()
/external/elfutils/src/libdwfl/
Delf-from-memory.c238 if (handle_segment (phdrs.p32[i].p_vaddr, phdrs.p32[i].p_offset, in elf_from_remote_memory()
249 if (handle_segment (phdrs.p64[i].p_vaddr, phdrs.p64[i].p_offset, in elf_from_remote_memory()
301 if (handle_segment (phdrs.p32[i].p_vaddr, phdrs.p32[i].p_offset, in elf_from_remote_memory()
328 if (handle_segment (phdrs.p64[i].p_vaddr, phdrs.p64[i].p_offset, in elf_from_remote_memory()
Dcore-file.c257 GElf_Off start = vaddr - phdr.p_vaddr + phdr.p_offset; in dwfl_elf_phdr_memory_callback()
263 end = (phdr.p_offset + phdr.p_filesz + align - 1) & -align; in dwfl_elf_phdr_memory_callback()
283 if (phdr.p_offset > end in dwfl_elf_phdr_memory_callback()
462 notes_phdr.p_offset, in dwfl_core_file_report()
Dlink_map.c552 && (phdr->p_offset & -align) == (ehdr.e_phoff & -align)) in consider_executable()
559 if (ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr != at_phdr) in consider_executable()
567 if (((ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr) & -align) in consider_executable()
572 GElf_Addr bias = (at_phdr - (ehdr.e_phoff - phdr->p_offset in consider_executable()
598 Elf_Data *data = elf_getdata_rawchunk (mod->main.elf, phdr->p_offset, in consider_executable()
/external/elfutils/src/libelf/
Dgelf_update_phdr.c63 if (unlikely (src->p_offset > 0xffffffffull) in gelf_update_phdr()
99 COPY (p_offset); in gelf_update_phdr()
Delf32_getphdr.c157 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset);
204 CONVERT (phdr[cnt].p_offset);
/external/libunwind/src/ia64/
DGfind_unwind_table.c50 Elf64_Dyn *dyn = (Elf64_Dyn *) (pdyn->p_offset + (char *) edi->ei.image); in find_gp()
114 if (phdr[i].p_offset == mapoff) in ia64_find_unwind_table()
/external/opencv/cv/src/
DmycvHaarDetectObjects.cpp405 size_t p_offset ) in myicvEvalHidHaarClassifier() argument
413 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; in myicvEvalHidHaarClassifier()
414 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; in myicvEvalHidHaarClassifier()
417 sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; in myicvEvalHidHaarClassifier()
482 int p_offset, pq_offset; in mycvRunHaarClassifierCascade() local
502 p_offset = pt.y * (cascade->sum.step/sizeof(sumtype)) + pt.x; in mycvRunHaarClassifierCascade()
504 mean = calc_sum(*cascade,p_offset) * cascade->inv_window_area; in mycvRunHaarClassifierCascade()
563 … int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; in mycvRunHaarClassifierCascade()
564 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; in mycvRunHaarClassifierCascade()
575 … int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; in mycvRunHaarClassifierCascade()
[all …]
/external/google-breakpad/src/common/linux/
Delf_core_dump.cc159 content_.GetData(program->p_offset + offset_in_segment, length); in CopyData()
173 note_content = content_.Subrange(program_header->p_offset, in GetFirstNote()
/external/libunwind/src/
Delfxx.c259 GET_PHDR_FIELD(ei, offset, &phdr, p_offset); in elf_w()
260 if (phdr.p_offset == mapoff) { in elf_w()
396 if (phdr[i].p_type == PT_LOAD && phdr[i].p_offset == mapoff) { in elf_w()
606 if (phdr[i].p_type == PT_LOAD && phdr[i].p_offset == mapoff) { in elf_w()
621 GET_PHDR_FIELD(ei, offset, &phdr, p_offset); in elf_w()
622 if (phdr.p_type == PT_LOAD && phdr.p_offset == mapoff) { in elf_w()
Dos-qnx.c47 cur_map->offset = info->dlpi_phdr[i].p_offset; in callback()
/external/clang/test/CodeGen/
D2009-01-21-InvalidIterator.c15 Elf64_Off p_offset; member
/external/elfutils/src/libdw/
Ddwarf_getcfi_elf.c131 Elf_Data *data = elf_getdata_rawchunk (elf, phdr->p_offset, phdr->p_filesz, in getcfi_gnu_eh_frame()
153 Dwarf_Off eh_frame_offset = eh_frame_ptr - phdr->p_vaddr + phdr->p_offset; in getcfi_gnu_eh_frame()
/external/kernel-headers/original/uapi/linux/
Delf.h245 Elf32_Off p_offset; member
257 Elf64_Off p_offset; /* Segment file offset */ member
/external/llvm/tools/llvm-objdump/
DELFDump.cpp59 << format(Fmt, (uint64_t)pi->p_offset) in printProgramHeaders()
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp382 if (GetMaxU64(data, offset, &p_offset, byte_size, 5) == false) in Parse()
399 if (GetMaxU64(data, offset, &p_offset, byte_size, 6) == false) in Parse()

123