src/share/native/com/sun/java/util/jar/pack/bands.cpp

Print this page


   1 /*
   2  * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 335   BAND_INIT(field_descr, DELTA5_spec, INDEX(CONSTANT_NameandType)),
 336   BAND_INIT(field_flags_hi, UNSIGNED5_spec, 0),
 337   BAND_INIT(field_flags_lo, UNSIGNED5_spec, 0),
 338   BAND_INIT(field_attr_count, UNSIGNED5_spec, 0),
 339   BAND_INIT(field_attr_indexes, UNSIGNED5_spec, 0),
 340   BAND_INIT(field_attr_calls, UNSIGNED5_spec, 0),
 341   BAND_INIT(field_ConstantValue_KQ, UNSIGNED5_spec, INDEX(CONSTANT_FieldSpecific)),
 342   BAND_INIT(field_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 343   BAND_INIT(field_metadata_bands, -1, -1),
 344   BAND_INIT(field_attr_bands, -1, -1),
 345   BAND_INIT(method_descr, MDELTA5_spec, INDEX(CONSTANT_NameandType)),
 346   BAND_INIT(method_flags_hi, UNSIGNED5_spec, 0),
 347   BAND_INIT(method_flags_lo, UNSIGNED5_spec, 0),
 348   BAND_INIT(method_attr_count, UNSIGNED5_spec, 0),
 349   BAND_INIT(method_attr_indexes, UNSIGNED5_spec, 0),
 350   BAND_INIT(method_attr_calls, UNSIGNED5_spec, 0),
 351   BAND_INIT(method_Exceptions_N, UNSIGNED5_spec, 0),
 352   BAND_INIT(method_Exceptions_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 353   BAND_INIT(method_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 354   BAND_INIT(method_metadata_bands, -1, -1),



 355   BAND_INIT(method_attr_bands, -1, -1),
 356   BAND_INIT(class_flags_hi, UNSIGNED5_spec, 0),
 357   BAND_INIT(class_flags_lo, UNSIGNED5_spec, 0),
 358   BAND_INIT(class_attr_count, UNSIGNED5_spec, 0),
 359   BAND_INIT(class_attr_indexes, UNSIGNED5_spec, 0),
 360   BAND_INIT(class_attr_calls, UNSIGNED5_spec, 0),
 361   BAND_INIT(class_SourceFile_RUN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Utf8)),
 362   BAND_INIT(class_EnclosingMethod_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 363   BAND_INIT(class_EnclosingMethod_RDN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_NameandType)),
 364   BAND_INIT(class_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 365   BAND_INIT(class_metadata_bands, -1, -1),
 366   BAND_INIT(class_InnerClasses_N, UNSIGNED5_spec, 0),
 367   BAND_INIT(class_InnerClasses_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 368   BAND_INIT(class_InnerClasses_F, UNSIGNED5_spec, 0),
 369   BAND_INIT(class_InnerClasses_outer_RCN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Class)),
 370   BAND_INIT(class_InnerClasses_name_RUN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Utf8)),
 371   BAND_INIT(class_ClassFile_version_minor_H, UNSIGNED5_spec, 0),
 372   BAND_INIT(class_ClassFile_version_major_H, UNSIGNED5_spec, 0),
 373   BAND_INIT(class_attr_bands, -1, -1),
 374   BAND_INIT(code_headers, BYTE1_spec, 0),


   1 /*
   2  * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 335   BAND_INIT(field_descr, DELTA5_spec, INDEX(CONSTANT_NameandType)),
 336   BAND_INIT(field_flags_hi, UNSIGNED5_spec, 0),
 337   BAND_INIT(field_flags_lo, UNSIGNED5_spec, 0),
 338   BAND_INIT(field_attr_count, UNSIGNED5_spec, 0),
 339   BAND_INIT(field_attr_indexes, UNSIGNED5_spec, 0),
 340   BAND_INIT(field_attr_calls, UNSIGNED5_spec, 0),
 341   BAND_INIT(field_ConstantValue_KQ, UNSIGNED5_spec, INDEX(CONSTANT_FieldSpecific)),
 342   BAND_INIT(field_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 343   BAND_INIT(field_metadata_bands, -1, -1),
 344   BAND_INIT(field_attr_bands, -1, -1),
 345   BAND_INIT(method_descr, MDELTA5_spec, INDEX(CONSTANT_NameandType)),
 346   BAND_INIT(method_flags_hi, UNSIGNED5_spec, 0),
 347   BAND_INIT(method_flags_lo, UNSIGNED5_spec, 0),
 348   BAND_INIT(method_attr_count, UNSIGNED5_spec, 0),
 349   BAND_INIT(method_attr_indexes, UNSIGNED5_spec, 0),
 350   BAND_INIT(method_attr_calls, UNSIGNED5_spec, 0),
 351   BAND_INIT(method_Exceptions_N, UNSIGNED5_spec, 0),
 352   BAND_INIT(method_Exceptions_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 353   BAND_INIT(method_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 354   BAND_INIT(method_metadata_bands, -1, -1),
 355   BAND_INIT(method_MethodParameters_NB, BYTE1_spec, 0),
 356   BAND_INIT(method_MethodParameters_name_RUN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Utf8)),
 357   BAND_INIT(method_MethodParameters_flag_I, UNSIGNED5_spec, 0),
 358   BAND_INIT(method_attr_bands, -1, -1),
 359   BAND_INIT(class_flags_hi, UNSIGNED5_spec, 0),
 360   BAND_INIT(class_flags_lo, UNSIGNED5_spec, 0),
 361   BAND_INIT(class_attr_count, UNSIGNED5_spec, 0),
 362   BAND_INIT(class_attr_indexes, UNSIGNED5_spec, 0),
 363   BAND_INIT(class_attr_calls, UNSIGNED5_spec, 0),
 364   BAND_INIT(class_SourceFile_RUN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Utf8)),
 365   BAND_INIT(class_EnclosingMethod_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 366   BAND_INIT(class_EnclosingMethod_RDN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_NameandType)),
 367   BAND_INIT(class_Signature_RS, UNSIGNED5_spec, INDEX(CONSTANT_Signature)),
 368   BAND_INIT(class_metadata_bands, -1, -1),
 369   BAND_INIT(class_InnerClasses_N, UNSIGNED5_spec, 0),
 370   BAND_INIT(class_InnerClasses_RC, UNSIGNED5_spec, INDEX(CONSTANT_Class)),
 371   BAND_INIT(class_InnerClasses_F, UNSIGNED5_spec, 0),
 372   BAND_INIT(class_InnerClasses_outer_RCN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Class)),
 373   BAND_INIT(class_InnerClasses_name_RUN, UNSIGNED5_spec, NULL_OR_INDEX(CONSTANT_Utf8)),
 374   BAND_INIT(class_ClassFile_version_minor_H, UNSIGNED5_spec, 0),
 375   BAND_INIT(class_ClassFile_version_major_H, UNSIGNED5_spec, 0),
 376   BAND_INIT(class_attr_bands, -1, -1),
 377   BAND_INIT(code_headers, BYTE1_spec, 0),