Home
last modified time | relevance | path

Searched refs:CPath (Results 1 – 15 of 15) sorted by relevance

/sdk/find_java/src/source/
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,
42 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt);
Dfind_java_lib.cpp85 static bool isJdkPath(const CPath &path) { in isJdkPath()
88 CPath pathBin(path); in isJdkPath()
92 CPath pathTools(path); in isJdkPath()
104 static int checkPath(CPath *inOutPath) { in checkPath()
121 static int checkBinPath(CPath *inOutPath) { in checkBinPath()
127 int findJavaInPath(const CPath &path, CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInPath()
131 CPath temp(path); in findJavaInPath()
152 int findJavaInEnvPath(CPath *outJavaPath, bool isJdk, int minVersion) { in findJavaInEnvPath()
157 CPath p(envPath); in findJavaInEnvPath()
182 CPath p((*paths)[i].cstr()); in findJavaInEnvPath()
[all …]
Dutils.h237 class CPath : public CString {
239 CPath() : CString() { } in CPath() function
240 CPath(const CString &str) : CString(str) { } in CPath() function
241 CPath(const CPath &str) : CString(str) { } in CPath() function
242 explicit CPath(const char *str) : CString(str) { } in CPath() function
243 CPath(const char *start, int length) : CString(start, length) { } in CPath() function
245 CPath& operator=(const CPath &str) {
251 CPath& addPath(const CString &s) { in addPath()
256 CPath& addPath(const char *s) { in addPath()
285 CPath dirName() const { in dirName()
[all …]
Dfind_java_exe.cpp73 CPath javaPath("<not found>"); in testFindJava()
167 CPath javaPath; in main()
171 CPath customPath(customPathStr); in main()
224 CPath javawPath(javaPath); in main()
Dutils.cpp135 bool getModuleDir(CPath *outDir) { in getModuleDir()
/sdk/find_java2/src/
DJavaPath.h32 CPath mPath;
38 CJavaPath(int version, CPath path);
39 void set(int version, CPath path);
DJavaFinder.cpp70 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt) { in getJavaVersion()
215 static int checkPath(CPath *inOutPath) { in checkPath()
241 static int checkBinPath(CPath *inOutPath) { in checkBinPath()
259 CPath p(envPath); in findJavaInEnvPath()
276 CPath p(tok); in findJavaInEnvPath()
342 CPath rootKey(_T("SOFTWARE\\JavaSoft\\")); in exploreJavaRegistry()
346 CPath subKey(rootKey); in exploreJavaRegistry()
353 CPath javaHome(value); in exploreJavaRegistry()
372 CPath javaHome; in exploreJavaRegistry()
387 CPath subKey(rootKey); in exploreJavaRegistry()
[all …]
DJavaPath.cpp27 CJavaPath::CJavaPath(int version, CPath path) : mVersion(version), mPath(path) { in CJavaPath()
37 mPath = CPath(); in clear()
40 void CJavaPath::set(int version, CPath path) { in set()
72 mPath = CPath(shortPath); in toShortPath()
Dutils.h49 bool getModuleDir(CPath *outDir);
Dutils.cpp220 bool getModuleDir(CPath *outDir) { in getModuleDir()
224 CPath dir(programDir); in getModuleDir()
DFindJava2Dlg.cpp131 CJavaPath(mJavaFinder->getMinVersion(), CPath()).getVersion(), in OnBnClickedButtonAdd()
/sdk/find_lock/
Dfind_lock.h22 bool findLock(CPath &path, CString *outModule);
Dfind_lock_exe.cpp32 CPath dirPath; in main()
Dfind_lock.cpp568 bool findLock(CPath &path, CString *outModule) { in findLock()
/sdk/find_java2/FindJava2/
DFindJava2.cpp175 CPath javawPath = javaPath.mPath; in _tmain()