Lines Matching refs:u2

116           u2 name_index = cfs->get_u2_fast();
123 u2 class_index = cfs->get_u2_fast();
124 u2 name_and_type_index = cfs->get_u2_fast();
131 u2 class_index = cfs->get_u2_fast();
132 u2 name_and_type_index = cfs->get_u2_fast();
139 u2 class_index = cfs->get_u2_fast();
140 u2 name_and_type_index = cfs->get_u2_fast();
147 u2 string_index = cfs->get_u2_fast();
166 u2 method_index = cfs->get_u2_fast();
170 u2 signature_index = cfs->get_u2_fast();
189 u2 bootstrap_specifier_index = cfs->get_u2_fast();
190 u2 name_and_type_index = cfs->get_u2_fast();
237 u2 name_index = cfs->get_u2_fast();
238 u2 signature_index = cfs->get_u2_fast();
245 u2 utf8_length = cfs->get_u2_fast();
334 u2 length = cfs->get_u2_fast();
522 u2 flags = cfs->get_u2_fast();
807 u2 interface_index = cfs->get_u2(CHECK_(nullHandle));
904 u2 attributes_count,
905 bool is_static, u2 signature_index,
906 u2* constantvalue_index_addr,
908 u2* generic_signature_index_addr,
914 u2 constantvalue_index = 0;
915 u2 generic_signature_index = 0;
923 u2 attribute_name_index = cfs->get_u2_fast();
1060 u2 count[MAX_FIELD_ALLOCATION_TYPE];
1082 u2* java_fields_count_ptr, TRAPS) {
1086 u2 length = cfs->get_u2_fast();
1114 u2* fa = NEW_RESOURCE_ARRAY_IN_THREAD(
1115 THREAD, u2, total_fields * (FieldInfo::field_slots + 1));
1129 u2 name_index = cfs->get_u2_fast();
1138 u2 signature_index = cfs->get_u2_fast();
1147 u2 constantvalue_index = 0;
1149 u2 generic_signature_index = 0;
1153 u2 attributes_count = cfs->get_u2_fast();
1290 static void copy_u2_with_conversion(u2* dest, u2* src, int length) {
1297 u2* ClassFileParser::parse_exception_table(u4 code_length,
1303 u2* exception_table_start = cfs->get_u2_buffer();
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();
1337 // Each entry is a u2 start_pc, and a u2 line_number
1338 unsigned int length_in_bytes = num_entries * (sizeof(u2) + sizeof(u2));
1342 code_attribute_length == sizeof(u2) + length_in_bytes,
1357 u2 bci = cfs->get_u2_fast(); // start_pc
1358 u2 line = cfs->get_u2_fast(); // line_number
1369 u2 start_bci;
1370 u2 length;
1371 u2 name_cp_index;
1372 u2 descriptor_cp_index;
1373 u2 slot;
1469 u2* ClassFileParser::parse_localvariable_table(u4 code_length,
1470 u2 max_locals,
1473 u2* localvariable_table_length,
1479 unsigned int size = (*localvariable_table_length) * sizeof(Classfile_LVT_Element) / sizeof(u2);
1482 guarantee_property(code_attribute_length == (sizeof(*localvariable_table_length) + size * sizeof(u2)),
1485 u2* localvariable_table_start = cfs->get_u2_buffer();
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();
1525 u2 extra_slot = 0;
1544 void ClassFileParser::parse_type_array(u2 array_length, u4 code_length, u4* u1_index, u4* u2_index,
1545 u1* u1_array, u2* u2_array, constantPoolHandle cp, TRAPS) {
1547 u2 index = 0; // index in the array with long/double occupying two slots
1556 u2 class_index = u2_array[i2++] = cfs->get_u2(CHECK);
1562 u2 offset = u2_array[i2++] = cfs->get_u2(CHECK);
1604 u2* ClassFileParser::parse_checked_exceptions(u2* checked_exceptions_length,
1610 unsigned int size = (*checked_exceptions_length) * sizeof(CheckedExceptionElement) / sizeof(u2);
1611 u2* checked_exceptions_start = cfs->get_u2_buffer();
1617 u2 checked_exception;
1618 u2 len = *checked_exceptions_length;
1632 sizeof(u2) * size),
1649 // annotation := atype:u2 do(nmem:u2) {member:u2 value}
1664 // case B, C, I, S, Z, D, F, J, c: con:u2;
1665 // case e: e_class:u2 e_name:u2;
1666 // case s: s_con:u2;
1667 // case [: do(nval:u2) {value};
1669 // case s: s_con:u2;
1705 // annotations := do(nann:u2) {annotation}
1711 count_off = 2, // u2 such as 1 (one value)
1834 u2 name_index = cfs->get_u2_fast();
1844 u2 signature_index = cfs->get_u2_fast();
1877 u2 max_stack = 0;
1878 u2 max_locals = 0;
1881 u2 exception_table_length = 0;
1882 u2* exception_table_start = NULL;
1884 u2 checked_exceptions_length = 0;
1885 u2* checked_exceptions_start = NULL;
1889 u2 lvt_cnt = 0;
1890 u2 lvtt_cnt = 0;
1892 u2 max_lvt_cnt = INITIAL_MAX_LVT_NUMBER;
1893 u2 max_lvtt_cnt = INITIAL_MAX_LVT_NUMBER;
1894 u2* localvariable_table_length;
1895 u2** localvariable_table_start;
1896 u2* localvariable_type_table_length;
1897 u2** localvariable_type_table_start;
1903 u2 generic_signature_index = 0;
1917 u2 method_attributes_count = cfs->get_u2_fast();
1920 u2 method_attribute_name_index = cfs->get_u2_fast();
1976 u2 code_attributes_count = cfs->get_u2_fast();
1985 calculated_attribute_length = sizeof(u1) + sizeof(u1) + sizeof(u2);
1992 ( sizeof(u2) + // start_pc
1993 sizeof(u2) + // end_pc
1994 sizeof(u2) + // handler_pc
1995 sizeof(u2) ); // catch_type_index
1999 u2 code_attribute_name_index = cfs->get_u2_fast();
2020 THREAD, u2, INITIAL_MAX_LVT_NUMBER);
2022 THREAD, u2*, INITIAL_MAX_LVT_NUMBER);
2024 THREAD, u2, INITIAL_MAX_LVT_NUMBER);
2026 THREAD, u2*, INITIAL_MAX_LVT_NUMBER);
2031 REALLOC_RESOURCE_ARRAY(u2, localvariable_table_length, lvt_cnt, max_lvt_cnt);
2032 REALLOC_RESOURCE_ARRAY(u2*, localvariable_table_start, lvt_cnt, max_lvt_cnt);
2049 THREAD, u2, INITIAL_MAX_LVT_NUMBER);
2051 THREAD, u2*, INITIAL_MAX_LVT_NUMBER);
2053 THREAD, u2, INITIAL_MAX_LVT_NUMBER);
2055 THREAD, u2*, INITIAL_MAX_LVT_NUMBER);
2061 REALLOC_RESOURCE_ARRAY(u2, localvariable_type_table_length, lvtt_cnt, max_lvtt_cnt);
2062 REALLOC_RESOURCE_ARRAY(u2*, localvariable_type_table_start, lvtt_cnt, max_lvtt_cnt);
2234 exception_table_length * sizeof(ExceptionTableElement) / sizeof(u2);
2235 copy_u2_with_conversion((u2*) m->exception_table_start(),
2241 int size = checked_exceptions_length * sizeof(CheckedExceptionElement) / sizeof(u2);
2242 copy_u2_with_conversion((u2*) m->checked_exceptions_start(), checked_exceptions_start, size);
2373 u2 length = cfs->get_u2_fast();
2497 u2 sourcefile_index = cfs->get_u2_fast();
2533 u2 ClassFileParser::parse_classfile_inner_classes_attribute(u1* inner_classes_attribute_start,
2535 u2 enclosing_method_class_index,
2536 u2 enclosing_method_method_index,
2541 u2 length = 0;
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();
2643 u2 signature_index = cfs->get_u2(CHECK);
2667 int operand_count = (attribute_byte_length - sizeof(u2)) / sizeof(u2);
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();
2731 u2 attributes_count = cfs->get_u2_fast();
2742 u2 enclosing_method_class_index = 0;
2743 u2 enclosing_method_method_index = 0;
2747 u2 attribute_name_index = cfs->get_u2_fast();
2863 u2 num_of_classes = parse_classfile_inner_classes_attribute(
2871 inner_classes_attribute_length == sizeof(num_of_classes) + 4 * sizeof(u2) * num_of_classes,
3010 u2 minor_version = cfs->get_u2_fast();
3011 u2 major_version = cfs->get_u2_fast();
3064 u2 this_class_index = cfs->get_u2_fast();
3117 u2 super_class_index = cfs->get_u2_fast();
3146 u2 itfs_len = cfs->get_u2_fast();
3154 u2 java_fields_count = 0;
4165 bool ClassFileParser::is_supported_version(u2 major, u2 minor) {
4166 u2 max_version =