/openjdk10/jdk/test/java/util/zip/ZipFile/ |
H A D | deletetempjar.sh | 33 tmpfile=`$TESTJAVA/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES DeleteTempJar` 38 elif [ -f "$tmpfile" ]; then
|
/openjdk10/jdk/test/java/nio/file/Files/ |
H A D | BytesAndLines.java | 69 private Path tmpfile; field in class:BytesAndLines 73 tmpfile = Files.createTempFile("blah", null); 78 Files.deleteIfExists(tmpfile); 144 Files.write(tmpfile, expected); 147 byte[] read = Files.readAllBytes(tmpfile); 200 Path result = Files.write(tmpfile, bytes); 201 assertTrue(result == tmpfile); 203 Files.write(tmpfile, bytes, APPEND); 204 assertTrue(Files.size(tmpfile) == size*2); 216 byte[] read = Files.readAllBytes(tmpfile); [all...] |
H A D | StreamTest.java | 316 Path tmpfile = Files.createTempFile("blah", "txt"); 320 assertTrue(Files.size(tmpfile) == 0, "File should be empty"); 321 try (Stream<String> s = Files.lines(tmpfile)) { 324 try (Stream<String> s = Files.lines(tmpfile, US_ASCII)) { 330 Files.write(tmpfile, oneLine, US_ASCII); 331 try (Stream<String> s = Files.lines(tmpfile)) { 334 try (Stream<String> s = Files.lines(tmpfile, US_ASCII)) { 340 Files.write(tmpfile, twoLines, US_ASCII); 341 try (Stream<String> s = Files.lines(tmpfile)) { 344 try (Stream<String> s = Files.lines(tmpfile, US_ASCI [all...] |
/openjdk10/make/scripts/ |
H A D | lic_check.sh | 74 tmpfile=/tmp/source_file.$$ 75 rm -f ${tmpfile} 95 touch ${tmpfile} 171 echo "${new_copyright}" > ${tmpfile} 187 echo "" >> ${tmpfile} 189 echo "${newline}" >> ${tmpfile} 194 echo "" >> ${tmpfile} 200 if [ -s ${tmpfile} ] ; then 201 diff -c ${tmpfile} ${template_dir}/${header} 1>&2 219 rm -f ${tmpfile} [all...] |
/openjdk10/jdk/src/jdk.internal.ed/share/classes/jdk/internal/editor/external/ |
H A D | ExternalEditor.java | 59 private Path tmpfile; field in class:ExternalEditor 116 this.tmpfile = Files.createTempFile(dir, null, ".java"); 117 Files.write(tmpfile, initialText.getBytes(Charset.forName("UTF-8"))); 151 params[cmd.length] = tmpfile.toString(); 187 saveHandler.accept(Files.lines(tmpfile).collect(Collectors.joining("\n", "", "\n")));
|
/openjdk10/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/ |
H A D | ExternalEditor.java | 50 private Path tmpfile; field in class:ExternalEditor 73 this.tmpfile = Files.createTempFile(dir, null, ".js"); 74 Files.write(tmpfile, initialText.getBytes(Charset.forName("UTF-8"))); 107 ProcessBuilder pb = new ProcessBuilder(cmd, tmpfile.toString()); 134 lines = Files.readAllLines(tmpfile);
|
/openjdk10/jdk/test/java/lang/management/BufferPoolMXBean/ |
H A D | Basic.java | 86 Path tmpfile = Files.createTempFile("blah", null); 87 tmpfile.toFile().deleteOnExit(); 88 try (FileChannel fc = FileChannel.open(tmpfile, READ, WRITE)) {
|
/openjdk10/jdk/test/sun/management/jmxremote/bootstrap/ |
H A D | GeneratePropertyPassword.sh | 50 TMP_FILE=${TESTCLASSES}${FILESEP}${TESTCLASS}.sed.tmpfile 60 TMP_FILE=${TESTCLASSES}${FILESEP}${TESTCLASS}.sed.tmpfile
|
/openjdk10/jdk/test/lib/testlibrary/ |
H A D | JarUtils.java | 154 Path tmpfile = Files.createTempFile("jar", "jar"); 156 try (OutputStream out = Files.newOutputStream(tmpfile); 180 Files.move(tmpfile, jarfile, StandardCopyOption.REPLACE_EXISTING);
|
/openjdk10/jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/ |
H A D | Driver.java | 224 String tmpfile = ""; // temporary file to be deleted 245 tmpfile = createTempFile(newfile, ".pack").getPath(); 246 packfile = tmpfile; 374 if (!tmpfile.equals("")) 375 new File(tmpfile).delete(); 389 Path tmpfile = (where == null) 393 return tmpfile.toFile();
|
/openjdk10/jdk/src/jdk.jartool/share/classes/sun/tools/jar/ |
H A D | Main.java | 445 private void validateAndClose(File tmpfile) throws IOException { argument 447 try (JarFile jf = new JarFile(tmpfile)) { 456 Path path = tmpfile.toPath(); 1710 File tmpfile = null; 1713 tmpfile = File.createTempFile(tmpbase, suffix); 1717 if (tmpfile == null) { 1722 tmpfile = File.createTempFile(fname, ".tmp" + suffix, tmpfolder); 1732 return tmpfile;
|
/openjdk10/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ |
H A D | ZipFileSystem.java | 731 options.remove(StandardOpenOption.CREATE_NEW); // for tmpfile 737 final Path tmpfile = isFCH ? e.file : getTempPathForEntry(path); 738 final FileChannel fch = tmpfile.getFileSystem() 740 .newFileChannel(tmpfile, options, attrs); 741 final Entry u = isFCH ? e : new Entry(path, tmpfile, Entry.FILECH); 834 removeTempPathForEntry(tmpfile);
|