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

12

/art/compiler/optimizing/
H A Dcode_generator_utils.cc72 uint64_t delta; local
87 delta = abs_d - remainder2;
88 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0));
/art/dex2oat/linker/
H A Delf_writer_test.cc136 constexpr int32_t delta = 0x11235813; local
153 *reinterpret_cast<UnalignedAddress*>(expected.data() + location) += delta;
159 oat_patches.data(), oat_patches.data() + oat_patches.size(), delta,
/art/runtime/
H A Dbarrier.cc34 template void Barrier::Increment<Barrier::kAllowHoldingLocks>(Thread* self, int delta);
35 template void Barrier::Increment<Barrier::kDisallowHoldingLocks>(Thread* self, int delta);
52 void Barrier::Increment(Thread* self, int delta) { argument
54 SetCountLocked(self, count_ + delta);
72 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { argument
74 SetCountLocked(self, count_ + 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.h356 int delta,
359 if (delta > 0 && ((kUseReadBarrier && this != self) || suspend_barrier != nullptr)) {
360 // When delta > 0 (requesting a suspend), ModifySuspendCountInternal() may fail either if
363 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) {
382 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason);
355 ModifySuspendCount(Thread* self, int delta, AtomicInteger* suspend_barrier, SuspendReason reason) argument
H A Doat.cc139 return "Image patch delta not page-aligned.";
370 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 Dmem_map.cc926 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; local
928 if (delta >= length) {
/art/libdexfile/dex/
H A Dcompact_offset_table.cc116 uint32_t delta = offset - prev_offset; local
117 EncodeUnsignedLeb128(out_data, delta);
/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/libartbase/base/
H A Dstride_iterator.h72 StrideIterator& operator+=(difference_type delta) { argument
73 ptr_ += static_cast<ssize_t>(stride_) * delta;
77 StrideIterator operator+(difference_type delta) const {
79 temp += delta;
83 StrideIterator& operator-=(difference_type delta) { argument
84 ptr_ -= static_cast<ssize_t>(stride_) * delta;
88 StrideIterator operator-(difference_type delta) const {
90 temp -= delta;
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/runtime/gc/accounting/
H A Dcard_table.cc85 int delta = kCardDirty - biased_byte; local
86 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/main/com/android/ahat/
H A DDocString.java152 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.h51 off_t delta,
76 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
79 delta_(delta), isa_(isa), space_map_(map), timings_(timings) {}
75 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.cc173 // Each element is represented as the delta from the previous offset in the list (first element
174 // is a delta from 0). Each delta is encoded using unsigned LEB128: little-endian
204 *error_msg = "Relocation delta is 0";
342 *error_msg = StringPrintf("Unsuported patch delta of zero in %s",
356 // Each offset is encoded as a delta/diff relative to the previous offset. With the
459 off_t delta,
470 if ((output_image_relocation) && (delta == 0)) {
471 LOG(ERROR) << "Cannot output image relocation information when requested relocation delta is 0";
544 delta,
458 Patch(const std::string& image_location, off_t delta, const std::string& output_image_directory, const std::string& output_image_relocation_directory, InstructionSet isa, TimingLogger* timings) argument
[all...]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DParser.java884 * Skip ahead in the file by the given delta bytes. Delta may be negative
887 public void skip(int delta) { argument
888 seek(tell() + delta);
/art/compiler/utils/
H A Dassembler.h206 int delta = gap_ - ComputeGap(); local
207 CHECK_LE(delta, kMinimumGap);
/art/compiler/utils/mips/
H A Dassembler_mips.h159 void AdjustBoundPosition(int delta) { argument
162 position_ -= delta;
1627 // Relocate a branch by a given delta if needed due to expansion of this or another
1628 // branch at a given location by this delta (just changes location_ and target_).
1629 void Relocate(uint32_t expand_location, uint32_t delta);
/art/openjdkjvmti/
H A Dti_redefine.cc1018 RedefinitionDataIter operator+(ssize_t delta) const {
1020 temp += delta;
1024 RedefinitionDataIter& operator+=(ssize_t delta) { argument
1025 idx_ += delta;

Completed in 1818 milliseconds

12