Lines Matching defs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
114 // An entryName(path)->Entry map generated during "expand", it helps to
115 // decide whether or not an existing entry in a jar file needs to be
119 // All entries need to be added/updated.
122 // module-info.class entries need to be added/updated.
132 // Do we think this is a multi-release jar? Set to true
137 // "-d,--describe-module" to select the operative module descriptor.
172 * If true, maintain compatibility with JDK releases prior to 6.0 by
174 * Default is to use the time given in the archive.
252 // zip file entry. We use this to make sure that we don't
253 // add the zip file to itself.
323 p.put(Packer.EFFORT, "1"); // Minimal effort to conserve CPU
389 // is required, but this is likely to be more efficient when a
392 // implementation to the ZipFile implementation, since only the
686 /* just want to update the manifest */
768 * Expands list of files to process into full list of all files that
772 * @param files list of files to expand
880 * We don't want case comparison to be locale-dependent (else we
1164 * Adds a new file entry to the ZIP output stream.
1229 * Copies all bytes from the input stream to the output stream.
1232 * @param from the input stream to read from
1233 * @param to the output stream to write to
1236 private void copy(InputStream from, OutputStream to) throws IOException {
1239 to.write(copyBuf, 0, n);
1243 * Copies all bytes from the input file to the output stream.
1246 * @param from the input file to read from
1247 * @param to the output stream to write to
1250 private void copy(File from, OutputStream to) throws IOException {
1252 copy(in, to);
1257 * Copies all bytes from the input stream to the output file.
1260 * @param from the input stream to read from
1261 * @param to the output file to write to
1264 private void copy(InputStream from, File to) throws IOException {
1265 try (OutputStream out = new FileOutputStream(to)) {
1401 * the entry is for a directory which doesn't exist prior to this
1498 * Outputs the class index table to the INDEX.LIST file of the
1535 // '/' as separators, so we need to change them to the
1666 * Main routine to start program.
1675 * It's here to find the CRC32 of an input file, necessary for STORED
1706 * Attempt to create temporary file in the system-provided temporary folder, if failed attempts
1707 * to create it in the same folder as the file in parameter (if any)
1715 // Unable to create file due to permission violation or security exception
1718 // Were unable to create temporary file, fall back to temporary file in the same folder
1728 // No options left - we can not compress to stdout without access to the temporary folder
1908 // no root, output message to specify --release
1979 .append(" to").append(toString(e.targets()))
1995 .append(" to").append(toString(o.targets()))
2059 * Adds extended modules attributes to the given module-info's. The given
2098 * then the corresponding class file attributes are added to the