Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 39) 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()
/art/compiler/utils/
Dintrusive_forward_list.h149 IntrusiveForwardList(InputIterator first, InputIterator last) : IntrusiveForwardList() { in IntrusiveForwardList() argument
150 insert_after(before_begin(), first, last); in IntrusiveForwardList()
184 void assign(InputIterator first, InputIterator last) { in assign() argument
185 IntrusiveForwardList tmp(first, last); in assign()
202 iterator insert_after(const_iterator position, InputIterator first, InputIterator last) { in insert_after() argument
203 while (first != last) { in insert_after()
209 const_iterator last = position; in erase_after() local
210 std::advance(last, 2); in erase_after()
211 return erase_after(position, last); in erase_after()
213 iterator erase_after(const_iterator position, const_iterator last) { in erase_after() argument
[all …]
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/compiler/optimizing/
Dconstant_folding_test.cc756 HInstruction* last; in TEST_F() local
757 block->AddInstruction(last = new (GetAllocator()) HAbove(zero, parameter)); in TEST_F()
758 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
759 block->AddInstruction(last = new (GetAllocator()) HAbove(parameter, zero)); in TEST_F()
760 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
761 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(zero, parameter)); in TEST_F()
762 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
763 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(parameter, zero)); in TEST_F()
764 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); in TEST_F()
765 block->AddInstruction(last = new (GetAllocator()) HBelow(zero, parameter)); in TEST_F()
[all …]
Ddead_code_elimination.cc244 HInstruction* last = block->GetLastInstruction(); in SimplifyAlwaysThrows() local
247 first->GetNext() == last && in SimplifyAlwaysThrows()
248 last->IsGoto() && in SimplifyAlwaysThrows()
326 HInstruction* last = block->GetLastInstruction(); in SimplifyIfs() local
329 last->IsIf() && in SimplifyIfs()
332 bool has_only_phi_and_if = (last == first) && (last->InputAt(0) == block->GetFirstPhi()); in SimplifyIfs()
337 (first->GetNext() == last) && in SimplifyIfs()
338 (last->InputAt(0) == first) && in SimplifyIfs()
371 successor_to_update = last->AsIf()->IfTrueSuccessor(); in SimplifyIfs()
375 successor_to_update = last->AsIf()->IfFalseSuccessor(); in SimplifyIfs()
Dinduction_var_range_test.cc788 HInstruction* last = range_.GenerateLastValue(phi, graph_, loop_preheader_); in TEST_F() local
789 ASSERT_TRUE(last->IsAdd()); in TEST_F()
790 ExpectInt(1000, last->InputAt(0)); in TEST_F()
791 ExpectInt(0, last->InputAt(1)); in TEST_F()
840 HInstruction* last = range_.GenerateLastValue(phi, graph_, loop_preheader_); in TEST_F() local
841 ASSERT_TRUE(last->IsSub()); in TEST_F()
842 ExpectInt(1000, last->InputAt(0)); in TEST_F()
843 ASSERT_TRUE(last->InputAt(1)->IsNeg()); in TEST_F()
844 last = last->InputAt(1)->InputAt(0); in TEST_F()
845 ASSERT_TRUE(last->IsSub()); in TEST_F()
[all …]
Dcode_sinking.cc37 HInstruction* last = exit_predecessor->GetLastInstruction(); in Run() local
39 if (!last->IsReturn() && !last->IsReturnVoid()) { in Run()
Dregister_allocation_resolver.cc636 HInstruction* last = block->GetLastInstruction(); in InsertParallelMoveAtExitOf() local
641 DCHECK(!last->IsIf() && !last->IsPackedSwitch()); in InsertParallelMoveAtExitOf()
642 HInstruction* previous = last->GetPrevious(); in InsertParallelMoveAtExitOf()
646 size_t position = last->GetLifetimePosition(); in InsertParallelMoveAtExitOf()
651 block->InsertInstructionBefore(move, last); in InsertParallelMoveAtExitOf()
Dnodes.cc2471 HInstruction* last = body->GetLastInstruction(); in InlineInto() local
2478 if (last->IsReturn()) { in InlineInto()
2479 return_value = last->InputAt(0); in InlineInto()
2481 DCHECK(last->IsReturnVoid()); in InlineInto()
2484 invoke->GetBlock()->RemoveInstruction(last); in InlineInto()
2553 HInstruction* last = predecessor->GetLastInstruction(); in InlineInto() local
2554 if (last->IsThrow()) { in InlineInto()
2568 if (last->IsReturnVoid()) { in InlineInto()
2572 DCHECK(last->IsReturn()); in InlineInto()
2574 return_value_phi->AddInput(last->InputAt(0)); in InlineInto()
[all …]
/art/libartbase/base/
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.h35 IterationRange(iterator first, iterator last) : first_(first), last_(last) { } in IterationRange() argument
Dmemory_type_table_test.cc184 const MemoryTypeRange<int>* last = builder.Lookup(range.Limit() - 1u); in TEST() local
185 ASSERT_TRUE(last != nullptr); in TEST()
186 EXPECT_EQ(range, *last); in TEST()
211 auto last = builder.Lookup(range.Limit() - 1); in TEST() local
212 ASSERT_TRUE(last != nullptr); in TEST()
213 EXPECT_EQ(*last, range); in TEST()
Dmemory_type_table.h98 int last = static_cast<int>(ranges_.size()) - 1; in Lookup() local
99 for (int l = 0, r = last; l <= r;) { in Lookup()
/art/runtime/base/
Dmem_map_arena_pool.cc155 Arena* last = first; in FreeArenaChain() local
156 while (last->next_ != nullptr) { in FreeArenaChain()
157 last = last->next_; in FreeArenaChain()
160 last->next_ = free_arenas_; in FreeArenaChain()
/art/test/048-reflect-v8/
Dexpected.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/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-switch/
Dexpected.txt126 CORRECT big sparse / last
/art/runtime/jdwp/
Djdwp_main.cc732 int64_t last = last_activity_time_ms_.load(std::memory_order_seq_cst); in LastDebuggerActivity() local
735 if (last == 0) { in LastDebuggerActivity()
742 CHECK_GE(now, last); in LastDebuggerActivity()
744 VLOG(jdwp) << "+++ debugger interval=" << (now - last); in LastDebuggerActivity()
745 return now - last; in LastDebuggerActivity()
/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()
/art/test/564-checker-irreducible-loop/smali/
DIrreducibleLoop.smali38 # ArtMethod was a live_in of the last block before the loop, but did not have
/art/build/apex/
Dart_apex_test.py636 def get_last_vertical(last): argument
637 return '└── ' if last else '├── '
651 last = self.get_last_vertical(i == len(key_list) - 1)
653 print('%s%s%s' % (prev, last, val.name))
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DArithOpChanger.java163 Opcode last = opcodeList.get(opcodeList.size() - 1); in getLegalDifferentOpcode() local
164 if (Opcode.isBetween(opcode, first, last)) { in getLegalDifferentOpcode()

12