Lines Matching refs:RVA
149 CheckBool EncodedProgram::DefineRel32Label(int index, RVA value) {
153 CheckBool EncodedProgram::DefineAbs32Label(int index, RVA value) {
157 static const RVA kUnassignedRVA = static_cast<RVA>(-1);
161 RVA rva) {
169 (*rvas)[index] = rva;
185 RVA previous = 0;
195 CheckBool EncodedProgram::AddOrigin(RVA origin) {
410 RVA& current_rva,
418 RVA rva;
419 if (!VectorAt(rel32_rva_, index, &rva))
424 static_cast<uint32>(rva -
440 RVA rva;
441 if (!VectorAt(rel32_rva_, index, &rva))
445 (uint32) (rva - current_rva),
460 RVA rva;
461 if (!VectorAt(rel32_rva_, index, &rva))
465 (uint32) (rva - current_rva),
479 RVA rva;
480 if (!VectorAt(rel32_rva_, index, &rva))
484 (uint32) (rva - current_rva),
499 RVA rva;
500 if (!VectorAt(rel32_rva_, index, &rva))
504 (uint32) (rva - current_rva),
530 RVA current_rva = 0;
549 RVA section_rva;
590 RVA rva;
591 if (!VectorAt(rel32_rva_, index, &rva))
593 uint32 offset = (rva - (current_rva + 4));
605 RVA rva;
606 if (!VectorAt(abs32_rva_, index, &rva))
608 uint32 abs32 = static_cast<uint32>(rva + image_base_);
743 uint32 rva = abs32_relocs_[i];
744 uint32 page_rva = rva & ~0xFFF;
750 block.Add(((static_cast<uint16>(type)) << 12 ) | (rva & 0xFFF));