Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 17 of 17) sorted by relevance

/art/runtime/verifier/
Dregister_line.h302 bool IsSetLockDepth(size_t reg, size_t depth) { in IsSetLockDepth() argument
305 return (it->second & (1 << depth)) != 0; in IsSetLockDepth()
311 void SetRegToLockDepth(size_t reg, size_t depth) { in SetRegToLockDepth() argument
312 CHECK_LT(depth, 32u); in SetRegToLockDepth()
313 DCHECK(!IsSetLockDepth(reg, depth)); in SetRegToLockDepth()
316 reg_to_lock_depths_.Put(reg, 1 << depth); in SetRegToLockDepth()
318 it->second |= (1 << depth); in SetRegToLockDepth()
322 void ClearRegToLockDepth(size_t reg, size_t depth) { in ClearRegToLockDepth() argument
323 CHECK_LT(depth, 32u); in ClearRegToLockDepth()
324 DCHECK(IsSetLockDepth(reg, depth)); in ClearRegToLockDepth()
[all …]
/art/runtime/
Dthread_pool_test.cc107 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() argument
110 depth_(depth) {} in TreeTask()
136 static const int depth = 8; in TEST_F() local
137 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); in TEST_F()
140 EXPECT_EQ((1 << depth) - 1, count.LoadSequentiallyConsistent()); in TEST_F()
Dstack_map.h43 void SetDepth(uint8_t depth) { in SetDepth() argument
44 region_.Store<uint8_t>(kDepthOffset, depth); in SetDepth()
47 uint32_t GetMethodReferenceIndexAtDepth(uint8_t depth) const { in GetMethodReferenceIndexAtDepth() argument
48 return region_.Load<uint32_t>(kFixedSize + depth * SingleEntrySize()); in GetMethodReferenceIndexAtDepth()
51 void SetMethodReferenceIndexAtDepth(uint8_t depth, uint32_t index) { in SetMethodReferenceIndexAtDepth() argument
52 region_.Store<uint32_t>(kFixedSize + depth * SingleEntrySize(), index); in SetMethodReferenceIndexAtDepth()
262 uint8_t depth = region_.Load<uint8_t>(offset); in GetInlineInfoOf() local
264 InlineInfo::kFixedSize + depth * InlineInfo::SingleEntrySize())); in GetInlineInfoOf()
Dthread.cc1457 bool Init(int depth) in Init() argument
1463 hs.NewHandle(class_linker->AllocObjectArray<mirror::Object>(self_, depth + 1))); in Init()
1467 mirror::IntArray* dex_pc_trace = mirror::IntArray::Alloc(self_, depth); in Init()
1474 method_trace->Set<kTransactionActive>(depth, dex_pc_trace); in Init()
1530 int32_t depth = count_visitor.GetDepth(); in CreateInternalStackTrace() local
1537 if (!build_trace_visitor.Init(depth)) { in CreateInternalStackTrace()
1558 int32_t depth = soa.Decode<mirror::ObjectArray<mirror::Object>*>(internal)->GetLength() - 1; in InternalStackTraceToStackTraceElementArray() local
1570 depth = std::min(depth, traces_length); in InternalStackTraceToStackTraceElementArray()
1574 class_linker->AllocStackTraceElementArray(soa.Self(), depth); in InternalStackTraceToStackTraceElementArray()
1582 *stack_depth = depth; in InternalStackTraceToStackTraceElementArray()
[all …]
Dstack.cc494 uint32_t depth) { in GetInstrumentationStackFrame() argument
495 CHECK_LT(depth, thread->GetInstrumentationStack()->size()); in GetInstrumentationStackFrame()
496 return thread->GetInstrumentationStack()->at(depth); in GetInstrumentationStackFrame()
Ddebugger.cc149 size_t depth = 0; in GetDepth() local
150 while (depth < kMaxAllocRecordStackDepth && stack_[depth].Method() != NULL) { in GetDepth()
151 ++depth; in GetDepth()
153 return depth; in GetDepth()
2278 : StackVisitor(thread, NULL), depth(0) {} in GetStackDepth()
2284 ++depth; in GetStackDepth()
2288 size_t depth; in GetStackDepth() member
2293 return visitor.depth; in GetStackDepth()
4536 : StackVisitor(thread, NULL), record(record), depth(0) {} in AllocRecordStackVisitor()
4541 if (depth >= kMaxAllocRecordStackDepth) { in VisitFrame()
[all …]
Ddebugger.h557 JDWP::JdwpStepDepth depth)
/art/test/067-preemptive-unpark/src/
DMain.java65 private static void clearStack(int depth) { in clearStack() argument
77 if (depth > 0) { in clearStack()
78 clearStack(depth - 1); in clearStack()
/art/runtime/mirror/
Dthrowable.cc85 int32_t depth = method_trace->GetLength() - 1; in Dump() local
86 IntArray* pc_trace = down_cast<IntArray*>(method_trace->Get(depth)); in Dump()
87 if (depth == 0) { in Dump()
90 for (int32_t i = 0; i < depth; ++i) { in Dump()
Dclass.h398 uint32_t depth = 0; in Depth() local
400 depth++; in Depth()
402 return depth; in Depth()
/art/test/074-gc-thrash/src/
DMain.java253 private String dive(int depth, int iteration) { in dive() argument
293 strong[depth] = funStr; in dive()
294 weak[depth] = new WeakReference(funStr); in dive()
296 if (depth+1 < MAX_DEPTH) in dive()
297 dive(depth+1, iteration+1); in dive()
/art/runtime/native/
Ddalvik_system_VMStack.cc70 int32_t depth; in VMStack_fillStackTraceElements() local
71 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements()
72 return depth; in VMStack_fillStackTraceElements()
/art/runtime/jdwp/
Djdwp_event.h78 int depth; /* JdwpStepDepth */ member
Djdwp_event.cc199 JdwpStepDepth depth = static_cast<JdwpStepDepth>(pMod->step.depth); in RegisterEvent() local
200 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth); in RegisterEvent()
Djdwp_handler.cc1330 uint32_t depth = request.ReadUnsigned32("step depth"); in ER_Set() local
1332 << " size=" << JdwpStepSize(size) << " depth=" << JdwpStepDepth(depth); in ER_Set()
1336 mod.step.depth = depth; in ER_Set()
/art/tools/
Dcpplint.py1038 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1053 depth += 1
1055 depth -= 1
1056 if depth == 0:
1420 depth = 0
1423 depth += line.count('{') - line.count('}')
1424 if not depth:
/art/compiler/dex/
Dmir_dataflow.cc1322 uint32_t depth = std::min(3U, static_cast<uint32_t>(bb->nesting_depth)); in CountUses() local
1323 uint32_t weight = std::max(1U, depth * 100); in CountUses()