Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 15 of 15) sorted by relevance

/art/test/utils/python/testgen/
Dutils.py74 prev = list(prevt)
75 yield tuple([1] + prev)
76 for i in range(len(prev)):
77 prev[i] += 1
78 yield tuple(prev)
79 prev[i] -= 1
/art/compiler/utils/
Dswap_space.cc187 auto prev = it; in Free() local
188 --prev; in Free()
189 CHECK_LE(prev->End(), chunk.Start()); in Free()
190 if (prev->End() == chunk.Start()) { in Free()
192 chunk.size += prev->size; in Free()
193 chunk.ptr -= prev->size; in Free()
194 auto erase_pos = free_by_size_.find(FreeBySizeEntry { prev->size, prev }); in Free()
/art/libartbase/base/
Dintrusive_forward_list.h291 iterator prev = before_begin(); in remove_if() local
294 erase_after(prev); in remove_if()
295 current = prev; in remove_if()
297 prev = current; in remove_if()
307 iterator prev = begin(); in unique() local
308 iterator current = prev; in unique()
311 if (pred(*prev, *current)) { in unique()
312 erase_after(prev); in unique()
313 current = prev; in unique()
315 prev = current; in unique()
[all …]
/art/runtime/
Dreference_table.cc296 SummaryElement prev; in Dump() local
301 if (UNLIKELY(prev.root.IsNull())) { in Dump()
302 prev.Reset(root); in Dump()
306 ObjPtr<mirror::Object> prevObj = prev.root.Read<kWithoutReadBarrier>(); in Dump()
309 ++prev.identical; in Dump()
313 ++prev.equiv; in Dump()
315 sorted_summaries.push_back(prev); in Dump()
316 prev.Reset(root); in Dump()
318 prev.root = root; in Dump()
320 sorted_summaries.push_back(prev); in Dump()
Dreflective_handle_scope-inl.h64 auto* prev = self_->PopReflectiveHandleScope(); in PopScope() local
65 CHECK_EQ(prev, this); in PopScope()
Dthread.cc560 FrameIdToShadowFrame* prev = head; in RemoveDebuggerShadowFrameMapping() local
563 prev = record, record = record->GetNext()) { in RemoveDebuggerShadowFrameMapping()
565 prev->SetNext(record->GetNext()); in RemoveDebuggerShadowFrameMapping()
/art/runtime/base/
Dquasi_atomic.h110 int64_t prev; in Write64()
116 : "=&r" (prev), "=&r" (status), "+Q"(*addr) in Write64()
/art/runtime/jit/
Ddebugger_interface.cc281 const JITCodeEntry* prev = (next != nullptr ? next->prev_ : descriptor.tail_); in InsertNewEntry() local
284 writable->prev_ = prev; in InsertNewEntry()
293 if (prev != nullptr) { in InsertNewEntry()
294 NativeInfo::Writable(prev)->next_.store(entry, std::memory_order_release); in InsertNewEntry()
373 const JITCodeEntry* prev = entry->prev_; in DeleteJITCodeEntryInternal() local
375 NativeInfo::Writable(next)->prev_ = prev; in DeleteJITCodeEntryInternal()
377 descriptor.tail_ = prev; in DeleteJITCodeEntryInternal()
379 if (prev != nullptr) { in DeleteJITCodeEntryInternal()
380 NativeInfo::Writable(prev)->next_.store(next, std::memory_order_relaxed); in DeleteJITCodeEntryInternal()
/art/compiler/optimizing/
Dload_store_elimination.cc514 HInstruction* prev = instruction->GetPrevious(); in TryRemovingNullCheck() local
515 if ((prev != nullptr) && prev->IsNullCheck() && (prev == instruction->InputAt(0))) { in TryRemovingNullCheck()
517 prev->ReplaceWith(prev->InputAt(0)); in TryRemovingNullCheck()
518 prev->GetBlock()->RemoveInstruction(prev); in TryRemovingNullCheck()
Dcode_generator_arm64.cc2426 vixl::aarch64::Instruction* prev = in VisitMultiplyAccumulate() local
2428 if (prev->IsLoadOrStore()) { in VisitMultiplyAccumulate()
/art/libelffile/elf/
Delf_builder.h886 Elf_Phdr& prev = phdrs.back(); in MakeProgramHeaders() local
895 if (prev.p_type == load.p_type && in MakeProgramHeaders()
896 prev.p_flags == load.p_flags && in MakeProgramHeaders()
897 prev.p_filesz == prev.p_memsz && // Do not merge .bss in MakeProgramHeaders()
900 Elf_Word size = shdr.sh_offset + shdr.sh_size - prev.p_offset; in MakeProgramHeaders()
901 prev.p_filesz = size; in MakeProgramHeaders()
902 prev.p_memsz = size; in MakeProgramHeaders()
/art/libdexfile/external/
Ddex_file_ext.cc161 if (std::prev(it)->second == it->second) { in GetClassDefIndex()
162 std::prev(it)->first = 0; // Clear entry with lower end_dex_offset (mark to remove). in GetClassDefIndex()
/art/build/apex/
Dart_apex_test.py919 prev = self.get_vertical(self._has_next_list)
924 print('%s%s[ n/a ] %s' % (prev, last, val.name))
926 print('%s%s[%11d] %s' % (prev, last, val.size, val.name))
928 print('%s%s%s' % (prev, last, val.name))
/art/runtime/gc/
Dheap.cc2202 uintptr_t prev = reinterpret_cast<uintptr_t>(space->Begin()); in BuildBins() local
2207 size_t bin_size = object_addr - prev; in BuildBins()
2209 AddBin(bin_size, prev); in BuildBins()
2210 prev = object_addr + RoundUp(obj->SizeOf<kDefaultVerifyFlags>(), kObjectAlignment); in BuildBins()
2214 AddBin(reinterpret_cast<uintptr_t>(space->End()) - prev, prev); in BuildBins()
/art/libdexfile/dex/
Ddex_file_verifier.cc2573 const dex::ProtoId* prev = reinterpret_cast<const dex::ProtoId*>(previous_item_); in CheckInterProtoIdItem() local
2574 if (UNLIKELY(prev->return_type_idx_ > item->return_type_idx_)) { in CheckInterProtoIdItem()
2577 } else if (prev->return_type_idx_ == item->return_type_idx_) { in CheckInterProtoIdItem()
2579 DexFileParameterIterator prev_it(*dex_file_, *prev); in CheckInterProtoIdItem()