Home
last modified time | relevance | path

Searched refs:tmpfile (Results 51 – 75 of 112) sorted by relevance

12345

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dbuiltins.sh528 tmpfile=$tmp/file.2
529 print $'\nprint -r -- "${.sh.file} ${LINENO} ${.sh.lineno}"' > $tmpfile
530 [[ $( . "$tmpfile") == "$tmpfile 2 1" ]] || err_exit 'dot command not working'
531 print -r -- "'xxx" > $tmpfile
532 [[ $($SHELL -c ". $tmpfile"$'\n print ok' 2> /dev/null) == ok ]] || err_exit 'syntax error in dot c…
/illumos-gate/usr/src/cmd/lp/model/
H A Dnetstandard146 if [ -f "${tmpfile}" ]
148 /bin/rm "${tmpfile}"
411 tmpfile=${LPTMPDIR}/${node}.${pid}
413 logger -p lpr.debug -t "netstandard: ${request_id}" "tmpfile : ${tmpfile}"
508 0<${file} eval ${FILTER} 2>&1 1>${tmpfile}
520 printfile=${tmpfile}
551 if [ -f "${tmpfile}" ]
553 /bin/rm "${tmpfile}"
H A Dtsol_netstandard169 if [ -f "${tmpfile}" ]
171 /bin/rm "${tmpfile}"
447 tmpfile=${LPTMPDIR}/${node}.${pid}
449 logger -p lpr.debug -t "tsol_netstandard: ${request_id}" "tmpfile : ${tmpfile}"
598 0<${file} $bannerize | eval ${FILTER} 2>&1 1>${tmpfile}
623 printfile=${tmpfile}
656 # if [ -f "${tmpfile}" ]
658 # /bin/rm "${tmpfile}"
H A Dtsol_netstandard_foomatic171 if [ -f "${tmpfile}" ]
173 /bin/rm "${tmpfile}"
471 tmpfile=${LPTMPDIR}/${node}.${pid}
475 "tmpfile : ${tmpfile}"
628 0<${file} $bannerize | eval ${FILTER} 2>&1 1>${tmpfile}
653 printfile=${tmpfile}
695 # if [ -f "${tmpfile}" ]
697 # /bin/rm "${tmpfile}"
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1698 char *p, *tmpfile, *zoneroot; in create_znode() local
1724 tmpfile = strdup(*file); in create_znode()
1733 if (strncmp(tmpfile, "/dev/", strlen("/dev/")) != 0) { in create_znode()
1738 linkdir = strchr(tmpfile + 1, '/'); in create_znode()
1744 zonepath, tmpfile); in create_znode()
1748 free(tmpfile); in create_znode()
1749 tmpfile = strdup(dstlinkdir); in create_znode()
1751 if (di_prof_add_dev(prof, tmpfile)) { in create_znode()
1752 dprintf("failed to add %s to profile\n", tmpfile); in create_znode()
1756 if (strlcat(zonepath, tmpfile, size) >= size) { in create_znode()
[all …]
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c150 char pp_script[PATH_MAX], tmpfile[PATH_MAX], pp_cli[PATH_MAX]; in process_template() local
155 (void) snprintf(tmpfile, sizeof (tmpfile), "%s%s", in process_template()
166 eprefs->ep_template_path, tmpfile, ev_info->ei_diagcode, in process_template()
171 if ((eprefs->ep_template = read_template(tmpfile)) != NULL) in process_template()
174 (void) unlink(tmpfile); in process_template()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dtmpfile.c27 tmpfile(void) in tmpfile() function
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_vsscan.c58 if (fp == NULL && (fp = tmpfile()) == NULL)
/illumos-gate/usr/src/tools/scripts/
H A Dgit-pbchk.py77 tmpfile = tempfile.TemporaryFile(prefix="git-nits", mode="w+b")
83 stdout=tmpfile,
92 tmpfile.seek(0)
94 for l in tmpfile:
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dftello_12768.c42 f = tmpfile(); in main()
H A Dftell_ungetc.c71 f = tmpfile(); in main()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dtmpfile.c112 tmpfile(void) in tmpfile() function
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dprintf-15294.c77 fp = tmpfile(); in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_014_neg.ksh77 typeset TMP_FILE=$mntp/tmpfile.$$
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_005_neg.ksh95 log_must touch $ZFSROOT/$rst_root/$TESTFS/tmpfile
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c1786 char tmpfile[] = SMBNS_KRB5_KEYTAB_TMP; in smb_ads_join() local
1896 if (mktemp(tmpfile) == NULL) { in smb_ads_join()
1903 tmpfile, kvno, machine_passwd, encptr, num) != 0) { in smb_ads_join()
1923 if (rename(tmpfile, SMBNS_KRB5_KEYTAB) != 0) { in smb_ads_join()
1924 (void) unlink(tmpfile); in smb_ads_join()
1928 (void) unlink(tmpfile); in smb_ads_join()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dvnode_file.c133 FILE *fp = tmpfile(); in main()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1051 char *tmpfile; in is_root_controller() local
1086 if ((tmpfile = tempnam("/tmp", "diirc")) == NULL) { in is_root_controller()
1098 vfsent.vfs_special + sizeof (META_DEV) - 1, tmpfile); in is_root_controller()
1102 if (system(buf) == 0 && (fp = fopen(tmpfile, "r")) != NULL) { in is_root_controller()
1116 (void) unlink(tmpfile); in is_root_controller()
1117 free(tmpfile); in is_root_controller()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c1038 FILE *pfile, *tmpfile; in update_policyfile() local
1091 if ((tmpfile = fdopen(tmpfd, "w")) == NULL) { in update_policyfile()
1101 if (xmlDocFormatDump(tmpfile, doc, 1) == -1) { in update_policyfile()
1103 (void) fclose(tmpfile); in update_policyfile()
1115 if (fclose(tmpfile) != 0) in update_policyfile()
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftwrite.c108 if ((tfp = tmpfile()) == NULL) in eftwrite()
H A Deftread.c166 if ((tfp = tmpfile()) == NULL) in eftread_fopen()
/illumos-gate/usr/src/cmd/logadm/
H A Derr.c245 if ((Errorfile = tmpfile()) == NULL) in err_mailto()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1805 char tmpfile[PATH_MAX]; in list2file() local
1864 (void) snprintf(tmpfile, sizeof (tmpfile), "%s%s", root, tmp); in list2file()
1867 fp = fopen(tmpfile, "w"); in list2file()
1869 bam_error(_("failed to open file: %s: %s\n"), tmpfile, in list2file()
1877 tmpfile, strerror(errno)); in list2file()
1882 fp = fopen(tmpfile, "a"); in list2file()
1884 bam_error(_("failed to open file: %s: %s\n"), tmpfile, in list2file()
1894 tmpfile, strerror(errno)); in list2file()
1904 tmpfile, strerror(errno)); in list2file()
1913 ret = chmod(tmpfile, mode); in list2file()
[all …]
/illumos-gate/usr/src/head/iso/
H A Dstdio_iso.h193 extern FILE *tmpfile(void);
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c2168 char *tmpfile; in ex() local
2432 if ((tmpfile = strdup(TMPINFILE)) == NULL) { in ex()
2437 if ((fd = mkstemp(tmpfile)) == -1 || in ex()
2441 cron_unlink(tmpfile); in ex()
2442 free(tmpfile); in ex()
2449 cron_unlink(tmpfile); in ex()
2450 free(tmpfile); in ex()
2461 cron_unlink(tmpfile); in ex()
2462 free(tmpfile); in ex()

12345