Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/original-bsd/usr.bin/diff/diff3/
H A Ddiff3.c253 d1[1].old.from = d1->old.from; in merge()
254 d1[1].new.from = d1->new.from; in merge()
261 d2[1].old.from = d2->old.from; in merge()
262 d2[1].new.from = d2->new.from; in merge()
267 if(d1->new.from==d2->new.from&& in merge()
287 if(d1->new.from<d2->new.from) { in merge()
288 d2->old.from -= d2->new.from-d1->new.from; in merge()
289 d2->new.from = d1->new.from; in merge()
292 d1->old.from -= d1->new.from-d2->new.from; in merge()
293 d1->new.from = d2->new.from; in merge()
[all …]
/original-bsd/sbin/routed/
H A Dinput.c21 rip_input(from, rip, size)
22 struct sockaddr *from; variable
46 (*afswitch[from->sa_family].af_format)(from), rip->rip_cmd);
115 (*afswitch[from->sa_family].af_format)(from));
136 (*afswitch[from->sa_family].af_format)(from));
139 rt = rtfind(from);
170 (*afswitch[from->sa_family].af_format)(from));
171 badfrom = *from;
196 (*afswitch[from->sa_family].af_format)(from),
203 (*afswitch[from->sa_family].af_format)(from),
[all …]
/original-bsd/games/sail/
H A Ddr_4.c14 ungrap(from, to) in ungrap() argument
15 register struct ship *from, *to; in ungrap()
20 if ((k = grappled2(from, to)) == 0)
22 friend = capship(from)->nationality == capship(to)->nationality;
25 cleangrapple(from, to, 0);
26 makesignal(from, "ungrappling %s (%c%c)", to);
31 grap(from, to) in grap() argument
32 register struct ship *from, *to; in grap()
36 Write(W_GRAP, from, 0, to->file->index, 0, 0, 0);
37 Write(W_GRAP, to, 0, from->file->index, 0, 0, 0);
[all …]
H A Ddr_5.c14 subtract(from, totalfrom, crewfrom, fromcap, pcfrom)
15 struct ship *from, *fromcap; variable
35 Write(W_PCREW, from, 0, pcfrom, 0, 0, 0);
39 mensent(from, to, crew, captured, pc, isdefense)
40 struct ship *from, *to, **captured; variable
49 *pc = from->file->pcrew;
50 *captured = from->file->captured;
51 crew[0] = from->specs->crew1;
52 crew[1] = from->specs->crew2;
53 crew[2] = from->specs->crew3;
[all …]
H A Dassorted.c15 struct ship *on, *from; variable
79 if (portside(from, on, 0)) {
130 makesignal(from, message, on);
196 strike(on, from);
199 Cleansnag(from, to, all, flag) in Cleansnag() argument
200 register struct ship *from, *to; in Cleansnag()
211 if (!snagged2(from, to)) {
212 if (!snagged(from)) {
213 unboard(from, from, 1); /* defense */
214 unboard(from, from, 0); /* defense */
[all …]
H A Dmisc.c18 range(from, to)
19 struct ship *from, *to; variable
27 stern1r = bow1r = from->file->row;
35 stern1r += dr[from->file->dir];
36 stern1c += dc[from->file->dir];
46 closestenemy(from, side, anyship) in closestenemy() argument
47 register struct ship *from; in closestenemy()
55 a = capship(from)->nationality;
57 if (sp == from)
65 dist = range(from, sp);
[all …]
H A Dparties.c14 meleeing(from, to)
15 struct ship *from; variable
18 register struct BP *p = from->file->OBP;
27 boarding(from, isdefense) in boarding() argument
28 register struct ship *from; in boarding()
31 register struct BP *p = isdefense ? from->file->DBP : from->file->OBP;
/original-bsd/usr.bin/struct/struct/
H A D2.tree.c25 VERT v,u,from; variable
37 if (DEFINED(from))
38 if (NTYPE(from) == IFVX && (head[v] == head[from] || asoc(v,exitsize) != -1) )
43 LCHILD(from,THEN) = v;
49 LCHILD(from,ELSE) = v;
55 LCHILD(from,0) = v;
61 if (ARC(from,0) == v)
62 LCHILD(from,0) = v;
76 LCHILD(from,0) = v;
79 else if (NTYPE(from) == DUMVX && ARC(from,0) == v)
[all …]
/original-bsd/contrib/usr.x25/lib/
H A Dccitt_addr.c127 copychar (from, to) in copychar() argument
128 register char *from, *to; in copychar()
132 if (*from != '\\' || from[1] < '0' || from[1] > '7') {
133 *to = *from++;
134 return (from);
136 n = *++from - '0';
137 from++;
138 if (*from >= '0' && *from <= '7') {
142 if (*from >= '0' && *from <= '7' && (n1 = n*8 + *from-'0') < 256) {
144 from++;
[all …]
/original-bsd/sbin/route/
H A Dccitt_addr.c127 copychar (from, to) in copychar() argument
128 register char *from, *to; in copychar()
132 if (*from != '\\' || from[1] < '0' || from[1] > '7') {
133 *to = *from++;
134 return (from);
136 n = *++from - '0';
137 from++;
138 if (*from >= '0' && *from <= '7') {
142 if (*from >= '0' && *from <= '7' && (n1 = n*8 + *from-'0') < 256) {
144 from++;
[all …]
/original-bsd/old/as.tahoe/
H A Dasscanl.h94 #define bskiplg(from, length) \ argument
95 from = (char *)((int)(from + sizeof(lgtype)-1)&~(sizeof(lgtype)-1)); \
96 *(lgtype *)from = length; \
97 (bytetoktype *)from += sizeof(lgtype) + length
99 #define bskipfromto(from, to) \ argument
100 from = (char *)((int)(from + sizeof(lgtype)-1)&~(sizeof(lgtype)-1)); \
101 *(lgtype *)from = (bytetoktype *)to - (bytetoktype *)from - sizeof(lgtype); \
102 (bytetoktype *)from += sizeof (lgtype) + (bytetoktype *)to - (bytetoktype *)from
104 #define eatskiplg(from) \ argument
105 from = (char *)((int)(from + sizeof(lgtype)-1)&~(sizeof(lgtype)-1)); \
[all …]
/original-bsd/sbin/XNSrouted/
H A Dinput.c39 rip_input(from, size)
40 struct sockaddr *from; variable
51 TRACE_INPUT(ifp, from, size);
52 if (from->sa_family >= AF_MAX)
54 afp = &afswitch[from->sa_family];
75 ifp = if_ifwithnet(from);
76 supply(from, 0, ifp);
101 ifp = if_ifwithnet(from);
115 (*afp->af_canon)(from);
117 if (ifp = if_ifwithaddr(from)) {
[all …]
/original-bsd/old/implogd/
H A Dimplogd.c48 struct sockstamp from; in main() local
59 from.sin_time = time((time_t *)NULL); in main()
60 from.sin_len = sizeof(time_t); in main()
61 (void)write(log, (char *)&from, sizeof(from)); in main()
85 for (fromlen = sizeof(from);;) { in main()
87 (struct sockaddr *)&from, &fromlen); in main()
94 from.sin_len = len; in main()
95 from.sin_time = time((time_t *)NULL); in main()
96 (void)write(log, (char *)&from, sizeof(from)); in main()
/original-bsd/contrib/bib/src/
H A Dmakekey.c24 { register char *from, *to, *stop; local
28 from= p; to= p; stop= max_klen+p;
29 while (*from != NULL && to < stop)
30 { if (islower(*from)) *to++ = *from++;
31 else if (isdigit(*from)) *to++ = *from++;
32 else if (isupper(*from)) { *to++ = tolower(*from); from++; }
33 else from++;
/original-bsd/bin/mv/
H A Dmv.c108 do_move(from, to) in do_move() argument
109 char *from, *to; in do_move()
140 if (!rename(from, to))
154 warn("%s", from);
158 fastcopy(from, to, &sb) : copy(from, to));
163 char *from, *to; in fastcopy()
172 warn("%s", from);
191 warn("%s", from);
216 if (unlink(from)) {
224 copy(from, to) in copy() argument
[all …]
/original-bsd/old/as.vax/
H A Dasscanl.h98 #define bskiplg(from, length) \ argument
99 *(lgtype *)from = length; \
100 (bytetoktype *)from += sizeof(lgtype) + length
102 #define bskipfromto(from, to) \ argument
103 *(lgtype *)from = (bytetoktype *)to - (bytetoktype *)from - sizeof(lgtype); \
104 (bytetoktype *)from += sizeof (lgtype) + (bytetoktype *)to - (bytetoktype *)from
106 #define eatskiplg(from) \ argument
107 (bytetoktype *)from += sizeof(lgtype) + *(lgtype *)from
/original-bsd/usr.bin/pascal/libpc/
H A Dblkcpy.c12 blkcpy(from, to, siz) in blkcpy() argument
13 register char *from; in blkcpy()
19 if (to < from)
21 *to++ = *from++;
24 from += size;
26 *--to = *--from;
/original-bsd/local/ditroff/ditroff.okeeffe/chem/
H A Dmorphine.p6 bond -60 from R1.V6 ; HO
8 bond 60 from R2.V2 ; N
9 bond right from N ; CH3
11 bond -120 from R3.V5 ; HO
13 bond -135 length .3 from R1.V5 ; O
14 bond -45 length .3 from R3.V6
16 bond up length .1 from N ; BP
17 B1: bond up length .35 from R1.V4
H A Deth.p5 bond left from R ; OH
6 bond -150 from R ; OCH3
7 bond right from R ; C
9 bond right from C ; N
11 bond 135 from N ; C2H5
/original-bsd/games/battlestar/
H A Dcom4.c14 take(from) in take() argument
15 unsigned int from[]; in take()
43 clearbit(from,value);
69 return(take(from));
74 return(take(from));
78 return(take(from));
84 return(take(from));
89 return(take(from));
117 return(take(from));
125 return(take(from));
[all …]
/original-bsd/usr.bin/ex/
H A Dbcopy.c12 bcopy(from, to, count) in bcopy() argument
14 char *from, *to; in bcopy()
21 lib$movc3(&count, from, to);
25 register char *from, *to;
29 *to++ = *from++;
/original-bsd/usr.sbin/timed/timed/
H A Dreadmsg.c38 struct sockaddr_in from; variable
100 from = ptr->addr;
119 print(&msgin, &from);
182 length = sizeof(from);
292 tail->addr = from;
317 print(&msgin, &from); in slaveack()
325 print(&msgin, &from); in slaveack()
345 print(&msgin, &from); in ignoreack()
353 print(&msgin, &from); in ignoreack()
380 print(&msgin, &from); in masterack()
[all …]
/original-bsd/usr.bin/f77/libU77/
H A Dfseek_.c32 long fseek_(lu, off, from) in fseek_() argument
33 long *lu, *off, *from; in fseek_()
37 if (*from < 0 || *from > 2)
41 if (fseek(units[*lu].ufd, *off, (int)*from) < 0)
H A Drename_.c30 rename_ (from, to, frlen, tolen) in rename_() argument
31 char *from, *to; in rename_()
37 if (frlen <= 0 || tolen <= 0 || *from == ' ' || *to == ' ')
41 g_char (from, frlen, frbuf);
43 if (rename (from, to) != 0)
/original-bsd/sys/vax/datakit/
H A Ddkctl.c362 dkfcanon(fmt, from, to) in dkfcanon() argument
371 tmp = (*from++)&0377;
388 *to++ = *from++;
394 return(from);
402 dktcanon(fmt, from, to) in dktcanon() argument
411 from = SALIGN(from);
413 from = SNEXT(from);
419 from = LALIGN(from);
428 from = LNEXT(from);
431 *to++ = *from++;
[all …]

12345678910>>...23