Home
last modified time | relevance | path

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

1234

/third_party/elfio/elfio/
Delfio_segment.hpp94 ELFIO_GET_ACCESS( Elf64_Off, offset, ph.p_offset );
150 ph.p_offset = decltype( ph.p_offset )( value ); in set_offset()
151 ph.p_offset = ( *convertor )( ph.p_offset ); in set_offset()
205 pstream->seekg( ( *translator )[( *convertor )( ph.p_offset )] ); in load_data()
231 ph.p_offset = decltype( ph.p_offset )( data_offset ); in save()
232 ph.p_offset = ( *convertor )( ph.p_offset ); in save()
/third_party/libunwind/libunwind/src/dwarf/
DGfind_unwind_table.c76 if (phdr[i].p_offset == mapoff) in dwarf_find_unwind_table()
118 Elf_W(Dyn) *dyn = (Elf_W(Dyn) *)(pdyn->p_offset in dwarf_find_unwind_table()
135 hdr = (struct dwarf_eh_frame_hdr *) (peh_hdr->p_offset in dwarf_find_unwind_table()
203 - peh_hdr->p_offset)); in dwarf_find_unwind_table()
210 - peh_hdr->p_offset)); in dwarf_find_unwind_table()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c560 uint32_t p0 = *(uint32_t *)(uniform_data_u + sample->p_offset[0]); in reloc_tex()
561 uint32_t p1 = *(uint32_t *)(uniform_data_u + sample->p_offset[1]); in reloc_tex()
562 uint32_t p2 = (sample->p_offset[2] != ~0 ? in reloc_tex()
563 *(uint32_t *)(uniform_data_u + sample->p_offset[2]) : 0); in reloc_tex()
564 uint32_t p3 = (sample->p_offset[3] != ~0 ? in reloc_tex()
565 *(uint32_t *)(uniform_data_u + sample->p_offset[3]) : 0); in reloc_tex()
566 uint32_t *validated_p0 = exec->uniforms_v + sample->p_offset[0]; in reloc_tex()
724 DRM_INFO("Texture p0 at %d: 0x%08x\n", sample->p_offset[0], p0); in reloc_tex()
725 DRM_INFO("Texture p1 at %d: 0x%08x\n", sample->p_offset[1], p1); in reloc_tex()
726 DRM_INFO("Texture p2 at %d: 0x%08x\n", sample->p_offset[2], p2); in reloc_tex()
[all …]
Dvc4_validate_shaders.c173 validation_state->tmu_setup[tmu].p_offset[i] = ~0; in record_texture_sample()
232 validation_state->tmu_setup[tmu].p_offset[1] = in check_tmu_write()
256 validation_state->tmu_setup[tmu].p_offset[validation_state->tmu_write_count[tmu]] = in check_tmu_write()
718 validation_state->tmu_setup[i / 4].p_offset[i % 4] = ~0; in reset_validation_state()
/third_party/libunwind/libunwind/src/coredump/
D_UCD_corefile_elf.c51 if (lseek(ui->coredump_fd, phdr->p_offset, SEEK_SET) != (off_t)phdr->p_offset) in _UCD_elf_read_segment()
54 errno, phdr->p_offset, ui->coredump_filename, strerror(errno)); in _UCD_elf_read_segment()
D_UCD_create.c138 cur->p_offset = hdr64.p_offset; in _UCD_create()
164 cur->p_offset = hdr32.p_offset; in _UCD_create()
196 (unsigned long long) cur->p_offset, in _UCD_create()
/third_party/elfutils/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()
Ddwfl-report-segment-contiguous.c50 .p_offset = 0xf00, in main()
67 .p_offset = 0x1000, in main()
Dupdate2.c111 phdr[0].p_offset = ehdr->e_phoff; in main()
112 phdr[0].p_offset = ehdr->e_phoff; in main()
Dvendorelf.c98 phdr.p_offset = 0; in check_elf()
163 || phdr.p_offset != 0 in check_elf()
Dupdate3.c160 phdr[0].p_offset = ehdr->e_phoff; in main()
161 phdr[0].p_offset = ehdr->e_phoff; in main()
Dalldts.c230 phdr[0].p_offset = ehdr->e_phoff; in main()
239 phdr[1].p_offset = *dynscn_offset; in main()
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso.rs106 vdso.load_end = vdso.base_plus(phdr.p_offset.checked_add(phdr.p_memsz)?)?; in init_from_sysinfo_ehdr()
107 vdso.pv_offset = phdr.p_offset.wrapping_sub(phdr.p_vaddr); in init_from_sysinfo_ehdr()
112 if phdr.p_offset < size_of::<Elf_Ehdr>() { in init_from_sysinfo_ehdr()
116 dyn_ = check_raw_pointer::<Elf_Dyn>(vdso.base_plus(phdr.p_offset)? as *mut _)? in init_from_sysinfo_ehdr()
Delf.rs111 pub(super) p_offset: usize, field
125 pub(super) p_offset: usize, field
/third_party/elfutils/libdwfl/
Delf-from-memory.c247 GElf_Off offset = class32 ? (*p32)[i].p_offset : (*p64)[i].p_offset; in elf_from_remote_memory()
303 GElf_Off offset = class32 ? (*p32)[i].p_offset : (*p64)[i].p_offset; in elf_from_remote_memory()
Dcore-file.c248 *pend = (pphdr->p_offset + pphdr->p_filesz + align - 1) & -align; in update_end()
269 if (pphdr->p_offset > *pend in do_more()
310 GElf_Off start = vaddr - phdr.p_vaddr + phdr.p_offset; in dwfl_elf_phdr_memory_callback()
517 notes_phdr.p_offset, in dwfl_core_file_report()
/third_party/elfutils/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.c161 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset); in ElfW2()
211 CONVERT (phdr[cnt].p_offset); in ElfW2()
/third_party/musl/src/internal/
Dvdso.c54 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __vdsosym()
56 dynv = (void *)((char *)eh + ph->p_offset); in __vdsosym()
/third_party/musl/porting/linux/user/src/internal/
Dvdso.c81 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __get_vdso_info()
83 dynv = (void *)((char *)eh + ph->p_offset); in __get_vdso_info()
/third_party/musl/src/internal/linux/
Dvdso.c81 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __get_vdso_info()
83 dynv = (void *)((char *)eh + ph->p_offset); in __get_vdso_info()
/third_party/libunwind/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()
/third_party/toybox/toys/posix/
Dfile.c132 long long p_offset, p_filesz; local
138 p_offset = elf_int(phdr+4*j, 4*j);
142 if (p_offset+p_filesz>TT.len) goto bad;
143 printf(", dynamic (%.*s)", (int)p_filesz, map+p_offset);
/third_party/rust/crates/libc/src/unix/haiku/
Db32.rs12 pub p_offset: ::Elf32_Off,
Db64.rs13 pub p_offset: ::Elf64_Off,

1234