/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
H A D | nv30_vertprog.c | 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local 89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc); 106 inst = vp->insns[reloc->location].data; 107 target = vp->exec->start + reloc->target; 111 reloc++; 115 inst = vp->insns[reloc->location].data; 116 target = vp->exec->start + reloc->target; 122 reloc++; 131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local 132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc); [all...] |
H A D | nvfx_vertprog.c | 122 struct nvfx_relocation reloc; local 139 reloc.location = vp->nr_insns - 1; 140 reloc.target = src.reg.index; 141 util_dynarray_append(&vp->const_relocs, struct nvfx_relocation, reloc); 466 struct nvfx_relocation reloc; local 709 reloc.location = vpc->vp->nr_insns; 710 reloc.target = finst->Label.Label + 1; 711 util_dynarray_append(&vpc->label_relocs, struct nvfx_relocation, reloc); 721 reloc.location = vpc->vp->nr_insns; 722 reloc [all...] |
H A D | nvfx_fragprog.c | 268 struct nvfx_relocation reloc; local 280 reloc.target = target; 281 reloc.location = fpc->inst_offset + 2; 282 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); 304 struct nvfx_relocation reloc; local 321 reloc.target = target; 322 reloc.location = fpc->inst_offset + 3; 323 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); 331 struct nvfx_relocation reloc; local 345 reloc [all...] |
/external/llvm/tools/obj2yaml/ |
H A D | coff2yaml.cpp | 72 const object::coff_relocation *reloc = Obj.getCOFFRelocation(rIter); local 77 Rel.VirtualAddress = reloc->VirtualAddress; 78 Rel.Type = reloc->Type;
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_vertprog.c | 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local 89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc); 106 inst = vp->insns[reloc->location].data; 107 target = vp->exec->start + reloc->target; 111 reloc++; 115 inst = vp->insns[reloc->location].data; 116 target = vp->exec->start + reloc->target; 122 reloc++; 131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local 132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc); [all...] |
H A D | nvfx_vertprog.c | 122 struct nvfx_relocation reloc; local 139 reloc.location = vp->nr_insns - 1; 140 reloc.target = src.reg.index; 141 util_dynarray_append(&vp->const_relocs, struct nvfx_relocation, reloc); 466 struct nvfx_relocation reloc; local 709 reloc.location = vpc->vp->nr_insns; 710 reloc.target = finst->Label.Label + 1; 711 util_dynarray_append(&vpc->label_relocs, struct nvfx_relocation, reloc); 721 reloc.location = vpc->vp->nr_insns; 722 reloc [all...] |
H A D | nvfx_fragprog.c | 268 struct nvfx_relocation reloc; local 280 reloc.target = target; 281 reloc.location = fpc->inst_offset + 2; 282 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); 304 struct nvfx_relocation reloc; local 321 reloc.target = target; 322 reloc.location = fpc->inst_offset + 3; 323 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); 331 struct nvfx_relocation reloc; local 345 reloc [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
H A D | elf-x86-amd64.c | 140 elf_reloc_entry *reloc, 144 reloc->addend = yasm_intnum_copy(intn); 149 elf_x86_amd64_map_reloc_info_to_type(elf_reloc_entry *reloc) argument 151 if (reloc->wrt) { 153 yasm_symrec_get_data(reloc->wrt, &elf_ssym_symrec_data); 154 if (!ssym || reloc->valsize != ssym->size) 161 esym = yasm_symrec_get_data(reloc->reloc.sym, &elf_symrec_data); 166 if (reloc->rtype_rel && ssym->reloc 139 elf_x86_amd64_handle_reloc_addend(yasm_intnum *intn, elf_reloc_entry *reloc, unsigned long offset) argument 194 elf_x86_amd64_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument [all...] |
H A D | elf-x86-x86.c | 139 elf_reloc_entry *reloc, 142 if (!reloc->wrt && reloc->is_GOT_sym && reloc->valsize == 32 && offset != 0) 152 elf_x86_x86_map_reloc_info_to_type(elf_reloc_entry *reloc) argument 154 if (reloc->wrt) { 156 yasm_symrec_get_data(reloc->wrt, &elf_ssym_symrec_data); 157 if (!ssym || reloc->valsize != ssym->size) 164 esym = yasm_symrec_get_data(reloc->reloc 138 elf_x86_x86_handle_reloc_addend(yasm_intnum *intn, elf_reloc_entry *reloc, unsigned long offset) argument 190 elf_x86_x86_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument [all...] |
H A D | elf-machine.h | 59 elf_reloc_entry *reloc, 61 typedef unsigned int(*func_map_reloc_info_to_type)(elf_reloc_entry *reloc); 63 elf_reloc_entry *reloc, 80 const unsigned int reloc; /* relocation type */ member in struct:__anon14838
|
H A D | elf-objfmt.c | 451 elf_reloc_entry *reloc; local 456 reloc = elf_reloc_entry_create(sym, NULL, 458 if (reloc == NULL) { 463 elf_secthead_append_reloc(info->sect, info->shead, reloc); 466 elf_handle_reloc_addend(zero, reloc, 0); 481 /*@null@*/ elf_reloc_entry *reloc = NULL; local 550 reloc = elf_reloc_entry_create(sym, wrt, 553 if (reloc == NULL) { 559 elf_secthead_append_reloc(info->sect, info->shead, reloc); 575 if (reloc) [all...] |
/external/elfutils/backends/ |
H A D | common-reloc.c | 1 /* Common code for ebl reloc functions. 36 #define RELOC_TYPES STRINGIFIED_PASTE (BACKEND, reloc.def) 41 /* Provide a table of reloc type names, in a PIC-friendly fashion. */ 83 EBLHOOK(reloc_type_name) (int reloc, argument 87 if (reloc >= 0 && reloc < nreloc && EBLHOOK(reloc_nameidx)[reloc] != 0) 88 return &reloc_namestr[EBLHOOK(reloc_nameidx)[reloc]]; 93 EBLHOOK(reloc_type_check) (int reloc) argument 95 return reloc > 99 reloc_valid_use(Elf *elf, int reloc) argument 113 copy_reloc_p(int reloc) argument 119 none_reloc_p(int reloc) argument 126 relative_reloc_p(int reloc) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 49 The adding is skipped if the reloc is already present in the list, but it 60 cs_write_reloc(cs, buf) just writes a reloc that has been added using 199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc, argument 204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain); 206 reloc->read_domains |= rd; 207 reloc->write_domain |= wd; 212 struct drm_radeon_cs_reloc *reloc; local 218 reloc = &csc->relocs[i]; 219 if (reloc 253 struct drm_radeon_cs_reloc *reloc; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
H A D | vmw_context.c | 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; local 146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr)) 149 ptr.offset += reloc->offset; 151 *reloc->where = ptr; 279 struct vmw_region_relocation *reloc; local 285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged]; 286 reloc->where = where; 287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer)); 288 reloc->offset = offset; 293 ret = pb_validate_add_buffer(vswc->validate, reloc [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/ |
H A D | nasm-listfmt.c | 53 unsigned long offset; /* start of reloc from start of bytecode */ 54 size_t size; /* size of reloc in bytes */ 102 /* Generate reloc if needed */ 104 bcreloc *reloc = yasm_xmalloc(sizeof(bcreloc)); local 105 reloc->offset = offset; 106 reloc->size = destsize; 107 reloc->rel = value->curpos_rel; 108 STAILQ_INSERT_TAIL(&info->bcrelocs, reloc, link); 110 /* Get next reloc's info */ 154 /*@null@*/ bcreloc *reloc local [all...] |
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 49 The adding is skipped if the reloc is already present in the list, but it 60 cs_write_reloc(cs, buf) just writes a reloc that has been added using 199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc, argument 204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain); 206 reloc->read_domains |= rd; 207 reloc->write_domain |= wd; 212 struct drm_radeon_cs_reloc *reloc; local 218 reloc = &csc->relocs[i]; 219 if (reloc 253 struct drm_radeon_cs_reloc *reloc; local [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_context.c | 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; local 146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr)) 149 ptr.offset += reloc->offset; 151 *reloc->where = ptr; 279 struct vmw_region_relocation *reloc; local 285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged]; 286 reloc->where = where; 287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer)); 288 reloc->offset = offset; 293 ret = pb_validate_add_buffer(vswc->validate, reloc [all...] |
/external/chromium/base/win/ |
H A D | pe_image.cc | 319 PWORD reloc = reinterpret_cast<PWORD>(base + 1); local 323 for (UINT i = 0; i < num_relocs; i++, reloc++) { 324 WORD type = *reloc >> 12; 325 PVOID address = RVAToAddr(base->VirtualAddress + (*reloc & 0x0FFF));
|
/external/chromium_org/base/win/ |
H A D | pe_image.cc | 320 PWORD reloc = reinterpret_cast<PWORD>(base + 1); local 324 for (UINT i = 0; i < num_relocs; i++, reloc++) { 325 WORD type = *reloc >> 12; 326 PVOID address = RVAToAddr(base->VirtualAddress + (*reloc & 0x0FFF));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_hw_context.c | 172 block->reloc[block->nbo].bo_pm4_index = block->pm4_ndwords - 1; 557 pipe_resource_reference((struct pipe_resource**)&block->reloc[k].bo, NULL); 710 * If reg needs a reloc, this function will add it to its block's reloc list. 711 * @return true if reg needs a reloc, false otherwise 723 (struct pipe_resource**)®->block->reloc[reloc_id].bo, 725 reg->block->reloc[reloc_id].bo_usage = reg->bo_usage; 764 /* Update the reloc for this register if necessary. */ 827 struct r600_block_reloc *reloc = &block->reloc[bloc local [all...] |
H A D | r600.h | 142 struct r600_block_reloc reloc[R600_BLOCK_MAX_BO]; member in struct:r600_block
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_hw_context.c | 172 block->reloc[block->nbo].bo_pm4_index = block->pm4_ndwords - 1; 557 pipe_resource_reference((struct pipe_resource**)&block->reloc[k].bo, NULL); 710 * If reg needs a reloc, this function will add it to its block's reloc list. 711 * @return true if reg needs a reloc, false otherwise 723 (struct pipe_resource**)®->block->reloc[reloc_id].bo, 725 reg->block->reloc[reloc_id].bo_usage = reg->bo_usage; 764 /* Update the reloc for this register if necessary. */ 827 struct r600_block_reloc *reloc = &block->reloc[bloc local [all...] |
H A D | r600.h | 142 struct r600_block_reloc reloc[R600_BLOCK_MAX_BO]; member in struct:r600_block
|
/external/linux-tools-perf/util/ |
H A D | map.c | 485 s64 reloc; local 490 reloc = (kmap->ref_reloc_sym->unrelocated_addr - 493 if (!reloc) 498 self->pgoff = reloc;
|
/external/llvm/lib/Object/ |
H A D | COFFObjectFile.cpp | 788 const coff_relocation *reloc = toRel(Rel); local 792 switch (reloc->Type) { 815 switch (reloc->Type) { 842 const coff_relocation *reloc = toRel(Rel); local 844 if (error_code ec = getSymbol(reloc->SymbolTableIndex, symb)) return ec;
|