Searched refs:method_index (Results 1 - 13 of 13) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DEnclosingMethod_attribute.java43 method_index = cr.readUnsignedShort();
46 public EnclosingMethod_attribute(ConstantPool constant_pool, int class_index, int method_index) argument
48 this(constant_pool.getUTF8Index(Attribute.EnclosingMethod), class_index, method_index);
51 public EnclosingMethod_attribute(int name_index, int class_index, int method_index) { argument
54 this.method_index = method_index;
62 if (method_index == 0)
64 return constant_pool.getNameAndTypeInfo(method_index).getName();
72 public final int method_index; field in class:EnclosingMethod_attribute
H A DClassWriter.java415 out.writeShort(attr.method_index);
/openjdk7/hotspot/src/share/vm/ci/
H A DciStreams.cpp470 const int method_index = get_method_index();
471 const int name_and_type_index = cpool->name_and_type_ref_index_at(method_index);
499 int method_index = get_method_index(); local
500 ConstantPoolCacheEntry* cpcache_entry = cpcache->secondary_entry_at(method_index);
H A DciEnv.hpp135 int method_index, Bytecodes::Code bc,
153 int method_index, Bytecodes::Code bc,
/openjdk7/jdk/src/share/native/common/
H A Dcheck_code.c253 int method_index; /* current method */ member in struct:context_type
739 context->method_index = -1;
938 verify_method(context_type *context, jclass cb, int method_index, argument
942 int access_bits = JVM_GetMethodIxModifiers(env, cb, method_index);
959 context->method_index = method_index;
968 JVM_GetMethodIxNameUTF(env, cb, method_index);
970 JVM_GetMethodIxSignatureUTF(env, cb, method_index);
1012 JVM_GetMethodIxExceptionTableLength(env, cb, method_index));
1014 (JVM_GetMethodIxLocalsCount(env, cb, method_index)
[all...]
/openjdk7/jdk/src/share/javavm/export/
H A Djvm.h715 * The method is identified by method_index.
718 JVM_GetMethodIxExceptionIndexes(JNIEnv *env, jclass cb, jint method_index,
722 * The method is identified by method_index.
725 JVM_GetMethodIxExceptionsCount(JNIEnv *env, jclass cb, jint method_index);
731 * The method is identified by method_index.
734 JVM_GetMethodIxByteCode(JNIEnv *env, jclass cb, jint method_index,
739 * The method is identified by method_index.
742 JVM_GetMethodIxByteCodeLength(JNIEnv *env, jclass cb, jint method_index);
758 * The method is identified by method_index.
761 JVM_GetMethodIxExceptionTableEntry(JNIEnv *env, jclass cb, jint method_index,
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Djvm.cpp2213 JVM_QUICK_ENTRY(void, JVM_GetMethodIxExceptionIndexes(JNIEnv *env, jclass cls, jint method_index, unsigned short *exceptions))
2217 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
2228 JVM_QUICK_ENTRY(jint, JVM_GetMethodIxExceptionsCount(JNIEnv *env, jclass cls, jint method_index))
2232 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
2237 JVM_QUICK_ENTRY(void, JVM_GetMethodIxByteCode(JNIEnv *env, jclass cls, jint method_index, unsigned char *code))
2241 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
2246 JVM_QUICK_ENTRY(jint, JVM_GetMethodIxByteCodeLength(JNIEnv *env, jclass cls, jint method_index))
2250 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
2255 JVM_QUICK_ENTRY(void, JVM_GetMethodIxExceptionTableEntry(JNIEnv *env, jclass cls, jint method_index, jint entry_index, JVM_ExceptionTableEntryType *entry))
2259 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
[all...]
H A Djvm.h760 * The method is identified by method_index.
763 JVM_GetMethodIxExceptionIndexes(JNIEnv *env, jclass cb, jint method_index,
767 * The method is identified by method_index.
770 JVM_GetMethodIxExceptionsCount(JNIEnv *env, jclass cb, jint method_index);
776 * The method is identified by method_index.
779 JVM_GetMethodIxByteCode(JNIEnv *env, jclass cb, jint method_index,
784 * The method is identified by method_index.
787 JVM_GetMethodIxByteCodeLength(JNIEnv *env, jclass cb, jint method_index);
803 * The method is identified by method_index.
806 JVM_GetMethodIxExceptionTableEntry(JNIEnv *env, jclass cb, jint method_index,
[all...]
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/
H A Djava_crw_demo.c796 CrwCpoolIndex method_index)
810 if ( method_index == 0 ) {
814 if ( method_index == ci->newarray_tracker_index) {
820 } else if ( method_index == ci->object_init_tracker_index) {
855 bytecodes[nbytes++] = (ByteCode)(method_index >> 8);
856 bytecodes[nbytes++] = (ByteCode)method_index;
795 injection_template(MethodImage *mi, ByteCode *bytecodes, ByteOffset max_nbytes, CrwCpoolIndex method_index) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DAttributeWriter.java238 print("EnclosingMethod: #" + attr.class_index + ".#" + attr.method_index);
241 if (attr.method_index != 0)
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlass.hpp207 // last two shorts [class_index, method_index] of the array. If only
620 u2 method_index);
H A DinstanceKlass.cpp1160 u2 method_index) {
1170 index + enclosing_method_method_index_offset, method_index);
1159 set_enclosing_method_indices(u2 class_index, u2 method_index) argument
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassFileParser.cpp164 cfs->guarantee_more(4, CHECK); // ref_kind, method_index, tag/access_flags
166 u2 method_index = cfs->get_u2_fast(); local
167 cp->method_handle_index_at_put(index, ref_kind, method_index);
2824 cfs->guarantee_more(4, CHECK); // class_index, method_index

Completed in 110 milliseconds