Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool_test.cc103 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() argument
106 depth_(depth) {} in TreeTask()
132 static const int depth = 8; in TEST_F() local
133 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); in TEST_F()
136 EXPECT_EQ((1 << depth) - 1, count.LoadSequentiallyConsistent()); in TEST_F()
Dstack_map.h54 void SetDepth(uint8_t depth) { in SetDepth() argument
55 region_.StoreUnaligned<uint8_t>(kDepthOffset, depth); in SetDepth()
58 uint32_t GetMethodReferenceIndexAtDepth(uint8_t depth) const { in GetMethodReferenceIndexAtDepth() argument
59 return region_.LoadUnaligned<uint32_t>(kFixedSize + depth * SingleEntrySize()); in GetMethodReferenceIndexAtDepth()
62 void SetMethodReferenceIndexAtDepth(uint8_t depth, uint32_t index) { in SetMethodReferenceIndexAtDepth() argument
63 region_.StoreUnaligned<uint32_t>(kFixedSize + depth * SingleEntrySize(), index); in SetMethodReferenceIndexAtDepth()
970 uint8_t depth = region_.LoadUnaligned<uint8_t>(offset); in GetInlineInfoOf() local
972 InlineInfo::kFixedSize + depth * InlineInfo::SingleEntrySize())); in GetInlineInfoOf()
Dthread.cc1671 bool Init(int depth) in Init() argument
1675 trace_ = cl->AllocPointerArray(self_, depth * 2); in Init()
1735 int32_t depth = count_visitor.GetDepth(); in CreateInternalStackTrace() local
1742 if (!build_trace_visitor.Init(depth)) { in CreateInternalStackTrace()
1772 int32_t depth = soa.Decode<mirror::PointerArray*>(internal)->GetLength() / 2; in InternalStackTraceToStackTraceElementArray() local
1784 depth = std::min(depth, traces_length); in InternalStackTraceToStackTraceElementArray()
1788 cl->AllocStackTraceElementArray(soa.Self(), depth); in InternalStackTraceToStackTraceElementArray()
1796 *stack_depth = depth; in InternalStackTraceToStackTraceElementArray()
1799 for (int32_t i = 0; i < depth; ++i) { in InternalStackTraceToStackTraceElementArray()
Ddebugger.cc150 size_t depth = 0; in GetDepth() local
151 while (depth < kMaxAllocRecordStackDepth && stack_[depth].Method() != nullptr) { in GetDepth()
152 ++depth; in GetDepth()
154 return depth; in GetDepth()
2330 depth(0) {} in GetStackDepth()
2336 ++depth; in GetStackDepth()
2340 size_t depth; in GetStackDepth() member
2345 return visitor.depth; in GetStackDepth()
4883 depth(0) {} in AllocRecordStackVisitor()
4888 if (depth >= kMaxAllocRecordStackDepth) { in VisitFrame()
[all …]
Dstack.cc664 uint32_t depth) { in GetInstrumentationStackFrame() argument
665 CHECK_LT(depth, thread->GetInstrumentationStack()->size()); in GetInstrumentationStackFrame()
666 return thread->GetInstrumentationStack()->at(depth); in GetInstrumentationStackFrame()
Ddebugger.h618 JDWP::JdwpStepDepth depth)
/art/runtime/verifier/
Dregister_line.h313 bool IsSetLockDepth(size_t reg, size_t depth) { in IsSetLockDepth() argument
316 return (it->second & (1 << depth)) != 0; in IsSetLockDepth()
322 bool SetRegToLockDepth(size_t reg, size_t depth) { in SetRegToLockDepth() argument
323 CHECK_LT(depth, 32u); in SetRegToLockDepth()
324 if (IsSetLockDepth(reg, depth)) { in SetRegToLockDepth()
329 reg_to_lock_depths_.Put(reg, 1 << depth); in SetRegToLockDepth()
331 it->second |= (1 << depth); in SetRegToLockDepth()
336 void ClearRegToLockDepth(size_t reg, size_t depth) { in ClearRegToLockDepth() argument
337 CHECK_LT(depth, 32u); in ClearRegToLockDepth()
338 DCHECK(IsSetLockDepth(reg, depth)); in ClearRegToLockDepth()
[all …]
/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/test/074-gc-thrash/src/
DMain.java267 private String dive(int depth, int iteration) { in dive() argument
305 weak[depth] = new WeakReference(funStr); in dive()
306 strong[depth] = funStr; in dive()
307 if (depth+1 < MAX_DEPTH) in dive()
308 dive(depth+1, iteration+1); in dive()
/art/runtime/mirror/
Dthrowable.cc105 const auto depth = array_len / 2; in Dump() local
106 if (depth == 0) { in Dump()
110 for (int32_t i = 0; i < depth; ++i) { in Dump()
112 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); in Dump()
Dclass.cc902 uint32_t depth = 0; in Depth() local
904 depth++; in Depth()
906 return depth; in Depth()
/art/compiler/optimizing/
Dinliner.h38 size_t depth = 0)
43 depth_(depth) {} in HOptimization()
/art/runtime/native/
Ddalvik_system_VMStack.cc67 int32_t depth; in VMStack_fillStackTraceElements() local
68 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements()
69 return depth; in VMStack_fillStackTraceElements()
/art/compiler/utils/arm/
Dassembler_arm32_test.cc269 static const char* GetRegTokenFromDepth(int depth) { in GetRegTokenFromDepth() argument
270 switch (depth) { in GetRegTokenFromDepth()
296 void TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, in TemplateHelper()
305 const char* reg_token = GetRegTokenFromDepth(depth); in TemplateHelper()
315 void TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, in TemplateHelper()
330 void TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, in TemplateHelper()
345 void TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, in TemplateHelper() argument
353 const char* reg_token = GetRegTokenFromDepth(depth); in TemplateHelper()
360 TemplateHelper(std::function<void(Args...)>(lambda), depth + 1, without_pc, in TemplateHelper()
366 void TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, in TemplateHelper() argument
[all …]
/art/runtime/jdwp/
Djdwp_event.h78 int depth; /* JdwpStepDepth */ member
Djdwp_event.cc211 JdwpStepDepth depth = static_cast<JdwpStepDepth>(pMod->step.depth); in RegisterEvent() local
212 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth); in RegisterEvent()
Djdwp_handler.cc1280 uint32_t depth = request->ReadUnsigned32("step depth"); in ER_Set() local
1282 << " size=" << JdwpStepSize(size) << " depth=" << JdwpStepDepth(depth); in ER_Set()
1286 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.cc1387 uint32_t depth = std::min(3U, static_cast<uint32_t>(bb->nesting_depth)); in GetUseCountWeight() local
1388 uint32_t weight = std::max(1U, depth * 100); in GetUseCountWeight()