Home
last modified time | relevance | path

Searched refs:GetParent (Results 1 - 21 of 21) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_tree.cpp42 while (IsValidIndex(index) && GetColor(GetParent(index)) == TreeColor::RED) { in InsertRebalance()
43 if (IsLeft(GetParent(index))) { in InsertRebalance()
44 int bro = GetLeftBrother(GetParent(index)); in InsertRebalance()
46 SetColor(thread, GetParent(index), TreeColor::BLACK); in InsertRebalance()
48 SetColor(thread, GetParent(GetParent(index)), TreeColor::RED); in InsertRebalance()
49 index = GetParent(GetParent(index)); in InsertRebalance()
52 index = GetParent(index); in InsertRebalance()
55 SetColor(thread, GetParent(inde in InsertRebalance()
[all...]
H A Dtagged_tree.h178 inline int GetParent(int entry) const in GetParent() function in panda::ecmascript::TaggedTree
303 JSTaggedValue child = GetRightChild(GetParent(entry)); in GetLeftBrother()
309 JSTaggedValue child = GetLeftChild(GetParent(entry)); in GetRightBrother()
315 JSTaggedValue child = GetLeftChild(GetParent(entry)); in IsLeft()
321 JSTaggedValue child = GetRightChild(GetParent(entry)); in IsRight()
391 newTree->SetParent(thread, index, JSTaggedValue(GetParent(parent))); in CopyAllData()
H A Decma_string-inl.h432 EcmaString *parent = EcmaString::Cast(SlicedString::Cast(src)->GetParent()); in WriteToFlat()
481 EcmaString *parent = EcmaString::Cast(SlicedString::Cast(src)->GetParent()); in WriteToFlatWithPos()
H A Decma_string.cpp1404 s = EcmaString::Cast(SlicedString::Cast(*string)->GetParent()); in FlattenAllString()
1465 return EcmaString::Cast(str->GetParent())->GetDataUtf8() + str->GetStartIndex(); in GetUtf8DataFlat()
1477 return EcmaString::Cast(str->GetParent())->GetDataUtf8() + str->GetStartIndex(); in GetNonTreeUtf8Data()
1498 return EcmaString::Cast(str->GetParent())->GetDataUtf16() + str->GetStartIndex(); in GetUtf16DataFlat()
1510 return EcmaString::Cast(str->GetParent())->GetDataUtf16() + str->GetStartIndex(); in GetNonTreeUtf16Data()
H A Djs_hclass-inl.h306 auto parent = root->GetParent(); in FindRootHClass()
H A Ddump.cpp1885 JSTaggedValue parent(tree->GetParent(index)); in DumpTaggedTreeEntry()
4650 vec.emplace_back("parent", JSTaggedValue(tree->GetParent(index))); in DumpForSnapshotTaggedTreeEntry()
4788 vec.emplace_back(CString("Parent"), GetParent()); in DumpForSnapshot()
5986 vec.emplace_back(CString("Parent"), GetParent()); in DumpForSnapshot()
H A Decma_string.h934 EcmaString *parent = EcmaString::Cast(GetParent());
H A Djs_hclass.cpp771 parent = curHClass->GetParent(); in FindFieldOwnHClass()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dfibers_test.cpp77 Fiber *GetParent() in GetParent() function in ark::fibers::test::final
110 ASSERT_TRUE(fCur->GetParent() != nullptr); in Entry()
111 fibers::SwitchContext(fCur->GetContextPtr(), fCur->GetParent()->GetContextPtr()); in Entry()
137 ASSERT_TRUE(fCur->GetParent() != nullptr); in LoopedSwitchEntry()
138 fibers::SwitchContext(fCur->GetContextPtr(), fCur->GetParent()->GetContextPtr()); in LoopedSwitchEntry()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
H A Ddominators_tree.h102 BasicBlock *GetParent(BasicBlock *block) const in GetParent() function in panda::compiler::DominatorsTree
H A Ddominators_tree.cpp77 auto parent = GetParent(block); in ComputeImmediateDominators()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Ddominators_tree.h100 BasicBlock *GetParent(BasicBlock *block) const in GetParent() function in ark::compiler::DominatorsTree
H A Ddominators_tree.cpp78 auto parent = GetParent(block); in ComputeImmediateDominators()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
H A Dcleanup.h151 Inst *GetParent(Inst *inst) const in GetParent() function in panda::compiler::final
H A Dcleanup.cpp510 auto parent = GetParent(inst); in ComputeImmediateDominators()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dcleanup.h172 Inst *GetParent(Inst *inst) const in GetParent() function in ark::compiler::final
H A Dcleanup.cpp631 auto parent = GetParent(inst); in ComputeImmediateDominators()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dtagged_tree_test.cpp85 int parent = tree->GetParent(index); in IsVaildRBTree()
97 if (tree->GetParent(ileft) != index || result != ComparisonResult::LESS) { in IsVaildRBTree()
106 if (tree->GetParent(iright) != index || result != ComparisonResult::GREAT) { in IsVaildRBTree()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler.cpp1535 auto parentHClass = hclass->GetParent(); in UpdateLayout()
1576 auto parentHCValue = parent->GetParent(); in UpdateTransitionLayout()
/arkcompiler/ets_runtime/ecmascript/base/
H A Djson_parser.cpp1115 sourceString_ = JSHandle<EcmaString>(thread_, EcmaString::Cast(sliced->GetParent()));
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3089 auto parent = SlicedString::Cast(string.GetTaggedValue())->GetParent(); in DEF_RUNTIME_STUBS()

Completed in 44 milliseconds