Home
last modified time | relevance | path

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

/sdk/find_java/src/source/
Dfind_java_exe.cpp71 static void testFindJava(bool isJdk, int minVersion) { in testFindJava() argument
74 int v = findJavaInEnvPath(&javaPath, isJdk, minVersion); in testFindJava()
78 v = findJavaInRegistry(&javaPath, isJdk, minVersion); in testFindJava()
82 v = findJavaInProgramFiles(&javaPath, isJdk, minVersion); in testFindJava()
119 bool isJdk = false; in main() local
130 isJdk = true; in main()
172 version = findJavaInPath(customPath, &javaPath, isJdk, minVersion); in main()
175 version = findJavaInEnvPath(&javaPath, isJdk, minVersion); in main()
178 version = findJavaInRegistry(&javaPath, isJdk, minVersion); in main()
181 version = findJavaInProgramFiles(&javaPath, isJdk, minVersion); in main()
Dfind_java.h33 int findJavaInPath(const CPath &path, CPath *outJavaPath, bool isJdk = false,
35 int findJavaInEnvPath(CPath *outJavaPath, bool isJdk = false,
37 int findJavaInRegistry(CPath *outJavaPath, bool isJdk = false,
39 int findJavaInProgramFiles(CPath *outJavaPath, bool isJdk = false,
Dfind_java_lib.cpp127 int findJavaInPath(const CPath &path, CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInPath() argument
132 if (!isJdk) { in findJavaInPath()
152 int findJavaInEnvPath(CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInEnvPath() argument
159 if (!isJdk || isJdkPath(p)) { in findJavaInEnvPath()
184 if (isJdk && !isJdkPath(p)) { in findJavaInEnvPath()
347 int findJavaInRegistry(CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInRegistry() argument
351 … result |= (!isJdk && getMaxJavaInRegistry("Java Runtime Environment", 0, outJavaPath, &version)); in findJavaInRegistry()
356 result |= (!isJdk && in findJavaInRegistry()
366 static bool checkProgramFiles(CPath *outJavaPath, int *inOutVersion, bool isJdk, in checkProgramFiles() argument
398 if (!isJdk || isJdkPath(temp)) { in checkProgramFiles()
[all …]