Searched refs:libname (Results 1 - 12 of 12) sorted by relevance

/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/asm/
H A DDisassembler.java67 String libname = "hsdis";
71 libname += "-i386";
73 libname += "-amd64";
75 libname += "-" + arch;
78 libname += ".dll";
82 libname += "-i386" + ".so";
85 libname += "-amd64" + ".so";
88 libname += "-" + arch + ".so";
93 libname += "-i386.so";
96 libname
[all...]
/openjdk9/hotspot/src/jdk.hotspot.agent/share/native/libsaproc/
H A Dsadis.c114 const char *libname = NULL; local
128 libname = (*env)->GetStringUTFChars(env, libname_s, NULL);
129 if (libname == NULL || (*env)->ExceptionOccurred(env)) {
136 hsdis_handle = LoadLibrary(libname);
138 snprintf(buffer, sizeof(buffer), "%s%s", jrepath, libname);
149 hsdis_handle = dlopen(libname, RTLD_LAZY | RTLD_GLOBAL);
151 snprintf(buffer, sizeof(buffer), "%s%s", jrepath, libname);
162 (*env)->ReleaseStringUTFChars(env, libname_s, libname);
/openjdk9/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/
H A Dlibproc_impl.h117 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base);
120 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd,
H A Dlibproc_impl.c160 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base) { argument
161 return add_lib_info_fd(ph, libname, -1, base);
164 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, uintptr_t base) { argument
172 if (strlen(libname) >= sizeof(newlib->name)) {
173 print_debug("libname %s too long\n", libname);
177 strcpy(newlib->name, libname);
199 newlib->symtab = build_symtab(newlib->fd, libname);
/openjdk9/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/
H A Dlibproc_impl.c205 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base) { argument
206 return add_lib_info_fd(ph, libname, -1, base);
209 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, uintptr_t base) { argument
211 print_debug("add_lib_info_fd %s\n", libname);
218 if (strlen(libname) >= sizeof(newlib->name)) {
219 print_debug("libname %s too long\n", libname);
223 strcpy(newlib->name, libname);
H A Dlibproc_impl.h173 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base);
176 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd,
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DRuntime.java816 * Loads the native library specified by the {@code libname}
817 * argument. The {@code libname} argument must not contain any platform
819 * called {@code libname} is statically linked with the VM, then the
820 * JNI_OnLoad_{@code libname} function exported by the library is invoked.
823 * Otherwise, the libname argument is loaded from a system library
828 * method is called with the {@code libname} as its argument.
846 * @param libname the name of the library.
850 * @exception UnsatisfiedLinkError if either the libname argument
854 * @exception NullPointerException if {@code libname} is
860 public void loadLibrary(String libname) { argument
864 loadLibrary0(Class<?> fromClass, String libname) argument
[all...]
H A DSystem.java1825 * Loads the native library specified by the <code>libname</code>
1826 * argument. The <code>libname</code> argument must not contain any platform
1828 * called <code>libname</code> is statically linked with the VM, then the
1829 * JNI_OnLoad_<code>libname</code> function exported by the library is invoked.
1832 * Otherwise, the libname argument is loaded from a system library
1842 * @param libname the name of the library.
1846 * @exception UnsatisfiedLinkError if either the libname argument
1850 * @exception NullPointerException if <code>libname</code> is
1856 public static void loadLibrary(String libname) { argument
1857 Runtime.getRuntime().loadLibrary0(Reflection.getCallerClass(), libname);
1872 mapLibraryName(String libname) argument
[all...]
H A DClassLoader.java2337 * @param libname
2347 protected String findLibrary(String libname) { argument
/openjdk9/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A Dtransport.c106 char libname[MAXPATHLEN+2]; local
120 dbgsysBuildLibName(libname, sizeof(libname), plibdir, name);
121 if (strlen(libname) == 0) {
126 handle = dbgsysLoadLibrary(libname, buf, sizeof(buf));
/openjdk9/jdk/src/java.base/share/native/libjava/
H A DSystem.c486 Java_java_lang_System_mapLibraryName(JNIEnv *env, jclass ign, jstring libname) argument
493 if (libname == NULL) {
497 len = (*env)->GetStringLength(env, libname);
503 (*env)->GetStringRegion(env, libname, 0, len, chars + prefix_len);
/openjdk9/jdk/src/java.management/share/classes/javax/management/loading/
H A DMLet.java994 * System.mapLibraryName}{@code (libname)}. Then the following names are
1007 * @param libname The library name.
1011 protected String findLibrary(String libname) { argument
1018 String nativelibname = System.mapLibraryName(libname);
1025 "Search " + libname + " in all JAR files");
1075 libname + " not found in any JAR file");
1077 "Search " + libname + " along the path " +
1135 private synchronized String loadLibraryAsResource(String libname) { argument
1138 libname.replace(File.separatorChar,'/'));
1144 libname
[all...]

Completed in 196 milliseconds