Home
last modified time | relevance | path

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

/foundation/arkui/napi/test/unittest/
H A Dtest_ark_api_allowlist.cpp66 HILOG_INFO("exportCopy->system->function:%{public}s", keyname.c_str()); in CheckPropertyNames()
73 bool Test001(const EcmaVM* vm, Local<ObjectRef> &exportCopy, uint32_t &filter) in Test001() argument
78 Local<ArrayRef> propertyNamesArrayVal = exportCopy->GetAllPropertyNames(vm, filter); in Test001()
82 HILOG_INFO("exportCopy->function:%{public}s", keyname.c_str()); 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()
111 HILOG_INFO("exportCopy->function:%{public}s", keyname.c_str()); in Test002()
114 Local<ObjectRef> obj = exportCopy->Get(vm, nameValue); in Test002()
123 Local<ObjectRef> obj = exportCopy in Test002()
170 Local<ObjectRef> exportCopy = ObjectRef::New(vm); HWTEST_F() local
224 Local<ObjectRef> exportCopy = ObjectRef::New(vm); HWTEST_F() local
[all...]
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.h370 panda::Local<panda::ObjectRef>& exportCopy, const std::string& apiPath);
391 NativeModule* module, panda::ecmascript::ApiCheckContext context, panda::Local<panda::ObjectRef>& exportCopy);
H A Dark_native_engine.cpp305 NativeModule* module, panda::ecmascript::ApiCheckContext context, panda::Local<panda::ObjectRef>& exportCopy) in CheckArkApiAllowList()
311 CopyPropertyApiFilter(apiAllowListChecker, context.ecmaVm, context.exportObj, exportCopy, apiPath); in CheckArkApiAllowList()
319 const EcmaVM* ecmaVm, const panda::Local<panda::ObjectRef> exportObj, panda::Local<panda::ObjectRef>& exportCopy, in CopyPropertyApiFilter()
332 exportCopy->Set(ecmaVm, nameValue, subObject); in CopyPropertyApiFilter()
335 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
338 exportCopy->Set(ecmaVm, nameValue, value); in CopyPropertyApiFilter()
473 panda::Local<panda::ObjectRef> exportCopy = panda::ObjectRef::New(ecmaVm); in ArkNativeEngine()
475 if (CheckArkApiAllowList(module, context, exportCopy)) { in ArkNativeEngine()
476 return scope.Escape(exportCopy); in ArkNativeEngine()
304 CheckArkApiAllowList( NativeModule* module, panda::ecmascript::ApiCheckContext context, panda::Local<panda::ObjectRef>& exportCopy) CheckArkApiAllowList() argument
318 CopyPropertyApiFilter(const std::unique_ptr<ApiAllowListChecker>& apiAllowListChecker, const EcmaVM* ecmaVm, const panda::Local<panda::ObjectRef> exportObj, panda::Local<panda::ObjectRef>& exportCopy, const std::string& apiPath) CopyPropertyApiFilter() argument

Completed in 6 milliseconds