/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | PrivateAttributeMover.cpp | 31 auto new_end = std::find_if(input_container.begin(), input_container.end(), pred); in move_if() local 32 if (new_end == last) { in move_if() 36 *result = std::move(*new_end); in move_if() 38 auto first = new_end; in move_if() 49 *new_end = std::move(*first); in move_if() 50 ++new_end; in move_if() 54 input_container.erase(new_end, last); in move_if()
|
/aosp12/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 71 uint8_t* new_end; in AllocNonvirtualWithoutAccounting() local 74 new_end = old_end + num_bytes; in AllocNonvirtualWithoutAccounting() 76 if (UNLIKELY(new_end > growth_end_)) { in AllocNonvirtualWithoutAccounting() 79 } while (!end_.CompareAndSetWeakSequentiallyConsistent(old_end, new_end)); in AllocNonvirtualWithoutAccounting()
|
H A D | malloc_space.cc | 155 uint8_t* new_end = original_end + increment; in MoreCore() local 159 CHECK_LE(new_end, Begin() + Capacity()); in MoreCore() 171 CheckedCall(madvise, GetName(), new_end, size, MADV_DONTNEED); in MoreCore() 172 CheckedCall(mprotect, GetName(), new_end, size, PROT_NONE); in MoreCore() 175 SetEnd(new_end); in MoreCore()
|
/aosp12/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 76 const char* new_end = std::find(cur_char, pEnd, '%'); in format() local 77 pOutStr.append(cur_char, new_end); in format() 78 cur_char = new_end; in format()
|
/aosp12/system/core/fastboot/ |
H A D | vendor_boot_img_utils.cpp | 43 if (auto res = CheckAdvance(new_data_ptr_, new_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() 62 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_data_size, __FUNCTION__); in Replace() 74 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_skip, __FUNCTION__); !res.ok()) in Skip() 108 char* new_end() { return new_data_.data() + new_data_.size(); } in new_end() function in __anonf42ad7660110::DataUpdater 114 auto new_end = current + num_bytes; in CheckAdvance() local 115 if (new_end < current /* add overflow */) in CheckAdvance() 118 if (new_end > end) in CheckAdvance()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | space_bitmap.cc | 99 void SpaceBitmap<kAlignment>::SetHeapLimit(uintptr_t new_end) { in SetHeapLimit() argument 100 DCHECK_ALIGNED(new_end, kBitsPerIntPtrT * kAlignment); in SetHeapLimit() 101 size_t new_size = OffsetToIndex(new_end - heap_begin_) * sizeof(intptr_t); in SetHeapLimit() 105 heap_limit_ = new_end; in SetHeapLimit()
|
H A D | space_bitmap.h | 193 void SetHeapLimit(uintptr_t new_end);
|
/aosp12/frameworks/base/tools/aapt2/xml/ |
H A D | XmlUtil.cpp | 84 auto new_end = in Visit() local 87 el->namespace_decls.erase(new_end, el->namespace_decls.end()); in Visit()
|
/aosp12/art/libartbase/base/ |
H A D | mem_map.cc | 700 MemMap MemMap::RemapAtEnd(uint8_t* new_end, in RemapAtEnd() argument 705 return RemapAtEnd(new_end, in RemapAtEnd() 715 MemMap MemMap::RemapAtEnd(uint8_t* new_end, in RemapAtEnd() argument 723 DCHECK_GE(new_end, Begin()); in RemapAtEnd() 724 DCHECK_LE(new_end, End()); in RemapAtEnd() 729 DCHECK_ALIGNED(new_end, kPageSize); in RemapAtEnd() 732 uint8_t* new_base_end = new_end; in RemapAtEnd() 737 size_t new_size = new_end - reinterpret_cast<uint8_t*>(begin_); in RemapAtEnd() 740 size_t tail_size = old_end - new_end; in RemapAtEnd()
|
H A D | leb128_test.cc | 266 const uint8_t* new_end = encoded_data; in TEST() local 267 EXPECT_EQ(DecodeUnsignedLeb128(&new_end), new_value); in TEST() 269 EXPECT_EQ(new_end, old_end); in TEST()
|
H A D | mem_map.h | 272 MemMap RemapAtEnd(uint8_t* new_end, 279 MemMap RemapAtEnd(uint8_t* new_end,
|
/aosp12/art/runtime/mirror/ |
H A D | array-alloc-inl.h | 103 uint8_t* new_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/cmdline/ |
H A D | token_range.h | 409 TokenList::iterator new_end = in RemoveIf() local 411 token_list->erase(new_end, token_list->end()); in RemoveIf()
|
/aosp12/bionic/tools/versioner/src/ |
H A D | versioner.cpp | 143 auto new_end = std::remove_if(headers.begin(), headers.end(), [&arch](llvm::StringRef header) { in collectRequirements() local 156 headers.erase(new_end, headers.end()); in collectRequirements()
|
/aosp12/system/apex/apexd/ |
H A D | apexd.cpp | 1423 auto new_end = std::remove_if( in CalculateInactivePackages() local 1430 inactive.erase(new_end, inactive.end()); in CalculateInactivePackages() 3368 auto new_end = std::remove_if( in OnOtaChrootBootstrap() local 3376 inactive_apexes.erase(new_end, inactive_apexes.end()); in OnOtaChrootBootstrap()
|