/art/compiler/ |
H A D | elf_writer_test.cc | 134 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 D | code_generator_utils.cc | 71 uint64_t delta; local 86 delta = abs_d - remainder2; 87 } while (quotient1 < delta || (quotient1 == delta && remainder1 == 0));
|
/art/runtime/ |
H A D | barrier.cc | 46 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 D | stride_iterator.h | 58 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 D | type_lookup_table.cc | 131 const uint32_t delta = (next_pos >= pos) ? (next_pos - pos) : (next_pos + Size() - pos); local 132 entries_[pos].next_pos_delta = delta;
|
H A D | image.cc | 80 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 D | thread-inl.h | 359 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 D | oat.cc | 137 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 D | mem_map.cc | 853 size_t delta = reinterpret_cast<uintptr_t>(it->first) - ptr; local 855 if (delta >= length) {
|
H A D | elf_file.cc | 1370 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 D | Assert.java | 94 * 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 D | Assert.java | 94 * 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 D | card_table.cc | 84 int delta = kCardDirty - biased_byte; local 85 offset = delta + (delta < 0 ? 0x100 : 0);
|
H A D | card_table_test.cc | 109 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 D | Main.java | 78 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 D | DocString.java | 136 public static DocString delta(boolean noCurrent, boolean noBaseline, method in class:DocString
|
/art/compiler/debug/dwarf/ |
H A D | debug_frame_opcode_writer.h | 50 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 D | debug_line_opcode_writer.h | 51 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 D | patchoat.h | 48 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 D | patchoat.cc | 121 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 D | hash_set_test.cc | 232 size_t delta = std::abs(static_cast<ssize_t>(target_size) - local 240 } else if (n % target_size < delta) {
|
/art/compiler/utils/ |
H A D | assembler.h | 205 int delta = gap_ - ComputeGap(); local 206 CHECK_LE(delta, kMinimumGap);
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 2434 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 D | mark_sweep.cc | 1032 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 D | ti_redefine.cc | 966 RedefinitionDataIter operator+(ssize_t delta) const { 968 temp += delta; 972 RedefinitionDataIter& operator+=(ssize_t delta) { argument 973 idx_ += delta;
|