Home
last modified time | relevance | path

Searched refs:w (Results 51 – 75 of 548) sorted by relevance

12345678910>>...22

/original-bsd/usr.bin/window/
H A Dlcmd1.c41 struct ww *w; variable
119 struct ww *w; local
150 struct ww *w; local
158 setselwin(w);
206 struct ww *w; variable
224 struct ww *w; local
356 vtowin(v, w) in vtowin() argument
358 struct ww *w;
362 if (w != 0)
363 return w;
[all …]
H A Dwwbox.c18 wwbox(w, r, c, nr, nc) in wwbox() argument
19 register struct ww *w; in wwbox()
28 wwframec(w, r, c, WWF_D|WWF_R);
30 wwframec(w, r, i, WWF_L|WWF_R);
31 wwframec(w, r, i, WWF_L|WWF_D);
33 wwframec(w, i, c1, WWF_U|WWF_D);
34 wwframec(w, i, c1, WWF_U|WWF_L);
36 wwframec(w, r1, i, WWF_R|WWF_L);
37 wwframec(w, r1, i, WWF_R|WWF_U);
39 wwframec(w, i, c, WWF_D|WWF_U);
H A Dwwadd.c25 register struct ww *w; local
33 for (w = w1->ww_forw; w != &wwhead; w = w->ww_forw)
34 w->ww_order++;
45 w = wwindex[smap[j]];
46 if (w1->ww_order > w->ww_order)
50 if (w != &wwnobody && w->ww_win[i][j] == 0)
51 w->ww_nvis[i]--;
H A Dwwredrawwin.c17 wwredrawwin1(w, row1, row2, offset) in wwredrawwin1() argument
18 register struct ww *w; in wwredrawwin1()
31 col = w->ww_i.l;
34 buf = w->ww_buf[row + offset];
35 win = w->ww_win[row];
37 for (; col < w->ww_i.r; col++)
38 if (*smap++ == w->ww_index &&
H A Dcmd3.c30 setlabel(w, label) in setlabel() argument
31 register struct ww *w; in setlabel()
34 if (w->ww_label != 0)
35 str_free(w->ww_label);
36 if ((w->ww_label = str_cpy(label)) == 0)
H A Dmloop.c31 register struct ww *w = wwcurwin; in mloop() local
41 if (!w->ww_ispty && w->ww_stopped) in mloop()
42 startwin(w); in mloop()
46 (void) write(w->ww_pty, wwibp++, 1); in mloop()
48 (void) write(w->ww_pty, wwibp, n); in mloop()
H A Derror.c27 register struct ww *w; local
42 if ((w = x->x_errwin) == 0) {
46 if ((w = x->x_errwin = openiwin(ERRLINES, buf)) == 0) {
52 if (more(w, 0) == 2) {
56 wwprintf(w, "line %d: ", x->x_lineno);
57 wwprintf(w, fmt, a, b, c, d, e, f, g, h);
58 wwputc('\n', w);
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A Dtextgen.c12 float xwith, ywith, h, w, x0, y0, x1, y1; in textgen() local
21 w = getfval("textwid"); in textgen()
30 w = ap->a_val.f; in textgen()
59 case EAST: xwith = -w / 2; break; in textgen()
60 case WEST: xwith = w / 2; break; in textgen()
71 curx += w / 2; in textgen()
73 curx -= w / 2; in textgen()
79 x0 = curx - w / 2; in textgen()
81 x1 = curx + w / 2; in textgen()
87 p->o_val[0] = w; in textgen()
[all …]
/original-bsd/usr.bin/finger/
H A Dlprint.c80 register WHERE *w; local
141 for (w = pn->whead, maxlen = -1; w != NULL; w = w->next)
145 for (w = pn->whead; w != NULL; w = w->next) {
146 switch (w->info) {
148 tp = localtime(&w->loginat);
152 t, tzn, w->tty);
169 if (*w->host) {
174 if (!w->writable)
178 if (w->loginat == 0) {
191 t, tzn, w->tty);
[all …]
/original-bsd/games/quiz/datfiles/
H A Dsov8 Hen[ry|] [III|3]:13:Ed[w[ard|]|] [I|1]
9 Ed[w[ard|]|] [I|1]:13-14|13|14:Ed[w[ard|]|] [II|2]
10 Ed[w[ard|]|] [II|2]:14:Ed[w[ard|]|] [III|3]
11 Ed[w[ard|]|] [III|3]:14:Rich[ard|] [II|2]
16 Hen[ry|] [VI|6]:15:Ed[w[ard|]|] [IV|4]
17 Ed[w[ard|]|] [IV|4]:15:Ed[w[ard|]|] [V|5]
18 Ed[w[ard|]|] [V|5]:15:Rich[ard|] [III|3]
21 Hen[ry|] [VIII|8]:16:Ed[w[ard|]|] [VI|6]
22 Ed[w[ard|]|] [VI|6]:16:Mary
38 Victoria:19:Ed[w[ard|]|] [VII|7]
[all …]
/original-bsd/usr.bin/struct/struct/
H A D3.branch.c30 VERT w; local
35 for (i = 1, w = head[v]; DEFINED(w); w = head[w], ++i)
38 if (ARC(v,0) == BRK(w) && (levbrk || i == 1))
44 else if (ARC(v,0) == NXT(w) && (levnxt || i == 1))
75 for (w = LCHILD(v,i); DEFINED(w); w = RSIB(w))
76 chkbranch(w,head);
H A D3.loop.c19 VERT w,newhd; local
24 for (w = LCHILD(v,i); DEFINED(w); w = RSIB(w))
25 fixhd(w,newhd,head);
37 VERT w,v; in cntarcs() local
44 w = ARC(v,i); in cntarcs()
45 if (!DEFINED(w)) continue; in cntarcs()
46 ++ARCCOUNT(w); in cntarcs()
130 #define FORMCASE(w) (DEFINED(w) && !DEFINED(RSIB(w)) && NTYPE(w) == IFVX && ARCCOUNT(w) == 1) argument
/original-bsd/games/worms/
H A Dworms.c257 for (n = number, w = &worm[0]; --n >= 0; w++) {
258 w->orientation = w->head = 0;
261 w->xpos = ip;
266 w->ypos = ip;
345 for (n = 0, w = &worm[0]; n < number; n++, w++) {
346 if ((x = w->xpos[h = w->head]) < 0) {
353 y = w->ypos[h];
356 if (w->xpos[w->head = h] >= 0) {
359 x1 = w->xpos[h];
360 y1 = w->ypos[h];
[all …]
/original-bsd/sys/vax/vax/
H A Din_cksum.c24 register u_short *w; /* on vax, known to be r9 */ local
33 w = mtod(m, u_short *);
41 sum += *(u_char *)w << 8;
42 w = (u_short *)((char *)w + 1);
56 if (((int)w&0x2) && mlen >= 2) {
57 sum += *w++;
106 sum += *(u_char *)w;
H A Dns_cksum.c26 register u_short *w; /* on vax, known to be r9 */ local
36 w = mtod(m, u_short *);
44 sum += *(u_char *)w << 8;
46 w = (u_short *)((char *)w + 1);
60 if (((int)w&0x2) && mlen >= 2) {
61 sum += *w++;
103 sum += *(u_char *)w;
/original-bsd/sys/deprecated/bbnnet/
H A Dnet.h53 struct work w; \
55 w.w_type = type; w.w_stype = stype; w.w_tcb = tp; \
56 w.w_dat = (char *)m; \
57 (void) action(&w); \
64 #define ipaddr(w,x,y,z) ((long)(((z)<<24)|((y)<<16)|((x)<<8)|(w))) argument
/original-bsd/contrib/libg++-2.3/libg++/src/
H A DCursesW.cc84 int result = wmove(w, y, x); in mvscanw()
90 result = wgetstr(w, buf); in mvscanw()
136 return waddstr(w, buf); in printw()
176 if (w == 0) in CursesWindow()
191 w = window; in CursesWindow()
214 w = subwin(root->w, l, c, by, bx); in CursesWindow()
215 if (w == 0) in CursesWindow()
236 if (p->w != 0) in kill_subwindows()
237 ::delwin(p->w); in kill_subwindows()
272 if (alloced && w != 0) in ~CursesWindow()
[all …]
/original-bsd/sys/deprecated/kdb/
H A Dkdb_format.c85 register POS w; local
95 w = shorten(wx);
97 wx = w = kdbdot;
101 w = btol(wx);
131 kdbprintf("%-8u",w); break;
138 kdbprintesc((int)byte(w));
140 kdbprintc((char)byte(w));
150 kdbprintf("%-8R", w); break;
168 kdbprintf("%-8x",w); break;
174 kdbprintf("%-8z",w); break;
[all …]
/original-bsd/lib/libmp/
H A Dgcd.c11 { MINT x,y,z,w; local
12 x.len=y.len=z.len=w.len=0;
16 { mdiv(&x,&y,&w,&z);
24 xfree(&w);
28 { MINT x, y, z, w, Anew, Aold; local
30 x.len = y.len = z.len = w.len = Aold.len = 0;
37 { mdiv(&x, &y, &w, &z);
39 mult(&w, &Anew, &Anew);
51 xfree(&w);
/original-bsd/old/sdb/
H A Daccess.c78 ADDR w; local
95 pmode, pid, adr, value, w, errno);
99 w = (w>>8)&LOBYTE | (w1<<8);
105 return(w);
107 w = 0; local
113 (rd ? read(file,&w,sizeof(w)) : write(file,&value,sizeof(w))) < 1)
115 return(w);
147 REG INT w; local
149 REG L_INT w;
152 w = get(n, space);
[all …]
/original-bsd/sys/deprecated/netpup/
H A Dpup_cksum.c19 register u_short *w; local
28 w = mtod(m, u_short *);
34 sum += *(u_char *)w << 8;
36 w = (u_short *)((char *)w + 1);
49 sum += *(u_char *)w;
/original-bsd/sys/hp300/dev/
H A Dmaskbits.h31 #define maskbits(x, w, startmask, endmask, nlw) \ argument
33 endmask = endtab[((x)+(w)) & 0x1f]; \
35 nlw = (((w) - (32 - ((x)&0x1f))) >> 5); \
37 nlw = (w) >> 5;
39 #define FASTGETBITS(psrc, x, w, dst) \ argument
41 : "=d" (dst) : "di" (x), "di" (w), "o" (*(char *)(psrc)))
43 #define FASTPUTBITS(src, x, w, pdst) \ argument
46 : "di" (x), "di" (w), "d" (src), "0" (*(char *) (pdst)))
/original-bsd/usr.sbin/sendmail/src/
H A Dqueue.c606 if (shouldqueue(w->w_pri, w->w_ctime))
626 if (w->w_host)
683 for (w = WorkQ; w != NULL; )
692 w = nw;
835 if ((!doall && shouldqueue(w->w_pri, w->w_ctime)) ||
916 w = (WORK *) xalloc(sizeof *w);
923 WorkQ = w;
930 for (w = WorkQ; w != NULL; w = w->w_next)
931 printf("%32s: pri=%ld\n", w->w_name, w->w_pri);
1649 for (w = WorkQ; w != NULL; w = w->w_next) in printqueue()
[all …]
/original-bsd/sbin/routed/
H A Dtables.c359 } w;
360 #define rtm w.w_rtm
362 memset(&w, 0, sizeof(w));
363 rtm.rtm_msglen = sizeof(w);
371 memmove(&w.w_dst, &ort->rtu_dst, sizeof(w.w_dst));
372 memmove(&w.w_gate, &ort->rtu_router, sizeof(w.w_gate));
373 w.w_dst.sin_family = AF_INET;
374 w.w_dst.sin_len = sizeof(w.w_dst);
375 w.w_gate.sa_family = AF_INET;
376 w.w_gate.sa_len = sizeof(w.w_gate);
[all …]
/original-bsd/sys/net/
H A Drtsock.c651 if (w->w_op == NET_RT_FLAGS && !(rt->rt_flags & w->w_arg))
665 if (w->w_where && w->w_tmem) {
694 if (w->w_arg && w->w_arg != ifp->if_index)
700 if (w->w_where && w->w_tmem) {
719 if (w->w_where && w->w_tmem) {
727 if (error = copyout(w->w_tmem, w->w_where, len))
749 struct walkarg w; local
756 Bzero(&w, sizeof(w));
759 w.w_needed = 0 - w.w_given;
779 if (w.w_tmem)
[all …]

12345678910>>...22