HomeSort by: relevance | last modified time | path
    Searched defs:tempfile (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/external/gpl3/gcc/dist/gcc/jit/
jit-tempdir.cc 148 char *tempfile; local
149 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
151 log ("unlinking tempfile: %s", tempfile);
152 unlink (tempfile);
171 char *tempfile; local
172 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
173 free (tempfile);
jit-tempdir.cc 148 char *tempfile; local
149 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
151 log ("unlinking tempfile: %s", tempfile);
152 unlink (tempfile);
171 char *tempfile; local
172 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
173 free (tempfile);
  /src/external/gpl3/gcc.old/dist/gcc/jit/
jit-tempdir.cc 148 char *tempfile; local
149 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
151 log ("unlinking tempfile: %s", tempfile);
152 unlink (tempfile);
171 char *tempfile; local
172 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
173 free (tempfile);
jit-tempdir.cc 148 char *tempfile; local
149 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
151 log ("unlinking tempfile: %s", tempfile);
152 unlink (tempfile);
171 char *tempfile; local
172 FOR_EACH_VEC_ELT (m_tempfiles, i, tempfile)
173 free (tempfile);
  /src/lib/libutil/
pidlock.c 51 char tempfile[MAXPATHLEN]; local
81 if (snprintf(tempfile, sizeof(tempfile), "%s.%d.%s", lockfile,
82 (int) getpid(), hostname) >= (int)sizeof(tempfile)) {
88 if ((f = open(tempfile, O_WRONLY|O_CREAT|O_TRUNC, 0600)) == -1)
118 while (link(tempfile, lockfile) == -1) {
160 * to our tempfile (reference count is two).
162 if (stat(tempfile, &st) == -1)
167 (void)unlink(tempfile);
176 (void)unlink(tempfile);
    [all...]
pidlock.c 51 char tempfile[MAXPATHLEN]; local
81 if (snprintf(tempfile, sizeof(tempfile), "%s.%d.%s", lockfile,
82 (int) getpid(), hostname) >= (int)sizeof(tempfile)) {
88 if ((f = open(tempfile, O_WRONLY|O_CREAT|O_TRUNC, 0600)) == -1)
118 while (link(tempfile, lockfile) == -1) {
160 * to our tempfile (reference count is two).
162 if (stat(tempfile, &st) == -1)
167 (void)unlink(tempfile);
176 (void)unlink(tempfile);
    [all...]
  /src/usr.sbin/tpctl/
data.c 260 char *p, tempfile[MAXPATHLEN + 1]; local
267 strncpy(tempfile, filename, MAXPATHLEN);
268 tempfile[MAXPATHLEN] = '\0';
269 if ((p = strrchr(tempfile, '/')) == NULL) {
270 strcpy(tempfile, TPCTL_TMP_FILENAME);
274 p - tempfile + strlen(TPCTL_TMP_FILENAME))
276 strcat(tempfile, TPCTL_TMP_FILENAME);
278 if ((fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0644)) < 0) {
280 getprogname(), tempfile);
307 if (rename(tempfile, filename) < 0)
    [all...]
data.c 260 char *p, tempfile[MAXPATHLEN + 1]; local
267 strncpy(tempfile, filename, MAXPATHLEN);
268 tempfile[MAXPATHLEN] = '\0';
269 if ((p = strrchr(tempfile, '/')) == NULL) {
270 strcpy(tempfile, TPCTL_TMP_FILENAME);
274 p - tempfile + strlen(TPCTL_TMP_FILENAME))
276 strcat(tempfile, TPCTL_TMP_FILENAME);
278 if ((fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0644)) < 0) {
280 getprogname(), tempfile);
307 if (rename(tempfile, filename) < 0)
    [all...]
  /src/usr.bin/rdist/
main.c 62 char tempfile[sizeof _PATH_TMP + sizeof _RDIST_TMP + 1]; variable
104 strlcpy(tempfile, _PATH_TMP, sizeof(tempfile));
105 strlcat(tempfile, _RDIST_TMP, sizeof(tempfile));
106 if ((tempname = strrchr(tempfile, '/')) != 0)
109 tempname = tempfile;
201 fd = mkstemp(tempfile);
208 unlink(tempfile);
223 unlink(tempfile);
    [all...]
main.c 62 char tempfile[sizeof _PATH_TMP + sizeof _RDIST_TMP + 1]; variable
104 strlcpy(tempfile, _PATH_TMP, sizeof(tempfile));
105 strlcat(tempfile, _RDIST_TMP, sizeof(tempfile));
106 if ((tempname = strrchr(tempfile, '/')) != 0)
109 tempname = tempfile;
201 fd = mkstemp(tempfile);
208 unlink(tempfile);
223 unlink(tempfile);
    [all...]
  /src/external/bsd/kyua-cli/dist/utils/fs/
operations_test.cpp 304 const std::string file_template("tempfile.XXXXXX");
305 const fs::path tempfile = fs::mkstemp(file_template); local
307 ATF_REQUIRE(lookup("tmp", tempfile.leaf_name().c_str(), DT_REG));
operations_test.cpp 304 const std::string file_template("tempfile.XXXXXX");
305 const fs::path tempfile = fs::mkstemp(file_template); local
307 ATF_REQUIRE(lookup("tmp", tempfile.leaf_name().c_str(), DT_REG));
  /src/external/mpl/bind/dist/bin/tests/system/isctest/vars/
algorithms.py 18 import tempfile namespace
130 with tempfile.TemporaryDirectory() as tmpdir:
algorithms.py 18 import tempfile namespace
130 with tempfile.TemporaryDirectory() as tmpdir:
  /src/bin/pax/
pax.c 113 char *tempfile; /* tempfile to use for mkstemp(3) */ variable
114 char *tempbase; /* basename of tempfile to use for mkstemp(3) */
290 tempfile = malloc(tdlen + 1 + sizeof(_TFILE_BASE));
291 if (tempfile == NULL) {
296 memcpy(tempfile, tmpdir, tdlen);
297 tempbase = tempfile + tdlen;
pax.c 113 char *tempfile; /* tempfile to use for mkstemp(3) */ variable
114 char *tempbase; /* basename of tempfile to use for mkstemp(3) */
290 tempfile = malloc(tdlen + 1 + sizeof(_TFILE_BASE));
291 if (tempfile == NULL) {
296 memcpy(tempfile, tmpdir, tdlen);
297 tempbase = tempfile + tdlen;
  /src/sbin/ldconfig/
ldconfig.c 383 char *tempfile; local
461 tempfile = concat(_PATH_LD_HINTS, ".XXXXXX", "");
462 if ((fd = mkstemp(tempfile)) == -1) {
463 warn("%s", tempfile);
496 if (rename(tempfile, _PATH_LD_HINTS) != 0) {
ldconfig.c 383 char *tempfile; local
461 tempfile = concat(_PATH_LD_HINTS, ".XXXXXX", "");
462 if ((fd = mkstemp(tempfile)) == -1) {
463 warn("%s", tempfile);
496 if (rename(tempfile, _PATH_LD_HINTS) != 0) {
  /src/external/bsd/less/dist/lesstest/
lesstest.h 31 const char* tempfile; member in struct:LessPipeline
lesstest.h 31 const char* tempfile; member in struct:LessPipeline
  /src/external/bsd/libarchive/dist/libarchive/
archive_read_disk_entry_from_file.c 342 struct archive_string tempfile; local
360 archive_string_init(&tempfile);
361 archive_strcpy(&tempfile, name);
362 archive_string_dirname(&tempfile);
363 archive_strcat(&tempfile, "/tar.XXXXXXXX");
364 tempfd = __archive_mkstemp(tempfile.s);
377 if (copyfile(name, tempfile.s, 0, copyfile_flags | COPYFILE_PACK)) {
407 unlink(tempfile.s);
409 archive_string_free(&tempfile);
archive_read_disk_entry_from_file.c 342 struct archive_string tempfile; local
360 archive_string_init(&tempfile);
361 archive_strcpy(&tempfile, name);
362 archive_string_dirname(&tempfile);
363 archive_strcat(&tempfile, "/tar.XXXXXXXX");
364 tempfd = __archive_mkstemp(tempfile.s);
377 if (copyfile(name, tempfile.s, 0, copyfile_flags | COPYFILE_PACK)) {
407 unlink(tempfile.s);
409 archive_string_free(&tempfile);
  /src/external/mpl/bind/dist/bin/tests/system/
conftest.py 20 import tempfile namespace
391 tempfile.mkdtemp(prefix=f"{system_test_name}-tmp-", dir=system_test_root)
conftest.py 20 import tempfile namespace
391 tempfile.mkdtemp(prefix=f"{system_test_name}-tmp-", dir=system_test_root)
  /src/lib/libedit/
vi.c 1007 char tempfile[] = "/tmp/histedit.XXXXXXXXXX"; local
1020 fd = mkstemp(tempfile);
1044 execlp(editor, editor, tempfile, (char *)NULL);
1069 unlink(tempfile);
1076 unlink(tempfile);

Completed in 104 milliseconds

1 2