Home
last modified time | relevance | path

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

123

/titanic_44/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, "-DRPC_XDR", EXTEND, "_xdr.c"); in main()
[all …]
/titanic_44/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()
196 infile = argv[optind]; in main()
197 if (access(infile, R_OK) != 0) in main()
198 terminate("Can't access %s", infile); in main()
217 if (!file_read(filetd, infile, ignore_non_c)) in main()
218 terminate("%s doesn't have type data to convert\n", infile); in main()
233 if (outfile && strcmp(infile, outfile) != 0) { in main()
234 write_ctf(mstrtd, infile, outfile, dynsym); in main()
[all …]
/titanic_44/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_44/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_44/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c67 char *infile; in main() local
102 infile = optarg; in main()
134 setadmin(infile); in main()
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, line); in setadmin()
250 infile, line); in setadmin()
253 fatalerr("%s, line %d: syntax error\n", infile, line); in setadmin()
[all …]
H A Drtdispadmin.c73 char *infile; in main() local
103 infile = optarg; in main()
135 set_rtdptbl(infile); in main()
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);
H A Dfxdispadmin.c70 char *infile; in main() local
105 infile = optarg; in main()
138 set_fxdptbl(infile); in main()
218 set_fxdptbl(char *infile) in set_fxdptbl() argument
255 if ((fp = fopen(infile, "r")) == NULL) in set_fxdptbl()
256 fatalerr("%s: Can't open %s for input\n", basenm, infile); in set_fxdptbl()
/titanic_44/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_44/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()
373 infile = fopen(pathbuf, "r"); in open_mapping_file()
374 if (infile) return (infile); in open_mapping_file()
[all …]
/titanic_44/usr/src/cmd/bnu/
H A Dmailst.c48 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_44/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_44/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dimport.c45 char *infile = NULL; in kc_import() local
70 infile = get_string(optarg_av, &rv); in kc_import()
71 if (infile == NULL) { 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()
/titanic_44/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 != stdin) in eof()
[all …]
/titanic_44/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 = fopen(fname, "r")) == NULL) { in mf_fgets()
462 len = getline(&p, &plen, infile); in mf_fgets()
[all …]
/titanic_44/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_44/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_44/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()
138 if (infile) in getid()
153 infile = 1; in getid()
/titanic_44/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()
301 realfile = infile; in main()
307 perror(infile); in main()
333 infile); in main()
/titanic_44/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()
416 ret = fgets(linbuf, LINSIZ, infile); in getaline()
/titanic_44/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_44/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_44/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()
589 infile = popen(cmdbuf, "r"); in main()
[all …]
/titanic_44/usr/src/cmd/ypcmd/
H A Dmakedbm.c122 char *infile, *outfile; local
141 infile = outfile = NULL; /* where to get files */
205 } else if (infile == NULL)
206 infile = argv[0];
214 if (infile == NULL || outfile == NULL)
312 if (strcmp(infile, "-") != 0)
313 infp = fopen(infile, "r");
321 fprintf(stderr, "makedbm: can't open %s\n", infile);
433 addpair(fdb, yp_last_modified, get_date(infile));

123