Lines Matching defs:tmp_path
89 char tmp_path[MAX_PATH];
92 tmp_path[0] = '\0';
94 if (hJVM != NULL && (dwSize = ::GetModuleFileName(hJVM, tmp_path, sizeof(tmp_path))) > 0) {
95 while (dwSize > 0 && tmp_path[dwSize] != '\\') {
99 tmp_path[dwSize] = '\0';
103 strncat(paths, tmp_path, dwSize);
125 strncpy(tmp_path, p, java_home_len - 3);
126 tmp_path[java_home_len - 3] = '\0';
127 strncat(tmp_path, "bin", 3);
130 DWORD dwAttrib = GetFileAttributes(tmp_path);
133 // tmp_path should have the same length as java_home_len, since we only
137 strncat(paths, tmp_path, java_home_len);