< prev index next >

src/jdk.pack/share/native/common-unpack/constants.h

Print this page
rev 52031 : imported patch fix_pack


 186     NO_BAND_INDEX = -1,
 187 
 188     // File option bits, from LSB in ascending bit position.
 189     FO_DEFLATE_HINT           = 1<<0,
 190     FO_IS_CLASS_STUB          = 1<<1,
 191 
 192     // Archive option bits, from LSB in ascending bit position:
 193     AO_HAVE_SPECIAL_FORMATS   = 1<<0,
 194     AO_HAVE_CP_NUMBERS        = 1<<1,
 195     AO_HAVE_ALL_CODE_FLAGS    = 1<<2,
 196     AO_HAVE_CP_EXTRAS         = 1<<3,
 197     AO_HAVE_FILE_HEADERS      = 1<<4,
 198     AO_DEFLATE_HINT           = 1<<5,
 199     AO_HAVE_FILE_MODTIME      = 1<<6,
 200     AO_HAVE_FILE_OPTIONS      = 1<<7,
 201     AO_HAVE_FILE_SIZE_HI      = 1<<8,
 202     AO_HAVE_CLASS_FLAGS_HI    = 1<<9,
 203     AO_HAVE_FIELD_FLAGS_HI    = 1<<10,
 204     AO_HAVE_METHOD_FLAGS_HI   = 1<<11,
 205     AO_HAVE_CODE_FLAGS_HI     = 1<<12,
 206     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
 207 
 208 #define ARCHIVE_BIT_DO(F) \
 209          F(AO_HAVE_SPECIAL_FORMATS) \
 210          F(AO_HAVE_CP_NUMBERS) \
 211          F(AO_HAVE_ALL_CODE_FLAGS) \
 212          F(AO_HAVE_CP_EXTRAS) \
 213          F(AO_HAVE_FILE_HEADERS) \
 214          F(AO_DEFLATE_HINT) \
 215          F(AO_HAVE_FILE_MODTIME) \
 216          F(AO_HAVE_FILE_OPTIONS) \
 217          F(AO_HAVE_FILE_SIZE_HI) \
 218          F(AO_HAVE_CLASS_FLAGS_HI) \
 219          F(AO_HAVE_FIELD_FLAGS_HI) \
 220          F(AO_HAVE_METHOD_FLAGS_HI) \
 221          F(AO_HAVE_CODE_FLAGS_HI) \
 222           /*(end)*/
 223 
 224     // Constants for decoding attribute definition header bytes.
 225     ADH_CONTEXT_MASK   = 0x3,  // (hdr & ADH_CONTEXT_MASK)
 226     ADH_BIT_SHIFT      = 0x2,  // (hdr >> ADH_BIT_SHIFT)




 186     NO_BAND_INDEX = -1,
 187 
 188     // File option bits, from LSB in ascending bit position.
 189     FO_DEFLATE_HINT           = 1<<0,
 190     FO_IS_CLASS_STUB          = 1<<1,
 191 
 192     // Archive option bits, from LSB in ascending bit position:
 193     AO_HAVE_SPECIAL_FORMATS   = 1<<0,
 194     AO_HAVE_CP_NUMBERS        = 1<<1,
 195     AO_HAVE_ALL_CODE_FLAGS    = 1<<2,
 196     AO_HAVE_CP_EXTRAS         = 1<<3,
 197     AO_HAVE_FILE_HEADERS      = 1<<4,
 198     AO_DEFLATE_HINT           = 1<<5,
 199     AO_HAVE_FILE_MODTIME      = 1<<6,
 200     AO_HAVE_FILE_OPTIONS      = 1<<7,
 201     AO_HAVE_FILE_SIZE_HI      = 1<<8,
 202     AO_HAVE_CLASS_FLAGS_HI    = 1<<9,
 203     AO_HAVE_FIELD_FLAGS_HI    = 1<<10,
 204     AO_HAVE_METHOD_FLAGS_HI   = 1<<11,
 205     AO_HAVE_CODE_FLAGS_HI     = 1<<12,
 206     AO_UNUSED_MBZ             = (int)((~0U)<<13), // options bits reserved for future use.
 207 
 208 #define ARCHIVE_BIT_DO(F) \
 209          F(AO_HAVE_SPECIAL_FORMATS) \
 210          F(AO_HAVE_CP_NUMBERS) \
 211          F(AO_HAVE_ALL_CODE_FLAGS) \
 212          F(AO_HAVE_CP_EXTRAS) \
 213          F(AO_HAVE_FILE_HEADERS) \
 214          F(AO_DEFLATE_HINT) \
 215          F(AO_HAVE_FILE_MODTIME) \
 216          F(AO_HAVE_FILE_OPTIONS) \
 217          F(AO_HAVE_FILE_SIZE_HI) \
 218          F(AO_HAVE_CLASS_FLAGS_HI) \
 219          F(AO_HAVE_FIELD_FLAGS_HI) \
 220          F(AO_HAVE_METHOD_FLAGS_HI) \
 221          F(AO_HAVE_CODE_FLAGS_HI) \
 222           /*(end)*/
 223 
 224     // Constants for decoding attribute definition header bytes.
 225     ADH_CONTEXT_MASK   = 0x3,  // (hdr & ADH_CONTEXT_MASK)
 226     ADH_BIT_SHIFT      = 0x2,  // (hdr >> ADH_BIT_SHIFT)


< prev index next >