Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 25 of 80) sorted by relevance

1234

/titanic_51/usr/src/cmd/rpcgen/
H A Drpc_main.c163 checkfiles(cmd.infile, cmd.outfile); in main()
165 checkfiles(cmd.infile, NULL); in main()
168 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main()
170 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile); in main()
172 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); in main()
174 s_output(argc, argv, cmd.infile, "-DRPC_SVC", DONT_EXTEND, in main()
177 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); in main()
179 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND, in main()
182 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND, in main()
188 c_output(cmd.infile, " in main()
248 open_output(char * infile,char * outfile) open_output() argument
318 open_input(char * infile,char * define) open_input() argument
401 c_output(char * infile,char * define,int extend,char * outfile) c_output() argument
510 h_output(char * infile,char * define,int extend,char * outfile) h_output() argument
628 s_output(int argc,char * argv[],char * infile,char * define,int extend,char * outfile,int nomain,int netflag) s_output() argument
716 l_output(char * infile,char * define,int extend,char * outfile) l_output() argument
753 t_output(char * infile,char * define,int extend,char * outfile) t_output() argument
775 svc_output(char * infile,char * define,int extend,char * outfile) svc_output() argument
811 clnt_output(char * infile,char * define,int extend,char * outfile) clnt_output() argument
1010 checkfiles(char * infile,char * outfile) checkfiles() argument
[all...]
/titanic_51/usr/src/cmd/dfs.cmds/shareall/
H A Dshareall.sh52 -) infile=;; # use stdin
53 *) infile=$1;; # use a given source file
56 infile=/etc/dfs/dfstab # default
62 if [ "$infile" = "/etc/dfs/dfstab" ]
69 done < $infile |
83 done < $infile |
93 if [ "$infile" = "/etc/dfs/dfstab" ]
97 cat $infile|/sbin/sh
/titanic_51/usr/src/tools/ctf/cvt/
H A Dctfconvert.c47 static const char *infile = NULL; variable
66 fprintf(stderr, "Removing %s\n", infile); in terminate_cleanup()
67 unlink(infile); in terminate_cleanup()
206 infile = argv[optind]; in main()
207 if (access(infile, R_OK) != 0) in main()
208 terminate("Can't access %s", infile); in main()
227 if (!file_read(filetd, infile, ignore_non_c)) in main()
228 terminate("%s doesn't have type data to convert\n", infile); in main()
243 if (outfile && strcmp(infile, outfile) != 0) { in main()
244 write_ctf(mstrtd, infile, outfil in main()
[all...]
/titanic_51/usr/src/cmd/svr4pkg/pkgadm/
H A Daddcert.c75 char *infile = NULL; in addcert() local
157 infile = "stdin"; in addcert()
161 infile = argv[optind]; in addcert()
164 if ((certfile = fopen(infile, "r")) == NULL) { in addcert()
165 log_msg(LOG_MSG_ERR, MSG_OPEN, infile); in addcert()
269 log_msg(LOG_MSG_ERR, MSG_NO_ADDCERT, infile); in addcert()
275 log_msg(LOG_MSG_ERR, MSG_NO_CERTS, infile); in addcert()
283 log_msg(LOG_MSG_ERR, MSG_NO_ADDCERT, infile); in addcert()
289 log_msg(LOG_MSG_ERR, MSG_NO_CERTS, infile); in addcert()
299 log_msg(LOG_MSG_ERR, MSG_NEED_KEY, infile); in addcert()
[all...]
/titanic_51/usr/src/tools/tokenize/
H A Dtokenize.sh42 infile=/tmp/$$
43 echo 'fcode-version1' > $infile
44 cat $1 >> $infile
45 echo 'end0' >> $infile
53 -s "aout-header? off silent? on tokenize $infile $outfile" < /dev/null
55 rm $infile
/titanic_51/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c56 "dispadmin -c FSS -s infile\n";
67 char *infile; in main() local
102 infile = optarg; in main()
134 setadmin(infile); in main()
186 * Read the scheduler settings from infile, convert the time quantum values
191 setadmin(char *infile) in setadmin() argument
211 if ((fp = fopen(infile, "r")) == NULL) in setadmin()
212 fatalerr("%s: Can't open %s for input\n", basenm, infile); in setadmin()
234 "resolution value\n", infile, line); in setadmin()
244 "quantum value\n", infile, lin in setadmin()
[all...]
H A Drtdispadmin.c59 "dispadmin -c RT -s infile\n";
73 char *infile; in main() local
103 infile = optarg; in main()
135 set_rtdptbl(infile); in main()
210 * Read the rt_dptbl values from infile, convert the time quantum values
215 set_rtdptbl(infile) in set_rtdptbl() argument
216 char *infile; in set_rtdptbl()
250 if ((fp = fopen(infile, "r")) == NULL)
251 fatalerr("%s: Can't open %s for input\n", basenm, infile);
/titanic_51/usr/src/cmd/bnu/
H A Dmailst.c44 * infile -> optional stdin mailed to user
48 mailst(user, subj, str, infile, errfile) in mailst() argument
49 char *user, *subj, *str, *infile, *errfile; in mailst()
83 if (*infile) {
84 if (!NOTEMPTY(infile))
86 else if (chkpth(infile, CK_READ) == FAIL) {
90 "user %s, stdin %s", user, infile);
93 else if ((fi = fopen(infile, "r")) == NULL) {
97 "user %s, stdin %s", user, infile);
/titanic_51/usr/src/cmd/loadkeys/
H A Dloadkeys.y90 static FILE *infile; variable
213 infile = open_mapping_file(pathbuf, infilename, explicit_name, type);
214 if (infile == NULL) return (1);
221 fclose(infile);
345 infile = fopen(pathbuf, "r"); in open_mapping_file()
346 if (infile) return (infile); in open_mapping_file()
361 infile = fopen(pathbuf, "r"); in open_mapping_file()
362 if (infile) return (infile); in open_mapping_file()
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dtrestore.c43 static Sfio_t *infile; variable
50 infile = in; in sh_trestore()
59 long l = sfgetl(infile); in r_tree()
80 t->fork.forkline = sfgetu(infile); in r_tree()
106 t->ar.arline = sfgetu(infile); in r_tree()
116 t->for_.forline = sfgetu(infile); in r_tree()
125 t->sw.swline = sfgetu(infile); in r_tree()
140 t->funct.functline = sfgetu(infile); in r_tree()
162 t->tst.tstline = sfgetu(infile); in r_tree()
182 while((l=sfgetu(infile))>0) in r_arg()
[all …]
/titanic_51/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dimport.c45 char *infile = NULL; in kc_import() local
53 "d:(dbfile)p:(policy)i:(infile)")) != EOF) { in kc_import()
70 infile = get_string(optarg_av, &rv); in kc_import()
71 if (infile == NULL) { in kc_import()
73 gettext("Error infile input.\n")); in kc_import()
112 if (infile == NULL) { in kc_import()
128 rv = load_policies(infile, &plclist); in kc_import()
153 policyname, infile); in kc_import()
164 if (infile != NULL) in kc_import()
165 free(infile); in kc_import()
[all...]
/titanic_51/usr/src/cmd/ctfconvert/
H A Dctfconvert.c255 const char *infile = NULL; in main() local
314 infile = argv[0]; in main()
320 ifd = open(infile, O_RDONLY); in main()
322 ctfconvert_fatal("failed to open input file %s: %s\n", infile, in main()
330 if (outfile != NULL && strcmp(infile, outfile) != 0) in main()
347 (void) unlink(infile); in main()
356 if (outfile == NULL || strcmp(infile, outfile) == 0) { in main()
357 if (asprintf(&tmpfile, "%s.ctf", infile) == -1) { in main()
359 (void) unlink(infile); in main()
365 err = ctf_elfwrite(ofp, infile, outfil in main()
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtrestore.c43 static Sfio_t *infile; variable
50 infile = in; in sh_trestore()
59 long l = sfgetl(infile); in r_tree()
80 t->fork.forkline = sfgetu(infile); in r_tree()
106 t->ar.arline = sfgetu(infile); in r_tree()
116 t->for_.forline = sfgetu(infile); in r_tree()
125 t->sw.swline = sfgetu(infile); in r_tree()
140 t->funct.functline = sfgetu(infile); in r_tree()
162 t->tst.tstline = sfgetu(infile); in r_tree()
182 while((l=sfgetu(infile))> in r_arg()
[all...]
/titanic_51/usr/src/cmd/deroff/
H A Dderoff.c56 #define C ((c = getc(infile)) == EOF ? eof() : \
58 #define C1 ((c = getc(infile)) == EOF ? eof() : c)
108 static FILE *infile; variable
173 infile = stdin; in main()
175 infile = opn(argv[optind++]); in main()
176 files[0] = infile; in main()
195 while ((c = getc(infile)) != rdelim) { in skeqn()
199 while ((c = getc(infile)) != '"') { in skeqn()
203 if ((c = getc(infile)) == EOF) { in skeqn()
235 if (infile ! in eof()
[all...]
/titanic_51/usr/src/cmd/sed/
H A Dmain.c89 FILE *infile; /* Current input file */ variable
327 if (infile == NULL) { in mf_fgets()
333 infile = stdin; in mf_fgets()
342 if (infile != NULL && (c = getc(infile)) != EOF) { in mf_fgets()
343 (void) ungetc(c, infile); in mf_fgets()
347 if (infile == stdin) { in mf_fgets()
351 if (infile != NULL) { in mf_fgets()
352 (void) fclose(infile); in mf_fgets()
448 if ((infile in mf_fgets()
[all...]
/titanic_51/usr/src/cmd/devfsadm/
H A Ddevpolicy.c107 loadprivs(const char *infile) in loadprivs() argument
114 in = fopen(infile, "r"); in loadprivs()
150 loadpolicy(const char *infile) in loadpolicy() argument
164 in = fopen(infile, "r"); in loadpolicy()
167 err_print(OPEN_FAILED, infile, strerror(errno)); in loadpolicy()
197 err_print(DPLCY_ONE_DFLT, infile); in loadpolicy()
205 err_print(DPLCY_FIRST, infile); in loadpolicy()
258 err_print(UNEXPECTED_EOF, infile); in loadpolicy()
/titanic_51/usr/src/cmd/tsol/zones/
H A Dzoneunshare.sh64 -) infile=;; # use stdin
65 *) infile=$1;; # use a given source file
68 infile=/etc/dfs/sharetab # default
76 done < $infile |
H A Dzoneshare.sh64 -) infile=;; # use stdin
65 *) infile=$1;; # use a given source file
68 infile=$prefix/etc/dfs/dfstab # default
78 done < $infile |
/titanic_51/usr/src/cmd/streams/log/
H A Dstrace.c48 static int infile = 0; /* set if using standard input for arguments */ variable
82 infile = 0; in getarg()
96 infile = 0; in getarg()
125 if (infile) { in getid()
132 * if the previous operations encountered EOF, infile in getid()
138 if (infile) in getid()
153 infile = 1; in getid()
/titanic_51/usr/src/cmd/audio/audioconvert/
H A Dmain.cc71 char *infile = NULL; // input/output file names in main() local
234 infile = Stdin; in main()
236 infile = argv[optind]; in main()
243 open_input_file(infile, ihdr, israw, fflag, i_offset, fmt); in main()
250 infile, err.msg()); in main()
299 // get the *real* path of the infile (follow sym-links), in main()
301 realfile = infile; in main()
307 perror(infile); in main()
333 infile); in main()
363 // back to the infile in main()
[all...]
/titanic_51/usr/src/cmd/csplit/
H A Dcsplit.c62 FILE *infile, *outfile; /* I/O file streams */ variable
135 infile = tmpfile(); in main()
138 if (fwrite(tmpbuf, 1, BUFSIZ, infile) == 0) in main()
156 rewind(infile); in main()
157 } else if ((infile = fopen(*argv, "r")) == NULL) in main()
307 saveloc = ftello(infile); in findline()
318 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET); in findline()
322 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET); in findline()
404 * Getline gets a line via fgets from the input stream "infile".
416 ret = fgets(linbuf, LINSIZ, infile); in getaline()
[all...]
/titanic_51/usr/src/lib/libsasl/lib/
H A Dconfig.c91 FILE *infile; local
105 infile = fopen(filename, "rF");
106 if (!infile) {
115 while (fgets(buf, sizeof(buf), infile)) {
210 fclose(infile);
220 fclose(infile);
/titanic_51/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c79 mv_xattrs(char *cmd, char *infile, char *outfile, int sattr, int silent) in mv_xattrs() argument
97 if ((srcfd = open(infile, O_RDONLY)) == -1) { in mv_xattrs()
102 response = sysattr_list(cmd, srcfd, infile); in mv_xattrs()
151 if (writefile(sattrfd, tattrfd, infile, outfile, dp->d_name, in mv_xattrs()
226 cmd, infile); in mv_xattrs()
230 "attributes, "), cmd, infile); in mv_xattrs()
H A Dwritefile.c44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, in writefile() argument
60 src_size = strlen(infile) + strlen(asfile) + in writefile()
63 src_size = strlen(infile) + 1; in writefile()
74 infile, dgettext(TEXT_DOMAIN, " attribute "), asfile); in writefile()
76 (void) snprintf(srcbuf, src_size, "%s", infile); in writefile()
/titanic_51/usr/src/tools/codereview/
H A Dlwlp.c276 FILE *infile; in main() local
562 infile = popen(command, "r"); in main()
564 if (ungetc(getc(infile), infile) == EOF) { in main()
565 (void) pclose(infile); in main()
568 infile = popen(command, "r"); in main()
571 printfile(infile); in main()
572 (void) pclose(infile); in main()
580 if ((infile = fopen(argv[i], "r")) == (FILE *)NULL) { in main()
588 (void) fclose(infile); in main()
796 printfile(FILE * infile) printfile() argument
882 printpage(FILE * infile,FILE * outfile) printpage() argument
[all...]

1234