Searched defs:PRINTCR (Results 1 - 2 of 2) sorted by relevance
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | defines.h | 53 #define PRINTCR(args) macro 59 #define PRINTCR(args) u->verbose && u->printcr_if_verbose args macro
|
H A D | unpack.cpp | 1298 PRINTCR((1,"Reading %d %s entries...", len, NOT_PRODUCT(TAG_NAME[tag])+0)); 1371 PRINTCR((1,"parsed %d constant pool entries in %d bytes", cp.nentries, (rp - rp0))); 1385 PRINTCR((4, "well-known sym %d=%s", sn, cp.sym[sn]->string())); 2084 PRINTCR((5, "parse short IC name %s", n.ptr)); 2116 PRINTCR((5,"=> %s$ 0%s $%s", 2141 PRINTCR((1," ...scanning %d classes...", class_count)); 2182 PRINTCR((1,"scanned %d classes, %d fields, %d methods, %d code headers", 2460 PRINTCR((1, "counted %d [redefined = %d predefined = %d] attributes of type %s.%s", 2838 PRINTCR((3, "reading compressed bytecodes and operands for %d codes...", 2953 PRINTCR(( 2055 assert(inord < (uint)cp.tag_count[CONSTANT_Class]); if (ic_index[inord] != null) { abort(�); break; } ic_index[inord] = &ics[i]; ics[i].inner = inner; ics[i].flags = flags; assert(cp.getIC(inner) == &ics[i]); } CHECK; ic_outer_class.readData(long_forms); ic_name.readData(long_forms); for (i = 0; i < ic_count; i++) { if (ics[i].name == NO_ENTRY_YET) { ics[i].outer = ic_outer_class.getRefN(); CHECK; ics[i].name = ic_name.getRefN(); CHECK; } else { bytes& n = ics[i].inner->value.b; bytes pkgOuter; bytes number; bytes name; PRINTCR((5, �, n.ptr)); int dollar1, dollar2; int nlen = (int)n.len; int pkglen = lastIndexOf(SLASH_MIN, SLASH_MAX, n, nlen) + 1; dollar2 = lastIndexOf(DOLLAR_MIN, DOLLAR_MAX, n, nlen); if (dollar2 < 0) { abort(); return; } assert(dollar2 >= pkglen); if (isDigitString(n, dollar2+1, nlen)) { number = n.slice(dollar2+1, nlen); name.set(null,0); dollar1 = dollar2; } else if (pkglen < (dollar1 = lastIndexOf(DOLLAR_MIN, DOLLAR_MAX, n, dollar2-1)) && isDigitString(n, dollar1+1, dollar2)) { number = n.slice(dollar1+1, dollar2); name = n.slice(dollar2+1, nlen); } else { dollar1 = dollar2; number.set(null,0); name = n.slice(dollar2+1, nlen); } if (number.ptr == null) pkgOuter = n.slice(0, dollar1); else pkgOuter.set(null,0); PRINTCR((5,�, pkgOuter.string(), number.string(), name.string())); if (pkgOuter.ptr != null) ics[i].outer = cp.ensureClass(pkgOuter); if (name.ptr != null) ics[i].name = cp.ensureUtf8(name); } if (ics[i].outer != null) { uint outord = ics[i].outer->inord; if (outord != NO_INORD) { assert(outord < (uint)cp.tag_count[CONSTANT_Class]); ics[i].next_sibling = ic_child_index[outord]; ic_child_index[outord] = &ics[i]; } } } } void unpacker::read_classes() { PRINTCR((1,�, class_count)); class_this.readData(class_count); class_super.readData(class_count); class_interface_count.readData(class_count); class_interface.readData(class_interface_count.getIntTotal()); CHECK; class_field_count.readData(class_count); class_method_count.readData(class_count); CHECK; int field_count = class_field_count.getIntTotal(); int method_count = class_method_count.getIntTotal(); field_descr.readData(field_count); read_attrs(ATTR_CONTEXT_FIELD, field_count); CHECK; method_descr.readData(method_count); read_attrs(ATTR_CONTEXT_METHOD, method_count); CHECK; read_attrs(ATTR_CONTEXT_CLASS, class_count); CHECK; read_code_headers(); PRINTCR((1,�, class_count, field_count, method_count, code_count)); } maybe_inline int unpacker::attr_definitions::predefCount(uint idx) { return isPredefined(idx) ? flag_count[idx] : 0; } void unpacker::read_attrs(int attrc, int obj_count) { attr_definitions& ad = attr_defs[attrc]; assert(ad.attrc == attrc); int i, idx, count; CHECK; bool haveLongFlags = ad.haveLongFlags(); band& xxx_flags_hi = ad.xxx_flags_hi(); assert(endsWith(xxx_flags_hi.name, �)); if (haveLongFlags) xxx_flags_hi.readData(obj_count); CHECK; band& xxx_flags_lo = ad.xxx_flags_lo(); assert(endsWith(xxx_flags_lo.name, �)); xxx_flags_lo.readData(obj_count); CHECK; julong indexMask = ad.flagIndexMask(); for (i = 0; i < obj_count; i++) { julong indexBits = xxx_flags_hi.getLong(xxx_flags_lo, haveLongFlags); if ((indexBits & ~indexMask) > (ushort)-1) { abort(�); return; } indexBits &= indexMask; for (idx = 0; indexBits != 0; idx++, indexBits >>= 1) argument [all...] |
Completed in 40 milliseconds