Lines Matching refs:dupModuleName
720 char dupModuleName[NAPI_PATH_MAX] = { 0 }; in GetNativeModulePath() local
721 if (strcpy_s(dupModuleName, NAPI_PATH_MAX, moduleName) != 0) { in GetNativeModulePath()
733 dupModuleName[i] = tolower(dupModuleName[i]); in GetNativeModulePath()
746 dupModuleName[i] = tolower(dupModuleName[i]); in GetNativeModulePath()
752 (strcmp(dupModuleName + lengthOfModuleName - lengthOfPostfix, soPostfix) == 0)) { in GetNativeModulePath()
753 if (sprintf_s(nativeModulePath[0], pathLength, "%s/%s", prefix, dupModuleName) == -1) { in GetNativeModulePath()
759 char* lastDot = strrchr(dupModuleName, '.'); in GetNativeModulePath()
763 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
768 prefix, dupModuleName, zfix, soPostfix) == -1) { in GetNativeModulePath()
773 prefix, dupModuleName, zfix, soPostfix) == -1) { in GetNativeModulePath()
778 sysAbcPrefix.c_str(), dupModuleName, abcfix) == -1) { in GetNativeModulePath()
784 … if (sprintf_s(nativeModulePath[0], pathLength, "lib%s%s", dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
794 prefixStr.substr(0, pos).c_str(), dupModuleName, soPostfix); 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()
810 dupModuleName, soPostfix) == -1) { in GetNativeModulePath()
821 lengthOfModuleName = strlen(dupModuleName); in GetNativeModulePath()
823 if (*(dupModuleName + i) == '.') { in GetNativeModulePath()
824 *(dupModuleName + i) = '/'; in GetNativeModulePath()
829 prefix, dupModuleName, afterDot, zfix, soPostfix) == -1) { in GetNativeModulePath()
833 prefix, dupModuleName, afterDot, zfix, soPostfix) == -1) { in GetNativeModulePath()
837 sysAbcPrefix.c_str(), dupModuleName, afterDot, abcfix) == -1) { in GetNativeModulePath()
848 prefix, dupModuleName, afterDot, soPostfix) == -1) { in GetNativeModulePath()