/art/runtime/ |
D | image.cc | 62 void ImageHeader::RelocateImage(off_t delta) { in RelocateImage() argument 63 CHECK_ALIGNED(delta, kPageSize) << " patch delta must be page aligned"; in RelocateImage() 64 image_begin_ += delta; in RelocateImage() 65 oat_file_begin_ += delta; in RelocateImage() 66 oat_data_begin_ += delta; in RelocateImage() 67 oat_data_end_ += delta; in RelocateImage() 68 oat_file_end_ += delta; in RelocateImage() 69 image_roots_ += delta; in RelocateImage() 70 patch_delta_ += delta; in RelocateImage()
|
D | barrier.cc | 44 void Barrier::Increment(Thread* self, int delta) { in Increment() argument 46 SetCountLocked(self, count_ + delta); in Increment() 60 void Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment() argument 62 SetCountLocked(self, count_ + delta); in Increment()
|
D | barrier.h | 41 void Increment(Thread* self, int delta); 44 void Increment(Thread* self, int delta, uint32_t timeout_ms) LOCKS_EXCLUDED(lock_);
|
D | oat.cc | 370 void OatHeader::RelocateOat(off_t delta) { in RelocateOat() argument 372 CHECK_ALIGNED(delta, kPageSize); in RelocateOat() 373 image_patch_delta_ += delta; in RelocateOat() 375 image_file_location_oat_data_begin_ += delta; in RelocateOat()
|
D | thread_list.cc | 820 for (int delta = debug_suspend_all_count_; delta > 0; delta--) { in Register() local 823 for (int delta = suspend_all_count_ - debug_suspend_all_count_; delta > 0; delta--) { in Register() local
|
D | image.h | 121 void RelocateImage(off_t delta);
|
D | oat.h | 92 void RelocateOat(off_t delta);
|
D | thread.cc | 630 void Thread::ModifySuspendCount(Thread* self, int delta, bool for_debugger) { in ModifySuspendCount() argument 632 DCHECK(delta == -1 || delta == +1 || delta == -tls32_.debug_suspend_count) in ModifySuspendCount() 633 << delta << " " << tls32_.debug_suspend_count << " " << this; in ModifySuspendCount() 640 if (UNLIKELY(delta < 0 && tls32_.suspend_count <= 0)) { in ModifySuspendCount() 645 tls32_.suspend_count += delta; in ModifySuspendCount() 647 tls32_.debug_suspend_count += delta; in ModifySuspendCount()
|
D | instrumentation.cc | 1026 int delta) in CheckStackDepth() argument 1028 size_t frame_id = StackVisitor::ComputeNumFrames(self) + delta; in CheckStackDepth()
|
/art/patchoat/ |
D | patchoat.h | 43 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings); 45 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa, 49 off_t delta, File* oat_out, File* art_out, InstructionSet isa, 54 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) in PatchOat() argument 55 : oat_file_(oat_file), delta_(delta), timings_(timings) {} in PatchOat() 57 MemMap* heap, off_t delta, TimingLogger* timings) in PatchOat() argument 59 delta_(delta), timings_(timings) {} in PatchOat() 61 MemMap* heap, off_t delta, TimingLogger* timings) in PatchOat() argument 63 delta_(delta), timings_(timings) {} in PatchOat()
|
D | patchoat.cc | 111 bool PatchOat::Patch(const std::string& image_location, off_t delta, in Patch() argument 175 delta, timings); in Patch() 189 bool PatchOat::Patch(const File* input_oat, const std::string& image_location, off_t delta, in Patch() argument 271 delta, timings); in Patch() 444 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings) { in Patch() argument 459 PatchOat p(elf.release(), delta, timings); in Patch() 716 static bool ReadBaseDelta(const char* name, off_t* delta, std::string* error_msg) { in ReadBaseDelta() argument 718 CHECK(delta != nullptr); in ReadBaseDelta() 740 *delta = hdr.GetPatchDelta(); in ReadBaseDelta()
|
/art/compiler/dex/quick/mips/ |
D | assemble_mips.cc | 544 int delta = offset2 - offset1; in AssembleInstructions() local 545 if ((delta & 0xffff) == delta && ((delta & 0x8000) == 0)) { in AssembleInstructions() 547 lir->operands[1] = delta; in AssembleInstructions() 571 int delta = offset2 - offset1; in AssembleInstructions() local 572 lir->operands[1] = delta & 0xffff; in AssembleInstructions() 577 int delta = offset2 - offset1; in AssembleInstructions() local 578 lir->operands[1] = (delta >> 16) & 0xffff; in AssembleInstructions() 583 int delta = target - pc; in AssembleInstructions() local 584 if (delta & 0x3) { in AssembleInstructions() 585 LOG(FATAL) << "PC-rel offset not multiple of 4: " << delta; in AssembleInstructions() [all …]
|
/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 100 …} else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns fa… in assertEquals() 107 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 108 assertEquals(null, expected, actual, delta); in assertEquals() 115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 121 } else if (!(Math.abs(expected-actual) <= delta)) in assertEquals() 128 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument 129 assertEquals(null, expected, actual, delta); in assertEquals()
|
/art/test/021-string2/src/junit/framework/ |
D | Assert.java | 94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument 100 …} else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns fa… in assertEquals() 107 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument 108 assertEquals(null, expected, actual, delta); in assertEquals() 115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument 121 } else if (!(Math.abs(expected-actual) <= delta)) in assertEquals() 128 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument 129 assertEquals(null, expected, actual, delta); in assertEquals()
|
/art/compiler/dex/quick/arm/ |
D | assemble_arm.cc | 1263 int32_t delta = target - pc; in AssembleLIR() local 1269 delta &= ~0x3; in AssembleLIR() 1271 DCHECK_EQ((delta & 0x3), 0); in AssembleLIR() 1273 if (kIsDebugBuild && (((lir->opcode == kThumbAddPcRel) && (delta > 1020)) || in AssembleLIR() 1274 ((lir->opcode == kThumbLdrPcRel) && (delta > 1020)))) { in AssembleLIR() 1276 LOG(FATAL) << "Unexpected pc-rel offset " << delta; in AssembleLIR() 1279 if (((lir->opcode == kThumb2LdrPcRel12) && (delta > 4091)) || in AssembleLIR() 1280 ((lir->opcode == kThumb2LdrdPcRel8) && (delta > 1020)) || in AssembleLIR() 1281 ((lir->opcode == kThumb2Vldrs) && (delta > 1020)) || in AssembleLIR() 1282 ((lir->opcode == kThumb2Vldrd) && (delta > 1020))) { in AssembleLIR() [all …]
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 81 int delta = kCardDirty - biased_byte; in Create() local 82 offset = delta + (delta < 0 ? 0x100 : 0); in Create()
|
D | card_table_test.cc | 106 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), 8U * kCardSize); in TEST_F() local 109 for (byte* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += kCardSize) { in TEST_F() 112 for (byte* cend = HeapLimit() - delta; cend < HeapLimit(); cend += kCardSize) { in TEST_F()
|
/art/compiler/utils/arm/ |
D | assembler_thumb2.h | 548 void Move(int32_t delta) { in Move() argument 550 CHECK_GT(delta, 0); in Move() 551 location_ += delta; in Move() 552 target_ += delta; in Move() 559 bool Relocate(uint32_t oldlocation, int32_t delta) { in Relocate() argument 561 location_ += delta; in Relocate() 565 target_ += delta; in Relocate() 625 int32_t delta = target_ - location_ - 4; in CalculateSize() local 626 if (delta < 0) { in CalculateSize() 627 delta = -delta; in CalculateSize() [all …]
|
/art/compiler/dex/quick/arm64/ |
D | assemble_arm64.cc | 863 int32_t delta = target - pc; in AssembleLIR() local 864 if (!((delta & 0x3) == 0 && IS_SIGNED_IMM19(delta >> 2))) { in AssembleLIR() 867 lir->operands[0] = delta >> 2; in AssembleLIR() 878 int32_t delta = target - pc; in AssembleLIR() local 879 if (!((delta & 0x3) == 0 && IS_SIGNED_IMM19(delta >> 2))) { in AssembleLIR() 882 lir->operands[1] = delta >> 2; in AssembleLIR() 887 int32_t delta; in AssembleLIR() local 891 delta = target_offs - lir->offset; in AssembleLIR() 894 delta = tab->offset + offset_adjustment - lir->offset; in AssembleLIR() 897 delta = lir->operands[1]; in AssembleLIR() [all …]
|
D | int_arm64.cc | 151 int32_t delta = false_val - true_val; in GenSelect() local 152 uint32_t abs_val = delta < 0 ? -delta : delta; in GenSelect() 157 OpRegRegImm(kOpAdd, t_reg2, left_op, delta); in GenSelect()
|
/art/compiler/utils/ |
D | assembler.cc | 94 ptrdiff_t delta = new_contents - contents_; in ExtendCapacity() local 98 cursor_ += delta; in ExtendCapacity()
|
D | assembler.h | 280 int delta = gap_ - ComputeGap(); in ~EnsureCapacity() local 281 CHECK_LE(delta, kMinimumGap); in ~EnsureCapacity()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 881 uintptr_t delta = (end - begin) / n; in RecursiveMark() local 882 delta = RoundUp(delta, KB); in RecursiveMark() 883 if (delta < 16 * KB) delta = end - begin; in RecursiveMark() 884 begin += delta; in RecursiveMark() 1181 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); in ProcessMarkStackParallel() local 1182 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); in ProcessMarkStackParallel() 1183 it += delta; in ProcessMarkStackParallel()
|
/art/compiler/dex/quick/x86/ |
D | assemble_x86.cc | 1617 int delta = 0; in AssembleInstructions() local 1625 delta = target - pc; in AssembleInstructions() 1626 if (IS_SIMM8(delta) != IS_SIMM8(lir->operands[0])) { in AssembleInstructions() 1629 << " delta: " << delta << " old delta: " << lir->operands[0]; in AssembleInstructions() 1642 LOG(INFO) << "Delta " << delta; in AssembleInstructions() 1644 lir->operands[0] = delta; in AssembleInstructions() 1652 int delta = target - pc; in AssembleInstructions() local 1658 LOG(INFO) << "Delta " << delta; in AssembleInstructions() 1660 lir->operands[0] = delta; in AssembleInstructions() 1669 int delta = target - pc; in AssembleInstructions() local [all …]
|
/art/compiler/dex/quick/ |
D | codegen_util.cc | 363 LIR* Mir2Lir::ScanLiteralPool(LIR* data_target, int value, unsigned int delta) { in ScanLiteralPool() argument 365 if ((static_cast<unsigned>(value - data_target->operands[0])) <= delta) in ScanLiteralPool()
|