Home
last modified time | relevance | path

Searched refs:tmpName (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/lld/Common/
H A DFilesystem.cpp68 SmallString<128> tmpName; in unlinkAsync() local
69 if (!sys::fs::createUniqueFile(path + "%%%%%%%%.tmp", tmpName)) { in unlinkAsync()
70 if (!sys::fs::rename(path, tmpName)) in unlinkAsync()
71 path = tmpName; in unlinkAsync()
73 sys::fs::remove(tmpName); in unlinkAsync()
/openbsd-src/gnu/llvm/lld/COFF/
H A DDriver.cpp962 SmallString<128> tmpName; in createImportLibrary() local
964 sys::fs::createUniqueFile(path + ".tmp-%%%%%%%%.lib", tmpName)) in createImportLibrary()
968 if (Error e = writeImportLibrary(libName, tmpName, exports, in createImportLibrary()
975 tmpName, /*IsText=*/false, /*RequiresNullTerminator=*/false)); in createImportLibrary()
978 checkError(errorCodeToError(sys::fs::rename(tmpName, path))); in createImportLibrary()
980 sys::fs::remove(tmpName); in createImportLibrary()
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A DTestRunner.py1154 tmpName = tmpBase + '.tmp'
1160 ('%t', tmpName),
1177 ('%/et',tmpName.replace('\\', '\\\\\\\\\\\\\\\\')),
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2491 std::string tmpName = InFileName; in RewriteObjCStringLiteral() local
2493 for (i=0; i < tmpName.length(); i++) { in RewriteObjCStringLiteral()
2494 char c = tmpName.at(i); in RewriteObjCStringLiteral()
2497 tmpName[i] = '_'; in RewriteObjCStringLiteral()
2499 S += tmpName; in RewriteObjCStringLiteral()
H A DRewriteModernObjC.cpp2565 std::string tmpName = InFileName; in RewriteObjCStringLiteral() local
2567 for (i=0; i < tmpName.length(); i++) { in RewriteObjCStringLiteral()
2568 char c = tmpName.at(i); in RewriteObjCStringLiteral()
2571 tmpName[i] = '_'; in RewriteObjCStringLiteral()
2573 S += tmpName; in RewriteObjCStringLiteral()