Lines Matching refs:nativeModulePath

233     char nativeModulePath[NATIVE_PATH_NUMBER][NAPI_PATH_MAX];  in GetModuleFileName()  local
235 … if (!GetNativeModulePath(moduleName, pathKey, "", isAppModule, nativeModulePath, NAPI_PATH_MAX)) { in GetModuleFileName()
242 …FindNativeModuleByCache(name.c_str(), nativeModulePath, cacheNativeModule, cacheHeadTailNativeModu… in GetModuleFileName()
247 loadPath = nativeModulePath[0]; in GetModuleFileName()
250 loadPath = std::string(appLibPathMap_[pathKey]) + "/" + nativeModulePath[0]; in GetModuleFileName()
583 char nativeModulePath[NATIVE_PATH_NUMBER][NAPI_PATH_MAX]; in LoadNativeModule() local
584 nativeModulePath[0][0] = 0; in LoadNativeModule()
585 nativeModulePath[1][0] = 0; in LoadNativeModule()
586 nativeModulePath[2][0] = 0; // 2 : Element index value in LoadNativeModule()
590 …if (!GetNativeModulePath(strCutName.c_str(), path, relativePath, isAppModule, nativeModulePath, NA… in LoadNativeModule()
596 …FindNativeModuleByCache(strModule.c_str(), nativeModulePath, cacheNativeModule, cacheHeadTailNativ… in LoadNativeModule()
607 …f (!GetNativeModulePath(moduleName, prefixTmp.c_str(), relativePath, isAppModule, nativeModulePath, in LoadNativeModule()
617 …FindNativeModuleByCache(key.c_str(), nativeModulePath, cacheNativeModule, cacheHeadTailNativeModul… in LoadNativeModule()
625 … nativeModule = FindNativeModuleByCache(strModule.c_str(), nativeModulePath, cacheNativeModule, in LoadNativeModule()
629 …FindNativeModuleByCache(key.c_str(), nativeModulePath, cacheNativeModule, cacheHeadTailNativeModul… in LoadNativeModule()
643 errInfo, nativeModulePath, cacheNativeModule); in LoadNativeModule()
647 errInfo, nativeModulePath, cacheNativeModule); in LoadNativeModule()
652 …FindNativeModuleByCache(moduleName, nativeModulePath, cacheNativeModule, cacheHeadTailNativeModule… in LoadNativeModule()
682 …const char* relativePath, bool isAppModule, char nativeModulePath[][NAPI_PATH_MAX], int32_t pathLe… in GetNativeModulePath()
753 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s", prefix, dupModuleName) == -1) { in GetNativeModulePath()
763 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
767 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s%s", in GetNativeModulePath()
772 if (sprintf_s(nativeModulePath[1], pathLength, "%s/lib%s_napi%s%s", in GetNativeModulePath()
777 if (sprintf_s(nativeModulePath[2], pathLength, "%s/%s%s", // 2 : Element index value in GetNativeModulePath()
784 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
793 sprintfResult = sprintf_s(nativeModulePath[1], pathLength, "%s/lib%s%s", in GetNativeModulePath()
797 … sprintfResult = sprintf_s(nativeModulePath[1], pathLength, "lib%s%s", dupModuleName, soPostfix); in GetNativeModulePath()
804 …if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s", prefix, dupModuleName, soPostfix) == … in GetNativeModulePath()
809 if (sprintf_s(nativeModulePath[0], pathLength, "%s/lib%s%s", libPath.c_str(), in GetNativeModulePath()
828 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s/lib%s%s%s", in GetNativeModulePath()
832 if (sprintf_s(nativeModulePath[1], pathLength, "%s/%s/lib%s_napi%s%s", in GetNativeModulePath()
836 if (sprintf_s(nativeModulePath[2], pathLength, "%s/%s/%s%s", // 2 : Element index value in GetNativeModulePath()
843 if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", afterDot, soPostfix) == -1) { in GetNativeModulePath()
847 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s/lib%s%s", in GetNativeModulePath()
853 if (sprintf_s(nativeModulePath[1], pathLength, "%s/%s/lib%s%s", in GetNativeModulePath()
984 char nativeModulePath[][NAPI_PATH_MAX], NativeModule* cacheNativeModule) in FindNativeModuleByDisk()
1001 char* loadPath = nativeModulePath[0]; in FindNativeModuleByDisk()
1008 loadPath = nativeModulePath[1]; in FindNativeModuleByDisk()
1013 … HILOG_ERROR("%{public}s does not exist, errMsg %{public}s", nativeModulePath[0], errInfo.c_str()); in FindNativeModuleByDisk()
1026 loadPath = nativeModulePath[2]; // 2 : Element index value in FindNativeModuleByDisk()
1187 char nativeModulePath[][NAPI_PATH_MAX], in FindNativeModuleByCache()
1204 … while (label < NATIVE_PATH_NUMBER && strcmp(temp->systemFilePath, nativeModulePath[label])) { in FindNativeModuleByCache()