Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/bzip2/
H A Dbzip2.c207 Char tmpName[FILE_NAME_LEN]; variable
1764 for (j = 0; j < k; j++) tmpName[j] = p[j]; in addFlagsFromEnvVar()
1765 tmpName[k] = 0; in addFlagsFromEnvVar()
1766 APPEND_FLAG(*argList, tmpName); in addFlagsFromEnvVar()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDriver.cpp857 SmallString<128> tmpName; in createImportLibrary() local
859 sys::fs::createUniqueFile(path + ".tmp-%%%%%%%%.lib", tmpName)) in createImportLibrary()
863 if (Error e = writeImportLibrary(libName, tmpName, exports, config->machine, in createImportLibrary()
870 tmpName, /*IsText=*/false, /*RequiresNullTerminator=*/false)); in createImportLibrary()
873 handleError(errorCodeToError(sys::fs::rename(tmpName, path))); in createImportLibrary()
875 sys::fs::remove(tmpName); in createImportLibrary()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileFromAtoms.cpp1082 char tmpName[16]; in addSymbols() local
1083 sprintf(tmpName, "L%04u", tempNum++); in addSymbols()
1084 StringRef tempRef(tmpName); in addSymbols()
/freebsd-13.1/contrib/llvm-project/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.cpp2564 std::string tmpName = InFileName; in RewriteObjCStringLiteral() local
2566 for (i=0; i < tmpName.length(); i++) { in RewriteObjCStringLiteral()
2567 char c = tmpName.at(i); in RewriteObjCStringLiteral()
2570 tmpName[i] = '_'; in RewriteObjCStringLiteral()
2572 S += tmpName; in RewriteObjCStringLiteral()