/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_listener.h | 44 void listener_init(JNIEnv *env); 45 void listener_term(JNIEnv *env);
|
H A D | hprof_cpu.h | 44 void cpu_sample_off(JNIEnv *env, ObjectIndex object_index); 45 void cpu_sample_on(JNIEnv *env, ObjectIndex object_index); 47 void cpu_sample_init(JNIEnv *env); 48 void cpu_sample_term(JNIEnv *env);
|
/openjdk7/jdk/src/share/native/sun/awt/image/ |
H A D | imageInitIDs.c | 31 Java_java_awt_image_BufferedImage_initIDs(JNIEnv *env, jclass cls) { argument 32 g_BImgRasterID = (*env)->GetFieldID(env, cls, "raster", 34 g_BImgTypeID = (*env)->GetFieldID(env, cls, "imageType", "I"); 35 g_BImgCMID = (*env)->GetFieldID(env, cls, "colorModel", 37 g_BImgGetRGBMID = (*env)->GetMethodID(env, cls, "getRGB", 39 g_BImgSetRGBMID = (*env) 48 Java_java_awt_image_Raster_initIDs(JNIEnv *env, jclass cls) argument 79 Java_sun_awt_image_ByteComponentRaster_initIDs(JNIEnv *env, jclass cls) argument 95 Java_sun_awt_image_BytePackedRaster_initIDs(JNIEnv *env, jclass cls) argument 109 Java_sun_awt_image_ShortComponentRaster_initIDs(JNIEnv *env, jclass cls) argument 124 Java_sun_awt_image_IntegerComponentRaster_initIDs(JNIEnv *env, jclass cls) argument 142 Java_java_awt_image_SinglePixelPackedSampleModel_initIDs(JNIEnv *env, jclass cls) argument 156 Java_java_awt_image_ColorModel_initIDs(JNIEnv *env, jclass cls) argument 185 Java_java_awt_image_IndexColorModel_initIDs(JNIEnv *env, jclass cls) argument 196 Java_java_awt_image_SampleModel_initIDs(JNIEnv *env, jclass cls) argument 210 Java_java_awt_image_ComponentSampleModel_initIDs(JNIEnv *env, jclass cls) argument 221 Java_java_awt_image_Kernel_initIDs(JNIEnv *env, jclass cls) argument 233 Java_java_awt_image_DataBufferInt_initIDs(JNIEnv *env, jclass cls) argument [all...] |
/openjdk7/jdk/test/javax/naming/spi/DirectoryManager/ |
H A D | DummyContext.java | 34 private Hashtable env; field in class:DummyContext 36 DummyContext(Hashtable env) throws NamingException { argument 37 this.env = env; 41 return env;
|
/openjdk7/jdk/src/share/native/java/lang/ |
H A D | SecurityManager.c | 38 check(JNIEnv *env, jobject this) argument 44 jclass clazz = (*env)->FindClass(env, "java/lang/SecurityManager"); 46 (*env)->ExceptionClear(env); 49 initField = (*env)->GetFieldID(env, clazz, "initialized", "Z"); 51 (*env)->ExceptionClear(env); 55 initialized = (*env) 71 Java_java_lang_SecurityManager_getClassContext(JNIEnv *env, jobject this) argument 81 Java_java_lang_SecurityManager_currentLoadedClass0(JNIEnv *env, jobject this) argument 92 Java_java_lang_SecurityManager_currentClassLoader0(JNIEnv *env, jobject this) argument 103 Java_java_lang_SecurityManager_classDepth(JNIEnv *env, jobject this, jstring name) argument 120 Java_java_lang_SecurityManager_classLoaderDepth0(JNIEnv *env, jobject this) argument [all...] |
H A D | ResourceBundle.c | 32 Java_java_util_ResourceBundle_getClassContext(JNIEnv *env, jobject this) argument 34 return JVM_GetClassContext(env);
|
H A D | Shutdown.c | 34 Java_java_lang_Shutdown_halt0(JNIEnv *env, jclass ignored, jint code) argument 41 Java_java_lang_Shutdown_runAllFinalizers(JNIEnv *env, jclass ignored) argument 46 if ((cl = (*env)->FindClass(env, "java/lang/ref/Finalizer")) 47 && (mid = (*env)->GetStaticMethodID(env, cl, 49 (*env)->CallStaticVoidMethod(env, cl, mid);
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | FileDescriptor_md.c | 44 Java_java_io_FileDescriptor_initIDs(JNIEnv *env, jclass fdClass) { argument 45 IO_fd_fdID = (*env)->GetFieldID(env, fdClass, "fd", "I"); 53 Java_java_io_FileDescriptor_sync(JNIEnv *env, jobject this) { argument 54 int fd = (*env)->GetIntField(env, this, IO_fd_fdID); 56 JNU_ThrowByName(env, "java/io/SyncFailedException", "sync failed");
|
H A D | io_util_md.h | 43 if ((*env)->GetObjectField(env, (this), (fid)) != NULL) \ 44 (*env)->SetIntField(env, (*env)->GetObjectField(env, (this), (fid)),IO_fd_fdID, (fd)) 47 (*env)->GetObjectField(env, (this), (fid)) == NULL ? \ 48 -1 : (*env)->GetIntField(env, (*en [all...] |
H A D | FileSystem_md.c | 32 Java_java_io_FileSystem_getFileSystem(JNIEnv *env, jclass ignored) argument 34 return JNU_NewObjectByName(env, "java/io/UnixFileSystem", "()V");
|
/openjdk7/jdk/src/share/native/java/io/ |
H A D | ObjectStreamClass.c | 41 Java_java_io_ObjectStreamClass_initNative(JNIEnv *env, jclass this) argument 43 jclass cl = (*env)->FindClass(env, "java/lang/NoSuchMethodError"); 47 noSuchMethodErrCl = (*env)->NewGlobalRef(env, cl); 59 Java_java_io_ObjectStreamClass_hasStaticInitializer(JNIEnv *env, jclass this, argument 65 (*env)->GetStaticMethodID(env, clazz, "<clinit>", "()V"); 67 jthrowable th = (*env)->ExceptionOccurred(env); [all...] |
/openjdk7/jdk/src/share/native/java/lang/ref/ |
H A D | Finalizer.c | 31 Java_java_lang_ref_Finalizer_invokeFinalizeMethod(JNIEnv *env, jclass clazz, argument 37 cls = (*env)->GetObjectClass(env, ob); 39 mid = (*env)->GetMethodID(env, cls, "finalize", "()V"); 41 (*env)->CallVoidMethod(env, ob, mid);
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Insets.c | 35 Java_java_awt_Insets_initIDs(JNIEnv *env, jclass cls) argument 37 insetsIDs.top = (*env)->GetFieldID(env, cls, "top", "I"); 38 insetsIDs.bottom = (*env)->GetFieldID(env, cls, "bottom", "I"); 39 insetsIDs.left = (*env)->GetFieldID(env, cls, "left", "I"); 40 insetsIDs.right = (*env)->GetFieldID(env, cls, "right", "I");
|
H A D | awt_Event.c | 43 Java_java_awt_Event_initIDs(JNIEnv *env, jclass cls) argument 45 eventIDs.data = (*env)->GetFieldID(env, cls, "data", "J"); 46 eventIDs.consumed = (*env)->GetFieldID(env, cls, "consumed", "Z"); 47 eventIDs.id = (*env)->GetFieldID(env, cls, "id", "I");
|
/openjdk7/jdk/src/macosx/native/sun/osxapp/ |
H A D | PropertiesUtilities.m | 30 + (NSString *) javaSystemPropertyForKey:(NSString *)key withEnv:(JNIEnv *)env { 34 jstring jKey = JNFNSToJavaString(env, key); 35 jstring jValue = JNFCallStaticObjectMethod(env, jm_getProperty, jKey); 36 (*env)->DeleteLocalRef(env, jKey); 38 NSString *value = JNFJavaToNSString(env, jValue); 39 (*env)->DeleteLocalRef(env, jValue);
|
/openjdk7/jdk/src/windows/native/sun/nio/ch/ |
H A D | FileKey.c | 39 Java_sun_nio_ch_FileKey_initIDs(JNIEnv *env, jclass clazz) argument 41 key_volumeSN = (*env)->GetFieldID(env, clazz, "dwVolumeSerialNumber", "J"); 42 key_indexHigh = (*env)->GetFieldID(env, clazz, "nFileIndexHigh", "J"); 43 key_indexLow = (*env)->GetFieldID(env, clazz, "nFileIndexLow", "J"); 48 Java_sun_nio_ch_FileKey_init(JNIEnv *env, jobject this, jobject fdo) argument 50 HANDLE fileHandle = (HANDLE)(handleval(env, fdo)); 56 (*env) [all...] |
/openjdk7/jdk/src/solaris/native/com/sun/security/auth/module/ |
H A D | Solaris.c | 36 (JNIEnv *env, jobject obj) { 48 jclass cls = (*env)->GetObjectClass(env, obj); 57 fid = (*env)->GetFieldID(env, cls, "username", "Ljava/lang/String;"); 60 (*env)->FindClass(env, "java/lang/IllegalArgumentException"); 65 (*env)->ThrowNew(env, newExcCls, "invalid field: username"); 67 jstr = (*env) 35 Java_com_sun_security_auth_module_SolarisSystem_getSolarisInfo(JNIEnv *env, jobject obj) argument [all...] |
H A D | Unix.c | 41 (JNIEnv *env, jobject obj) { 54 jclass cls = (*env)->GetObjectClass(env, obj); 64 fid = (*env)->GetFieldID(env, cls, "username", "Ljava/lang/String;"); 67 (*env)->FindClass(env, "java/lang/IllegalArgumentException"); 72 (*env)->ThrowNew(env, newExcCls, "invalid field: username"); 74 jstr = (*env) 40 Java_com_sun_security_auth_module_UnixSystem_getUnixInfo(JNIEnv *env, jobject obj) argument [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | sunFont.c | 42 (JNIEnv *env, jclass scalerClass) { 64 (JNIEnv *env, jobject scaler, jlong pContext, jint glyphCode) { 78 (JNIEnv *env, jclass cls) { 80 jclass tmpClass = (*env)->FindClass(env, "sun/font/TrueTypeFont"); 82 (*env)->GetMethodID(env, tmpClass, "readBlock", 85 (*env)->GetMethodID(env, tmpClass, "readBytes", "(II)[B"); 87 tmpClass = (*env) 41 Java_sun_font_NullFontScaler_getNullScalerContext(JNIEnv *env, jclass scalerClass) argument 63 Java_sun_font_NullFontScaler_getGlyphImage(JNIEnv *env, jobject scaler, jlong pContext, jint glyphCode) argument 77 Java_sun_font_SunFontManager_initIDs(JNIEnv *env, jclass cls) argument 187 Java_sun_font_StrikeCache_freeIntPointer(JNIEnv *env, jclass cacheClass, jint ptr) argument 205 Java_sun_font_StrikeCache_freeLongPointer(JNIEnv *env, jclass cacheClass, jlong ptr) argument 223 Java_sun_font_StrikeCache_freeIntMemory(JNIEnv *env, jclass cacheClass, jintArray jmemArray, jlong pContext) argument 255 Java_sun_font_StrikeCache_freeLongMemory(JNIEnv *env, jclass cacheClass, jlongArray jmemArray, jlong pContext) argument 282 Java_sun_font_StrikeCache_getGlyphCacheDescription(JNIEnv *env, jclass cls, jlongArray results) argument [all...] |
/openjdk7/jdk/src/share/native/common/ |
H A D | jni_util.c | 44 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg) argument 46 jclass cls = (*env)->FindClass(env, name); 49 (*env)->ThrowNew(env, cls, msg); 55 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg) argument 57 JNU_ThrowByName(env, "java/lang/NullPointerException", msg); 61 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg) argument 63 JNU_ThrowByName(env, "java/lang/ArrayIndexOutOfBoundsException", msg); 67 JNU_ThrowOutOfMemoryError(JNIEnv *env, cons argument 73 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg) argument 79 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg) argument 85 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg) argument 91 JNU_ThrowInternalError(JNIEnv *env, const char *msg) argument 97 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg) argument 103 JNU_ThrowNoSuchMethodException(JNIEnv *env, const char *msg) argument 109 JNU_ThrowClassNotFoundException(JNIEnv *env, const char *msg) argument 115 JNU_ThrowNumberFormatException(JNIEnv *env, const char *msg) argument 121 JNU_ThrowIOException(JNIEnv *env, const char *msg) argument 127 JNU_ThrowNoSuchFieldError(JNIEnv *env, const char *msg) argument 133 JNU_ThrowNoSuchMethodError(JNIEnv *env, const char *msg) argument 139 JNU_ThrowStringIndexOutOfBoundsException(JNIEnv *env, const char *msg) argument 145 JNU_ThrowInstantiationException(JNIEnv *env, const char *msg) argument 156 JNU_ThrowByNameWithLastError(JNIEnv *env, const char *name, const char *defaultDetail) argument 182 JNU_ThrowIOExceptionWithLastError(JNIEnv *env, const char *defaultDetail) argument 189 JNU_CallStaticMethodByName(JNIEnv *env, jboolean *hasException, const char *class_name, const char *name, const char *signature, ...) argument 266 JNU_CallMethodByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, ...) argument 286 JNU_CallMethodByNameV(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, va_list args) argument 358 JNU_NewObjectByName(JNIEnv *env, const char *class_name, const char *constructor_sig, ...) argument 390 newString8859_1(JNIEnv *env, const char *str) argument 416 getString8859_1Chars(JNIEnv *env, jstring jstr) argument 449 newString646_US(JNIEnv *env, const char *str) argument 481 getString646_USChars(JNIEnv *env, jstring jstr) argument 521 newStringCp1252(JNIEnv *env, const char *str) argument 552 getStringCp1252Chars(JNIEnv *env, jstring jstr) argument 625 initializeEncoding(JNIEnv *env) argument 693 jnuEncodingSupported(JNIEnv *env) argument 709 NewStringPlatform(JNIEnv *env, const char *str) argument 715 JNU_NewStringPlatform(JNIEnv *env, const char *str) argument 762 GetStringPlatformChars(JNIEnv *env, jstring jstr, jboolean *isCopy) argument 768 JNU_GetStringPlatformChars(JNIEnv *env, jstring jstr, jboolean *isCopy) argument 817 JNU_ReleaseStringPlatformChars(JNIEnv *env, jstring jstr, const char *str) argument 830 Canonicalize(JNIEnv *env, char *orig, char *out, int len) argument 837 JNU_ClassString(JNIEnv *env) argument 852 JNU_ClassClass(JNIEnv *env) argument 867 JNU_ClassObject(JNIEnv *env) argument 882 JNU_ClassThrowable(JNIEnv *env) argument 897 JNU_CopyObjectArray(JNIEnv *env, jobjectArray dst, jobjectArray src, jint count) argument 914 void *env; local 920 JNU_IsInstanceOfByName(JNIEnv *env, jobject object, char* classname) argument 935 JNU_Equals(JNIEnv *env, jobject object1, jobject object2) argument 955 JNU_MonitorWait(JNIEnv *env, jobject object, jlong timeout) argument 975 JNU_Notify(JNIEnv *env, jobject object) argument 995 JNU_NotifyAll(JNIEnv *env, jobject object) argument 1020 JNU_PrintString(JNIEnv *env, char *hdr, jstring string) argument 1034 JNU_PrintClass(JNIEnv *env, char* hdr, jobject object) argument 1049 JNU_ToString(JNIEnv *env, jobject object) argument 1063 JNU_GetFieldByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature) argument 1127 JNU_SetFieldByName(JNIEnv *env, jboolean *hasException, jobject obj, const char *name, const char *signature, ...) argument 1191 JNU_GetStaticFieldByName(JNIEnv *env, jboolean *hasException, const char *classname, const char *name, const char *signature) argument 1258 JNU_SetStaticFieldByName(JNIEnv *env, jboolean *hasException, const char *classname, const char *name, const char *signature, ...) argument [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | Deflater.c | 49 Java_java_util_zip_Deflater_initIDs(JNIEnv *env, jclass cls) argument 51 levelID = (*env)->GetFieldID(env, cls, "level", "I"); 52 strategyID = (*env)->GetFieldID(env, cls, "strategy", "I"); 53 setParamsID = (*env)->GetFieldID(env, cls, "setParams", "Z"); 54 finishID = (*env)->GetFieldID(env, cls, "finish", "Z"); 55 finishedID = (*env) 62 Java_java_util_zip_Deflater_init(JNIEnv *env, jclass cls, jint level, jint strategy, jboolean nowrap) argument 95 Java_java_util_zip_Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, jarray b, jint off, jint len) argument 118 Java_java_util_zip_Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, jarray b, jint off, jint len, jint flush) argument 213 Java_java_util_zip_Deflater_getAdler(JNIEnv *env, jclass cls, jlong addr) argument 219 Java_java_util_zip_Deflater_reset(JNIEnv *env, jclass cls, jlong addr) argument 227 Java_java_util_zip_Deflater_end(JNIEnv *env, jclass cls, jlong addr) argument [all...] |
/openjdk7/jdk/src/share/native/java/net/ |
H A D | Inet4Address.c | 43 Java_java_net_Inet4Address_init(JNIEnv *env, jclass cls) { argument 44 jclass c = (*env)->FindClass(env, "java/net/Inet4Address"); 46 ia4_class = (*env)->NewGlobalRef(env, c); 48 ia4_ctrID = (*env)->GetMethodID(env, ia4_class, "<init>", "()V");
|
/openjdk7/jdk/test/javax/naming/InitialContext/ |
H A D | EnvClone.java | 37 EnvClone(Hashtable env) throws NamingException{ argument 38 super(env); 47 Hashtable env = new Hashtable(5); 48 EnvClone ctx = new EnvClone(env); 50 if (env == ctx.myProps) { 56 ctx.init(env); 58 if (env != ctx.myProps) {
|
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | p11_convert.c | 71 void jMechanismParameterToCKMechanismParameterSlow(JNIEnv *env, jobject jParam, CK_VOID_PTR *ckpParamPtr, CK_ULONG *ckpLength); 77 * @param env - used to call JNI funktions to create the new Java object 81 jobject ckDatePtrToJDateObject(JNIEnv *env, const CK_DATE *ckpDate) argument 91 jDateClass = (*env)->FindClass(env, CLASS_DATE); 95 jCtrId = (*env)->GetMethodID(env, jDateClass, "<init>", "([C[C[C)V"); 99 jYear = ckCharArrayToJCharArray(env, (CK_CHAR_PTR)(ckpDate->year), 4); 101 jMonth = ckCharArrayToJCharArray(env, (CK_CHAR_PTR)(ckpDate->month), 2); 103 jDay = ckCharArrayToJCharArray(env, (CK_CHAR_PT 127 ckVersionPtrToJVersion(JNIEnv *env, const CK_VERSION_PTR ckpVersion) argument 165 ckSessionInfoPtrToJSessionInfo(JNIEnv *env, const CK_SESSION_INFO_PTR ckpSessionInfo) argument 208 ckAttributePtrToJAttribute(JNIEnv *env, const CK_ATTRIBUTE_PTR ckpAttribute) argument 248 jVersionToCKVersionPtr(JNIEnv *env, jobject jVersion) argument 293 jDateObjectPtrToCKDatePtr(JNIEnv *env, jobject jDate) argument 418 jAttributeToCKAttribute(JNIEnv *env, jobject jAttribute) argument 467 jSsl3MasterKeyDeriveParamToCKSsl3MasterKeyDeriveParam(JNIEnv *env, jobject jParam) argument 523 jTlsPrfParamsToCKTlsPrfParam(JNIEnv *env, jobject jParam) argument 582 jSsl3KeyMatParamToCKSsl3KeyMatParam(JNIEnv *env, jobject jParam) argument 704 jAesCtrParamsToCKAesCtrParam(JNIEnv *env, jobject jParam, CK_AES_CTR_PARAMS_PTR ckpParam) argument 744 jMechanismToCKMechanism(JNIEnv *env, jobject jMechanism, CK_MECHANISM_PTR ckMechanismPtr) argument 808 ckAttributeValueToJObject(JNIEnv *env, const CK_ATTRIBUTE_PTR ckpAttribute) argument 960 jMechanismParameterToCKMechanismParameter(JNIEnv *env, jobject jParam, CK_VOID_PTR *ckpParamPtr, CK_ULONG *ckpLength) argument 976 jMechanismParameterToCKMechanismParameterSlow(JNIEnv *env, jobject jParam, CK_VOID_PTR *ckpParamPtr, CK_ULONG *ckpLength) argument 1349 jRsaPkcsOaepParamToCKRsaPkcsOaepParam(JNIEnv *env, jobject jParam) argument 1398 jPbeParamToCKPbeParam(JNIEnv *env, jobject jParam) argument 1454 copyBackPBEInitializationVector(JNIEnv *env, CK_MECHANISM *ckMechanism, jobject jMechanism) argument 1517 jPkcs5Pbkd2ParamToCKPkcs5Pbkd2Param(JNIEnv *env, jobject jParam) argument 1574 jRsaPkcsPssParamToCKRsaPkcsPssParam(JNIEnv *env, jobject jParam) argument 1613 jEcdh1DeriveParamToCKEcdh1DeriveParam(JNIEnv *env, jobject jParam) argument 1659 jEcdh2DeriveParamToCKEcdh2DeriveParam(JNIEnv *env, jobject jParam) argument 1726 jX942Dh1DeriveParamToCKX942Dh1DeriveParam(JNIEnv *env, jobject jParam) argument 1771 jX942Dh2DeriveParamToCKX942Dh2DeriveParam(JNIEnv *env, jobject jParam) argument [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | ProcessEnvironment_md.c | 37 Java_java_lang_ProcessEnvironment_environ(JNIEnv *env, jclass ign) argument 52 jclass byteArrCls = (*env)->FindClass(env, "[B"); 60 result = (*env)->NewObjectArray(env, 2*count, byteArrCls, 0); 71 var = (*env)->NewByteArray(env, varLength); 73 val = (*env)->NewByteArray(env, valLength); 75 (*env) [all...] |