Lines Matching refs:result
107 int result = 0; in checkPath() local
111 if (!getJavaVersion(*inOutPath, NULL /*versionStr*/, &result)) { in checkPath()
112 result = 0; in checkPath()
116 return result; in checkPath()
298 for (LONG result = ERROR_SUCCESS; result == ERROR_SUCCESS; index++) { in exploreJavaRegistry() local
301 result = RegEnumKeyExA( in exploreJavaRegistry()
310 if (result == ERROR_SUCCESS && nameLen < 256) { in exploreJavaRegistry()
350 bool result = false; in findJavaInRegistry() local
351 … result |= (!isJdk && getMaxJavaInRegistry("Java Runtime Environment", 0, outJavaPath, &version)); in findJavaInRegistry()
352 result |= getMaxJavaInRegistry("Java Development Kit", 0, outJavaPath, &version); in findJavaInRegistry()
356 result |= (!isJdk && in findJavaInRegistry()
358 … result |= getMaxJavaInRegistry("Java Development Kit", KEY_WOW64_32KEY, outJavaPath, &version); in findJavaInRegistry()
361 return result ? version : 0; in findJavaInRegistry()
371 HRESULT result = SHGetFolderPathA( in checkProgramFiles() local
377 if (FAILED(result)) return false; in checkProgramFiles()
416 bool result = false; in findJavaInProgramFiles() local
418 result |= checkProgramFiles(outJavaPath, &version, isJdk, false); in findJavaInProgramFiles()
423 result |= checkProgramFiles(outJavaPath, &version, isJdk, true); in findJavaInProgramFiles()
426 return result ? version : 0; in findJavaInProgramFiles()
436 bool result = false; in getJavaVersion() local
544 result = exitCode == 0; in getJavaVersion()
552 if (result && index > 0) { in getJavaVersion()
565 result = extractJavaVersion(first32, index, outVersionStr, outVersionInt); in getJavaVersion()
569 return result; in getJavaVersion()