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

12

/art/compiler/
H A Delf_writer_test.cc134 constexpr int32_t delta = 0x11235813; local
151 *reinterpret_cast<UnalignedAddress*>(expected.data() + location) += delta;
157 oat_patches.data(), oat_patches.data() + oat_patches.size(), delta,
/art/compiler/optimizing/
H A Dcode_generator_utils.cc71 uint64_t delta; local
86 delta = abs_d - remainder2;
87 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0));
/art/runtime/
H A Dbarrier.cc46 void Barrier::Increment(Thread* self, int delta) { argument
48 SetCountLocked(self, count_ + delta);
62 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { argument
64 SetCountLocked(self, count_ + delta);
H A Dstride_iterator.h58 StrideIterator operator+(ssize_t delta) const {
60 temp += delta;
64 StrideIterator& operator+=(ssize_t delta) { argument
65 ptr_ += static_cast<ssize_t>(stride_) * delta;
H A Dtype_lookup_table.cc131 const uint32_t delta = (next_pos >= pos) ? (next_pos - pos) : (next_pos + Size() - pos); local
132 entries_[pos].next_pos_delta = delta;
H A Dimage.cc80 void ImageHeader::RelocateImage(off_t delta) { argument
81 CHECK_ALIGNED(delta, kPageSize) << " patch delta must be page aligned";
82 oat_file_begin_ += delta;
83 oat_data_begin_ += delta;
84 oat_data_end_ += delta;
85 oat_file_end_ += delta;
86 patch_delta_ += delta;
87 RelocateImageObjects(delta);
88 RelocateImageMethods(delta);
91 RelocateImageObjects(off_t delta) argument
96 RelocateImageMethods(off_t delta) argument
[all...]
H A Dthread-inl.h359 int delta,
362 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) {
363 // When delta > 0 (requesting a suspend), ModifySuspendCountInternal() may fail either if
366 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, for_debugger))) {
385 return ModifySuspendCountInternal(self, delta, suspend_barrier, for_debugger);
358 ModifySuspendCount(Thread* self, int delta, AtomicInteger* suspend_barrier, bool for_debugger) argument
H A Doat.cc137 return "Image patch delta not page-aligned.";
354 void OatHeader::RelocateOat(off_t delta) { argument
356 CHECK_ALIGNED(delta, kPageSize);
357 image_patch_delta_ += delta;
359 image_file_location_oat_data_begin_ += delta;
H A Dmem_map.cc853 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; local
855 if (delta >= length) {
H A Delf_file.cc1370 const char* target_section_name, Elf_Addr delta) {
1388 delta, local
1397 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
1404 *reinterpret_cast<UnalignedAddress*>(to_patch) += delta;
1369 ApplyOatPatchesTo( const char* target_section_name, Elf_Addr delta) argument
1396 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 DAssert.java94 * 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 DAssert.java94 * 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/runtime/gc/accounting/
H A Dcard_table.cc84 int delta = kCardDirty - biased_byte; local
85 offset = delta + (delta < 0 ? 0x100 : 0);
H A Dcard_table_test.cc109 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/test/004-checker-UnsafeTest18/src/
H A DMain.java78 private static int add32(Object o, long offset, int delta) { argument
79 return unsafe.getAndAddInt(o, offset, delta);
85 private static long add64(Object o, long offset, long delta) { argument
86 return unsafe.getAndAddLong(o, offset, delta);
/art/tools/ahat/src/
H A DDocString.java136 public static DocString delta(boolean noCurrent, boolean noBaseline, method in class:DocString
/art/compiler/debug/dwarf/
H A Ddebug_frame_opcode_writer.h50 int delta = FactorCodeOffset(absolute_pc - current_pc_); local
51 if (delta != 0) {
52 if (delta <= 0x3F) {
53 this->PushUint8(DW_CFA_advance_loc | delta);
54 } else if (delta <= UINT8_MAX) {
56 this->PushUint8(delta);
57 } else if (delta <= UINT16_MAX) {
59 this->PushUint16(delta);
62 this->PushUint32(delta);
78 void ALWAYS_INLINE AdjustCFAOffset(int delta) { argument
[all...]
H A Ddebug_line_opcode_writer.h51 uint64_t delta = FactorCodeOffset(absolute_address - current_address_); local
52 if (delta <= INT32_MAX) {
54 this->PushUleb128(static_cast<int>(delta));
63 int delta = absolute_line - current_line_; local
64 if (delta != 0) {
66 this->PushSleb128(delta);
/art/patchoat/
H A Dpatchoat.h48 off_t delta,
59 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
62 delta_(delta), isa_(isa), space_map_(map), timings_(timings) {}
58 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* map, TimingLogger* timings) argument
H A Dpatchoat.cc121 off_t delta,
254 delta,
723 UsageError(" --base-offset-delta=<delta>: Specify the amount to change the old base-offset by.");
747 Usage("Must supply a desired new offset or delta.");
751 Usage("Base offset/delta must be aligned to a pagesize (0x%08x) boundary.", kPageSize);
816 } else if (option.starts_with("--base-offset-delta=")) {
817 const char* base_delta_str = option.substr(strlen("--base-offset-delta=")).data();
820 Usage("Failed to parse --base-offset-delta argument '%s' as an off_t", base_delta_str);
120 Patch(const std::string& image_location, off_t delta, const std::string& output_directory, InstructionSet isa, TimingLogger* timings) argument
/art/runtime/base/
H A Dhash_set_test.cc232 size_t delta = std::abs(static_cast<ssize_t>(target_size) - local
240 } else if (n % target_size < delta) {
/art/compiler/utils/
H A Dassembler.h205 int delta = gap_ - ComputeGap(); local
206 CHECK_LE(delta, kMinimumGap);
/art/compiler/utils/x86/
H A Dassembler_x86.cc2434 uint8_t delta = buffer_.Load<uint8_t>(position); local
2438 label->position_ = delta != 0u ? label->position_ - delta : 0;
2513 // Save the delta in the byte that we have to play with.
2514 uint32_t delta = position - label->LinkPosition(); local
2515 CHECK(IsUint<8>(delta));
2516 EmitUint8(delta & 0xFF);
/art/runtime/gc/collector/
H A Dmark_sweep.cc1032 uintptr_t delta = (end - begin) / n; local
1033 delta = RoundUp(delta, KB);
1034 if (delta < 16 * KB) delta = end - begin;
1035 begin += delta;
1376 const size_t delta = std::min(static_cast<size_t>(end - it), chunk_size); local
1377 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it));
1378 it += delta;
/art/runtime/openjdkjvmti/
H A Dti_redefine.cc966 RedefinitionDataIter operator+(ssize_t delta) const {
968 temp += delta;
972 RedefinitionDataIter& operator+=(ssize_t delta) { argument
973 idx_ += delta;

Completed in 392 milliseconds

12