Home
last modified time | relevance | path

Searched refs:tmpFile (Results 1 – 15 of 15) sorted by relevance

/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DNativeLibraryLoader.java186 File tmpFile = null; in loadFromWorkdir() local
189 tmpFile = Platform.createTempFile(prefix, suffix, WORKDIR); in loadFromWorkdir()
190 if (tmpFile.isFile() && tmpFile.canRead() && !Platform.canExecuteExecutable(tmpFile)) { in loadFromWorkdir()
195 tmpFile.getPath(), WORK_DIR_PROPERTY_NAME)); in loadFromWorkdir()
199 copyLibrary(url, tmpFile); in loadFromWorkdir()
201 return loadLibrary(loader, tmpFile.getPath(), true, results); in loadFromWorkdir()
206 tmpFile)).initCause(e); in loadFromWorkdir()
213 if (tmpFile != null) { in loadFromWorkdir()
216 deleted = tmpFile.delete(); in loadFromWorkdir()
219 tmpFile.deleteOnExit(); in loadFromWorkdir()
[all …]
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DNativeLibraryLoader.java187 File tmpFile = null; in loadFromWorkdir() local
190 tmpFile = Platform.createTempFile(prefix, suffix, WORKDIR); in loadFromWorkdir()
191 if (tmpFile.isFile() && tmpFile.canRead() && !Platform.canExecuteExecutable(tmpFile)) { in loadFromWorkdir()
196 tmpFile.getPath(), WORK_DIR_PROPERTY_NAME)); in loadFromWorkdir()
200 copyLibrary(url, tmpFile); in loadFromWorkdir()
202 return loadLibrary(loader, tmpFile.getPath(), true, results); in loadFromWorkdir()
207 tmpFile)).initCause(e); in loadFromWorkdir()
214 if (tmpFile != null) { in loadFromWorkdir()
217 deleted = tmpFile.delete(); in loadFromWorkdir()
220 tmpFile.deleteOnExit(); in loadFromWorkdir()
[all …]
/external/toolchain-utils/compiler_wrapper/
Ddisable_werror_flag.go170 tmpFile, err := ioutil.TempFile(cfg.newWarningsDir, "warnings_report*.json"+incompleteSuffix)
175 if err := tmpFile.Chmod(0666); err != nil {
179 enc := json.NewEncoder(tmpFile)
181 _ = tmpFile.Close()
185 if err := tmpFile.Close(); err != nil {
189 …if err := os.Rename(tmpFile.Name(), tmpFile.Name()[:len(tmpFile.Name())-len(incompleteSuffix)]); e…
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DSwatDeprecated.java175 File tmpFile = null; in processFile() local
181 tmpFile = File.createTempFile(inFile.getName(), null, inFile.getParentFile()); in processFile()
184 tmpFile = outFile; in processFile()
185 File parent = tmpFile.getParentFile(); in processFile()
187 tmpFile.createNewFile(); in processFile()
190 String tmpPath = tmpFile.getPath(); in processFile()
196 OutputStream os = new FileOutputStream(tmpFile); in processFile()
283 if (!tmpFile.delete()) { in processFile()
294 if (!tmpFile.renameTo(bakFile)) { in processFile()
/external/deqp/framework/qphelper/
DqpCrashHandler.c541 int tmpFile = mkstemp(tmpFileName); in qpCrashHandler_writeCrashInfo() local
543 if (tmpFile == -1) in qpCrashHandler_writeCrashInfo()
558 backtrace_symbols_fd(symbols, symbolCount, tmpFile); in qpCrashHandler_writeCrashInfo()
560 if (lseek(tmpFile, 0, SEEK_SET) < 0) in qpCrashHandler_writeCrashInfo()
563 close(tmpFile); in qpCrashHandler_writeCrashInfo()
592 if (read(tmpFile, &c, 1) == 1) in qpCrashHandler_writeCrashInfo()
619 close(tmpFile); in qpCrashHandler_writeCrashInfo()
620 tmpFile = -1; in qpCrashHandler_writeCrashInfo()
626 if (tmpFile == -1) in qpCrashHandler_writeCrashInfo()
630 if (tmpFile != -1) in qpCrashHandler_writeCrashInfo()
[all …]
/external/clang/www/demo/
Dindex.cgi382 my $tmpFile = getname(".bc");
385 "llvm-ld $stats -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
388 system("mv $tmpFile.bc $bytecodeFile");
389 system("rm $tmpFile");
407 my $tmpFile = getname(".ll");
408 system("c++filt < $disassemblyFile > $tmpFile 2>&1");
409 system("mv $tmpFile $disassemblyFile");
/external/llvm-project/clang/www/demo/
Dindex.cgi382 my $tmpFile = getname(".bc");
385 "llvm-ld $stats -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
388 system("mv $tmpFile.bc $bytecodeFile");
389 system("rm $tmpFile");
407 my $tmpFile = getname(".ll");
408 system("c++filt < $disassemblyFile > $tmpFile 2>&1");
409 system("mv $tmpFile $disassemblyFile");
/external/fonttools/MetaTools/
DroundTrip.py63 for tmpFile in (xmlFile1, ttFile2, xmlFile2):
64 if os.path.exists(tmpFile):
65 os.remove(tmpFile)
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java278 File tmpFile = File.createTempFile(TMP_PREFIX, suffix, parentFolder); in createTemporaryFolderWithFileApi() local
279 String tmpName = tmpFile.toString(); in createTemporaryFolderWithFileApi()
284 tmpFile.delete(); in createTemporaryFolderWithFileApi()
287 tmpFile.delete(); in createTemporaryFolderWithFileApi()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DTestUtils.java113 File tmpFile = File.createTempFile(name, ""); in loadCert() local
114 tmpFile.deleteOnExit(); in loadCert()
116 OutputStream os = new BufferedOutputStream(new FileOutputStream(tmpFile)); in loadCert()
128 return tmpFile; in loadCert()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DAbstractTestCase.java379 final File tmpFile = File.createTempFile("testfile", "", tmpDir); in createTempDirAndFile() local
380 tmpFile.deleteOnExit(); in createTempDirAndFile()
381 try (FileOutputStream fos = new FileOutputStream(tmpFile)) { in createTempDirAndFile()
383 return new File[] { tmpDir, tmpFile }; in createTempDirAndFile()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java175 File tmpFile = File.createTempFile("BitmapFactoryTest", null); in decodeFileDescriptor_shouldGetWidthAndHeightFromHints() local
177 tmpFile.deleteOnExit(); in decodeFileDescriptor_shouldGetWidthAndHeightFromHints()
178 try (FileInputStream is = new FileInputStream(tmpFile)) { in decodeFileDescriptor_shouldGetWidthAndHeightFromHints()
188 tmpFile.delete(); in decodeFileDescriptor_shouldGetWidthAndHeightFromHints()
DShadowMediaPlayerTest.java179 File tmpFile = File.createTempFile("MediaPlayerTest", null); in testSetDataSourceFD() local
181 tmpFile.deleteOnExit(); in testSetDataSourceFD()
182 FileInputStream is = new FileInputStream(tmpFile); in testSetDataSourceFD()
195 tmpFile.delete(); in testSetDataSourceFD()
/external/v4l2_codec2/tests/c2_e2e_test/src/org/chromium/c2/test/
DE2eTestActivity.java192 boolean encode, String[] testArgs, int testArgsCount, Surface surface, String tmpFile); in c2VideoTest() argument
/external/google-breakpad/src/client/mac/sender/
Duploader.mm325 char *tmpFile = mktemp(tmpFilenameTemplate);
328 NSString *tmpFileString = [NSString stringWithUTF8String:tmpFile];