Searched defs:delta (Results 1 - 23 of 23) sorted by relevance

/art/runtime/
H A Dbarrier.cc44 void Barrier::Increment(Thread* self, int delta) { argument
46 SetCountLocked(self, count_ + delta);
60 void Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { argument
62 SetCountLocked(self, count_ + delta);
H A Dimage.cc62 void ImageHeader::RelocateImage(off_t delta) { argument
63 CHECK_ALIGNED(delta, kPageSize) << " patch delta must be page aligned";
64 image_begin_ += delta;
65 oat_file_begin_ += delta;
66 oat_data_begin_ += delta;
67 oat_data_end_ += delta;
68 oat_file_end_ += delta;
69 image_roots_ += delta;
70 patch_delta_ += delta;
[all...]
H A Doat.cc370 void OatHeader::RelocateOat(off_t delta) { argument
372 CHECK_ALIGNED(delta, kPageSize);
373 image_patch_delta_ += delta;
375 image_file_location_oat_data_begin_ += delta;
H A Dthread.cc630 void Thread::ModifySuspendCount(Thread* self, int delta, bool for_debugger) { argument
632 DCHECK(delta == -1 || delta == +1 || delta == -tls32_.debug_suspend_count)
633 << delta << " " << tls32_.debug_suspend_count << " " << this;
640 if (UNLIKELY(delta < 0 && tls32_.suspend_count <= 0)) {
645 tls32_.suspend_count += delta;
647 tls32_.debug_suspend_count += delta;
/art/patchoat/
H A Dpatchoat.h43 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) argument
55 : oat_file_(oat_file), delta_(delta), timings_(timings) {}
57 MemMap* heap, off_t delta, TimingLogger* timings)
59 delta_(delta), timings_(timings) {}
61 MemMap* heap, off_t delta, TimingLogger* timings)
63 delta_(delta), timings_(timings) {}
56 PatchOat(MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
60 PatchOat(ElfFile* oat_file, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
H A Dpatchoat.cc111 bool PatchOat::Patch(const std::string& image_location, off_t delta, argument
175 delta, timings);
189 bool PatchOat::Patch(const File* input_oat, const std::string& image_location, off_t delta, argument
271 delta, timings);
444 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings) { argument
459 PatchOat p(elf.release(), delta, timings);
693 UsageError(" --base-offset-delta=<delta>: Specify the amount to change the old base-offset by.");
696 UsageError(" --patched-image-file=<file.art>: Use the same patch delta as was used to patch");
699 UsageError(" --patched-image-location=<file.art>: Use the same patch delta a
716 ReadBaseDelta(const char* name, off_t* delta, std::string* error_msg) argument
[all...]
/art/runtime/gc/accounting/
H A Dcard_table_test.cc106 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), 8U * kCardSize); local
109 for (byte* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += kCardSize) {
112 for (byte* cend = HeapLimit() - delta; cend < HeapLimit(); cend += kCardSize) {
H A Dcard_table.cc81 int delta = kCardDirty - biased_byte; local
82 offset = delta + (delta < 0 ? 0x100 : 0);
/art/test/021-string2/src/junit/framework/
H A DAssert.java90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) { argument
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) { argument
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta valu
115 assertEquals(String message, float expected, float actual, float delta) argument
128 assertEquals(float expected, float actual, float delta) argument
[all...]
/art/test/082-inline-execute/src/junit/framework/
H A DAssert.java90 * Asserts that two doubles are equal concerning a delta. If they are not
92 * value is infinity then the delta value is ignored.
94 static public void assertEquals(String message, double expected, double actual, double delta) { argument
100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false
104 * Asserts that two doubles are equal concerning a delta. If the expected
105 * value is infinity then the delta value is ignored.
107 static public void assertEquals(double expected, double actual, double delta) { argument
108 assertEquals(null, expected, actual, delta);
111 * Asserts that two floats are equal concerning a delta. If they are not
113 * value is infinity then the delta valu
115 assertEquals(String message, float expected, float actual, float delta) argument
128 assertEquals(float expected, float actual, float delta) argument
[all...]
/art/compiler/dex/quick/arm/
H A Dassemble_arm.cc1263 int32_t delta = target - pc; local
1269 delta &= ~0x3;
1271 DCHECK_EQ((delta & 0x3), 0);
1273 if (kIsDebugBuild && (((lir->opcode == kThumbAddPcRel) && (delta > 1020)) ||
1274 ((lir->opcode == kThumbLdrPcRel) && (delta > 1020)))) {
1276 LOG(FATAL) << "Unexpected pc-rel offset " << delta;
1279 if (((lir->opcode == kThumb2LdrPcRel12) && (delta > 4091)) ||
1280 ((lir->opcode == kThumb2LdrdPcRel8) && (delta > 1020)) ||
1281 ((lir->opcode == kThumb2Vldrs) && (delta > 1020)) ||
1282 ((lir->opcode == kThumb2Vldrd) && (delta > 102
1343 int32_t delta = target - pc; local
1409 int32_t delta = 0; local
1431 int32_t delta = target - pc; local
1448 int32_t delta = target - pc; local
1481 int32_t delta = target - cur_pc; local
1494 int32_t delta = target - cur_pc; local
[all...]
/art/compiler/dex/quick/arm64/
H A Dassemble_arm64.cc863 int32_t delta = target - pc; local
864 if (!((delta & 0x3) == 0 && IS_SIGNED_IMM19(delta >> 2))) {
867 lir->operands[0] = delta >> 2;
878 int32_t delta = target - pc; local
879 if (!((delta & 0x3) == 0 && IS_SIGNED_IMM19(delta >> 2))) {
882 lir->operands[1] = delta >> 2;
887 int32_t delta; local
891 delta
[all...]
H A Dint_arm64.cc151 int32_t delta = false_val - true_val; local
152 uint32_t abs_val = delta < 0 ? -delta : delta;
157 OpRegRegImm(kOpAdd, t_reg2, left_op, delta);
/art/compiler/dex/quick/mips/
H A Dassemble_mips.cc534 * found in operands[0]. The delta is determined by
544 int delta = offset2 - offset1; local
545 if ((delta & 0xffff) == delta && ((delta & 0x8000) == 0)) {
547 lir->operands[1] = delta;
571 int delta = offset2 - offset1; local
572 lir->operands[1] = delta & 0xffff;
577 int delta = offset2 - offset1; local
578 lir->operands[1] = (delta >> 1
583 int delta = target - pc; local
597 int delta = target - pc; local
611 int delta = target - pc; local
[all...]
/art/compiler/utils/
H A Dassembler.cc93 // Compute the relocation delta and switch to the new contents area.
94 ptrdiff_t delta = new_contents - contents_; local
98 cursor_ += delta;
H A Dassembler.h280 int delta = gap_ - ComputeGap(); local
281 CHECK_LE(delta, kMinimumGap);
/art/compiler/utils/arm/
H A Dassembler_thumb2.h548 void Move(int32_t delta) { argument
550 CHECK_GT(delta, 0);
551 location_ += delta;
552 target_ += delta;
555 // Relocate a branch by a given delta. This changed the location and
559 bool Relocate(uint32_t oldlocation, int32_t delta) { argument
561 location_ += delta;
565 target_ += delta;
625 int32_t delta = target_ - location_ - 4; local
626 if (delta <
[all...]
H A Dassembler_thumb2.cc2077 void Thumb2Assembler::MakeHoleForBranch(uint32_t location, uint32_t delta) { argument
2080 buffer_.Move(location + delta, location);
/art/compiler/dex/quick/x86/
H A Dassemble_x86.cc1617 int delta = 0; local
1625 delta = target - pc;
1626 if (IS_SIMM8(delta) != IS_SIMM8(lir->operands[0])) {
1629 << " delta: " << delta << " old delta: " << lir->operands[0];
1642 LOG(INFO) << "Delta " << delta;
1644 lir->operands[0] = delta;
1652 int delta = target - pc; local
1658 LOG(INFO) << "Delta " << delta;
1669 int delta = target - pc; local
1677 int delta = 0; local
1711 int delta = target - pc; local
[all...]
H A Dint_x86.cc569 uint64_t delta; local
584 delta = abs_d - remainder2;
585 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0));
/art/compiler/dex/quick/
H A Dcodegen_util.cc361 * within specified delta (greater or equal to 0).
363 LIR* Mir2Lir::ScanLiteralPool(LIR* data_target, int value, unsigned int delta) { argument
365 if ((static_cast<unsigned>(value - data_target->operands[0])) <= delta)
/art/runtime/gc/collector/
H A Dmark_sweep.cc881 uintptr_t delta = (end - begin) / n; local
882 delta = RoundUp(delta, KB);
883 if (delta < 16 * KB) delta = end - begin;
884 begin += delta;
1181 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); local
1182 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it));
1183 it += delta;
/art/runtime/gc/
H A Dheap.cc2874 intptr_t delta = bytes_allocated / GetTargetHeapUtilization() - bytes_allocated; local
2875 CHECK_GE(delta, 0);
2876 target_size = bytes_allocated + delta * multiplier;

Completed in 3188 milliseconds