Searched refs:old_end (Results 1 – 7 of 7) sorted by relevance
/aosp12/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 70 uint8_t* old_end; in AllocNonvirtualWithoutAccounting() local 73 old_end = end_.load(std::memory_order_relaxed); in AllocNonvirtualWithoutAccounting() 74 new_end = old_end + num_bytes; in AllocNonvirtualWithoutAccounting() 79 } while (!end_.CompareAndSetWeakSequentiallyConsistent(old_end, new_end)); in AllocNonvirtualWithoutAccounting() 80 return reinterpret_cast<mirror::Object*>(old_end); in AllocNonvirtualWithoutAccounting()
|
/aosp12/art/runtime/mirror/ |
H A D | array-alloc-inl.h | 101 uint8_t* old_end = reinterpret_cast<uint8_t*>(array->GetRawData(1U << component_size_shift_, in operator() local 106 memset(old_end, 0, new_end - old_end); in operator()
|
/aosp12/art/libartbase/base/ |
H A D | leb128.h | 274 const uint8_t* old_end = dest; in UpdateUnsignedLeb128() local 275 uint32_t old_value = DecodeUnsignedLeb128(&old_end); in UpdateUnsignedLeb128() 277 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128()
|
H A D | leb128_test.cc | 264 uint8_t* old_end = EncodeUnsignedLeb128(encoded_data, old_value); in TEST() local 269 EXPECT_EQ(new_end, old_end); in TEST()
|
H A D | mem_map.cc | 730 uint8_t* old_end = begin_ + size_; in RemapAtEnd() local 740 size_t tail_size = old_end - new_end; in RemapAtEnd()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | extent_ranges.cc | 320 uint64_t old_end = extent.start_block() + extent.num_blocks(); in FilterExtentRanges() local 321 if (new_start >= old_end) { in FilterExtentRanges() 325 extent = ExtentForRange(new_start, old_end - new_start); in FilterExtentRanges()
|
/aosp12/system/core/fastboot/ |
H A D | vendor_boot_img_utils.cpp | 41 if (auto res = CheckAdvance(old_data_ptr_, old_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() 56 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_num_bytes, __FUNCTION__); in Replace() 71 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_skip, __FUNCTION__); !res.ok()) in Skip() 105 const char* old_end() const { return old_data_->data() + old_data_->size(); } in old_end() function in __anonf42ad7660110::DataUpdater
|