Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/original-bsd/sys/libkern/
H A Dlibkern.h13 imax(a, b) in imax() argument
14 int a, b; in imax()
16 return (a > b ? a : b);
19 imin(a, b) in imin() argument
22 return (a < b ? a : b);
28 return (a > b ? a : b);
34 return (a < b ? a : b);
40 return (a > b ? a : b);
46 return (a < b ? a : b);
52 return (a > b ? a : b);
[all …]
/original-bsd/lib/libc/db/mpool/
H A Dmpool.c124 BKT *b; local
138 inshash(b, b->pgno);
209 (mp->pgin)(mp->pgcookie, b->pgno, b->page);
211 inshash(b, b->pgno);
248 for (b = mp->lru.cnext; b != (BKT *)&mp->lru; b = b->cnext) {
276 for (b = mp->lru.cprev; b != (BKT *)&mp->lru; b = next) {
299 for (b = mp->lru.cprev; b != (BKT *)&mp->lru; b = b->cprev)
329 for (b = mp->lru.cprev; b != (BKT *)&mp->lru; b = b->cprev)
358 b->page = (char *)b + sizeof(BKT);
417 for (b = tb->hnext; b != (BKT *)tb; b = b->hnext)
[all …]
/original-bsd/bin/ls/
H A Dcmp.c25 namecmp(a, b) in namecmp() argument
26 const FTSENT *a, *b; in namecmp()
32 revnamecmp(a, b) in revnamecmp() argument
33 const FTSENT *a, *b; in revnamecmp()
39 modcmp(a, b) in modcmp() argument
40 const FTSENT *a, *b; in modcmp()
46 revmodcmp(a, b) in revmodcmp() argument
53 acccmp(a, b) in acccmp() argument
60 revacccmp(a, b) in revacccmp() argument
67 statcmp(a, b) in statcmp() argument
[all …]
/original-bsd/sys/deprecated/bbnnet/
H A Dseq.h3 #define SEQ_LT(a,b) ((long)((a)-(b)) < 0) argument
4 #define SEQ_LEQ(a,b) ((long)((a)-(b)) <= 0) argument
5 #define SEQ_GT(a,b) ((long)((a)-(b)) > 0) argument
6 #define SEQ_GEQ(a,b) ((long)((a)-(b)) >= 0) argument
7 #define SEQ_EQ(a,b) ((a) == (b)) argument
8 #define SEQ_NEQ(a,b) ((a) != (b)) argument
9 #define SEQ_MIN(a,b) (SEQ_LT((a),(b)) ? (a) : (b)) argument
10 #define SEQ_MAX(a,b) (SEQ_GT((a),(b)) ? (a) : (b)) argument
/original-bsd/old/awk/
H A Dparse.c37 node *node1(a,b) node *b; in node1() argument
46 node *node2(a,b,c) node *b, *c; in node2() argument
56 node *node3(a,b,c,d) node *b, *c, *d; in node3() argument
79 node *stat3(a,b,c,d) node *b, *c, *d; in stat3() argument
86 node *op2(a,b,c) node *b, *c; in op2() argument
93 node *op1(a,b) node *b; in op1() argument
100 node *stat1(a,b) node *b; in stat1() argument
107 node *op3(a,b,c,d) node *b, *c, *d; in op3() argument
114 node *stat2(a,b,c) node *b, *c; in stat2() argument
136 node *pa2stat(a,b,c) node *a, *b, *c; in pa2stat() argument
[all …]
/original-bsd/usr.bin/f77/libI77/
H A Dbackspace.c23 { unit *b; local
34 b= &units[lunit];
36 lfname = b->ufnm;
37 if(b->uend)
38 { b->uend = NO;
39 clearerr(b->ufd);
44 if(!b->useek)
46 if(b->uwrt && (n = t_runc(b, errflag, bksp))) /* sets 'reading' */
50 x -= y?y:b->url;
51 fseek(b->ufd,x,0);
[all …]
H A Dclose.c24 { unit *b; local
35 b= &units[lunit];
43 if(b->ufnm) unlink(b->ufnm); /*SYSDEP*/
48 if(b->uwrt && (n=t_runc(b,errflag,clse))) return(n);
54 if(b->ufnm) free(b->ufnm);
55 b->ufnm=NULL;
56 b->ufd=NULL;
75 unit *b; in t_runc()
81 if (b->uwrt)
83 if (b->url || !b->useek || !b->ufnm)
[all …]
H A Dopen.c34 { unit *b; local
47 b= &units[lunit];
86 if(a->ofm && b->ufmt) b->uprnt = (lcase(*a->ofm)== 'p');
100 { if((b->ufd = fopen(buf,"r")) != NULL) b->uwrt = NO;
119 b->uwrt = NO;
128 b->uend = NO;
129 b->useek = canseek(b->ufd);
135 b->url = 0;
144 b->ublnk = NO;
170 { b->ufmt = (b->url==0);
[all …]
/original-bsd/old/pcc/lint/llibs/
H A Dllib-lmp5 gcd(a,b,c) MINT *a,*b,*c; {}
6 invert(a, b, c) MINT *a, *b, *c; {}
7 m_add(a,b,c) struct mint *a,*b,*c; {}
8 madd(a,b,c) struct mint *a,*b,*c; {}
9 m_sub(a,b,c) struct mint *a,*b,*c; {}
10 msub(a,b,c) struct mint *a,*b,*c; {}
11 mdiv(a,b,q,r) MINT *a,*b,*q,*r; {}
14 m_div(a,b,q,r) MINT *a,*b,*q,*r; {}
29 pow(a,b,c,d) MINT *a,*b,*c,*d; {}
30 rpow(a,n,b) MINT *a,*b; {}
[all …]
/original-bsd/usr.bin/f77/libF77/
H A Ds_cmp.c13 register char *a, *b; in s_cmp()
18 bend = b + lb;
23 if(*a != *b)
24 return( *a - *b );
26 { ++a; ++b; }
28 while(b < bend)
29 if(*b != ' ')
31 else ++b;
36 while(b < bend)
37 if(*a == *b)
[all …]
/original-bsd/lib/libm/common_source/
H A Djn.c153 b = b/a;
198 b = one;
212 b = ((i+i)/x)*b - a;
221 a /= b;
222 t /= b;
223 b = one;
226 b = (t*j0(x)/b);
229 return ((sgn == 1) ? -b : b);
277 temp = b;
278 b = ((double)(i+i)/x)*b - a;
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/term/
H A Dtab.lp45 dg 1 |\b-
47 ct 1 c\b/
60 *b 1 ,\bB
69 *l 1 \\\b>
86 *D 2 _\b/_\b\\
96 *C 1 _\b-\b~
98 *P 2 ~\b|~\b|
106 *W 2 _\b(_\b)
110 >= 1 _\b>
111 <= 1 _\b<
[all …]
H A Dtab.45026 left "\b"
45 dg 1 |\b-
47 ct 1 c\b/
63 *e 1 <\b-
66 *h 1 O\b-
79 *f 1 o\b/
90 *H 1 O\b=
96 *C 1 _\b-\b~
103 *F 1 o\b[\b]
110 >= 1 _\b>
[all …]
/original-bsd/lib/libc/db/btree/
H A Dbt_open.c67 BTREEINFO b; local
84 b = *openinfo;
95 if (b.psize &&
96 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 ||
119 b.flags = 0;
123 b.psize = 0;
127 if (b.lorder != BIG_ENDIAN && b.lorder != LITTLE_ENDIAN)
252 if (b.cachesize && b.cachesize & b.psize - 1)
253 b.cachesize += (~b.cachesize & b.psize - 1) + 1;
254 if (b.cachesize < b.psize * MINCACHE)
[all …]
/original-bsd/usr.bin/m4/
H A Dstdd.h17 #define max(a,b) ((a) > (b)? (a): (b)) argument
18 #define min(a,b) ((a) < (b)? (a): (b)) argument
26 #define STREQ(a, b) ((a)[0] == (b)[0] && strcmp(a, b) == 0) argument
27 #define STREQN(a, b, n) ((a)[0] == (b)[0] && strncmp(a, b, n) == 0) argument
/original-bsd/sys/deprecated/netdecnet/
H A Dnsp_seq.h11 #define SEQ_LSS(a, b) (nsp_seqcmp(a, b) < 0) argument
12 #define SEQ_LEQ(a, b) (nsp_seqcmp(a, b) <= 0) argument
13 #define SEQ_GTR(a, b) (nsp_seqcmp(a, b) > 0) argument
14 #define SEQ_GEQ(a, b) (nsp_seqcmp(a, b) >= 0) argument
16 #define SEQ_ADD(a, b) (((a) + (b)) & SEQMASK) argument
17 #define SEQ_SUB(a, b) (((a) - (b)) & SEQMASK) argument
/original-bsd/bin/csh/
H A Dcsh.h74 #define eq(a, b) (Strcmp(a, b) == 0) argument
461 #define Strchr(a, b) strchr(a, b) argument
462 #define Strrchr(a, b) strrchr(a, b) argument
463 #define Strcat(a, b) strcat(a, b) argument
465 #define Strcpy(a, b) strcpy(a, b) argument
468 #define Strcmp(a, b) strcmp(a, b) argument
471 #define Strspl(a, b) strspl(a, b) argument
474 #define Strstr(a, b) strstr(a, b) argument
481 #define Strchr(a, b) s_strchr(a, b) argument
483 #define Strcat(a, b) s_strcat(a, b) argument
[all …]
/original-bsd/old/libm/libom/
H A Dhypot.c10 hypot(a,b) in hypot() argument
11 double a,b; in hypot()
15 if(b<0) b = -b;
16 if(a > b) {
18 a = b;
19 b = t;
21 if(b==0) return(0.);
22 a /= b;
27 return(b*sqrt(1. + a*a));
H A Djn.c57 b = j1(x);
59 temp = b;
60 b = (2.*i/x)*b - a;
63 return(b);
73 b = 1;
75 temp = b;
76 b = (2.*i/x)*b - a;
102 b = y1(x);
104 temp = b;
105 b = (2.*i/x)*b - a;
[all …]
/original-bsd/old/pcc/ccom.tahoe/tests/
H A Dxns_seq.c1 #define SEQ_LT(a,b) (((short)((a)-(b))) < 0) argument
2 #define SSEQ_LT(a,b) ((util = (short)((a)-(b))), util < 0) argument
6 unsigned short a , b; in main() local
13 b = d = atoi(s2); in main()
16 a, a < b ? '<' : '>', b); in main()
20 a, SEQ_LT(a, b) ? '<' : '>', b); in main()
22 a, SSEQ_LT(a, b) ? '<' : '>', b); in main()
/original-bsd/old/roff/nroff_term/
H A Dcode.itoh75 "\201b", /*b*/
172 "\001~\b\301=\341\300\b", /*approx =*/
181 "\001-\b.\b\344.\304\300\b", /*divide*/
193 "\001\033\0436\b\305?\033\044\345\345\b\033\043<\305\033\044\b", /*integral sign*/
200 "\001\033\0436\b\3436\033\044\303\300\b", /*box rule */
210 "\001\342\033\0436\b\304>\033\044\342\b", /*left bottom*/
211 "\001\302\033\0436\b\344=\033\044\302\b", /*right top*/
212 "\001\342\033\0436\b\304?\033\044\342\b", /*right bot*/
217 "\001\342\033\0436\b\304;\033\044\342\b", /*right floor (rb of ")*/
218 "\001\302\033\0436\b\3448\033\044\302\b", /*left ceiling (lt of ")*/
[all …]
/original-bsd/lib/libcompat/regexp/
H A Dtests38 a[]b - c - -
41 a[]]b a]b y & a]b
56 $b b n - -
58 a\(b a(b y &-\1 a(b-
60 a\(*b a((b y & a((b
61 a\\b a\b y & a\b
73 (a+|b)* ab y &-\1 ab-b
74 (a+|b)+ ab y &-\1 ab-b
95 (a|b)c*d abcd y &-\1 bcd-b
104 ((a)(b)c)(d) abcd y \1-\2-\3-\4 abc-a-b-d
[all …]
/original-bsd/lib/libmp/
H A Dmult.c10 mult(a,b,c) struct mint *a,*b,*c; variable
15 y.val=b->val;
22 if(b->len<0)
23 { y.len= -b->len;
26 else y.len=b->len;
42 m_mult(a,b,c) struct mint *a,*b,*c; variable
49 for(i=0;i<b->len;i++)
83 c->len=a->len+b->len;
88 tradd(a,b,c) long c; int *a; union g *b; in tradd() argument
90 b->xx= b->xx+c;
[all …]
/original-bsd/games/trek/
H A Dphaser.c138 b = &bank[i]; in phaser()
153 b->units = hit; in phaser()
159 if (b->spread < 0 || b->spread > 1) in phaser()
194 b = &bank[i]; in phaser()
204 b->spread = 0.0; in phaser()
228 b = &bank[i]; in phaser()
252 b = &bank[i]; in phaser()
254 if (b->units > 0) in phaser()
255 printf(" a%.2f s%.2f\n", b->angle, b->spread); in phaser()
266 b = &bank[i]; in phaser()
[all …]
/original-bsd/old/libm/libm/
H A Djn.c61 b = j1(x);
63 temp = b;
64 b = (2.*i/x)*b - a;
67 return(b);
77 b = 1;
79 temp = b;
80 b = (2.*i/x)*b - a;
110 b = y1(x);
112 temp = b;
113 b = (2.*i/x)*b - a;
[all …]

12345678910>>...44