Searched refs:nativeModulePath (Results 1 – 2 of 2) sorted by relevance
/foundation/arkui/napi/module_manager/ |
D | native_module_manager.cpp | 176 char nativeModulePath[NATIVE_PATH_NUMBER][NAPI_PATH_MAX]; in GetModuleFileName() local 177 …if (!GetNativeModulePath(moduleName, "default", "", isAppModule, nativeModulePath, NAPI_PATH_MAX))… in GetModuleFileName() 181 const char* loadPath = nativeModulePath[0]; in GetModuleFileName() 478 …const char* relativePath, bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLe… in GetNativeModulePath() 537 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s", prefix, dupModuleName) == -1) { in GetNativeModulePath() 547 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath() 551 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s%s", in GetNativeModulePath() 556 if (sprintf_s(nativeModulePath[1], pathLength, "%s/lib%s_napi%s%s", in GetNativeModulePath() 563 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath() 576 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s", libPath.c_str(), in GetNativeModulePath() [all …]
|
D | native_module_manager.h | 101 bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLength);
|