/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | builtins.sh | 528 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 D | netstandard | 146 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 D | tsol_netstandard | 169 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 D | tsol_netstandard_foomatic | 171 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 D | allocate3.c | 1698 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 D | smtp-notify.c | 150 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 D | tmpfile.c | 27 tmpfile(void) in tmpfile() function
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_vsscan.c | 58 if (fp == NULL && (fp = tmpfile()) == NULL)
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 77 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 D | ftello_12768.c | 42 f = tmpfile(); in main()
|
H A D | ftell_ungetc.c | 71 f = tmpfile(); in main()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | tmpfile.c | 112 tmpfile(void) in tmpfile() function
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | printf-15294.c | 77 fp = tmpfile(); in main()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_014_neg.ksh | 77 typeset TMP_FILE=$mntp/tmpfile.$$
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_005_neg.ksh | 95 log_must touch $ZFSROOT/$rst_root/$TESTFS/tmpfile
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ads.c | 1786 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 D | vnode_file.c | 133 FILE *fp = tmpfile(); in main()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 1051 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 D | policy.c | 1038 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 D | eftwrite.c | 108 if ((tfp = tmpfile()) == NULL) in eftwrite()
|
H A D | eftread.c | 166 if ((tfp = tmpfile()) == NULL) in eftread_fopen()
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.c | 245 if ((Errorfile = tmpfile()) == NULL) in err_mailto()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 1805 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 D | stdio_iso.h | 193 extern FILE *tmpfile(void);
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 2168 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()
|