Home
last modified time | relevance | path

Searched refs:dupModuleName (Results 1 - 1 of 1) sorted by relevance

/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp720 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, soPostfi in GetNativeModulePath()
[all...]

Completed in 2 milliseconds