/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | EnclosingMethod_attribute.java | 42 class_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 53 this.class_index = class_index; 58 return constant_pool.getClassInfo(class_index).getName(); 71 public final int class_index; field in class:EnclosingMethod_attribute
|
H A D | ConstantPool.java | 380 class_index = cr.readUnsignedShort(); 384 protected CPRefInfo(ConstantPool cp, int tag, int class_index, int name_and_type_index) { argument 387 this.class_index = class_index; 400 return cp.getClassInfo(class_index); 404 return cp.getClassInfo(class_index).getName(); 412 public final int class_index; field in class:ConstantPool.CPRefInfo 523 public CONSTANT_Fieldref_info(ConstantPool cp, int class_index, int name_and_type_index) { argument 524 super(cp, CONSTANT_Fieldref, class_index, name_and_type_index); 529 return "CONSTANT_Fieldref_info[class_index 600 CONSTANT_InterfaceMethodref_info(ConstantPool cp, int class_index, int name_and_type_index) argument 772 CONSTANT_Methodref_info(ConstantPool cp, int class_index, int name_and_type_index) argument [all...] |
H A D | ClassTranslator.java | 273 info2 = new CONSTANT_Fieldref_info(cp2, info.class_index, info.name_and_type_index); 304 info2 = new CONSTANT_InterfaceMethodref_info(cp2, info.class_index, info.name_and_type_index); 353 info2 = new CONSTANT_Methodref_info(cp2, info.class_index, info.name_and_type_index);
|
H A D | ClassWriter.java | 313 out.writeShort(info.class_index); 414 out.writeShort(attr.class_index);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | ConstantCP.java | 74 protected int class_index, name_and_type_index; field in class:ConstantCP 96 * @param class_index Reference to the class containing the field 99 protected ConstantCP(byte tag, int class_index, argument 102 this.class_index = class_index; 115 file.writeShort(class_index); 122 public final int getClassIndex() { return class_index; } 130 * @param class_index points to Constant_class 132 public final void setClassIndex(int class_index) { argument 133 this.class_index [all...] |
H A D | ConstantFieldref.java | 89 * @param class_index Reference to the class containing the Field 92 public ConstantFieldref(int class_index, argument 94 super(Constants.CONSTANT_Fieldref, class_index, name_and_type_index);
|
H A D | ConstantInterfaceMethodref.java | 89 * @param class_index Reference to the class containing the method 92 public ConstantInterfaceMethodref(int class_index, argument 94 super(Constants.CONSTANT_InterfaceMethodref, class_index, name_and_type_index);
|
H A D | ConstantMethodref.java | 89 * @param class_index Reference to the class containing the method 92 public ConstantMethodref(int class_index, argument 94 super(Constants.CONSTANT_Methodref, class_index, name_and_type_index);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ConstantHTML.java | 117 int class_index, name_index; 128 // Get class_index and name_and_type_index, depending on type 131 class_index = c.getClassIndex(); 136 class_index = c1.getClassIndex(); 145 String method_class = constant_pool.constantToString(class_index, CONSTANT_Class); 177 constant_ref[index] = ret_type + " <A HREF=\"" + class_name + "_cp.html#cp" + class_index + 183 "<LI><A HREF=\"#cp" + class_index + "\">Class index(" + class_index + ")</A>\n" + 188 // Get class_index and name_and_type_index 190 class_index [all...] |
H A D | CodeHTML.java | 113 int index, class_index, vindex, constant; 247 class_index = c1.getClassIndex(); 248 name = constant_pool.getConstantString(class_index, CONSTANT_Class); 259 buf.append(constant_html.referenceConstant(class_index) + "." + field_name); 282 class_index = c.getClassIndex(); 288 class_index = c.getClassIndex(); 294 name = Class2HTML.referenceClass(class_index);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | ConstantPoolGen.java | 549 int ret, class_index, name_and_type_index; 557 class_index = addClass(class_name); 559 constants[index++] = new ConstantMethodref(class_index, name_and_type_index); 599 int ret, class_index, name_and_type_index; 606 class_index = addClass(class_name); 609 constants[index++] = new ConstantInterfaceMethodref(class_index, name_and_type_index); 645 int class_index, name_and_type_index; 652 class_index = addClass(class_name); 655 constants[index++] = new ConstantFieldref(class_index, name_and_type_index);
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | stackMapTable.cpp | 182 u2 class_index = _stream->get_u2(THREAD); local 184 if ((class_index <= 0 || class_index >= nconstants) || 185 (!_cp->tag_at(class_index).is_klass() && 186 !_cp->tag_at(class_index).is_unresolved_klass())) { 190 return VerificationType::reference_type(_cp->klass_name_at(class_index));
|
H A D | classFileParser.cpp | 122 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags 123 u2 class_index = cfs->get_u2_fast(); local 125 cp->field_at_put(index, class_index, name_and_type_index); 130 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags 131 u2 class_index = cfs->get_u2_fast(); local 133 cp->method_at_put(index, class_index, name_and_type_index); 138 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags 139 u2 class_index = cfs->get_u2_fast(); local 141 cp->interface_method_at_put(index, class_index, name_and_type_index); 418 int class_index local 1556 u2 class_index = u2_array[i2++] = cfs->get_u2(CHECK); local [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/ |
H A D | ConstantWriter.java | 77 print("#" + info.class_index + ".#" + info.name_and_type_index); 94 print("#" + info.class_index + ".#" + info.name_and_type_index); 120 print("#" + info.class_index + ".#" + info.name_and_type_index); 193 if (ref.class_index == classFile.this_class)
|
H A D | AttributeWriter.java | 238 print("EnclosingMethod: #" + attr.class_index + ".#" + attr.method_index);
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_reference.c | 508 ObjectIndex class_index; local 540 class_index = class_get_object_index(cnum); 699 (jint)size, num_elements, sig, values, class_index); 703 class_index, (jint)size, sig, fields, fvalues, n_fields);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | constantPoolOop.hpp | 321 void field_at_put(int which, int class_index, int name_and_type_index) { argument 323 *int_at_addr(which) = ((jint) name_and_type_index<<16) | class_index; 326 void method_at_put(int which, int class_index, int name_and_type_index) { argument 328 *int_at_addr(which) = ((jint) name_and_type_index<<16) | class_index; 331 void interface_method_at_put(int which, int class_index, int name_and_type_index) { argument 333 *int_at_addr(which) = ((jint) name_and_type_index<<16) | class_index; // Not so nice
|
H A D | constantPoolOop.cpp | 1189 int class_index = from_cp->uncached_klass_ref_index_at(from_i); local 1191 to_cp->field_at_put(to_i, class_index, name_and_type_index); 1208 int class_index = from_cp->uncached_klass_ref_index_at(from_i); local 1210 to_cp->interface_method_at_put(to_i, class_index, name_and_type_index); 1223 int class_index = from_cp->uncached_klass_ref_index_at(from_i); local 1225 to_cp->method_at_put(to_i, class_index, name_and_type_index);
|
H A D | instanceKlass.hpp | 207 // last two shorts [class_index, method_index] of the array. If only 619 void set_enclosing_method_indices(u2 class_index,
|
H A D | instanceKlass.cpp | 1159 void instanceKlass::set_enclosing_method_indices(u2 class_index, argument 1168 index + enclosing_method_class_index_offset, class_index);
|
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/ |
H A D | java_crw_demo.c | 589 CrwCpoolIndex class_index; local 598 class_index = add_new_cpool_entry(ci, JVM_CONSTANT_Class, name_index, 0, 600 return class_index; 604 add_new_method_cpool_entry(CrwClassImage *ci, CrwCpoolIndex class_index, argument 625 class_index, name_type_index, NULL, 0);
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvm.cpp | 2441 int class_index = cp->uncached_klass_ref_index_at(cp_index); variable 2442 Symbol* classname = cp->klass_name_at(class_index); 2461 int class_index = cp->uncached_klass_ref_index_at(cp_index); variable 2462 Symbol* classname = cp->klass_name_at(class_index);
|