Searched refs:libraryNameStr (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/security/pkcs11/wrapper/
H A Dp11_md.c90 const char *libraryNameStr = (*env)->GetStringUTFChars(env, jPkcs11ModulePath, 0); local
91 TRACE1("DEBUG: connect to PKCS#11 module: %s ... ", libraryNameStr);
99 hModule = dlopen(libraryNameStr, RTLD_NOW);
101 hModule = dlopen(libraryNameStr, RTLD_LAZY);
106 exceptionMessage = (char *) malloc(sizeof(char) * (strlen(systemErrorMessage) + strlen(libraryNameStr) + 1));
108 strcat(exceptionMessage, libraryNameStr);
110 (*env)->ReleaseStringUTFChars(env, jPkcs11ModulePath, libraryNameStr);
143 (*env)->ReleaseStringUTFChars(env, jPkcs11ModulePath, libraryNameStr);
/openjdk7/jdk/src/windows/native/sun/security/pkcs11/wrapper/
H A Dp11_md.c89 const char *libraryNameStr = (*env)->GetStringUTFChars(env, jPkcs11ModulePath, 0); local
90 TRACE1("DEBUG: connect to PKCS#11 module: %s ... ", libraryNameStr);
96 hModule = LoadLibrary(libraryNameStr);
109 exceptionMessage = (char *) malloc(sizeof(char) * (strlen((LPTSTR) lpMsgBuf) + strlen(libraryNameStr) + 1));
111 strcat(exceptionMessage, libraryNameStr);
153 (*env)->ReleaseStringUTFChars(env, jPkcs11ModulePath, libraryNameStr);

Completed in 49 milliseconds