Searched refs:extra (Results 1 - 25 of 55) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipEntry.java44 byte[] extra; // optional extra field data for entry field in class:ZipEntry
88 extra = e.extra;
218 * Sets the optional extra field data for the entry.
219 * @param extra the extra field data bytes
221 * extra field data is greater than 0xFFFF bytes
224 public void setExtra(byte[] extra) { argument
225 if (extra !
[all...]
H A DZipOutputStream.java371 int elen = (e.extra != null) ? e.extra.length : 0;
417 if (e.extra != null) {
418 writeBytes(e.extra, 0, e.extra.length);
424 * Writes extra data descriptor (EXT) for specified entry.
485 writeShort(e64len + 4 + (e.extra != null ? e.extra.length : 0));
487 writeShort(e.extra != null ? e.extra
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDeferredAttrImpl.java125 int extra = ownerDocument.getNodeExtra(fNodeIndex);
126 isSpecified((extra & SPECIFIED) != 0);
127 isIdAttribute((extra & ID) != 0);
H A DDeferredAttrNSImpl.java108 int extra = ownerDocument.getNodeExtra(fNodeIndex);
109 isSpecified((extra & SPECIFIED) != 0);
110 isIdAttribute((extra & ID) != 0);
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DAssortment.java61 private byte[] extra; field in class:Assortment.Entry
67 byte[] extra,
72 this.extra = extra;
90 if (extra != null) e.setExtra(extra);
105 byte[] extra = (this.extra != null && this.extra.length == 0) ?
106 null : this.extra;
64 Entry(String name, int method, byte[] data, byte[] extra, String comment) argument
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLookupTables.cpp57 le_int16 extra = SWAPW(rangeShift); local
60 LEReferenceTo<LookupSegment> trial(entry, success, extra);
89 le_int16 extra = SWAPW(rangeShift); local
92 LEReferenceTo<LookupSingle> trial(entry, success, extra);
H A DCoverageTables.cpp72 le_uint16 extra = count - power; local
80 if (SWAPW(glyphArray[extra]) <= ttGlyphID) {
81 index = extra;
H A DOpenTypeUtilities.cpp87 le_int32 extra = recordCount - power; local
92 const ATag &aTag = records.getAlias(extra,success)->tag;
94 index = extra;
126 le_int32 extra = recordCount - power; local
134 if (SWAPW(records(extra,success).firstGlyph) <= glyphID) {
135 range = extra;
156 le_int32 extra = count - power; local
160 if (value >= array[extra]) {
161 index = extra;
178 le_int32 extra local
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipInfo.java76 // use size CENHDR as the extra bytes to read, just in case the
77 // loc.extra is bigger than the cen.extra, try to avoid to read
180 static void printExtra(byte[] extra, int off, int len) { argument
183 int tag = SH(extra, off);
184 int sz = SH(extra, off + 2);
187 print(" Error: Invalid extra data, beyond extra length");
192 print("%02x ", extra[off + i]);
199 print(" *0x%x ", LL(extra, po
[all...]
H A DZipFileAttributes.java127 public byte[] extra() { method in class:ZipFileAttributes
128 if (e.extra != null)
129 return Arrays.copyOf(e.extra, e.extra.length);
H A DZipFileSystem.java1421 // Override fill() method to provide an extra "dummy" byte
1807 byte[] extra; field in class:ZipFileSystem.Entry
1843 this.extra = e.extra;
1901 extra = Arrays.copyOfRange(cen, pos, pos + elen);
1919 int elen64 = 0; // extra for ZIP64
1920 int elenNTFS = 0; // extra for NTFS (a/c/mtime)
1921 int elenEXTT = 0; // extra for Extended Timestamp
1925 int elen = (extra != null) ? extra
[all...]
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c179 int bytesWidth, dibBytesWidth, extra, imageSize, dibImageSize; local
286 * The extra pixels of width are used as follows :
287 * One extra pixel at the left and the right will be needed to absorb
290 * However there seem to be some cases where GDI renders two extra
296 * One extra pixel at each end to account for sub-pixel positioning used
320 extra = dibBytesWidth % 4;
321 if (extra != 0) {
322 dibBytesWidth += (4-extra);
325 extra = bytesWidth % 3;
326 if (extra !
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DStringConvertTest.sh74 static String growit(String extra) {
75 grower += extra;
79 static String sbGrowit(String extra) {
80 sbGrower.append(extra);
/openjdk7/jdk/test/java/io/Serializable/GetField/
H A DRead2.java44 Object extra; field in class:Foo
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dinflate.h48 OS, /* i: waiting for extra flags and operating system (gzip) */
49 EXLEN, /* i: waiting for extra length (gzip) */
50 EXTRA, /* i: waiting for extra bytes (gzip) */
64 LENEXT, /* i: waiting for length extra bits */
66 DISTEXT, /* i: waiting for distance extra bits */
124 unsigned extra; /* extra bits needed */ member in struct:inflate_state
H A Dinftrees.c80 const unsigned short FAR *extra; /* extra bits table to use */ local
81 int end; /* use base and extra for symbol > end */
87 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
94 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */
208 base = extra = work; /* dummy value--not used */
214 extra = lext;
215 extra -= 257;
220 extra = dext;
248 this.op = (unsigned char)(extra[wor
[all...]
H A Dinfback.c544 /* length code -- get extra bits, if any */
545 state->extra = (unsigned)(this.op) & 15;
546 if (state->extra != 0) {
547 NEEDBITS(state->extra);
548 state->length += BITS(state->extra);
549 DROPBITS(state->extra);
577 /* get distance extra bits, if any */
578 state->extra = (unsigned)(this.op) & 15;
579 if (state->extra != 0) {
580 NEEDBITS(state->extra);
[all...]
H A Dinflate.c43 * - Remove unnecessary second byte pull from length extra in inffast.c
58 * - Remove distance extra == 0 check in inflate_fast()--only helps for lengths
702 state->head->extra = Z_NULL;
710 state->head->extra != Z_NULL) {
712 zmemcpy(state->head->extra + len, next,
1015 state->extra = (unsigned)(this.op) & 15;
1018 if (state->extra) {
1019 NEEDBITS(state->extra);
1020 state->length += BITS(state->extra);
1021 DROPBITS(state->extra);
[all...]
H A Dtrees.c85 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
88 local const int extra_dbits[D_CODES] /* extra bits for each distance code */
91 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
116 * need for the L_CODES extra codes used during heap construction. However
147 const intf *extra_bits; /* extra bits for each code or NULL */
521 const intf *extra = desc->stat_desc->extra_bits; local
527 int xbits; /* extra bits */
549 if (n >= base) xbits = extra[n-base];
679 /* node is 0 or 1 so it does not have extra bits */
1105 int extra; /* numbe local
[all...]
/openjdk7/jdk/test/java/util/jar/
H A DTestExtra.java27 * @summary Test that client-provided data in the extra field is written and
28 * read correctly, taking into account the JAR_MAGIC written into the extra
40 * Tests that the get/set operations on extra data in zip and jar files work
50 // ZipEntry extra data
51 final static byte[][] extra = new byte[][] { field in class:TestExtra
84 for (byte[] b : extra) {
100 checkEntry(ze, 0, extra[0].length);
103 checkEntry(ze, 1, extra[1].length);
106 /** Test that a header only (i.e., no extra "data") set by client works. */
121 check(e.length == 8, "expected extra lengt
[all...]
/openjdk7/jdk/test/sun/rmi/log/ReliableLog/
H A DLogAlignmentTest.java162 public void basicUpdate (String extra) argument
164 this.contents = this.contents + extra;
H A DRecovery.java211 public void basicUpdate (String extra) argument
213 this.contents = this.contents + extra;
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.c283 "extra" bytes are padded at the end of the zipfile.
284 Let's do some extra verification, we don't care about the performance
991 ze->extra = NULL;
1022 char *extra = cen + CENHDR + nlen; local
1024 /* This entry has "extra" data */
1025 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch;
1026 ze->extra[0] = (unsigned char) elen;
1027 ze->extra[1] = (unsigned char) (elen >> 8);
1028 memcpy(ze->extra+2, extra, ele
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DCharInfo.java623 boolean extra = false;
634 extra = true;
637 return extra;
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DExchangeImpl.java299 * Make sure that at least "extra" bytes are free at end
303 private byte[] bytes (String s, int extra) { argument
305 if (slen+extra > rspbuf.length) {
306 int diff = slen + extra - rspbuf.length;

Completed in 121 milliseconds

123