Searched defs:fin (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libcurses/screen/
H A D_newterm.c49 newterm(char *type, FILE *fout, FILE *fin) argument
51 return (newscreen(type, 0, 0, 0, fout, fin));
/illumos-gate/usr/src/tools/scripts/
H A Dcopyrightchk.py44 fin = open(filename, 'r') variable
50 ret |= copyright(fin, output=sys.stdout)
51 fin.close()
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c24 static FILE *fin; variable
39 if ((fin = fopen(*++argv, "r")) == NULL) {
44 check(fin);
45 (void) fclose(fin);
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c61 * fin, fout - input and output files
62 * page_no physical page number from *fin
72 ps_include(FILE *fin, FILE *fout, int page_no, int whiteout, argument
99 * Reads a PostScript file (*fin), and uses structuring comments to
122 fseek(fin, 0L, 0);
124 while (fgets(buf, sizeof (buf), fin) != NULL)
129 page.start = ftell(fin);
134 page.end = ftell(fin);
139 page.end = ftell(fin);
142 page.start = ftell(fin);
196 copy(FILE *fin, FILE *fout, Section *s) argument
[all...]
H A Ddpost.c1336 int fin; /* for reading the DESC.out file */ local
1360 if ( (fin = open(temp, 0)) < 0 )
1363 read(fin, &dev, sizeof(struct dev));
1373 read(fin, filebase, dev.filesize); /* all at once */
1374 close(fin);
1401 int fin; /* for reading *s.out file */ local
1426 if ( (fin = open(temp, 0)) < 0 ) {
1428 if ( (fin = open(temp, 0)) < 0 )
1439 read(fin, fontbase[n], fsize);
1440 close(fin);
[all...]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dmakedev.c123 FILE *fin; local
132 if ((fin = fopen("DESC", "r")) == NULL) {
136 while (fscanf(fin, "%s", cmd) != EOF) {
138 skipline(fin);
140 fscanf(fin, "%hd", &dev.res);
142 fscanf(fin, "%hd", &dev.hor);
144 fscanf(fin, "%hd", &dev.vert);
146 fscanf(fin, "%hd", &dev.unitwidth);
148 fscanf(fin, "%hd", &dev.sizescale);
150 fscanf(fin, "
220 FILE *fin; local
[all...]
H A Dt10.c101 int i, fin, nw; local
111 if ((fin = open(termtab, 0)) < 0) {
115 read(fin, (char *) &dev, sizeof(struct dev ));
129 read(fin, filebase, dev.filesize); /* all at once */
151 close(fin);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c31 u8_t fin)
39 if(fin) {
46 "ringing tx doorbell: cid=%d, (nbytes+=%d, nbds+=%d, fin=%d)\n",
47 cid, nbytes, nbds, fin);
119 * be kept available for future fin request) */
233 DbgMessage(pdev, INFORMl4tx, "fin request completed (cid=%d)\n", tcp->cid);
249 u32_t actual_completed; /* number of bytes actually completed (could be different than completed in case of fin) */
272 /* fin completed */
346 * them to a snapshot_flags parameter, which is initialized in this function only, so no fin
638 /* Update fin reques
25 _lm_tcp_tx_write_db( lm_device_t * pdev, lm_tcp_con_t * tx_con, u32_t cid, u32_t nbytes, u16_t nbds, u8_t fin) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_pool.c120 fr_info_t fin; local
166 fin.fin_plen = 20;
169 ip_pool_search(ipo, 4, &ip, &fin, ifs));
173 ip_pool_search(ipo, 4, &ip, &fin, ifs));
177 ip_pool_search(ipo, 4, &ip, &fin, ifs));
181 ip_pool_search(ipo, 4, &ip, &fin, ifs));
185 ip_pool_search(ipo, 4, &ip, &fin, ifs));
189 ip_pool_search(ipo, 4, &ip, &fin, ifs));
193 ip_pool_search(ipo, 4, &ip, &fin, ifs));
197 ip_pool_search(ipo, 4, &ip, &fin, if
[all...]
H A Dip_nat6.c270 /* Parameters: fin(I) - pointer to packet information */
280 static INLINE int nat6_newmap(fin, nat, ni)
281 fr_info_t *fin;
292 ipf_stack_t *ifs = fin->fin_ifs;
320 hm = nat6_hostmap(np, &fin->fin_src6, &fin->fin_dst6,
341 temp.i6[0] = fin->fin_src6.i6[0] &
343 temp.i6[1] = fin->fin_src6.i6[1] &
345 temp.i6[2] = fin->fin_src6.i6[2] &
347 temp.i6[3] = fin
1939 fr_info_t fin; local
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c334 struct sockaddr_in *fin = (struct sockaddr_in *) local
337 if ((lin->sin_family == fin->sin_family) &&
338 (bcmp(&lin->sin_addr, &fin->sin_addr,
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c129 FILE *fin; local
137 if ((fin = fopen("DESC", "r")) == NULL) {
141 while (fscanf(fin, "%s", cmd) != EOF) {
143 skipline(fin);
145 fscanf(fin, "%hd", &dev.res);
147 fscanf(fin, "%hd", &dev.hor);
149 fscanf(fin, "%hd", &dev.vert);
151 fscanf(fin, "%hd", &dev.unitwidth);
153 fscanf(fin, "%hd", &dev.sizescale);
155 fscanf(fin, "
226 FILE *fin; local
331 getlig(FILE *fin) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dmain.c43 FILE *fin = NULL; /* input file pointer */ variable
199 fin = stdin;
383 if (fin == NULL) {
385 if ((fin = fopen("distfile", "r")) == NULL)
386 fin = fopen("Distfile", "r");
388 fin = fopen(distfile, "r");
389 if (fin == NULL) {
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c207 FILE *fout, *fin; local
308 fin = Fdopen(image, "r");
309 if (fin == NULL) {
316 rewind(fin);
318 putc(getc(fin), fout);
319 while (fgets(line, sizeof (line), fin)) {
325 while ((c = getc(fin)) != EOF)
333 fclose(fin);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_util.c67 FILE *fin; /* file pointer of current input */ variable
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c710 FILE *fin, *fout; local
721 if ((fin = fopen(in, "r")) == NULL) {
733 while ((c = getc(fin)) != EOF)
736 (void) fclose(fin);
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed0.c34 FILE *fin; variable
120 if((fin = fopen(*++eargv, "r")) == NULL) {
127 (void) fclose(fin);
675 while((t = getc(fin)) != EOF) {
685 if((t = getc(fin)) == EOF)
691 if(ferror(fin)) {
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h108 FILE *fin, *fother; variable
/illumos-gate/usr/src/cmd/bnu/
H A Duuxqt.c835 char fin[MAXFULLNAME]; local
864 (void) strcpy(fin, "/dev/null");
896 (void) sscanf(&buf[1], "%256s", fin);
897 expfile(fin);
898 if (chkpth(fin, CK_READ)) {
899 DEBUG(4, "badfile - in: %s\n", fin);
994 DEBUG(4, "fin - %s, ", fin);
1112 retosndr(user, Rmtname, return_stdin ? fin : "",
1136 ret = shio(_Cmd, fin, dfil
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc_hw.h484 uint32_t fin:1; member in struct:__anon5737::__anon5738
496 uint32_t fin:1;
H A Dhpi_pfc.c696 hpi_pfc_set_tcp_control_fin(hpi_handle_t handle, boolean_t fin) argument
706 if (fin)
707 tcp.bits.fin = 1;
709 tcp.bits.fin = 0;
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c96 static int fin, fout; variable
210 if ((fin = open(flnm, 0)) == -1)
270 fin = pipedes[0];
298 if (lseek(fin, 0, SEEK_SET) == (off_t)-1)
345 if (!input_pipe && fstat(fin, &in_stat) == -1)
351 while (safe_read(fin, &tx, sizeof (struct sa))) {
418 if ((curr_pos = lseek(fin, 0, SEEK_CUR)) ==
432 if (safe_read(fin, &nxio[i], sizeof (iodevinfo_t)) == 0)
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c1001 FILE *fin; local
1006 if ((fin = popen(user_cmd, "r")) == NULL)
1009 while (cin == NULL && !feof(fin))
1010 cin = fgets(pwline, sizeof (pwline), fin);
1013 (void) pclose(fin);
1017 status = pclose(fin);
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c981 FILE *fin = inp; local
1007 if ((ent = getc(fin)) == EOF && ferror(fin)) {
1023 while ((c = getc(fin)) != EOF) {
1086 if (ferror(fin) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c742 FILE *fin, *dout = 0; local
783 fin = stdin;
786 fin = mypopen(local + 1, "r");
787 if (fin == NULL) {
797 fin = fopen(local, "r");
798 if (fin == NULL) {
806 if (fstat(fileno(fin), &st) < 0 ||
812 (void) fclose(fin);
823 (*closefunc)(fin);
831 if (fseeko(fin, restart_poin
[all...]

Completed in 110 milliseconds

12