/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | config.c | 91 FILE *infile; local 105 infile = fopen(filename, "rF"); 106 if (!infile) { 115 while (fgets(buf, sizeof(buf), infile)) { 210 fclose(infile); 220 fclose(infile);
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 46 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, argument 62 src_size = strlen(infile) + strlen(asfile) + 65 src_size = strlen(infile) + 1; 76 infile, dgettext(TEXT_DOMAIN, " attribute "), asfile); 78 (void) snprintf(srcbuf, src_size, "%s", infile);
|
H A D | process_xattrs.c | 78 mv_xattrs(char *cmd, char *infile, char *outfile, int sattr, int silent) argument 96 if ((srcfd = open(infile, O_RDONLY)) == -1) { 101 response = sysattr_list(cmd, srcfd, infile); 150 if (writefile(sattrfd, tattrfd, infile, outfile, dp->d_name, 226 cmd, infile); 230 "attributes, "), cmd, infile);
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | import_unicode.py | 25 infile = open (sys.argv[3], "r") variable 27 for line in infile: 48 infile.close () 50 infile = open (sys.argv[1], "r") variable 62 for line in infile: 154 infile.close () 156 infile = open (sys.argv[2], "r") variable 160 for line in infile: 173 infile.close ()
|
H A D | import_gcry.py | 89 infile = os.path.join (cipher_dir_in, cipher_file) variable 103 f = codecs.open (infile, "r", "utf-8") 369 infile = os.path.join (cipher_dir_in, "ChangeLog") variable 399 f=codecs.open (infile, "r", "utf-8")
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | trestore.c | 43 static Sfio_t *infile; variable 50 infile = in; 59 long l = sfgetl(infile); 80 t->fork.forkline = sfgetu(infile); 106 t->ar.arline = sfgetu(infile); 116 t->for_.forline = sfgetu(infile); 125 t->sw.swline = sfgetu(infile); 140 t->funct.functline = sfgetu(infile); 162 t->tst.tstline = sfgetu(infile); 182 while((l=sfgetu(infile))> [all...] |
H A D | deparse.c | 580 Sfio_t *infile; local 587 infile = sfnew((Sfio_t*)0,iop->ioname,iop->iosize,-1,SF_STRING|SF_READ); 589 sfseek(infile=sh.heredocs,iop->iooffset,SEEK_SET); 590 sfmove(infile,outfile,iop->iosize,-1); 592 sfclose(infile);
|
H A D | io.c | 1545 register Sfio_t *infile = 0, *outfile; local 1562 infile = subopen(shp,shp->heredocs,iop->iooffset,iop->iosize); 1573 sfmove(infile,outfile,SF_UNBOUND,-1); 1574 sfclose(infile); 1579 sh_machere(shp,infile,outfile,iop->ioname); 1581 if(infile) 1582 sfclose(infile);
|
H A D | macro.c | 264 * Expand here document which is stored in <infile> or <string> 267 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument 286 if(infile) 287 fcfopen(infile);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | tail.c | 201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument 216 while ((n = sfmove(infile, out, number, delim)) > 0)
|
H A D | pr.c | 107 Sfio_t *infile; member in struct:_pr_ 226 if((n=sfmove(pp->infile,out,pp->pagelen,'\n')) != pp->pagelen) 230 if(!sfreserve(pp->infile,0,0)||sfvalue(pp->infile)<0) 369 if(sfmove(pp->infile, NiL, n, '\n')!=n) 372 while(cp = sfgetr(pp->infile,'\n',0)) 374 n = sfvalue(pp->infile); 481 register Sfio_t *fp=pp->infile; 890 pp->infile = fp;
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 202 db_copy_file(char *infile, char *outfile) argument 204 return (InUseDictionary->copyfile(infile, outfile));
|
H A D | db_dictionary.cc | 1010 db_dictionary::copyfile(char *infile, char *outfile) argument 1023 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE); 1027 dbase = find_table(infile, &tbl, TRUE, TRUE, TRUE); 1035 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE);
|
/osnet-11/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 613 init_interactive(FILE *infile, CplMatchFn *match_fn) argument 615 if (infile == stdin) { 655 do_getstr(FILE *infile, char *prompt, char *ibuf, size_t ibuf_size) argument 659 if (infile != stdin) 660 return (fgets(ibuf, ibuf_size, infile)); 693 do_interactive(FILE *infile, char *configfile, char *promptstring, argument 709 init_interactive(infile, match_fn); 711 while ((s = do_getstr(infile, promptstring, ibuf, IBUF_SIZE)) != NULL) { 722 if (infile == stdin) { 823 if (infile [all...] |