| /freebsd-12.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-12.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-12.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-12.1/sys/compat/linux/ |
| H A D | linux_futex.c | 345 struct futex *f, *tmpf; in futex_get0() local 351 *newf = tmpf = NULL; in futex_get0() 364 if (tmpf != NULL) { in futex_get0() 410 if (tmpf == NULL) { in futex_get0() 412 tmpf = malloc(sizeof(*tmpf), M_FUTEX, M_WAITOK | M_ZERO); in futex_get0() 414 tmpf->f_key = key; in futex_get0() 415 tmpf->f_refcount = 1; in futex_get0() 417 FUTEX_INIT(tmpf); in futex_get0() 425 futex_lock(tmpf); in futex_get0() 435 uaddr, tmpf->f_refcount, tmpf->f_key.shared); in futex_get0() [all …]
|
| /freebsd-12.1/contrib/dma/ |
| H A D | spool.c | 91 queue->tmpf = strdup(fn); in newspoolf() 92 if (queue->tmpf == NULL) in newspoolf() 109 t->str = queue->tmpf; in newspoolf() 259 if (link(queue->tmpf, it->mailfn) != 0) in linkspool() 268 unlink(queue->tmpf); in linkspool()
|
| H A D | dma.h | 125 char *tmpf; member
|
| /freebsd-12.1/contrib/elftoolchain/elfcopy/ |
| H A D | main.c | 518 char *cp, *tmpf; in create_tempfile() local 531 tmpf = malloc(tlen + plen + 2); in create_tempfile() 532 if (tmpf == NULL) in create_tempfile() 534 strncpy(tmpf, tmpdir, tlen); in create_tempfile() 535 cp = &tmpf[tlen - 1]; in create_tempfile() 541 tmpf = strdup(_TEMPFILEPATH); in create_tempfile() 542 if (tmpf == NULL) in create_tempfile() 545 if ((*fd = mkstemp(tmpf)) == -1) in create_tempfile() 546 err(EXIT_FAILURE, "mkstemp %s failed", tmpf); in create_tempfile() 548 err(EXIT_FAILURE, "fchmod %s failed", tmpf); in create_tempfile() [all …]
|
| /freebsd-12.1/contrib/libstdc++/ |
| H A D | acinclude.m4 | 849 cabsf(tmpf); 850 cargf(tmpf); 851 ccosf(tmpf); 852 ccoshf(tmpf); 853 cexpf(tmpf); 855 csinf(tmpf); 856 csinhf(tmpf); 857 csqrtf(tmpf); 858 ctanf(tmpf); 859 ctanhf(tmpf); [all …]
|
| H A D | configure | 7448 cabsf(tmpf); 7449 cargf(tmpf); 7450 ccosf(tmpf); 7451 ccoshf(tmpf); 7452 cexpf(tmpf); 7454 csinf(tmpf); 7455 csinhf(tmpf); 7456 csqrtf(tmpf); 7457 ctanf(tmpf); 7458 ctanhf(tmpf); [all …]
|
| /freebsd-12.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()
|