Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp27 JSHandle<ModuleNamespace> ModuleNamespace::ModuleNamespaceCreate(JSThread *thread, in ModuleNamespaceCreate()
41 JSHandle<ModuleNamespace> mNp = factory->NewModuleNamespace(); in ModuleNamespaceCreate()
67 OperationResult ModuleNamespace::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty()
77 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in GetProperty()
124 JSHandle<TaggedArray> ModuleNamespace::OwnPropertyKeys(JSThread *thread, const JSHandle<JSTaggedVal… in OwnPropertyKeys()
128 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in OwnPropertyKeys()
143 JSHandle<TaggedArray> ModuleNamespace::OwnEnumPropertyKeys(JSThread *thread, const JSHandle<JSTagge… in OwnEnumPropertyKeys()
147 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in OwnEnumPropertyKeys()
162 bool ModuleNamespace::PreventExtensions() in PreventExtensions()
167 bool ModuleNamespace::DefineOwnProperty(JSThread *thread, in DefineOwnProperty()
[all …]
Djs_module_namespace.h23 class ModuleNamespace final : public JSObject {
25 CAST_CHECK(ModuleNamespace, IsModuleNamespace);
27 …static void SetModuleDeregisterProcession(JSThread *thread, const JSHandle<ModuleNamespace> &nameS…
31 …static JSHandle<ModuleNamespace> ModuleNamespaceCreate(JSThread *thread, const JSHandle<JSTaggedVa…
Djs_module_deregister.h42 JSHandle<ModuleNamespace> nameSp = JSHandle<ModuleNamespace>::Cast(nameSpVal); in ProcessModuleReference()
Djs_module_source_text.cpp871 JSHandle<ModuleNamespace> np = in GetModuleNamespace()
872 ModuleNamespace::ModuleNamespaceCreate(thread, moduleTagged, fixUnambiguousNames); in GetModuleNamespace()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp57 JSHandle<ModuleNamespace> np = ModuleNamespace::ModuleNamespaceCreate(vm->GetJSThread(), in IsModuleNamespaceObjectFuzztest()
59 ModuleNamespace::PreventExtensions(); in IsModuleNamespaceObjectFuzztest()
61 Local<JSValueRef> moduleNamespace = JSNApiHelper::ToLocal<ModuleNamespace>(moduleNamespaceTag); in IsModuleNamespaceObjectFuzztest()
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value.cpp648 return ModuleNamespace::GetProperty(thread, obj, key); in GetProperty()
729 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
758 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
789 success = ModuleNamespace::SetProperty(thread, mayThrow); in SetProperty()
810 return ModuleNamespace::DeleteProperty(thread, obj, key); in DeleteProperty()
879 return ModuleNamespace::DefineOwnProperty(thread, obj, key, desc); in DefineOwnProperty()
899 return ModuleNamespace::GetOwnProperty(thread, obj, key, desc); in GetOwnProperty()
918 return ModuleNamespace::SetPrototype(obj, proto); in SetPrototype()
956 return ModuleNamespace::PreventExtensions(); in PreventExtensions()
973 return ModuleNamespace::OwnPropertyKeys(thread, obj); in GetOwnPropertyKeys()
[all …]
Djs_tagged_value-inl.h306 ModuleNamespace* ns = ModuleNamespace::Cast(this->GetTaggedObject()); in IsExtensible()
Dobject_factory.h143 class ModuleNamespace; variable
634 JSHandle<ModuleNamespace> NewModuleNamespace();
Ddump.cpp1198 ModuleNamespace::Cast(obj)->Dump(os); in DumpObject()
3750 void ModuleNamespace::Dump(std::ostream &os) const in Dump()
4325 ModuleNamespace::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
5886 void ModuleNamespace::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
Dobject_factory.cpp2925 JSHandle<ModuleNamespace> ObjectFactory::NewModuleNamespace() in NewModuleNamespace()
2932 JSHandle<ModuleNamespace> moduleNamespace = JSHandle<ModuleNamespace>::Cast(obj); in NewModuleNamespace()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp264 JSHandle<ModuleNamespace> np = in HWTEST_F_L0()
265ModuleNamespace::ModuleNamespaceCreate(thread, JSHandle<JSTaggedValue>::Cast(module), localExportE… in HWTEST_F_L0()
267 EXPECT_TRUE(ModuleNamespace::PreventExtensions()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_second_tests.cpp1163 JSHandle<ModuleNamespace> np = in HWTEST_F_L0()
1164ModuleNamespace::ModuleNamespaceCreate(thread_, JSHandle<JSTaggedValue>::Cast(module), localExport… in HWTEST_F_L0()
1165 EXPECT_TRUE(ModuleNamespace::PreventExtensions()); in HWTEST_F_L0()
1167 Local<JSValueRef> moduleNamespace = JSNApiHelper::ToLocal<ModuleNamespace>(moduleNamespaceTag); in HWTEST_F_L0()
Dffi_workload.cpp5844 JSHandle<ModuleNamespace> moduleNamespace = factory->NewModuleNamespace(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h674 ModuleNamespace::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp1362 CHECK_DUMP_FIELDS(JSObject::SIZE, ModuleNamespace::SIZE, 3U); in HWTEST_F_L0()
1363 JSHandle<ModuleNamespace> moduleNamespace = factory->NewModuleNamespace(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/
DJSNapi接口说明.md3210 JSHandle<ModuleNamespace> moduleNamespace = factory->NewModuleNamespace();
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp3602 …factory_->NewEcmaHClass(ModuleNamespace::SIZE, JSType::JS_MODULE_NAMESPACE, moduleNamespacePrototy… in InitializeModuleNamespace()