/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/ |
D | RandomAccessObjectTest.java | 38 File tmpFile = storeInTempFile(new ByteArrayInputStream(BLOB)); in fileLengthTest() local 40 try (RandomAccessObject obj = new RandomAccessObject.RandomAccessFileObject(tmpFile, "r")) { in fileLengthTest() 43 tmpFile.delete(); in fileLengthTest() 56 File tmpFile = storeInTempFile(new ByteArrayInputStream(BLOB)); in mmapLengthTest() local 59 new RandomAccessObject.RandomAccessMmapObject(new RandomAccessFile(tmpFile, "r"), "r")) { in mmapLengthTest() 62 tmpFile.delete(); in mmapLengthTest() 68 File tmpFile = storeInTempFile(new ByteArrayInputStream(BLOB)); in fileReadByteTest() local 70 try (RandomAccessObject obj = new RandomAccessObject.RandomAccessFileObject(tmpFile, "r")) { in fileReadByteTest() 81 tmpFile.delete(); in fileReadByteTest() 122 File tmpFile = storeInTempFile(new ByteArrayInputStream(BLOB)); in mmapReadByteTest() local [all …]
|
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
D | NativeLibraryLoader.java | 186 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/ |
D | NativeLibraryLoader.java | 187 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/honggfuzz/tools/ |
D | createStackBlacklist.sh | 22 readonly tmpFile=$(pwd)/.hf.bl.txt 127 cat $BL_FILE > $tmpFile 146 echo $stackHash >> $tmpFile 153 perl -lpe '$_=hex' $tmpFile | \ 154 paste -d" " - $tmpFile | sort -nu | cut -d" " -f 2- \ 160 rm $tmpFile
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | SwatDeprecated.java | 175 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/ |
D | qpCrashHandler.c | 541 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/syzkaller/pkg/osutil/ |
D | fileutil.go | 24 tmpFile := newFile + ".tmp" 25 newf, err := os.OpenFile(tmpFile, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, stat.Mode()&os.ModePerm) 37 if err := os.Chtimes(tmpFile, stat.ModTime(), stat.ModTime()); err != nil { 40 return os.Rename(tmpFile, newFile)
|
/external/clang/www/demo/ |
D | index.cgi | 382 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/ |
D | roundTrip.py | 63 for tmpFile in (xmlFile1, ttFile2, xmlFile2): 64 if os.path.exists(tmpFile): 65 os.remove(tmpFile)
|
/external/swiftshader/third_party/LLVM/test/lib/ |
D | llvm.exp | 48 proc substitute { line test tmpFile } { argument 87 regsub -all {%t} $new_line $tmpFile new_line 89 regsub -all {%abs_tmp} $new_line [file join [pwd] $tmpFile] new_line 145 set tmpFile "$filename.tmp" 171 set runline [ substitute $runline $test $tmpFile ]
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | TestUtils.java | 113 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/ |
D | AbstractTestCase.java | 379 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/ |
D | ShadowBitmapFactoryTest.java | 175 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()
|
D | ShadowMediaPlayerTest.java | 178 File tmpFile = File.createTempFile("MediaPlayerTest", null); in testSetDataSourceFD() local 180 tmpFile.deleteOnExit(); in testSetDataSourceFD() 181 FileInputStream is = new FileInputStream(tmpFile); in testSetDataSourceFD() 194 tmpFile.delete(); in testSetDataSourceFD()
|
/external/syzkaller/vm/kvm/ |
D | kvm.go | 238 tmpFile := cmdFile + "-tmp" 239 if err := osutil.WriteExecFile(tmpFile, []byte(command)); err != nil { 242 if err := os.Rename(tmpFile, cmdFile); err != nil {
|
/external/google-breakpad/src/client/mac/sender/ |
D | uploader.mm | 321 char *tmpFile = mktemp(tmpFilenameTemplate); 324 NSString *tmpFileString = [NSString stringWithUTF8String:tmpFile];
|