Lines Matching defs:cfs

93   ClassFileStream* cfs = &cfs1;
95 assert(cfs->allocated_on_stack(),"should be local");
111 u1 tag = cfs->get_u1_fast();
115 cfs->guarantee_more(3, CHECK); // name_index, tag/access_flags
116 u2 name_index = cfs->get_u2_fast();
122 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags
123 u2 class_index = cfs->get_u2_fast();
124 u2 name_and_type_index = cfs->get_u2_fast();
130 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags
131 u2 class_index = cfs->get_u2_fast();
132 u2 name_and_type_index = cfs->get_u2_fast();
138 cfs->guarantee_more(5, CHECK); // class_index, name_and_type_index, tag/access_flags
139 u2 class_index = cfs->get_u2_fast();
140 u2 name_and_type_index = cfs->get_u2_fast();
146 cfs->guarantee_more(3, CHECK); // string_index, tag/access_flags
147 u2 string_index = cfs->get_u2_fast();
164 cfs->guarantee_more(4, CHECK); // ref_kind, method_index, tag/access_flags
165 u1 ref_kind = cfs->get_u1_fast();
166 u2 method_index = cfs->get_u2_fast();
169 cfs->guarantee_more(3, CHECK); // signature_index, tag/access_flags
170 u2 signature_index = cfs->get_u2_fast();
188 cfs->guarantee_more(5, CHECK); // bsm_index, nt, tag/access_flags
189 u2 bootstrap_specifier_index = cfs->get_u2_fast();
190 u2 name_and_type_index = cfs->get_u2_fast();
198 cfs->guarantee_more(5, CHECK); // bytes, tag/access_flags
199 u4 bytes = cfs->get_u4_fast();
205 cfs->guarantee_more(5, CHECK); // bytes, tag/access_flags
206 u4 bytes = cfs->get_u4_fast();
216 cfs->guarantee_more(9, CHECK); // bytes, tag/access_flags
217 u8 bytes = cfs->get_u8_fast();
228 cfs->guarantee_more(9, CHECK); // bytes, tag/access_flags
229 u8 bytes = cfs->get_u8_fast();
236 cfs->guarantee_more(5, CHECK); // name_index, signature_index, tag/access_flags
237 u2 name_index = cfs->get_u2_fast();
238 u2 signature_index = cfs->get_u2_fast();
244 cfs->guarantee_more(2, CHECK); // utf8_length
245 u2 utf8_length = cfs->get_u2_fast();
246 u1* utf8_buffer = cfs->get_u1_buffer();
249 cfs->guarantee_more(utf8_length+1, CHECK); // utf8 string, tag/access_flags
250 cfs->skip_u1_fast(utf8_length);
330 ClassFileStream* cfs = stream();
333 cfs->guarantee_more(3, CHECK_(nullHandle)); // length, first cp tag
334 u2 length = cfs->get_u2_fast();
520 cfs->guarantee_more(8, CHECK_(nullHandle)); // flags, this_class, super_class, infs_len
521 u1* mark = cfs->current();
522 u2 flags = cfs->get_u2_fast();
523 this_class_index = cfs->get_u2_fast();
524 cfs->set_current(mark); // revert to mark
799 ClassFileStream* cfs = stream();
807 u2 interface_index = cfs->get_u2(CHECK_(nullHandle));
912 ClassFileStream* cfs = stream();
922 cfs->guarantee_more(6, CHECK); // attribute_name_index, attribute_length
923 u2 attribute_name_index = cfs->get_u2_fast();
924 u4 attribute_length = cfs->get_u4_fast();
940 constantvalue_index = cfs->get_u2(CHECK);
964 generic_signature_index = cfs->get_u2(CHECK);
967 runtime_visible_annotations = cfs->get_u1_buffer();
969 cfs->skip_u1(runtime_visible_annotations_length, CHECK);
972 runtime_invisible_annotations = cfs->get_u1_buffer();
974 cfs->skip_u1(runtime_invisible_annotations_length, CHECK);
976 cfs->skip_u1(attribute_length, CHECK); // Skip unknown attributes
979 cfs->skip_u1(attribute_length, CHECK); // Skip unknown attributes
1083 ClassFileStream* cfs = stream();
1085 cfs->guarantee_more(2, CHECK_(nullHandle)); // length
1086 u2 length = cfs->get_u2_fast();
1122 cfs->guarantee_more(8, CHECK_(nullHandle)); // access_flags, name_index, descriptor_index, attributes_count
1125 jint flags = cfs->get_u2_fast() & JVM_RECOGNIZED_FIELD_MODIFIERS;
1129 u2 name_index = cfs->get_u2_fast();
1138 u2 signature_index = cfs->get_u2_fast();
1153 u2 attributes_count = cfs->get_u2_fast();
1301 ClassFileStream* cfs = stream();
1303 u2* exception_table_start = cfs->get_u2_buffer();
1305 cfs->guarantee_more(8 * exception_table_length, CHECK_NULL); // start_pc, end_pc, handler_pc, catch_type_index
1309 u2 start_pc = cfs->get_u2_fast();
1310 u2 end_pc = cfs->get_u2_fast();
1311 u2 handler_pc = cfs->get_u2_fast();
1312 u2 catch_type_index = cfs->get_u2_fast();
1326 cfs->skip_u2_fast(exception_table_length * 4);
1334 ClassFileStream* cfs = stream();
1335 unsigned int num_entries = cfs->get_u2(CHECK);
1345 cfs->guarantee_more(length_in_bytes, CHECK);
1357 u2 bci = cfs->get_u2_fast(); // start_pc
1358 u2 line = cfs->get_u2_fast(); // line_number
1476 ClassFileStream* cfs = stream();
1478 *localvariable_table_length = cfs->get_u2(CHECK_NULL);
1485 u2* localvariable_table_start = cfs->get_u2_buffer();
1488 cfs->skip_u2_fast(size);
1490 cfs->guarantee_more(size * 2, CHECK_NULL);
1492 u2 start_pc = cfs->get_u2_fast();
1493 u2 length = cfs->get_u2_fast();
1494 u2 name_index = cfs->get_u2_fast();
1495 u2 descriptor_index = cfs->get_u2_fast();
1496 u2 index = cfs->get_u2_fast();
1546 ClassFileStream* cfs = stream();
1551 u1 tag = u1_array[i1++] = cfs->get_u1(CHECK);
1556 u2 class_index = u2_array[i2++] = cfs->get_u2(CHECK);
1562 u2 offset = u2_array[i2++] = cfs->get_u2(CHECK);
1584 ClassFileStream* cfs = stream();
1585 u1* stackmap_table_start = cfs->get_u1_buffer();
1607 ClassFileStream* cfs = stream();
1608 cfs->guarantee_more(2, CHECK_NULL); // checked_exceptions_length
1609 *checked_exceptions_length = cfs->get_u2_fast();
1611 u2* checked_exceptions_start = cfs->get_u2_buffer();
1614 cfs->skip_u2_fast(size);
1619 cfs->guarantee_more(2 * len, CHECK_NULL);
1621 checked_exception = cfs->get_u2_fast();
1827 ClassFileStream* cfs = stream();
1831 cfs->guarantee_more(8, CHECK_(nullHandle)); // access_flags, name_index, descriptor_index, attributes_count
1833 int flags = cfs->get_u2_fast();
1834 u2 name_index = cfs->get_u2_fast();
1844 u2 signature_index = cfs->get_u2_fast();
1917 u2 method_attributes_count = cfs->get_u2_fast();
1919 cfs->guarantee_more(6, CHECK_(nullHandle)); // method_attribute_name_index, method_attribute_length
1920 u2 method_attribute_name_index = cfs->get_u2_fast();
1921 u4 method_attribute_length = cfs->get_u4_fast();
1943 cfs->guarantee_more(4, CHECK_(nullHandle));
1944 max_stack = cfs->get_u1_fast();
1945 max_locals = cfs->get_u1_fast();
1946 code_length = cfs->get_u2_fast();
1948 cfs->guarantee_more(8, CHECK_(nullHandle));
1949 max_stack = cfs->get_u2_fast();
1950 max_locals = cfs->get_u2_fast();
1951 code_length = cfs->get_u4_fast();
1961 code_start = cfs->get_u1_buffer();
1963 cfs->guarantee_more(code_length, CHECK_(nullHandle));
1964 cfs->skip_u1_fast(code_length);
1967 cfs->guarantee_more(2, CHECK_(nullHandle)); // exception_table_length
1968 exception_table_length = cfs->get_u2_fast();
1975 cfs->guarantee_more(2, CHECK_(nullHandle)); // code_attributes_count
1976 u2 code_attributes_count = cfs->get_u2_fast();
1998 cfs->guarantee_more(6, CHECK_(nullHandle)); // code_attribute_name_index, code_attribute_length
1999 u2 code_attribute_name_index = cfs->get_u2_fast();
2000 u4 code_attribute_length = cfs->get_u4_fast();
2086 cfs->skip_u1(code_attribute_length, CHECK_(nullHandle));
2125 cfs->guarantee_more(2, CHECK_(nullHandle)); // generic_signature_index
2126 generic_signature_index = cfs->get_u2_fast();
2129 runtime_visible_annotations = cfs->get_u1_buffer();
2132 cfs->skip_u1(runtime_visible_annotations_length, CHECK_(nullHandle));
2135 runtime_invisible_annotations = cfs->get_u1_buffer();
2137 cfs->skip_u1(runtime_invisible_annotations_length, CHECK_(nullHandle));
2140 runtime_visible_parameter_annotations = cfs->get_u1_buffer();
2142 cfs->skip_u1(runtime_visible_parameter_annotations_length, CHECK_(nullHandle));
2145 runtime_invisible_parameter_annotations = cfs->get_u1_buffer();
2147 cfs->skip_u1(runtime_invisible_parameter_annotations_length, CHECK_(nullHandle));
2150 annotation_default = cfs->get_u1_buffer();
2152 cfs->skip_u1(annotation_default_length, CHECK_(nullHandle));
2155 cfs->skip_u1(method_attribute_length, CHECK_(nullHandle));
2159 cfs->skip_u1(method_attribute_length, CHECK_(nullHandle));
2367 ClassFileStream* cfs = stream();
2372 cfs->guarantee_more(2, CHECK_(nullHandle)); // length
2373 u2 length = cfs->get_u2_fast();
2495 ClassFileStream* cfs = stream();
2496 cfs->guarantee_more(2, CHECK); // sourcefile_index
2497 u2 sourcefile_index = cfs->get_u2_fast();
2510 ClassFileStream* cfs = stream();
2511 u1* sde_buffer = cfs->get_u1_buffer();
2525 cfs->skip_u1(length, CHECK);
2539 ClassFileStream* cfs = stream();
2540 u1* current_mark = cfs->current();
2543 cfs->set_current(inner_classes_attribute_start);
2544 cfs->guarantee_more(2, CHECK_0); // length
2545 length = cfs->get_u2_fast();
2562 cfs->guarantee_more(8 * length, CHECK_0); // 4-tuples of u2
2565 u2 inner_class_info_index = cfs->get_u2_fast();
2573 u2 outer_class_info_index = cfs->get_u2_fast();
2581 u2 inner_name_index = cfs->get_u2_fast();
2593 jint flags = cfs->get_u2_fast() & RECOGNIZED_INNER_CLASS_MODIFIERS;
2632 cfs->set_current(current_mark);
2642 ClassFileStream* cfs = stream();
2643 u2 signature_index = cfs->get_u2(CHECK);
2654 ClassFileStream* cfs = stream();
2655 u1* current_start = cfs->current();
2657 cfs->guarantee_more(2, CHECK); // length
2658 int attribute_array_length = cfs->get_u2_fast();
2687 cfs->guarantee_more(sizeof(u2) * 2, CHECK); // bsm, argc
2688 u2 bootstrap_method_index = cfs->get_u2_fast();
2689 u2 argument_count = cfs->get_u2_fast();
2699 cfs->guarantee_more(sizeof(u2) * argument_count, CHECK); // argv[argc]
2701 u2 argument_index = cfs->get_u2_fast();
2715 u1* current_end = cfs->current();
2727 ClassFileStream* cfs = stream();
2730 cfs->guarantee_more(2, CHECK); // attributes_count
2731 u2 attributes_count = cfs->get_u2_fast();
2746 cfs->guarantee_more(6, CHECK); // attribute_name_index, attribute_length
2747 u2 attribute_name_index = cfs->get_u2_fast();
2748 u4 attribute_length = cfs->get_u4_fast();
2776 inner_classes_attribute_start = cfs->get_u1_buffer();
2778 cfs->skip_u1(inner_classes_attribute_length, CHECK);
2805 runtime_visible_annotations = cfs->get_u1_buffer();
2812 cfs->skip_u1(runtime_visible_annotations_length, CHECK);
2815 runtime_invisible_annotations = cfs->get_u1_buffer();
2817 cfs->skip_u1(runtime_invisible_annotations_length, CHECK);
2824 cfs->guarantee_more(4, CHECK); // class_index, method_index
2825 enclosing_method_class_index = cfs->get_u2_fast();
2826 enclosing_method_method_index = cfs->get_u2_fast();
2848 cfs->skip_u1(attribute_length, CHECK);
2852 cfs->skip_u1(attribute_length, CHECK);
2937 ClassFileStream* cfs = stream();
2971 unsigned char* ptr = cfs->buffer();
2972 unsigned char* end_ptr = cfs->buffer() + cfs->length();
2979 if (ptr != cfs->buffer()) {
2983 cfs = new ClassFileStream(ptr, end_ptr - ptr, cfs->source());
2984 set_stream(cfs);
2997 cfs->set_verify(_need_verify);
3002 cfs->guarantee_more(8, CHECK_(nullHandle)); // magic, major, minor
3004 u4 magic = cfs->get_u4_fast();
3010 u2 minor_version = cfs->get_u2_fast();
3011 u2 major_version = cfs->get_u2_fast();
3049 cfs->guarantee_more(8, CHECK_(nullHandle)); // flags, this_class, super_class, infs_len
3053 jint flags = cfs->get_u2_fast() & JVM_RECOGNIZED_CLASS_MODIFIERS;
3064 u2 this_class_index = cfs->get_u2_fast();
3113 if (cfs->source() != NULL) tty->print(" from %s", cfs->source());
3117 u2 super_class_index = cfs->get_u2_fast();
3146 u2 itfs_len = cfs->get_u2_fast();
3187 guarantee_property(cfs->at_eos(), "Extra bytes at the end of class file %s", CHECK_(nullHandle));
3722 if (cfs->source() != NULL) {
3724 cfs->source());