/original-bsd/usr.sbin/sendmail/src/ |
H A D | stats.c | 65 struct statistics stat; local 81 if (read(fd, (char *) &stat, sizeof stat) == sizeof stat && 82 stat.stat_size == sizeof stat) 89 stat.stat_nf[i] += Stat.stat_nf[i]; 90 stat.stat_bf[i] += Stat.stat_bf[i]; 91 stat.stat_nt[i] += Stat.stat_nt[i]; 92 stat.stat_bt[i] += Stat.stat_bt[i]; 96 bcopy((char *) &Stat, (char *) &stat, sizeof stat); 100 (void) write(fd, (char *) &stat, sizeof stat); 104 bzero(&Stat, sizeof stat);
|
/original-bsd/old/ratfor/ |
H A D | r.y | 20 statl : statl stat 23 stat : if stat ={ indent--; outcont($1); } 24 | ifelse stat ={ indent--; outcont($1+1); } 26 | while stat ={ whilestat($1); } 27 | for stat ={ forstat($1); } 28 | repeat stat UNTIL ={ untils($1,1); } 29 | repeat stat ={ untils($1,0); } 32 | do stat ={ dostat($1); } 37 | label stat 62 ifelse : if stat ELSE ={ elsecode($1); }
|
/original-bsd/usr.sbin/sendmail/mailstats/ |
H A D | mailstats.c | 32 struct statistics stat; local 171 if (read(fd, &stat, sizeof(stat)) != sizeof(stat) || 172 stat.stat_size != sizeof(stat)) 178 printf("Statistics from %s", ctime(&stat.stat_itime)); 183 if (stat.stat_nf[i] || stat.stat_nt[i]) 186 stat.stat_nf[i], stat.stat_bf[i], 187 stat.stat_nt[i], stat.stat_bt[i]); 191 frmsgs += stat.stat_nf[i]; 192 frbytes += stat.stat_bf[i]; 193 tomsgs += stat.stat_nt[i]; [all …]
|
/original-bsd/sys/luna68k/stand/ |
H A D | st.c | 111 register int i, stat; local 128 if (stat) 230 int unit, stat; in sterror() 267 stintr(unit, stat) in stintr() argument 269 int stat; 321 int ctlr, slave, stat; local 337 if (stat == 0) 389 if (stat == 0) 440 if (stat == 0) { 483 if (stat == 0) [all …]
|
/original-bsd/sys/hp300/stand/ |
H A D | sd.c | 48 u_char stat; local 51 stat = scsi_test_unit_rdy(ctlr, unit); 52 if (stat) { 54 if (stat == STS_CHECKCOND) { 56 stat = scsi_test_unit_rdy(ctlr, unit); 58 if (stat) { 60 ctlr, unit, stat); 69 stat = scsi_read_capacity(ctlr, unit, 71 if (stat == 0) { 162 char stat; local [all …]
|
H A D | ct.c | 52 u_char stat; local 55 if (hpibrecv(ctlr, unit, C_QSTAT, &stat, 1) != 1 || stat) 76 u_char stat, cmd[3]; local 101 hpibrecv(ctlr, unit, C_QSTAT, &stat, sizeof(stat)); 103 if (!stat) { 160 char stat; local 207 if (stat) { 209 if (stat == 0) 211 if (stat == 2) 227 char stat; local [all …]
|
H A D | dca.c | 71 short stat; in dcagetchar() local 74 if (((stat = dca->dca_lsr) & LSR_RXRDY) == 0) in dcagetchar() 91 short stat; local 95 while (((stat = dca->dca_lsr) & LSR_TXRDY) == 0 && --timo) 100 while (((stat = dca->dca_lsr) & LSR_TXRDY) == 0 && --timo)
|
H A D | rd.c | 79 u_char stat; local 91 u_char stat; local 101 hpibrecv(ctlr, unit, C_QSTAT, &stat, 1); 108 u_char stat, cmd[3]; local 127 hpibrecv(ctlr, unit, C_QSTAT, &stat, sizeof(stat)); 129 if (!stat) { 290 char stat; local 311 if (stat) { 326 char stat; local 335 if (stat) { [all …]
|
/original-bsd/games/trek/ |
H A D | shield.c | 48 char *stat; local 61 stat = &Ship.cloaked; 70 stat = &Ship.shldup; 90 if (*stat) 96 i = !*stat; 98 if (*stat == i) 115 *stat = i;
|
/original-bsd/bin/ln/ |
H A D | ln.c | 43 struct stat sb; 78 if (stat(sourcedir, &sb)) 92 struct stat sb; 98 if (stat(target, &sb)) { 110 if (isdir || (exists = !stat(source, &sb)) && S_ISDIR(sb.st_mode)) { 117 exists = !stat(source, &sb); 119 exists = !stat(source, &sb);
|
/original-bsd/sbin/swapon/ |
H A D | swapon.c | 29 register int stat; local 44 stat = 0; 50 stat = 1; 58 stat |= add(*argv, 0); 59 exit(stat);
|
/original-bsd/lib/librpc/rpc/ |
H A D | svc_auth_unix.c | 56 register enum auth_stat stat; local 80 stat = AUTH_BADCRED; 91 stat = AUTH_BADCRED; 105 stat = AUTH_BADCRED; 111 stat = AUTH_BADCRED; 116 stat = AUTH_OK; 119 return (stat);
|
H A D | pmap_rmt.c | 78 enum clnt_stat stat; local 95 stat = RPC_FAILED; 99 return (stat); 226 enum clnt_stat stat; local 258 stat = RPC_CANTSEND; 264 stat = RPC_CANTSEND; 321 stat = RPC_SUCCESS; 333 stat = RPC_TIMEDOUT; 340 stat = RPC_CANTRECV; 384 stat = RPC_SUCCESS; [all …]
|
/original-bsd/local/toolchest/ksh/sh/ |
H A D | test.c | 191 struct stat statb; in e3() 267 struct stat statb; 268 if(stat(f,&statb)<0) 276 struct stat statb; 277 if(stat(f, &statb) <0) 289 struct stat statb1,statb2; 290 if(stat(file1,&statb1)<0) 292 if(stat(file2,&statb2)<0) 304 struct stat stat1,stat2; 305 if(stat(file1,&stat1)>=0 && stat(file2,&stat2)>=0)
|
/original-bsd/sys/stand/ |
H A D | stat.c | 14 struct stat *sb; 29 errno = (f->f_ops->stat)(f, sb); 33 stat(str, sb) in stat() function 35 struct stat *sb;
|
/original-bsd/sys/i386/isa/ |
H A D | com.c | 326 comeint(unit, stat, com) in comeint() argument 346 else if (stat & LSR_PE) 358 register int stat; local 363 if (stat & MSR_DCD) 371 if (stat & MSR_CTS) { 619 short stat; local 622 stat = unit; if (stat) return; 640 short stat; in comcngetc() local 644 stat = dev; if (stat) return(0); in comcngetc() 664 short stat; local [all …]
|
/original-bsd/sys/hp/dev/ |
H A D | dca.c | 437 register u_char stat; local 440 stat = dca->dca_msr; 446 if (stat & MSR_DCD) 761 short stat; local 764 stat = unit; if (stat) return; 784 stat = dca->dca_iir; 792 register u_char stat; local 796 stat = dev; if (stat) return (0); 802 stat = dca->dca_iir; 816 register u_char stat; local [all …]
|
/original-bsd/usr.bin/f77/libU77/ |
H A D | wait_.c | 30 int stat; local 31 int chid = wait(&stat); 34 *status = (long)stat;
|
/original-bsd/sys/hp300/dev/ |
H A D | st.c | 249 if (stat == -1) 532 if (stat) 535 if (stat == -1 || stat == STS_BUSY) { 569 stat = 0; 586 stat = 0; 606 if (stat) 626 if (stat) 742 int pad, stat; local 806 if (stat) { 1053 if (stat) { [all …]
|
/original-bsd/lib/libc/db/test/hash.tests/ |
H A D | tseq.c | 38 int stat; local 49 for ( stat = (dbp->seq) (dbp, &res, &item, 1 ); 50 stat == 0; 51 stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
|
H A D | tread2.c | 41 int stat; local 68 stat = (dbp->get)(dbp, &key, &res,0); 69 if (stat < 0) { 72 } else if ( stat > 0 ) {
|
H A D | tverify.c | 42 int stat; local 67 stat = (dbp->get)(dbp, &key, &res,0); 68 if (stat < 0) { 71 } else if ( stat > 0 ) {
|
/original-bsd/sys/luna68k/dev/ |
H A D | st.c | 136 register int i, stat; local 196 int stat, retry = 9; local 243 int stat, retry = 9; local 390 stintr(unit, stat) in stintr() argument 392 int stat; 420 if (stat < 0) { 426 switch (stat) { 545 int ctlr, slave, stat; local 566 if (stat == 0) { 591 int ctlr, slave, stat; local [all …]
|
/original-bsd/lib/libc/gen/ |
H A D | ttyname.c | 22 static char *oldttyname __P((int, struct stat *)); 28 struct stat sb; 64 struct stat *sb; 68 struct stat dsb; 78 if (stat(buf, &dsb) || sb->st_dev != dsb.st_dev ||
|
/original-bsd/bin/cp/ |
H A D | extern.h | 23 int copy_fifo __P((struct stat *, int)); 26 int copy_special __P((struct stat *, int)); 27 int setfile __P((struct stat *, int));
|