Lines Matching defs:idx

1370   for (jint idx = 1; idx < cnt; idx++) {
1375 printf("const #%03d, tag: %02d ", idx, tag);
1413 idx++; // Long takes two cpool slots
1420 idx++; // Double takes two cpool slots
1495 jint constantPoolOopDesc::cpool_entry_size(jint idx) {
1496 switch(tag_at(idx).value()) {
1502 return 3 + symbol_at(idx)->utf8_length();
1545 for (u2 idx = 1; idx < length(); idx++) {
1546 u2 tag = tag_at(idx).value();
1547 size += cpool_entry_size(idx);
1551 Symbol* sym = symbol_at(idx);
1552 symmap->add_entry(sym, idx);
1553 DBG(printf("adding symbol entry %s = %d\n", sym->as_utf8(), idx));
1559 Symbol* sym = klass_name_at(idx);
1560 classmap->add_entry(sym, idx);
1561 DBG(printf("adding class entry %s = %d\n", sym->as_utf8(), idx));
1566 idx++; // Both Long and Double take two cpool slots
1588 for (jint idx = 1; idx < cnt; idx++) {
1589 u1 tag = tag_at(idx).value();
1590 jint ent_size = cpool_entry_size(idx);
1595 DBG(printf("#%03hd tag=%03hd, ", idx, tag));
1607 Symbol* sym = symbol_at(idx);
1619 jint val = int_at(idx);
1624 jfloat val = float_at(idx);
1629 jlong val = long_at(idx);
1631 idx++; // Long takes two cpool slots
1635 jdouble val = double_at(idx);
1637 idx++; // Double takes two cpool slots
1644 Symbol* sym = klass_name_at(idx);
1648 DBG(printf("JVM_CONSTANT_Class: idx=#%03hd, %s", idx1, sym->as_utf8()));
1653 char *str = string_at_noresolve(idx);
1658 oop string = *(obj_at_addr_raw(idx));
1660 DBG(printf("Error #%03hd tag=%03hd\n", idx, tag));
1679 DBG(printf("JVM_CONSTANT_String: idx=#%03hd, %s", idx1, str));
1684 Symbol* sym = unresolved_string_at(idx);
1689 DBG(printf("JVM_CONSTANT_UnresolvedString: idx=#%03hd, %s", idx1, str));
1695 idx1 = uncached_klass_ref_index_at(idx);
1696 idx2 = uncached_name_and_type_ref_index_at(idx);
1703 idx1 = name_ref_index_at(idx);
1704 idx2 = signature_ref_index_at(idx);
1712 idx1 = klass_index_at(idx);
1719 idx1 = string_index_at(idx);
1726 int kind = method_handle_ref_kind_at(idx);
1727 idx1 = method_handle_index_at(idx);
1735 idx1 = method_type_index_at(idx);
1742 idx1 = extract_low_short_from_int(*int_at_addr(idx));
1743 idx2 = extract_high_short_from_int(*int_at_addr(idx));
1744 assert(idx2 == invoke_dynamic_name_and_type_ref_index_at(idx), "correct half of u4");