Home
last modified time | relevance | path

Searched refs:srcfile (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c58 static char *srcfile; variable
132 srcfile = file; in setup_infile()
134 fd = open(srcfile, O_RDONLY, 0); in setup_infile()
137 srcfile, strerror(errno)); in setup_infile()
143 srcfile, strerror(errno)); in setup_infile()
150 (void) fprintf(stderr, MMAP_FAIL, srcfile, strerror(errno)); in setup_infile()
217 (void) fprintf(stderr, COMP_ERR, srcfile, ret); in do_comp()
258 srcfile, (uint64_t)hdr->ch_magic, CH_MAGIC_ZLIB); in do_decomp()
263 srcfile, (uint64_t)hdr->ch_version, CH_VERSION); in do_decomp()
268 srcfile, (uint64_t)hdr->ch_algorithm, CH_ALG_ZLIB); in do_decomp()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/truncate/
H A Dtruncate_002_pos.ksh50 [[ -f $srcfile ]] && rm -f $srcfile
55 srcfile="/tmp/cosmo.$$"
56 log_must dd if=/dev/urandom of=$srcfile bs=1024k count=1
59 log_must cp $srcfile $TESTDIR/$TESTFILE
/illumos-gate/usr/src/cmd/genmsg/
H A Dmain.c66 char *srcfile; variable
223 srcfile = argv[optind]; in main()
230 len = strlen(cpppath) + 1 + strlen(srcfile) + 1; in main()
235 (void) snprintf(cmd, len, "%s %s", cpppath, srcfile); in main()
244 if ((yyin = fopen(srcfile, "r")) == NULL) { in main()
246 gettext("cannot open \"%s\""), srcfile); in main()
257 cpppath, srcfile); in main()
276 tmp = basename(srcfile); in main()
279 newfile = srcfile; in main()
320 if ((yyin = fopen(srcfile, "r")) == NULL) { in main()
[all …]
H A Dgenmsg.y73 src_err(srcfile, (lineno - 1),
209 src_err(srcfile, lineno,
215 add_msg(setid, id, str, srcfile, lineno, TRUE);
220 id = get_msgid(srcfile, msg_line, setid, str);
225 add_msg(setid, id, str, srcfile, lineno, FALSE);
230 add_msg(setid, id, str, srcfile, lineno, FALSE);
H A Dgenmsg.l548 if (n == 3 && (strncmp(pfile, srcfile, len) == 0)) {
620 src_err(srcfile, lineno, gettext("%s before or at: %s"), s, yytext);
631 src_err(srcfile, lineno, "%s", s);
H A Dgenmsg.h80 extern char *srcfile; /* from main.c */
/illumos-gate/usr/src/cmd/bnu/
H A Dsecurity.c315 scSrc(srcsys, srcowner, srcfile, srcmtime, srcsize) in scSrc() argument
318 char * srcfile;
328 copyText(scptr->srcFile, sizeof(scptr->srcFile), srcfile);
342 scSize(srcfile) in scSize() argument
343 char * srcfile; in scSize()
350 if (stat(srcfile, &stbuf))
364 scOwn(srcfile) in scOwn() argument
365 char * srcfile; in scOwn()
372 if (stat(srcfile, &stbuf))
386 scMtime(srcfile) in scMtime() argument
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c57 *srcfile, /* sed data file */ in main() local
81 srcfile = argv[3]; in main()
84 srcfile = argv[3]; in main()
85 if ((fp = fopen(srcfile, "r")) == NULL) { in main()
86 progerr(gettext("unable to open %s"), srcfile); in main()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcrossref.c78 crossref(char *srcfile) in crossref() argument
85 if ((yyin = vpfopen(srcfile, FREAD)) == NULL) { in crossref()
86 cannotopen(srcfile); in crossref()
90 filename = srcfile; /* save the file name for warning messages */ in crossref()
91 putfilename(srcfile); /* output the file name */ in crossref()
96 initscanner(srcfile); in crossref()
182 putfilename(char *srcfile) in putfilename() argument
194 dbfputs(srcfile); in putfilename()
H A Dglobal.h197 void crossref(char *srcfile);
199 void putfilename(char *srcfile);
293 extern void initscanner(char *srcfile);
H A Dscanner.l744 initscanner(char *srcfile)
787 if ((s = strrchr(srcfile, '.')) != NULL) {
/illumos-gate/usr/src/tools/scripts/
H A Dflg.flp.sh162 while read srcfile; do
164 echo $srcfile
170 while [[ "${srcfile##$tree}" == "$srcfile" ]]; do
175 echo ${dots}${srcfile##$tree/}
/illumos-gate/usr/src/uts/common/io/usb/
H A Dusbdevs2h.awk275 srcfile = arg;
280 while ((getline < srcfile) > 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c1043 update_hash(char *srcfile) in update_hash() argument
1057 if (realpath(srcfile, cpath) == NULL) in update_hash()
1058 (void) strlcpy(cpath, srcfile, sizeof (cpath)); in update_hash()
1411 char *srcfile = NULL; in main() local
1442 if (srcfile != NULL) { in main()
1448 srcfile = optarg; in main()
1474 if ((srcfinfo = open_srcfile(srcfile)) == NULL) in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_007_pos.ksh79 SRC_FILE=/tmp/srcfile.$$