Lines Matching refs:path

201   // construct full path name
202 char path[JVM_MAXPATHLEN];
203 if (jio_snprintf(path, sizeof(path), "%s%s%s", _dir, os::file_separator(), name) == -1) {
208 if (os::stat(path, &st) == 0) {
210 int file_handle = os::open(path, 0, 0);
287 LazyClassPathEntry::LazyClassPathEntry(char* path, struct stat st) : ClassPathEntry() {
288 _path = strdup(path);
443 assert(_first_entry == NULL, "should not setup bootstrap class search path twice");
446 tty->print_cr("[Bootstrap loader class path=%s]", sys_class_path);
452 // Iterate over class path entries
457 char* path = NEW_C_HEAP_ARRAY(char, end-start+1, mtClass);
458 strncpy(path, &sys_class_path[start], end-start);
459 path[end-start] = '\0';
460 update_class_path_entry_list(path, false);
461 FREE_C_HEAP_ARRAY(char, path, mtClass);
468 void ClassLoader::create_class_path_entry(char *path, struct stat st, ClassPathEntry **new_entry, bool lazy) {
471 *new_entry = new LazyClassPathEntry(path, st);
478 if (!get_canonical_path(path, canonical_path, JVM_MAXPATHLEN)) {
492 *new_entry = new ClassPathZipEntry(zip, path);
494 tty->print_cr("[Opened %s]", path);
500 msg = NEW_RESOURCE_ARRAY(char, strlen(path) + 128); ;
501 jio_snprintf(msg, strlen(path) + 127, "error in opening JAR file %s", path);
503 int len = (int)(strlen(path) + strlen(error_msg) + 128);
505 jio_snprintf(msg, len - 1, "error in opening JAR file <%s> %s", error_msg, path);
512 *new_entry = new ClassPathDirEntry(path);
514 tty->print_cr("[Path %s]", path);
520 // Create a class path zip entry for a given path (return NULL if not found
522 ClassPathZipEntry* ClassLoader::create_class_path_zip_entry(const char *path) {
525 if (os::stat(path, &st) == 0) {
530 strcpy(orig_path, path);
542 // create using canonical path
551 // returns true if entry already on class path
575 void ClassLoader::update_class_path_entry_list(const char *path,
578 if (os::stat((char *)path, &st) == 0) {
581 create_class_path_entry((char *)path, st, &new_entry, LazyBootClassLoader);
582 // The kernel VM adds dynamically to the end of the classloader path and
607 char path[JVM_MAXPATHLEN];
609 os::dll_build_name(path, sizeof(path), Arguments::get_dll_dir(), "zip");
610 void* handle = os::dll_load(path, ebuf, sizeof ebuf);
612 vm_exit_during_initialization("Unable to load ZIP library", path);
624 vm_exit_during_initialization("Corrupted ZIP library", path);
1019 // initialize search path
1094 // Iterates over all class path entries and forces compilation of all methods
1276 // Iterate over all bootstrap class path entries
1279 // We stop at rt.jar, unless it is the first bootstrap path entry