/art/runtime/ |
H A D | barrier.h | 53 // Increment the count by delta, wait on condition if count is non zero. 54 void Increment(Thread* self, int delta) LOCKS_EXCLUDED(lock_); 56 // Increment the count by delta, wait on condition if count is non zero, with a timeout. Returns 58 bool Increment(Thread* self, int delta, uint32_t timeout_ms) LOCKS_EXCLUDED(lock_);
|
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 | 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 | image.h | 163 void RelocateImage(off_t delta); 198 // The total delta that this image has been patched.
|
/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/tools/dexfuzz/src/dexfuzz/program/mutators/ |
H A D | BranchShifter.java | 120 int delta = 0; 125 delta = 0; 126 while (delta == 0) { 127 delta = (rng.nextInt(5) - 2); 130 newTargetIdx = oldTargetInsnIdx + delta;
|
H A D | SwitchBranchShifter.java | 121 int delta = 0; 126 delta = 0; 127 while (delta == 0) { 128 delta = (rng.nextInt(5) - 2); 131 newTargetIdx = oldTargetInsnIdx + delta;
|
H A D | TryBlockShifter.java | 142 int delta = 0; 147 delta = 0; 148 while (delta == 0) { 149 delta = (rng.nextInt(5) - 2); 152 newInsnIdx = oldInsnIdx + delta;
|
H A D | InstructionSwapper.java | 100 int delta = rng.nextInt(5) - 1; 102 if (delta == 0) { 106 swapWithInsnIdx = swapInsnIdx + delta;
|
/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/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/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/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/ |
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/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/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/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...] |
/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;
|
/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 967 uintptr_t delta = (end - begin) / n; local 968 delta = RoundUp(delta, KB); 969 if (delta < 16 * KB) delta = end - begin; 970 begin += delta; 1296 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); local 1297 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); 1298 it += delta;
|