Home
last modified time | relevance | path

Searched refs:exportCopy (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_ark_api_allowlist.cpp73 bool Test001(const EcmaVM* vm, Local<ObjectRef> &exportCopy, uint32_t &filter) in Test001() argument
78 Local<ArrayRef> propertyNamesArrayVal = exportCopy->GetAllPropertyNames(vm, filter); in Test001()
84 Local<ObjectRef> obj = exportCopy->Get(vm, nameValue); in Test001()
98 bool Test002(const EcmaVM* vm, Local<ObjectRef> &exportCopy, uint32_t &filter) in Test002() argument
107 Local<ArrayRef> propertyNamesArrayVal = exportCopy->GetAllPropertyNames(vm, filter); in Test002()
114 Local<ObjectRef> obj = exportCopy->Get(vm, nameValue); in Test002()
123 Local<ObjectRef> obj = exportCopy->Get(vm, nameValue); in Test002()
170 Local<ObjectRef> exportCopy = ObjectRef::New(vm); variable
185 ASSERT_EQ(Test001(vm, exportCopy, filter), true);
224 Local<ObjectRef> exportCopy = ObjectRef::New(vm); variable
[all …]
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.h369 panda::Local<panda::ObjectRef>& exportCopy, const std::string& apiPath);
390 …e* module, panda::ecmascript::ApiCheckContext context, panda::Local<panda::ObjectRef>& exportCopy);
H A Dark_native_engine.cpp307 …le* module, panda::ecmascript::ApiCheckContext context, panda::Local<panda::ObjectRef>& exportCopy) in CheckArkApiAllowList() argument
313 …CopyPropertyApiFilter(apiAllowListChecker, context.ecmaVm, context.exportObj, exportCopy, apiPath); in CheckArkApiAllowList()
321 …ecmaVm, const panda::Local<panda::ObjectRef> exportObj, panda::Local<panda::ObjectRef>& exportCopy, in CopyPropertyApiFilter() argument
334 exportCopy->Set(ecmaVm, nameValue, subObject); in CopyPropertyApiFilter()
337 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
340 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
477 panda::Local<panda::ObjectRef> exportCopy = panda::ObjectRef::New(ecmaVm); in ArkNativeEngine() local
479 if (CheckArkApiAllowList(module, context, exportCopy)) { in ArkNativeEngine()
480 return scope.Escape(exportCopy); in ArkNativeEngine()