Searched refs:tmpf (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/lib/libc/tests/stdio/ |
| H A D | mkostemp_test.c | 54 char tmpf[sizeof(template)]; in test_one() local 58 memcpy(tmpf, template, sizeof(tmpf)); in test_one() 59 fd = mkostemp(tmpf, oflags); in test_one() 66 if (memcmp(tmpf, template, sizeof(tmpf) - 8 - 1) != 0) { in test_one() 69 testnum++, oflags, tmpf); in test_one() 86 if (stat(tmpf, &st1) == -1) { in test_one() 118 (void)unlink(tmpf); in test_one() 133 (void)unlink(tmpf); in test_one() 168 char tmpf[sizeof(template)]; in ATF_TC_BODY() local 170 memcpy(tmpf, template, sizeof(tmpf)); in ATF_TC_BODY() [all …]
|
| /freebsd-13.1/usr.sbin/periodic/etc/security/ |
| H A D | security.functions | 60 tmpf="$1"; shift 63 if [ "${tmpf}" = "-" ]; then 64 tmpf=`mktemp -t security` 65 cat > ${tmpf} 72 cp ${tmpf} ${LOG}/${label}.today || rc=3 75 if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then 80 ${tmpf} | eval "${filter}" 82 mv ${tmpf} ${LOG}/${label}.today || rc=3 85 rm -f ${tmpf}
|
| /freebsd-13.1/usr.sbin/pmcannotate/ |
| H A D | pmcannotate.c | 426 char tmpf[MAXPATHLEN * 2 + 50]; in fqueue_getall() local 433 bzero(tmpf, sizeof(tmpf)); in fqueue_getall() 443 snprintf(tmpf, sizeof(tmpf), in fqueue_getall() 448 snprintf(tmpf, sizeof(tmpf), in fqueue_getall() 452 if (system(tmpf) != 0) in fqueue_getall() 677 char tmpf[MAXPATHLEN * 2 + 50]; in main() local 725 bzero(tmpf, sizeof(tmpf)); in main() 741 snprintf(tmpf, sizeof(tmpf), "pmcstat -k %s -R %s -m %s", in main() 744 snprintf(tmpf, sizeof(tmpf), "pmcstat -R %s -m %s", ofile, in main() 746 if (system(tmpf) != 0) in main()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_futex.c | 342 struct futex *f, *tmpf; in futex_get0() local 348 *newf = tmpf = NULL; in futex_get0() 361 if (tmpf != NULL) { in futex_get0() 407 if (tmpf == NULL) { in futex_get0() 409 tmpf = malloc(sizeof(*tmpf), M_FUTEX, M_WAITOK | M_ZERO); in futex_get0() 411 tmpf->f_key = key; in futex_get0() 412 tmpf->f_refcount = 1; in futex_get0() 414 FUTEX_INIT(tmpf); in futex_get0() 422 futex_lock(tmpf); in futex_get0() 432 uaddr, tmpf->f_refcount, tmpf->f_key.shared); in futex_get0() [all …]
|
| /freebsd-13.1/contrib/dma/ |
| H A D | spool.c | 93 queue->tmpf = strdup(fn); in newspoolf() 94 if (queue->tmpf == NULL) in newspoolf() 111 t->str = queue->tmpf; in newspoolf() 261 if (link(queue->tmpf, it->mailfn) != 0) in linkspool() 270 unlink(queue->tmpf); in linkspool()
|
| H A D | dma.h | 126 char *tmpf; member
|
| /freebsd-13.1/contrib/elftoolchain/elfcopy/ |
| H A D | main.c | 541 char *tmpf; in create_tempfile() local 567 tmpf = malloc(tlen + slen + plen); in create_tempfile() 568 if (tmpf == NULL) in create_tempfile() 571 memcpy(tmpf, tmpdir, tlen); in create_tempfile() 573 tmpf[tlen] = '/'; in create_tempfile() 575 memcpy(tmpf + tlen + slen, _TEMPFILE, plen); in create_tempfile() 576 if ((*fd = mkstemp(tmpf)) != -1) in create_tempfile() 579 err(EXIT_FAILURE, "mkstemp %s failed", tmpf); in create_tempfile() 581 free(tmpf); in create_tempfile() 585 err(EXIT_FAILURE, "fchmod %s failed", tmpf); in create_tempfile() [all …]
|
| /freebsd-13.1/usr.sbin/edquota/ |
| H A D | edquota.c | 432 editit(char *tmpf) in editit() argument 462 execlp(ed, ed, tmpf, (char *)0); in editit()
|