Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 47) sorted by relevance

12

/art/runtime/
Dmonitor_pool.cc71 Monitor* last = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(chunk) + in AllocateChunk() local
73 last->next_free_ = nullptr; in AllocateChunk()
75 last->monitor_id_ = OffsetToMonitorId(current_chunk_list_index_* (kMaxListSize * kChunkSize) in AllocateChunk()
78 Monitor* before = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(last) - in AllocateChunk()
80 before->next_free_ = last; in AllocateChunk()
82 before->monitor_id_ = OffsetToMonitorId(MonitorIdToOffset(last->monitor_id_) - in AllocateChunk()
85 last = before; in AllocateChunk()
87 DCHECK(last == reinterpret_cast<Monitor*>(chunk)); in AllocateChunk()
88 first_free_ = last; in AllocateChunk()
Dthread-inl.h308 WrappedSuspend1Barrier** last = &tlsPtr_.active_suspend1_barriers; in RemoveSuspend1Barrier() local
309 while (*last != barrier) { in RemoveSuspend1Barrier()
310 last = &((*last)->next_); in RemoveSuspend1Barrier()
312 *last = (*last)->next_; in RemoveSuspend1Barrier()
627 inline void Thread::DCheckUnregisteredEverywhere(ThreadExitFlag* first, ThreadExitFlag* last) { in DCheckUnregisteredEverywhere() argument
635 CHECK(tef < first || tef > last) in DCheckUnregisteredEverywhere()
Dnative_gc_triggering.md64 allocated in the Java heap, plus half the net number of native bytes allocated since the last
65 GC. The latter is computed as the change since the last GC in the total-bytes-allocated
70 currently allocated by this metric, as opposed to the change since the last GC. But that is
/art/libartbase/base/
Dintrusive_forward_list.h154 IntrusiveForwardList(InputIterator first, InputIterator last) : IntrusiveForwardList() { in IntrusiveForwardList() argument
155 insert_after(before_begin(), first, last); in IntrusiveForwardList()
189 void assign(InputIterator first, InputIterator last) { in assign() argument
190 IntrusiveForwardList tmp(first, last); in assign()
207 iterator insert_after(const_iterator position, InputIterator first, InputIterator last) { in insert_after() argument
208 while (first != last) { in insert_after()
214 const_iterator last = position; in erase_after() local
215 std::advance(last, 2); in erase_after()
216 return erase_after(position, last); in erase_after()
218 iterator erase_after(const_iterator position, const_iterator last) { in erase_after() argument
[all …]
Dmalloc_arena_pool.cc152 Arena* last = first; in FreeArenaChain() local
153 while (last->next_ != nullptr) { in FreeArenaChain()
154 last = last->next_; in FreeArenaChain()
157 last->next_ = free_arenas_; in FreeArenaChain()
Ddchecked_vector.h70 InputIterator last,
72 : Base(first, last, alloc) { } in Base() argument
159 iterator insert(const_iterator position, InputIterator first, InputIterator last) { in insert() argument
161 return Base::insert(position, first, last); in insert()
177 iterator erase(const_iterator first, const_iterator last) { in erase() argument
179 DCHECK(first <= last && last <= cend()); in erase()
180 return Base::erase(first, last); in erase()
Diteration_range.h36 IterationRange(iterator first, iterator last) : first_(first), last_(last) { } in IterationRange() argument
Dsafe_map.h79 iterator erase(iterator first, iterator last) { return map_.erase(first, last); } in erase() argument
/art/compiler/optimizing/
Dconstant_folding_test.cc758 HInstruction* last; in TEST_F() local
759 block->AddInstruction(last = new (GetAllocator()) HAbove(zero, parameter)); in TEST_F()
760 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
761 block->AddInstruction(last = new (GetAllocator()) HAbove(parameter, zero)); in TEST_F()
762 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
763 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(zero, parameter)); in TEST_F()
764 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
765 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(parameter, zero)); in TEST_F()
766 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
767 block->AddInstruction(last = new (GetAllocator()) HBelow(zero, parameter)); in TEST_F()
[all …]
Dcode_sinking.cc51 HInstruction* last = exit_predecessor->GetLastInstruction(); in UncommonBranchSinking() local
57 if (last->IsTryBoundary()) { in UncommonBranchSinking()
59 DCHECK(!last->AsTryBoundary()->IsEntry()); in UncommonBranchSinking()
60 if (last->GetPrevious() == nullptr) { in UncommonBranchSinking()
63 last = exit_predecessor->GetLastInstruction(); in UncommonBranchSinking()
65 last = last->GetPrevious(); in UncommonBranchSinking()
70 if (!last->IsReturn() && !last->IsReturnVoid()) { in UncommonBranchSinking()
Ddead_code_elimination.cc338 HInstruction* last = block->GetLastInstruction(); in SimplifyIfs() local
339 if (!last->IsIf()) { in SimplifyIfs()
360 bool has_only_phi_and_if = (last == first) && (last->InputAt(0) == block->GetFirstPhi()); in SimplifyIfs()
365 (first->GetNext() == last) && in SimplifyIfs()
366 (last->InputAt(0) == first) && in SimplifyIfs()
398 successor_to_update = last->AsIf()->IfTrueSuccessor(); in SimplifyIfs()
402 successor_to_update = last->AsIf()->IfFalseSuccessor(); in SimplifyIfs()
635 HInstruction* last = block->GetLastInstruction(); in DisconnectHandlersAndUpdateTryBoundary() local
636 block->RemoveInstruction(last); in DisconnectHandlersAndUpdateTryBoundary()
637 block->AddInstruction(new (graph_->GetAllocator()) HGoto(last->GetDexPc())); in DisconnectHandlersAndUpdateTryBoundary()
Dregister_allocation_resolver.cc635 HInstruction* last = block->GetLastInstruction(); in InsertParallelMoveAtExitOf() local
640 DCHECK(!last->IsIf() && !last->IsPackedSwitch()); in InsertParallelMoveAtExitOf()
641 HInstruction* previous = last->GetPrevious(); in InsertParallelMoveAtExitOf()
645 size_t position = last->GetLifetimePosition(); in InsertParallelMoveAtExitOf()
651 block->InsertInstructionBefore(move, last); in InsertParallelMoveAtExitOf()
Dinduction_var_range_test.cc1011 HInstruction* last = range_.GenerateLastValue(phi, graph_, loop_preheader_); in TEST_F() local
1012 ASSERT_TRUE(last->IsAdd()); in TEST_F()
1013 ExpectInt(1000, last->InputAt(0)); in TEST_F()
1014 ExpectInt(0, last->InputAt(1)); in TEST_F()
1066 HInstruction* last = range_.GenerateLastValue(phi, graph_, loop_preheader_); in TEST_F() local
1067 ASSERT_TRUE(last->IsSub()); in TEST_F()
1068 ExpectInt(1000, last->InputAt(0)); in TEST_F()
1069 ASSERT_TRUE(last->InputAt(1)->IsNeg()); in TEST_F()
1070 ExpectInt(-1000, last->InputAt(1)->AsNeg()->InputAt(0)); in TEST_F()
1082 last = tce->InputAt(0); in TEST_F()
[all …]
Dnodes.cc2717 HInstruction* last = body->GetLastInstruction(); in InlineInto() local
2724 if (last->IsReturn()) { in InlineInto()
2725 return_value = last->InputAt(0); in InlineInto()
2727 DCHECK(last->IsReturnVoid()); in InlineInto()
2730 invoke->GetBlock()->RemoveInstruction(last); in InlineInto()
2801 HInstruction* last = predecessor->GetLastInstruction(); in InlineInto() local
2807 const bool saw_try_boundary = last->IsTryBoundary(); in InlineInto()
2810 DCHECK(!last->AsTryBoundary()->IsEntry()); in InlineInto()
2812 last = predecessor->GetLastInstruction(); in InlineInto()
2815 if (last->IsThrow()) { in InlineInto()
[all …]
/art/runtime/base/
Dmem_map_arena_pool.cc167 Arena* last = first; in FreeArenaChain() local
168 while (last->next_ != nullptr) { in FreeArenaChain()
169 last = last->next_; in FreeArenaChain()
172 last->next_ = free_arenas_; in FreeArenaChain()
/art/test/048-reflect-v8/
Dexpected-stdout.txt22 Annotations by type, defined by class User with annotation Calendar: @Calendar(dayOfMonth=last, day…
23 …ss User with annotation Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
28 Annotations by type, defined by class UserSub with annotation Calendar: @Calendar(dayOfMonth=last, …
29 …UserSub with annotation Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
31 …serSub2 with annotation Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
40 …r, annotation interface Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
54 …ype, defined by class User with annotation Calendar: @Calendar(dayOfMonth=last, dayOfWeek=unspecif…
55 …ss User with annotation Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
71 Annotations by type, defined by method user with annotation Calendar: @Calendar(dayOfMonth=last, da…
72 …od user with annotation Calendars: @Calendars(value=[@Calendar(dayOfMonth=last, dayOfWeek=unspecif…
[all …]
/art/compiler/utils/
Dassembler.h345 void AppendRawData(const std::vector<uint8_t>& raw_data, size_t first, size_t last) { in AppendRawData() argument
347 DCHECK_LE(first, last); in AppendRawData()
348 DCHECK_LE(last, raw_data.size()); in AppendRawData()
349 opcodes_.insert(opcodes_.end(), raw_data.begin() + first, raw_data.begin() + last); in AppendRawData()
/art/libdexfile/dex/
Dprimitive_test.cc28 int last = static_cast<int>(Primitive::Type::kPrimLast); in CheckPrimitiveTypeWidensTo() local
29 for (int i = 0; i <= last; ++i) { in CheckPrimitiveTypeWidensTo()
/art/test/800-smali/smali/
Db_20224106.smali4 # an order abort (the last failure must be hard).
Db_20843113.smali22 move-exception v0 # Overwrite the (last) "this" register. This should be
/art/test/015-checker-switch/
Dexpected-stdout.txt131 CORRECT big sparse / last
/art/test/2042-reference-processing/src/
DMain.java208 FinalizableObject last = null; in dropObjects() local
218 last = list; in dropObjects()
226 last.next = null; in dropObjects()
/art/runtime/oat/
Dstack_map.h384 uint32_t last = inline_info.GetNumberOfDexRegisters(); in GetInlineDexRegisterMapOf() local
385 return GetDexRegisterMapOf(stack_map, first, last); in GetInlineDexRegisterMapOf()
393 uint32_t last) const { in GetDexRegisterMapOf() argument
395 DCHECK_LE(first, last); in GetDexRegisterMapOf()
396 DexRegisterMap map(last - first, DexRegisterLocation::Invalid()); in GetDexRegisterMapOf()
/art/runtime/native/
Djava_lang_StringFactory.cc203 int last = offset + byte_count; in StringFactory_newStringFromUtf8Bytes() local
211 while (idx < last) { in StringFactory_newStringFromUtf8Bytes()
/art/tools/ahat/src/main/com/android/ahat/dominators/
DDominators.java201 public long last() { in last() method in Dominators.IdSet
346 long seenid = dstS.inRefIds.last(); in computeDominators()

12