Searched defs:home_dir (Results 1 - 2 of 2) sorted by relevance
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | os_bsd.cpp | 398 const char *home_dir = ::getenv("HOME"); local 399 if ((home_dir == NULL) || (*home_dir == '\0')) { 402 home_dir = passwd_info->pw_dir; 406 return home_dir;
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | os_windows.cpp | 195 char home_dir[MAX_PATH]; local 197 if (!getenv("_ALT_JAVA_HOME_DIR", home_dir, MAX_PATH)) { 198 os::jvm_path(home_dir, sizeof(home_dir)); 201 *(strrchr(home_dir, '\\')) = '\0'; /* get rid of \jvm.dll */ 202 pslash = strrchr(home_dir, '\\'); 205 pslash = strrchr(home_dir, '\\'); 211 home_path = NEW_C_HEAP_ARRAY(char, strlen(home_dir) + 1, mtInternal); 214 strcpy(home_path, home_dir); 217 dll_path = NEW_C_HEAP_ARRAY(char, strlen(home_dir) [all...] |
Completed in 156 milliseconds