Home
last modified time | relevance | path

Searched refs:entryPoint (Results 1 - 25 of 37) sorted by relevance

12

/foundation/arkui/napi/test/fuzztest/runactor_fuzzer/
H A Drunactor_fuzzer.cpp37 void RunActor(uint8_t* buffer, size_t bufferSize, const char* descriptor, char* entryPoint) in RunActor() argument
39 arkNativeEngine_->RunActor(buffer, bufferSize, descriptor, entryPoint, true); in RunActor()
79 char* entryPoint = const_cast<char*>(entry.c_str()); in RunActorFuzzTest() local
80 g_nativeEngine.RunActor(buffer, randSize, descriptor, entryPoint); in RunActorFuzzTest()
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_engine.cpp204 bool ARKTS_LoadEntryFromAbc(ARKTS_Engine engine, const char* filePath, const char* entryPoint, bool forceReload) in ARKTS_LoadEntryFromAbc() argument
208 ARKTS_ASSERT_F(entryPoint, "entryPoint is null"); in ARKTS_LoadEntryFromAbc()
211 auto existed = engine->loadedAbcs.find(entryPoint); in ARKTS_LoadEntryFromAbc()
216 LOGE("can't shadow loaded entryPoint from another .abc, entryPoint: %{public}s", entryPoint); in ARKTS_LoadEntryFromAbc()
227 auto success = panda::JSNApi::Execute(vm, filePath, entryPoint); in ARKTS_LoadEntryFromAbc()
229 engine->loadedAbcs[entryPoint] = filePath; in ARKTS_LoadEntryFromAbc()
234 ARKTS_Value ARKTS_ImportFromEntry(ARKTS_Engine engine, const char* entryPoint, cons argument
[all...]
H A Dark_interop_napi.h164 EXPORT bool ARKTS_LoadEntryFromAbc(ARKTS_Engine engine, const char* filePath, const char* entryPoint,
166 EXPORT ARKTS_Value ARKTS_ImportFromEntry(ARKTS_Engine engine, const char* entryPoint, const char* importName);
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dform_frontend_delegate_declarative.cpp30 const std::string& profile, int64_t cardId, const std::string& entryPoint) in RunCard()
46 return pageRouterManager->RunCard(url, params, cardId, entryPoint); in RunCard()
49 [weak = WeakClaim<NG::PageRouterManager>(RawPtr(pageRouterManager)), url, params, cardId, entryPoint]() { in RunCard()
52 pageRouterManager->RunCard(url, params, cardId, entryPoint); in RunCard()
29 RunCard(const std::string& url, const std::string& params, const std::string& profile, int64_t cardId, const std::string& entryPoint) RunCard() argument
H A Dform_frontend_declarative.h48 const std::string& url, const std::string& params, const std::string& entryPoint) override;
59 const std::string& url, int64_t cardId, const std::string& entryPoint) -> bool { in SetLoadCardCallBack()
75 return jsEngine->LoadCard(url, cardId, entryPoint); in SetLoadCardCallBack()
H A Dform_frontend_declarative.cpp48 const std::string& url, const std::string& params, const std::string& entryPoint) in RunDynamicPage()
50 TAG_LOGI(AceLogTag::ACE_FORM, "FormFrontendDeclarative run page url = %{public}s, entryPoint = %{public}s", in RunDynamicPage()
51 url.c_str(), entryPoint.c_str()); in RunDynamicPage()
64 return delegate->RunCard(urlPath, params, "", cardId_, entryPoint); in RunDynamicPage()
47 RunDynamicPage( const std::string& url, const std::string& params, const std::string& entryPoint) RunDynamicPage() argument
H A Dcard_frontend_declarative.h83 const std::string& url, int64_t cardId, const std::string& entryPoint) -> bool {
103 return jsEngine->LoadCard(url, cardId, entryPoint);
H A Dform_frontend_delegate_declarative.h77 int64_t cardId, const std::string& entryPoint = "");
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Disolated_pattern.cpp30 constexpr char ENTRY_POINT[] = "entryPoint";
76 const std::string& hapPath, const std::string& abcPath, const std::string& entryPoint, void* runtime) in InitializeDynamicComponent()
78 if (hapPath.empty() || abcPath.empty() || entryPoint.empty() || runtime == nullptr) { in InitializeDynamicComponent()
85 curIsolatedInfo_.entryPoint = entryPoint; in InitializeDynamicComponent()
94 auto entryPoint = want.GetStringParam(ENTRY_POINT); in InitializeIsolatedComponent() local
96 if (resourcePath.empty() || abcPath.empty() || entryPoint.empty() || runtime == nullptr) { in InitializeIsolatedComponent()
104 curIsolatedInfo_.entryPoint = entryPoint; in InitializeIsolatedComponent()
281 DumpLog::GetInstance().AddDesc(std::string("entryPoint in DumpInfo()
75 InitializeDynamicComponent( const std::string& hapPath, const std::string& abcPath, const std::string& entryPoint, void* runtime) InitializeDynamicComponent() argument
[all...]
H A Disolated_pattern.h37 const std::string& abcPath, const std::string& entryPoint, void* runtime);
H A Dui_extension_model.h62 const std::string& abcPath, const std::string& entryPoint, void* runtime);
H A Dui_extension_model_ng.h47 const std::string& abcPath, const std::string& entryPoint, void* runtime) override;
H A Dui_extension_model_ng.cpp161 const std::string& abcPath, const std::string& entryPoint, void* runtime) in InitializeDynamicComponent()
165 pattern->InitializeDynamicComponent(hapPath, abcPath, entryPoint, runtime); in InitializeDynamicComponent()
160 InitializeDynamicComponent(const RefPtr<FrameNode>& frameNode, const std::string& hapPath, const std::string& abcPath, const std::string& entryPoint, void* runtime) InitializeDynamicComponent() argument
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_dynamic_component.cpp70 auto entryPointValue = dynamicComponentArg->GetProperty("entryPoint"); in Create()
94 auto entryPoint = entryPointValue->ToString(); in Create() local
102 abcPath, entryPoint](napi_env env) { in Create()
106 [weak, hapPath, abcPath, entryPoint, env]() { in Create()
110 frameNode, hapPath, abcPath, entryPoint, env); in Create()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Disolated_pattern_test_ng.cpp40 constexpr char ENTRY_POINT[] = "entryPoint";
128 EXPECT_TRUE(isolatedPattern->curIsolatedInfo_.entryPoint.empty()); in HWTEST_F()
137 auto entryPoint = want.GetStringParam(ENTRY_POINT); in HWTEST_F() local
141 isolatedPattern->curIsolatedInfo_.entryPoint = entryPoint; in HWTEST_F()
176 EXPECT_TRUE(isolatedPattern->curIsolatedInfo_.entryPoint.empty()); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/js/napi/js_child_process_manager/
H A Djs_child_process_manager.cpp216 std::string entryPoint; in OnStartNativeChildProcess() local
219 if (!ConvertFromJsValue(env, argv[PARAM0], entryPoint)) { in OnStartNativeChildProcess()
220 TAG_LOGE(AAFwkTag::PROCESSMGR, "Parse param entryPoint failed, must be a valid string."); in OnStartNativeChildProcess()
221 ThrowInvalidParamError(env, "Parse param entryPoint failed, must be a valid string."); in OnStartNativeChildProcess()
224 if (entryPoint.empty()) { in OnStartNativeChildProcess()
225 TAG_LOGE(AAFwkTag::PROCESSMGR, "entryPoint empty."); in OnStartNativeChildProcess()
226 ThrowInvalidParamError(env, "Param entryPoint cannot be empty."); in OnStartNativeChildProcess()
229 if (entryPoint.find(":") == std::string::npos) { in OnStartNativeChildProcess()
231 "Param entryPoint must contains a colon to separate library name and entry function."); in OnStartNativeChildProcess()
233 "Param entryPoint mus in OnStartNativeChildProcess()
[all...]
/foundation/arkui/ace_engine/test/mock/core/pattern/
H A Dmock_ui_extension_model_ng.cpp36 const std::string& abcPath, const std::string& entryPoint, void* runtime) in InitializeDynamicComponent()
35 InitializeDynamicComponent(const RefPtr<NG::FrameNode>& frameNode, const std::string& hapPath, const std::string& abcPath, const std::string& entryPoint, void* runtime) InitializeDynamicComponent() argument
/foundation/arkui/ace_engine/frameworks/core/common/
H A Ddynamic_component_renderer.h41 std::string entryPoint; member
H A Dfrontend.h137 const std::string& content, const std::string& params, const std::string& entryPoint) in RunDynamicPage()
136 RunDynamicPage( const std::string& content, const std::string& params, const std::string& entryPoint) RunDynamicPage() argument
/foundation/arkui/napi/native_engine/
H A Dnative_engine.cpp836 // this interface for restrictedWorker with entryPoint to execute mergeabc
837 napi_value NativeEngine::RunScriptForAbc(const char* path, char* entryPoint) in RunScriptForAbc() argument
858 panda::JSNApi::Execute(vm, ami, entryPoint, false, true); in RunScriptForAbc()
867 napi_value NativeEngine::RunScript(const char* path, char* entryPoint) in RunScript() argument
883 return RunActor(scriptContent, scriptContentSize, ami.c_str(), entryPoint, false); in RunScript()
H A Dnative_engine.h156 const char* descriptor, char* entryPoint = nullptr, bool checkPath = false) = 0;
406 napi_value RunScriptForAbc(const char* path, char* entryPoint = nullptr);
407 napi_value RunScript(const char* path, char* entryPoint = nullptr);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.h80 const std::string& url, const std::string& params, int64_t cardId, const std::string& entryPoint = "");
281 bool isRestore = false, bool needHideLast = true, const std::string& entryPoint = "");
/foundation/arkui/napi/interfaces/inner_api/napi/
H A Dnative_node_api.h61 const char* descriptor, napi_value* result, char* entryPoint = nullptr);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.h305 bool LoadCard(const std::string& url, int64_t cardId, const std::string& entryPoint) override;
494 bool ExecuteDynamicAbc(const std::string& fileName, const std::string& entryPoint);
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.h53 const std::string& entryPoint, const std::vector<std::string>& registerComponents) override {}

Completed in 16 milliseconds

12