/art/compiler/ |
H A D | elf_writer_test.cc | 99 constexpr int32_t delta = 0x11235813; local 115 *reinterpret_cast<UnalignedAddress*>(expected.data() + location) += delta; 121 oat_patches.data(), oat_patches.data() + oat_patches.size(), delta,
|
/art/compiler/optimizing/ |
H A D | code_generator_utils.cc | 70 uint64_t delta; local 85 delta = abs_d - remainder2; 86 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0));
|
/art/runtime/ |
H A D | barrier.cc | 45 void Barrier::Increment(Thread* self, int delta) { argument 47 SetCountLocked(self, count_ + delta); 61 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { argument 63 SetCountLocked(self, count_ + delta);
|
H A D | image.cc | 65 void ImageHeader::RelocateImage(off_t delta) { argument 66 CHECK_ALIGNED(delta, kPageSize) << " patch delta must be page aligned"; 67 image_begin_ += delta; 68 oat_file_begin_ += delta; 69 oat_data_begin_ += delta; 70 oat_data_end_ += delta; 71 oat_file_end_ += delta; 72 image_roots_ += delta; 73 patch_delta_ += delta; [all...] |
H A D | mem_map.cc | 347 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; local 349 if (delta >= page_aligned_byte_count) {
|
H A D | oat.cc | 157 return "Image patch delta not page-aligned."; 344 void OatHeader::RelocateOat(off_t delta) { argument 346 CHECK_ALIGNED(delta, kPageSize); 347 image_patch_delta_ += delta; 349 image_file_location_oat_data_begin_ += delta;
|
H A D | elf_file.cc | 1415 const char* target_section_name, Elf_Addr delta) { 1433 delta, local 1442 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, 1449 *reinterpret_cast<UnalignedAddress*>(to_patch) += delta; 1414 ApplyOatPatchesTo( const char* target_section_name, Elf_Addr delta) argument 1441 ApplyOatPatches( const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, uint8_t* to_patch, const uint8_t* to_patch_end) argument
|
/art/test/021-string2/src/junit/framework/ |
H A D | Assert.java | 94 * Asserts that two doubles are equal concerning a delta. If they are not 96 * value is infinity then the delta value is ignored. 98 static public void assertEquals(String message, double expected, double actual, double delta) { argument 101 if (!(Math.abs(expected-actual) <= delta)) 105 * Asserts that two doubles are equal concerning a delta. If the expected 106 * value is infinity then the delta value is ignored. 108 static public void assertEquals(double expected, double actual, double delta) { argument 109 assertEquals(null, expected, actual, delta); 112 * Asserts that two floats are equal concerning a positive delta. If they 114 * expected value is infinity then the delta valu 116 assertEquals(String message, float expected, float actual, float delta) argument 126 assertEquals(float expected, float actual, float delta) argument [all...] |
/art/test/082-inline-execute/src/junit/framework/ |
H A D | Assert.java | 94 * Asserts that two doubles are equal concerning a delta. If they are not 96 * value is infinity then the delta value is ignored. 98 static public void assertEquals(String message, double expected, double actual, double delta) { argument 101 if (!(Math.abs(expected-actual) <= delta)) 105 * Asserts that two doubles are equal concerning a delta. If the expected 106 * value is infinity then the delta value is ignored. 108 static public void assertEquals(double expected, double actual, double delta) { argument 109 assertEquals(null, expected, actual, delta); 112 * Asserts that two floats are equal concerning a positive delta. If they 114 * expected value is infinity then the delta valu 116 assertEquals(String message, float expected, float actual, float delta) argument 126 assertEquals(float expected, float actual, float delta) argument [all...] |
/art/compiler/utils/ |
H A D | assembler.cc | 94 // Compute the relocation delta and switch to the new contents area. 95 ptrdiff_t delta = new_contents - contents_; local 100 cursor_ += delta;
|
H A D | assembler.h | 286 int delta = gap_ - ComputeGap(); local 287 CHECK_LE(delta, kMinimumGap);
|
/art/patchoat/ |
H A D | patchoat.h | 45 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings, 50 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa, 55 off_t delta, File* oat_out, File* art_out, InstructionSet isa, 62 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) argument 63 : oat_file_(oat_file), image_(nullptr), bitmap_(nullptr), heap_(nullptr), delta_(delta), 66 MemMap* heap, off_t delta, TimingLogger* timings) 68 delta_(delta), isa_(isa), timings_(timings) {} 70 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, 73 delta_(delta), isa_(isa), timings_(timings) {} 65 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument 69 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
|
H A D | patchoat.cc | 95 bool PatchOat::Patch(const std::string& image_location, off_t delta, argument 164 delta, timings); 178 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, argument 286 delta, timings); 658 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, argument 689 PatchOat p(elf.release(), delta, timings); 851 UsageError(" --base-offset-delta=<delta>: Specify the amount to change the old base-offset by."); 854 UsageError(" --patched-image-file=<file.art>: Use the same patch delta as was used to patch"); 857 UsageError(" --patched-image-location=<file.art>: Use the same patch delta a 874 ReadBaseDelta(const char* name, off_t* delta, std::string* error_msg) argument [all...] |
/art/runtime/base/ |
H A D | hash_set_test.cc | 174 size_t delta = std::abs(static_cast<ssize_t>(target_size) - local 182 } else if (n % target_size < delta) {
|
/art/runtime/gc/accounting/ |
H A D | card_table.cc | 82 int delta = kCardDirty - biased_byte; local 83 offset = delta + (delta < 0 ? 0x100 : 0);
|
H A D | card_table_test.cc | 109 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), local 113 for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { 116 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) {
|
/art/compiler/dex/quick/arm/ |
H A D | assemble_arm.cc | 1293 int32_t delta = target - pc; local 1299 delta &= ~0x3; 1301 DCHECK_EQ((delta & 0x3), 0); 1303 if (kIsDebugBuild && (((lir->opcode == kThumbAddPcRel) && (delta > 1020)) || 1304 ((lir->opcode == kThumbLdrPcRel) && (delta > 1020)))) { 1306 LOG(FATAL) << "Unexpected pc-rel offset " << delta; 1309 if (((lir->opcode == kThumb2LdrPcRel12) && (delta > 4091)) || 1310 ((lir->opcode == kThumb2LdrdPcRel8) && (delta > 1020)) || 1311 ((lir->opcode == kThumb2Vldrs) && (delta > 1020)) || 1312 ((lir->opcode == kThumb2Vldrd) && (delta > 102 1373 int32_t delta = target - pc; local 1414 int32_t delta = 0; local 1436 int32_t delta = target - pc; local 1453 int32_t delta = target - pc; local 1486 int32_t delta = target - cur_pc; local 1499 int32_t delta = target - cur_pc; local [all...] |
/art/compiler/dex/quick/arm64/ |
H A D | assemble_arm64.cc | 911 int32_t delta = target - pc; local 912 DCHECK_EQ(delta & 0x3, 0); 913 if (!IS_SIGNED_IMM26(delta >> 2)) { 916 lir->operands[0] = delta >> 2; 935 int32_t delta = target - pc; local 936 DCHECK_EQ(delta & 0x3, 0); 937 if (!IS_SIGNED_IMM19(delta >> 2)) { 940 lir->operands[1] = delta >> 2; 967 int32_t delta = target - pc; local 968 DCHECK_EQ(delta 1006 int32_t delta; local [all...] |
H A D | int_arm64.cc | 159 int32_t delta = false_val - true_val; local 160 uint32_t abs_val = delta < 0 ? -delta : delta; 165 OpRegRegImm(kOpAdd, t_reg2, left_op, delta);
|
/art/compiler/dex/quick/mips/ |
H A D | assemble_mips.cc | 667 * found in operands[0]. The delta is determined by 677 int delta = offset2 - offset1; local 678 if ((delta & 0xffff) == delta && ((delta & 0x8000) == 0)) { 680 lir->operands[1] = delta; 683 delta); 712 int delta = offset2 - offset1; local 713 lir->operands[1] = delta & 0xffff; 718 int delta local 724 int delta = target - pc; local 738 int delta = target - pc; local 752 int delta = target - pc; local [all...] |
/art/compiler/dwarf/ |
H A D | debug_frame_opcode_writer.h | 48 int delta = FactorCodeOffset(absolute_pc - current_pc_); local 49 if (delta != 0) { 50 if (delta <= 0x3F) { 51 this->PushUint8(DW_CFA_advance_loc | delta); 52 } else if (delta <= UINT8_MAX) { 54 this->PushUint8(delta); 55 } else if (delta <= UINT16_MAX) { 57 this->PushUint16(delta); 60 this->PushUint32(delta); 76 void ALWAYS_INLINE AdjustCFAOffset(int delta) { argument [all...] |
H A D | debug_line_opcode_writer.h | 49 uint64_t delta = FactorCodeOffset(absolute_address - current_address_); local 50 if (delta <= INT32_MAX) { 52 this->PushUleb128(static_cast<int>(delta)); 61 int delta = absolute_line - current_line_; local 62 if (delta != 0) { 64 this->PushSleb128(delta);
|
/art/compiler/utils/arm/ |
H A D | assembler_thumb2.h | 565 void Move(int32_t delta) { argument 567 CHECK_GT(delta, 0); 568 location_ += delta; 569 target_ += delta; 572 // Relocate a branch by a given delta. This changed the location and 576 bool Relocate(uint32_t oldlocation, int32_t delta) { argument 578 location_ += delta; 582 target_ += delta; 642 int32_t delta = target_ - location_ - 4; local 643 if (delta < [all...] |
/art/compiler/dex/quick/x86/ |
H A D | assemble_x86.cc | 1652 int delta = 0; local 1660 delta = target - pc; 1661 if (IS_SIMM8(delta) != IS_SIMM8(lir->operands[0])) { 1664 << " delta: " << delta << " old delta: " << lir->operands[0]; 1677 LOG(INFO) << "Delta " << delta; 1679 lir->operands[0] = delta; 1687 int delta = target - pc; local 1693 LOG(INFO) << "Delta " << delta; 1704 int delta = target - pc; local 1712 int delta = 0; local 1746 int delta = target - pc; local [all...] |
/art/compiler/dex/quick/ |
H A D | codegen_util.cc | 391 * within specified delta (greater or equal to 0). 393 LIR* Mir2Lir::ScanLiteralPool(LIR* data_target, int value, unsigned int delta) { argument 395 if ((static_cast<unsigned>(value - data_target->operands[0])) <= delta)
|