Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 39) sorted by relevance

12

/art/runtime/
Dimage.cc79 void ImageHeader::RelocateImageReferences(int64_t delta) { in RelocateImageReferences() argument
80 CHECK_ALIGNED(delta, kPageSize) << "relocation delta must be page aligned"; in RelocateImageReferences()
81 oat_file_begin_ += delta; in RelocateImageReferences()
82 oat_data_begin_ += delta; in RelocateImageReferences()
83 oat_data_end_ += delta; in RelocateImageReferences()
84 oat_file_end_ += delta; in RelocateImageReferences()
85 image_begin_ += delta; in RelocateImageReferences()
86 image_roots_ += delta; in RelocateImageReferences()
89 void ImageHeader::RelocateBootImageReferences(int64_t delta) { in RelocateBootImageReferences() argument
90 CHECK_ALIGNED(delta, kPageSize) << "relocation delta must be page aligned"; in RelocateBootImageReferences()
[all …]
Dbarrier.cc35 template void Barrier::Increment<Barrier::kAllowHoldingLocks>(Thread* self, int delta);
36 template void Barrier::Increment<Barrier::kDisallowHoldingLocks>(Thread* self, int delta);
53 void Barrier::Increment(Thread* self, int delta) { in Increment() argument
55 SetCountLocked(self, count_ + delta); in Increment()
73 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment() argument
75 SetCountLocked(self, count_ + delta); in Increment()
Dbarrier.h67 void Increment(Thread* self, int delta) REQUIRES(!GetLock());
71 bool Increment(Thread* self, int delta, uint32_t timeout_ms) REQUIRES(!GetLock());
Dthread-inl.h360 int delta, in ModifySuspendCount() argument
363 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) { in ModifySuspendCount()
367 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
386 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()
/art/libartbase/base/
Dstride_iterator.h72 StrideIterator& operator+=(difference_type delta) {
73 ptr_ += static_cast<ssize_t>(stride_) * delta;
77 StrideIterator operator+(difference_type delta) const {
79 temp += delta;
83 StrideIterator& operator-=(difference_type delta) {
84 ptr_ -= static_cast<ssize_t>(stride_) * delta;
88 StrideIterator operator-(difference_type delta) const {
90 temp -= delta;
/art/compiler/optimizing/
Dcode_generator_utils.cc72 uint64_t delta; in CalculateMagicAndShiftForDivRem() local
87 delta = abs_d - remainder2; in CalculateMagicAndShiftForDivRem()
88 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0)); in CalculateMagicAndShiftForDivRem()
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h50 int delta = FactorCodeOffset(absolute_pc - current_pc_); in AdvancePC() local
51 if (delta != 0) { in AdvancePC()
52 if (delta <= 0x3F) { in AdvancePC()
53 this->PushUint8(DW_CFA_advance_loc | delta); in AdvancePC()
54 } else if (delta <= UINT8_MAX) { in AdvancePC()
56 this->PushUint8(delta); in AdvancePC()
57 } else if (delta <= UINT16_MAX) { in AdvancePC()
59 this->PushUint16(delta); in AdvancePC()
62 this->PushUint32(delta); in AdvancePC()
78 void ALWAYS_INLINE AdjustCFAOffset(int delta) { in AdjustCFAOffset() argument
[all …]
Ddebug_line_opcode_writer.h51 uint64_t delta = FactorCodeOffset(absolute_address - current_address_); in AdvancePC() local
52 if (delta <= INT32_MAX) { in AdvancePC()
54 this->PushUleb128(static_cast<int>(delta)); in AdvancePC()
63 int delta = absolute_line - current_line_; in AdvanceLine() local
64 if (delta != 0) { in AdvanceLine()
66 this->PushSleb128(delta); in AdvanceLine()
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DBranchShifter.java120 int delta = 0; in generateMutation() local
125 delta = 0; in generateMutation()
126 while (delta == 0) { in generateMutation()
127 delta = (rng.nextInt(5) - 2); in generateMutation()
130 newTargetIdx = oldTargetInsnIdx + delta; in generateMutation()
DSwitchBranchShifter.java121 int delta = 0; in generateMutation() local
126 delta = 0; in generateMutation()
127 while (delta == 0) { in generateMutation()
128 delta = (rng.nextInt(5) - 2); in generateMutation()
131 newTargetIdx = oldTargetInsnIdx + delta; in generateMutation()
DTryBlockShifter.java145 int delta = 0; in generateMutation() local
150 delta = 0; in generateMutation()
151 while (delta == 0) { in generateMutation()
152 delta = (rng.nextInt(5) - 2); in generateMutation()
155 newInsnIdx = oldInsnIdx + delta; in generateMutation()
DInstructionSwapper.java100 int delta = rng.nextInt(5) - 1; in generateMutation() local
102 if (delta == 0) { in generateMutation()
106 swapWithInsnIdx = swapInsnIdx + delta; in generateMutation()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java98 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument
101 if (!(Math.abs(expected-actual) <= delta)) in assertEquals()
108 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument
109 assertEquals(null, expected, actual, delta); in assertEquals()
116 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument
119 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
126 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument
127 assertEquals(null, expected, actual, delta); in assertEquals()
/art/test/021-string2/src/junit/framework/
DAssert.java98 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument
101 if (!(Math.abs(expected-actual) <= delta)) in assertEquals()
108 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() argument
109 assertEquals(null, expected, actual, delta); in assertEquals()
116 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument
119 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
126 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() argument
127 assertEquals(null, expected, actual, delta); in assertEquals()
/art/runtime/gc/accounting/
Dcard_table.cc87 int delta = kCardDirty - biased_byte; in Create() local
88 offset = delta + (delta < 0 ? 0x100 : 0); in Create()
Dcard_table_test.cc110 const size_t delta = std::min(static_cast<size_t>(HeapLimit() - HeapBegin()), in TEST_F() local
114 …for (uint8_t* cstart = HeapBegin(); cstart < HeapBegin() + delta; cstart += CardTable::kCardSize) { in TEST_F()
117 for (uint8_t* cend = HeapLimit() - delta; cend < HeapLimit(); cend += CardTable::kCardSize) { in TEST_F()
/art/tools/ahat/src/main/com/android/ahat/
DSizeTable.java66 vals.add(DocString.delta(false, false, size.getJavaSize(), base.getJavaSize())); in row()
68 vals.add(DocString.delta(false, false, in row()
71 vals.add(DocString.delta(false, false, size.getSize(), base.getSize())); in row()
DHeapTable.java94 vals.add(DocString.delta(elem.isPlaceHolder(), base.isPlaceHolder(), size, basesize)); in render()
97 vals.add(DocString.delta(elem.isPlaceHolder(), base.isPlaceHolder(), total, basetotal)); in render()
134 vals.add(DocString.delta(false, false, size, basesize)); in render()
137 vals.add(DocString.delta(false, false, total, basetotal)); in render()
DObjectHandler.java135 DocString delta = new DocString(); in printArrayElements() local
139 delta.append("was "); in printArrayElements()
140 delta.append(Summarizer.summarize(previous)); in printArrayElements()
143 doc.row(DocString.format("%d", i), Summarizer.summarize(current), delta); in printArrayElements() local
/art/test/165-lock-owner-proxy/src/
DMain.java88 long delta = 10 * 1000; // 10 us. in run() local
92 } while (elapsed - start < delta); in run()
/art/test/004-checker-UnsafeTest18/src/
DMain.java78 private static int add32(Object o, long offset, int delta) { in add32() argument
79 return unsafe.getAndAddInt(o, offset, delta); in add32()
85 private static long add64(Object o, long offset, long delta) { in add64() argument
86 return unsafe.getAndAddLong(o, offset, delta); in add64()
/art/libdexfile/dex/
Dcompact_offset_table.cc116 uint32_t delta = offset - prev_offset; in Build() local
117 EncodeUnsignedLeb128(out_data, delta); in Build()
/art/test/923-monitors/src/art/
DTest923.java268 long delta = end - System.currentTimeMillis(); in startWatchdog()
269 if (delta <= 0) { in startWatchdog()
274 Thread.currentThread().sleep(delta); in startWatchdog()
/art/compiler/utils/
Dassembler.h205 int delta = gap_ - ComputeGap(); in ~EnsureCapacity() local
206 CHECK_LE(delta, kMinimumGap); in ~EnsureCapacity()
/art/runtime/gc/collector/
Dmark_sweep.cc1057 uintptr_t delta = (end - begin) / n; in RecursiveMark() local
1058 delta = RoundUp(delta, KB); in RecursiveMark()
1059 if (delta < 16 * KB) delta = end - begin; in RecursiveMark()
1060 begin += delta; in RecursiveMark()
1400 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); in ProcessMarkStackParallel() local
1401 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); in ProcessMarkStackParallel()
1402 it += delta; in ProcessMarkStackParallel()

12