Home
last modified time | relevance | path

Searched full:root (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/arkcompiler/ets_runtime/ecmascript/mem/
Dvisitor.h25 enum class Root { enum
51 virtual void VisitRoot([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot slot) = 0;
53 virtual void VisitRangeRoot([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot start,
56 … virtual void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, [[maybe_unused]] ObjectSlot base,
70 void operator()(TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea area) in operator()
72 static_cast<DerivedVisitor*>(this)->VisitObjectRangeImpl(root, start, end, area); in operator()
80 …virtual void VisitObjectRangeImpl([[maybe_unused]] TaggedObject *root, [[maybe_unused]] ObjectSlot… in VisitObjectRangeImpl() argument
96 …static inline void IterateBody(TaggedObject *root, EcmaObjectRangeVisitor<DerivedVisitor> &visitor) in IterateBody() argument
100 visitor(root, ObjectSlot(ToUintPtr(root)), in IterateBody()
101 ObjectSlot(ToUintPtr(root) + hclassEnd), VisitObjectArea::NORMAL); in IterateBody()
[all …]
Dlayout_visitor.h29 …static inline void IterateBody(TaggedObject *root, EcmaObjectRangeVisitor<DerivedVisitor> &visitor) in IterateBody() argument
31 auto hclass = root->SynchronizedGetClass(); in IterateBody()
35 IteratorRange(root, visitor, size, objSize, VisitObjectArea::NORMAL); in IterateBody()
37 IteratorRange(root, visitor, size, objSize, VisitObjectArea::IN_OBJECT); in IterateBody()
43 …static inline void IteratorRange(TaggedObject *root, EcmaObjectRangeVisitor<DerivedVisitor> &visit… in IteratorRange() argument
46 visitor(root, ObjectSlot(ToUintPtr(root) + start), ObjectSlot(ToUintPtr(root) + end), area); in IteratorRange()
Dverification.h108 void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
109 void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
110 … void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derived,
145 void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
146 void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
147 … void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derived,
160 void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
161 void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
162 … void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derived,
183 …void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea ar… in VisitObjectRangeImpl() argument
[all …]
Dfull_gc.h68 inline void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
70 … inline void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
72 …inline void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derive…
83 inline void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end,
96 inline void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end,
118 void VisitBodyInObj(TaggedObject *root, ObjectSlot start, ObjectSlot end, Callback &&cb);
Dold_gc_visitor.h29 inline void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
31 … inline void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
33 …inline void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derive…
46 inline void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end,
Dyoung_gc_visitor.h29 inline void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
31 … inline void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
33 …inline void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derive…
46 inline void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end,
/arkcompiler/ets_runtime/compiler_service/
Dark_aot_compiler.cfg5 "mkdir /data/app/el1/public/aot_compiler 0711 root root",
6 "mkdir /data/app/el1/public/aot_compiler/ark_cache 0711 root root",
7 "mkdir /data/app/el1/0/aot_compiler 0711 root root",
8 "mkdir /data/app/el1/0/aot_compiler/ark_profile 0711 root root",
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/templates/
Darktsconfig.json3 "baseUrl": "$ROOT",
5 "std": ["$ROOT/plugins/ets/stdlib/std"],
6 "escompat": ["$ROOT/plugins/ets/stdlib/escompat"],
8 "$ROOT/tools/es2panda/test/parser/ets/import_tests"],
10 "$ROOT/tools/es2panda/test/parser/ets/dynamic_import_tests"]
14 "$ROOT/tools/es2panda/test/parser/ets/dynamic_import_tests": {
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/
Dwork_dir.py31 return self.root / "report"
35 return self.root / "gen"
39 return self.root / "intermediate"
42 def root(self) -> Path: member in WorkDir
43 root = Path(self.__general.work_dir) if self.__general.work_dir else self.__default_work_dir
44 root.mkdir(parents=True, exist_ok=True)
45 return root
49 return CoverageDir(self.__general, self.root)
/arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/models/
Dsyntax.test.ts23 root: [
32 expect(result.tokenizer.root[0][0]).toEqual(/(test)/);
33 expect(result.tokenizer.root[1][0]).toBe('not a regex');
39 root: [
48 expect(result.tokenizer.root[0][0]).toEqual(/deepRegex/);
49 expect(result.tokenizer.root[1][0]).toBe('regular string');
55 root: [
70 root: [
78 expect(result.tokenizer.root[0][0]).toBe('/unclosed regex');
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_serializer.cpp104 bool BaseSerializer::SerializeSpecialObjIndividually(JSType objectType, TaggedObject *root, in SerializeSpecialObjIndividually() argument
109 SerializeHClassFieldIndividually(root, start, end); in SerializeSpecialObjIndividually()
112 SerializeLexicalEnvFieldIndividually(root, start, end); in SerializeSpecialObjIndividually()
115 SerializeSendableEnvFieldIndividually(root, start, end); in SerializeSpecialObjIndividually()
119 SerializeSFunctionFieldIndividually(root, start, end); in SerializeSpecialObjIndividually()
122 SerializeAsyncFunctionFieldIndividually(root, start, end); in SerializeSpecialObjIndividually()
129 void BaseSerializer::SerializeHClassFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectS… in SerializeHClassFieldIndividually() argument
131 ASSERT(root->GetClass()->IsHClass()); in SerializeHClassFieldIndividually()
134 size_t fieldOffset = slot.SlotAddress() - ToUintPtr(root); in SerializeHClassFieldIndividually()
137 JSHClass *kclass = reinterpret_cast<JSHClass *>(root); in SerializeHClassFieldIndividually()
[all …]
Dbase_serializer.h55 …void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea ar…
69 …bool SerializeSpecialObjIndividually(JSType objectType, TaggedObject *root, ObjectSlot start, Obje…
70 void SerializeHClassFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectSlot end);
71 void SerializeSFunctionFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectSlot end);
73 void SerializeLexicalEnvFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectSlot end);
74 … void SerializeSendableEnvFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectSlot end);
75 …void SerializeAsyncFunctionFieldIndividually(TaggedObject *root, ObjectSlot start, ObjectSlot end);
77 …void SerializeTaggedObjField(SerializeType serializeType, TaggedObject *root, ObjectSlot start, Ob…
/arkcompiler/ets_runtime/tools/ap_file_viewer/test/
Dtest_ap.py30 root = None variable
36 global root
43 root = application.shadow_root.find_element(By.CSS_SELECTOR, ".root")
47 global root, file_input, script_directory
48 main_menu = root.find_element(By.TAG_NAME, "lit-main-menu")
62 global root
63 app_content = root.find_element(By.CSS_SELECTOR, ".content")
79 global root
80 search_vessel = root.find_element(By.CSS_SELECTOR, ".search-vessel")
83 …search_input = lit_search.shadow_root.find_element(By.CSS_SELECTOR, ".root").find_element(By.TAG_N…
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_custom.py35 "test-root": self.test_root,
36 "list-root": self.list_root,
47 @value(yaml_path="custom.test-root", cli_name="custom_test_root", cast_to_type=_to_path)
52 @value(yaml_path="custom.list-root", cli_name="custom_list_root", cast_to_type=_to_path)
71 … "Expected min configuration: --custom-suite XXX --custom-test-root TTT --custom-list-root LLL\n"
72 "With generator: --custom-suite XXX --custom-test-root TTT --custom-list-root LLL "
79 f'--custom-test-root={self.test_root}' if self.test_root is not None else '',
80 f'--custom-list-root={self.list_root}' if self.list_root is not None else '',
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/
Dcoverage_dir.py33 html_out_path = self.root / "html_report_dir"
50 def root(self) -> Path: member in CoverageDir
51 root = self.__work_dir / "coverage"
52 root.mkdir(parents=True, exist_ok=True)
53 return root
60 profdata_out_path = self.root / "profdata_dir"
66 work_dir = self.root / "work_dir"
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_array.cpp97 JSHandle<RBTreeNode> root = LinkedNode::Treeing(thread, node); in TreeingBin() local
98 tab->Set(thread, index, root); in TreeingBin()
181 JSMutableHandle<LinkedNode> root(thread, JSTaggedValue::Undefined()); in SetVal() local
186 root.Update(nextVal); in SetVal()
187 currentKey.Update(root->GetKey()); in SetVal()
188 if (root->GetHash().GetInt() == hash && (!key->IsHole() && in SetVal()
190 root->SetValue(thread, value.GetTaggedValue()); in SetVal()
193 nextVal.Update(root->GetNext()); in SetVal()
197 root->SetNext(thread, newNode); in SetVal()
203 JSHandle<RBTreeNode> root = JSHandle<RBTreeNode>::Cast(node); in SetVal() local
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_root.cpp63 std::ostream &operator<<(std::ostream &os, const GCRoot &root) in operator <<() argument
65 switch (root.GetType()) { in operator <<()
67 os << "ROOT CLASS"; in operator <<()
70 os << "ROOT FRAME"; in operator <<()
73 os << "ROOT THREAD"; in operator <<()
76 os << "ROOT TENURED"; in operator <<()
79 os << "ROOT NATIVE_GLOBAL"; in operator <<()
82 os << "ROOT NATIVE_LOCAL"; in operator <<()
85 os << "ROOT AOT_STRING_SLOT"; in operator <<()
89 LOG(FATAL, GC) << "ROOT UNKNOWN"; in operator <<()
[all …]
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/
Dcmake_checker.py20 # Root directory for checking
55 for root, dirs, files in os.walk(directory, followlinks=True):
58 # Check if root directory matches any white list path
59 if root.startswith(os.path.join(directory, white_path)):
62 # Check if root directory matches any ignore path
64 … if root.startswith(os.path.join(directory, ignore_path)) or "third_party" in root:
73 …if file == "CMakeLists.txt" or file.endswith(".cmake") and os.path.join(root, file) not in ignore_…
74 cmake_files.append(os.path.join(root, file))
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Dgc_utils.cpp112 auto root = stripUntilRoot(val); in HasBeenGcRef() local
113 if (IsGcRefType(root->getType())) { in HasBeenGcRef()
120 roots.push_back(root); in HasBeenGcRef()
127 root = roots.pop_back_val(); in HasBeenGcRef()
128 if (!visited.insert(root).second) { in HasBeenGcRef()
131 if (!llvm::isa<llvm::PHINode, llvm::SelectInst>(root)) { in HasBeenGcRef()
132 if (!llvm::isa<llvm::Constant>(root) && !any) { in HasBeenGcRef()
140 auto inst = llvm::cast<llvm::Instruction>(root); in HasBeenGcRef()
142 root = stripUntilRoot(inst->getOperand(i)); in HasBeenGcRef()
143 if (IsGcRefType(root->getType())) { in HasBeenGcRef()
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Dclass_linker_context.h113 for (auto root : roots_) { in VisitGCRoots() local
114 cb(root); in VisitGCRoots()
121 for (auto root : roots_) { in AddGCRoot() local
122 if (root == obj) { in AddGCRoot()
133 for (auto &root : roots_) { in UpdateGCRoots()
134 if (root->IsForwarded()) { in UpdateGCRoots()
135 root = ::ark::mem::GetForwardAddress(root); in UpdateGCRoots()
/arkcompiler/runtime_core/static_core/compiler/cmake/
Dbenchmark_coverage.cmake34 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
39 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
44 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
49 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
54 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
60 …/compiler/tools/benchmark_coverage.sh --binary-dir=${PANDA_BINARY_ROOT} --root-dir=${PANDA_ROOT} -…
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp145 auto root = PtJson::CreateObject(); in HWTEST_F_L0() local
146 root->Add("a", false); in HWTEST_F_L0()
147 root->Add("b", 100); in HWTEST_F_L0()
148 root->Add("c", 100.2); in HWTEST_F_L0()
149 root->Add("d", static_cast<int64_t>(200)); in HWTEST_F_L0()
150 root->Add("e", "abc"); in HWTEST_F_L0()
151 root->Add("f", child2); in HWTEST_F_L0()
152 root->Add("g", arr); in HWTEST_F_L0()
160 ASSERT_EQ(root->GetBool("a", &b), Result::SUCCESS); in HWTEST_F_L0()
162 ASSERT_EQ(root->GetInt("b", &i32), Result::SUCCESS); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.cpp40 LOG_ECMA(FATAL) << "Relocate GlobalConstants Root undefined, index: " << index; in RelocateRootObjectAddr()
46 LOG_ECMA(FATAL) << "Relocate GlobalEnv Root undefined, index: " << index in RelocateRootObjectAddr()
55 // during update root, rootObjectMap_ key need update in Iterate()
60 v.VisitRoot(Root::ROOT_VM, slot); in Iterate()
68 v.VisitRoot(Root::ROOT_VM, slot); in Iterate()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
Dets_test_dir.py24 def __init__(self, static_core_root: str, root: Optional[str] = None) -> None:
26 self.__root = root
30 return self.root / "tests"
61 def root(self) -> Path: member in EtsTestDir
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_gc_visitor.h29 inline void VisitRoot([[maybe_unused]] Root type, ObjectSlot slot) override;
31 … inline void VisitRangeRoot([[maybe_unused]] Root type, ObjectSlot start, ObjectSlot end) override;
33 …inline void VisitBaseAndDerivedRoot([[maybe_unused]] Root type, ObjectSlot base, ObjectSlot derive…
47 inline void VisitObjectRangeImpl(TaggedObject *root, ObjectSlot start, ObjectSlot end,

12345678910>>...15