Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 44) sorted by relevance

12

/art/runtime/arch/
Dmemcmp16_test.cc24 uint32_t next() { in next() function in RandGen
53 size_t type = r.next() % range_of_tests; in CheckSeparate()
62 count1 = (r.next() % max_length) + min_length; in CheckSeparate()
63 count2 = (r.next() % max_length) + min_length; in CheckSeparate()
67 count1 = (r.next() % max_length) + min_length; in CheckSeparate()
73 count2 = (r.next() % max_length) + min_length; in CheckSeparate()
102 bool fill_same = r.next() % 1 == 1; in CheckSeparate()
106 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
110 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
113 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
[all …]
Dstub_test.cc662 uint32_t next() { in next() function in art::RandGen
734 size_t index = r.next() % kNumberOfLocks; in TestUnlockObject()
737 if (!fat[index] && (r.next() % kMoveToFat == 0)) { in TestUnlockObject()
756 lock = r.next() % 2 == 0; in TestUnlockObject()
1249 int32_t new_offset = 1 + (r.next() % (length - 1)); in TEST_F()
1251 int32_t new_length = 1 + (rest > 0 ? r.next() % rest : 0); in TEST_F()
/art/compiler/dex/
Dvreg_analysis.cc160 int next = 0; in InferTypeAndSize() local
163 changed |= SetCore(uses[next]); in InferTypeAndSize()
166 changed |= SetRef(uses[next]); in InferTypeAndSize()
169 reg_location_[uses[next]].wide = true; in InferTypeAndSize()
170 reg_location_[uses[next + 1]].wide = true; in InferTypeAndSize()
171 reg_location_[uses[next + 1]].high_word = true; in InferTypeAndSize()
172 DCHECK_EQ(SRegToVReg(uses[next])+1, in InferTypeAndSize()
173 SRegToVReg(uses[next + 1])); in InferTypeAndSize()
174 next += 2; in InferTypeAndSize()
176 type_mismatch |= reg_location_[uses[next]].wide; in InferTypeAndSize()
[all …]
Dpost_opt_passes.cc62 MIR* next = mir->next; in Worker() local
70 mir = next; in Worker()
Dmir_graph.cc163 insn = insn->next; in SplitBlock()
217 prev->next = nullptr; in SplitBlock()
239 p = p->next; in SplitBlock()
914 for (mir = bb->first_mir_insn; mir; mir = mir->next) { in DumpCFG()
926 mir->next ? " | " : " "); in DumpCFG()
933 mir->next ? " | " : " "); in DumpCFG()
944 mir->next ? " | " : " "); in DumpCFG()
1064 last_list_mir->next = nullptr; in InsertMIRListAfter()
1066 MIR* after_list = insert_after->next; in InsertMIRListAfter()
1067 insert_after->next = first_list_mir; in InsertMIRListAfter()
[all …]
Dglobal_value_numbering.cc117 (bb->first_mir_insn->next == bb->last_mir_insn || in PrepareBasicBlock()
118 (static_cast<int>(bb->first_mir_insn->next->dalvikInsn.opcode) == kMirOpPhi && in PrepareBasicBlock()
119 bb->first_mir_insn->next->next == bb->last_mir_insn))))) { in PrepareBasicBlock()
Dmir_optimization.cc48 for (mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in DoConstantPropagation()
110 mir = mir->next; in AdvanceMIR()
174 for (MIR* mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in FindPhi()
336 for (MIR* mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in BasicBlockOpt()
353 if (mir->next != NULL) { in BasicBlockOpt()
354 MIR* mir_next = mir->next; in BasicBlockOpt()
462 (tk->first_mir_insn->next == tk->last_mir_insn) && in BasicBlockOpt()
558 for (MIR* tmir = ft->first_mir_insn; tmir != NULL; tmir = tmir->next) { in BasicBlockOpt()
578 for (MIR* mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in CountChecks()
822 for (MIR* mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in EliminateNullChecksAndInferTypes()
[all …]
Dmir_analysis.cc904 for (MIR* mir = tbb->first_mir_insn; mir != NULL; mir = mir->next) { in AnalyzeBlock()
1124 for (MIR* mir = bb->first_mir_insn; mir != nullptr; mir = mir->next) { in DoCacheFieldLoweringInfo()
1240 for (MIR* mir = bb->first_mir_insn; mir != nullptr; mir = mir->next) { in DoCacheMethodLoweringInfo()
Dmir_dataflow.cc939 for (mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in FindLocalLiveIn()
1078 for (mir = bb->first_mir_insn; mir != NULL; mir = mir->next) { in DoSSAConversion()
1324 for (MIR* mir = bb->first_mir_insn; (mir != NULL); mir = mir->next) { in CountUses()
Dmir_graph.h352 MIR* next; member
372 next(nullptr), ssa_rep(nullptr) { in MIR()
/art/test/080-oom-throw/src/
DMain.java35 InstanceMemEater next; field in Main.InstanceMemEater
60 lastMemEater.next = InstanceMemEater.allocate(); in triggerInstanceOOM()
61 lastMemEater = lastMemEater.next; in triggerInstanceOOM()
/art/runtime/
Dmonitor_pool_test.cc31 uint32_t next() { in next() function in art::RandGen
70 alloc = r.next() % 2 == 0; in TEST_F()
80 size_t index = r.next() % monitors.size(); in TEST_F()
112 size_t index = r.next() % monitors.size(); in TEST_F()
Dthread.h456 void SetWaitNext(Thread* next) { in SetWaitNext() argument
457 tlsPtr_.wait_next = next; in SetWaitNext()
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc105 uint32_t next() { in next() function in art::gc::accounting::RandGen
127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
128 bool set = r.next() % 2 == 1; in RunTest()
141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
143 size_t end = offset + RoundDown(r.next() % (remain + 1), kAlignment); in RunTest()
/art/compiler/dex/quick/
Dcodegen_util.cc94 if (after->next == nullptr) { in MarkSafepointPCAfter()
106 first_lir_insn_ = lir->next; in UnlinkLIR()
107 if (lir->next != NULL) { in UnlinkLIR()
108 lir->next->prev = NULL; in UnlinkLIR()
110 DCHECK(lir->next == NULL); in UnlinkLIR()
116 lir->prev->next = NULL; in UnlinkLIR()
117 } else if ((lir->prev != NULL) && (lir->next != NULL)) { in UnlinkLIR()
118 lir->prev->next = lir->next; in UnlinkLIR()
119 lir->next->prev = lir->prev; in UnlinkLIR()
305 for (LIR* lir = first_lir_insn_; lir != nullptr; lir = lir->next) { in UpdateLIROffsets()
[all …]
Dralloc_util.cc355 int next = *next_temp; in AllocTempBody() local
357 if (next >= num_regs) in AllocTempBody()
358 next = 0; in AllocTempBody()
359 RegisterInfo* info = regs.Get(next); in AllocTempBody()
375 *next_temp = next + 1; in AllocTempBody()
378 next++; in AllocTempBody()
380 next = *next_temp; in AllocTempBody()
383 if (next >= num_regs) in AllocTempBody()
384 next = 0; in AllocTempBody()
385 RegisterInfo* info = regs.Get(next); in AllocTempBody()
[all …]
/art/compiler/optimizing/
Dssa_phi_elimination.cc61 HInstruction* next = nullptr; in Run() local
63 next = current->GetNext(); in Run()
67 current = next; in Run()
Dssa_liveness_analysis.h55 LiveRange(size_t start, size_t end, LiveRange* next) : start_(start), end_(end), next_(next) { in LiveRange() argument
96 UsePosition* next) in UsePosition() argument
101 next_(next) { in UsePosition()
103 DCHECK(next_ == nullptr || next->GetPosition() >= GetPosition()); in UsePosition()
Dcode_generator.h82 bool GoesToNextBlock(HBasicBlock* current, HBasicBlock* next) const;
Dcode_generator.cc245 bool CodeGenerator::GoesToNextBlock(HBasicBlock* current, HBasicBlock* next) const { in GoesToNextBlock()
247 return current->GetBlockId() + 1 == next->GetBlockId(); in GoesToNextBlock()
/art/runtime/gc/
Dreference_queue.cc75 mirror::Reference* next = head->GetPendingNext(); in DequeuePendingReference() local
77 list_->SetPendingNext<true>(next); in DequeuePendingReference()
79 list_->SetPendingNext<false>(next); in DequeuePendingReference()
/art/runtime/jdwp/
Djdwp_event.cc177 CHECK(pEvent->next == NULL); in RegisterEvent()
227 pEvent->next = event_list_; in RegisterEvent()
252 event_list_ = pEvent->next; in UnregisterEvent()
254 pEvent->prev->next = pEvent->next; in UnregisterEvent()
257 if (pEvent->next != NULL) { in UnregisterEvent()
258 pEvent->next->prev = pEvent->prev; in UnregisterEvent()
259 pEvent->next = NULL; in UnregisterEvent()
318 for (JdwpEvent* pEvent = event_list_; pEvent != nullptr; pEvent = pEvent->next) { in UnregisterEventById()
347 JdwpEvent* pNextEvent = pEvent->next; in UnregisterAll()
381 CHECK(pEvent->next == NULL); in EventFree()
[all …]
Djdwp_event.h93 JdwpEvent* next; member
/art/compiler/utils/
Dassembler.h224 SlowPath* next = NULL; in EmitSlowPaths() local
226 for ( ; cur != NULL ; cur = next) { in EmitSlowPaths()
228 next = cur->next_; in EmitSlowPaths()
/art/compiler/utils/mips/
Dassembler_mips.cc153 int32_t next = buffer_.Load<int32_t>(position); in Bind() local
155 int32_t encoded = MipsAssembler::EncodeBranchOffset(offset, next, is_jump); in Bind()
157 label->position_ = MipsAssembler::DecodeBranchOffset(next, is_jump); in Bind()

12