Home
last modified time | relevance | path

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

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/bridge/
H A Dark_web_bridge_helper.cpp33 bool ArkWebBridgeHelper::LoadLibFile(int openMode, const std::string& libFilePath, bool isPrintLog) in LoadLibFile() argument
39 void* libFileHandler = ::dlopen(libFilePath.c_str(), openMode); in LoadLibFile()
42 ARK_WEB_BRIDGE_ERROR_LOG("failed to load lib file %{public}s", libFilePath.c_str()); in LoadLibFile()
49 ARK_WEB_BRIDGE_INFO_LOG("succeed to load lib file %{public}s", libFilePath.c_str()); in LoadLibFile()
96 void ArkWebBridgeHelper::PrereadLibFile(const std::string& libFilePath, bool isPrintLog) in PrereadLibFile() argument
99 if (realpath(libFilePath.c_str(), realPath) == nullptr) { in PrereadLibFile()
102 libFilePath.c_str(), errno, strerror(errno)); in PrereadLibFile()
111 libFilePath.c_str(), errno, strerror(errno)); in PrereadLibFile()
120 libFilePath.c_str(), errno, strerror(errno)); in PrereadLibFile()
130 … ARK_WEB_BRIDGE_ERROR_LOG("failed to malloc buf,lib file is %{public}s", libFilePath.c_str()); in PrereadLibFile()
[all …]
H A Dark_web_bridge_helper.h60 bool LoadLibFile(int openMode, const std::string& libFilePath, bool isPrintLog = true);
67 static void PrereadLibFile(const std::string& libFilePath, bool isPrintLog = true);
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_nweb_webview_bridge_helper.cpp62 std::string libFilePath; in Init() local
64libFilePath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_BUNDLE + "/" + NWEB_LIB_FILE_NAME; in Init()
66 libFilePath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_MOCK + "/" + NWEB_LIB_FILE_NAME; in Init()
69 ArkWebBridgeHelper::PrereadLibFile(libFilePath); in Init()