Lines Matching refs:buf
78 char buf[JVM_MAXPATHLEN];
79 os::jvm_path(buf, sizeof(buf));
84 const char* base = buf;
85 const char* p = strrchr(buf, '/');
98 strcpy(&buf[jvm_offset], hsdis_library_name);
99 strcat(&buf[jvm_offset], os::dll_file_extension());
100 _library = os::dll_load(buf, ebuf, sizeof ebuf);
103 strcpy(&buf[lib_offset], hsdis_library_name);
104 strcat(&buf[lib_offset], os::dll_file_extension());
105 _library = os::dll_load(buf, ebuf, sizeof ebuf);
109 buf[lib_offset - 1] = '\0';
110 const char* p = strrchr(buf, '/');
112 lib_offset = p - buf + 1;
113 strcpy(&buf[lib_offset], hsdis_library_name);
114 strcat(&buf[lib_offset], os::dll_file_extension());
115 _library = os::dll_load(buf, ebuf, sizeof ebuf);
121 strcpy(&buf[0], hsdis_library_name);
122 strcat(&buf[0], os::dll_file_extension());
123 _library = os::dll_load(buf, ebuf, sizeof ebuf);
131 tty->print_cr("Could not load %s; %s; %s", buf,
142 tty->print_cr("Loaded disassembler from %s", buf);