Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp70 SmallString<128> tmpName; in unlinkAsync()
71 if (!sys::fs::createUniqueFile(path + "%%%%%%%%.tmp", tmpName)) { in unlinkAsync()
72 if (!sys::fs::rename(path, tmpName)) in unlinkAsync()
73 path = tmpName; in unlinkAsync()
75 sys::fs::remove(tmpName); in unlinkAsync()
68 SmallString<128> tmpName; unlinkAsync() local
/freebsd/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/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c506 const char *tmpName; in gpsd_start() local
537 tmpName = clockdev_lookup(&peer->srcadr, 0); in gpsd_start()
538 if (NULL != tmpName) { in gpsd_start()
539 up->device = estrdup(tmpName); in gpsd_start()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDriver.cpp968 SmallString<128> tmpName; in createImportLibrary() local
970 sys::fs::createUniqueFile(path + ".tmp-%%%%%%%%.lib", tmpName)) in createImportLibrary()
974 if (Error e = writeImportLibrary(libName, tmpName, exports, in createImportLibrary()
981 tmpName, /*IsText=*/false, /*RequiresNullTerminator=*/false)); in createImportLibrary()
984 checkError(errorCodeToError(sys::fs::rename(tmpName, path))); in createImportLibrary()
986 sys::fs::remove(tmpName); in createImportLibrary()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
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()