Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/util/zip/ZipConstants.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 /* ZipConstants.java - Some constants used in the zip package
    2    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
     1/*
     2   Copyright (C) Free Software Foundation, Inc.
    33
    44This file is part of GNU Classpath.
     
    88the Free Software Foundation; either version 2, or (at your option)
    99any later version.
    10  
     10
    1111GNU Classpath is distributed in the hope that it will be useful, but
    1212WITHOUT ANY WARRANTY; without even the implied warranty of
     
    3838package java.util.zip;
    3939
    40 /**
    41  * Some constants used in the zip package.
    42  * <p>
    43  * Since this package local interface is completely undocumented no effort
    44  * is made to make it compatible with other implementations.
    45  * If someone is really interested you can probably come up with the right
    46  * constants and documentation by studying the Info-ZIP zipfile.c constants.
    47  */
    4840interface ZipConstants
    4941{
    50   // Size in bytes of local file header, including signature.
    51   public static final int LOCAL_FILE_HEADER_SIZE = 30;
     42    /* The local file header */
     43    public final static int LOCHDR = 30;
     44    public final static int LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24);
    5245
    53   // Size in bytes of the "end of central directory" record, with signature.
    54   public static final int END_CENTRAL_DIR_SIZE = 22;
     46    public final static int LOCVER =  4;
     47    public final static int LOCFLG =  6;
     48    public final static int LOCHOW =  8;
     49    public final static int LOCTIM = 10;
     50    public final static int LOCCRC = 14;
     51    public final static int LOCSIZ = 18;
     52    public final static int LOCLEN = 22;
     53    public final static int LOCNAM = 26;
     54    public final static int LOCEXT = 28;
     55
     56    /* The Data descriptor */
     57    public final static int EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24);
     58    public final static int EXTHDR = 16;
     59
     60    public final static int EXTCRC =  4;
     61    public final static int EXTSIZ =  8;
     62    public final static int EXTLEN = 12;
     63
     64    /* The central directory file header */
     65    public final static int CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24);
     66    public final static int CENHDR = 46;
     67
     68    public final static int CENVEM =  4;
     69    public final static int CENVER =  6;
     70    public final static int CENFLG =  8;
     71    public final static int CENHOW = 10;
     72    public final static int CENTIM = 12;
     73    public final static int CENCRC = 16;
     74    public final static int CENSIZ = 20;
     75    public final static int CENLEN = 24;
     76    public final static int CENNAM = 28;
     77    public final static int CENEXT = 30;
     78    public final static int CENCOM = 32;
     79    public final static int CENDSK = 34;
     80    public final static int CENATT = 36;
     81    public final static int CENATX = 38;
     82    public final static int CENOFF = 42;
     83
     84    /* The entries in the end of central directory */
     85    public final static int ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24);
     86    public final static int ENDHDR = 22;
     87
     88    /* The following two fields are missing in SUN JDK */
     89    final static int ENDNRD =  4;
     90    final static int ENDDCD =  6;
     91    public final static int ENDSUB =  8;
     92    public final static int ENDTOT = 10;
     93    public final static int ENDSIZ = 12;
     94    public final static int ENDOFF = 16;
     95    public final static int ENDCOM = 20;
    5596}
     97
Note: See TracChangeset for help on using the changeset viewer.