Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 25 of 54) sorted by relevance

123

/plan9/sys/src/9/ip/
H A Diproute.c654 sprintroute(Route *r, Routewalk *rw) in sprintroute() argument
667 p = seprint(rw->p, rw->e, rformat, addr, mask, gate, t, r->tag, iname); in sprintroute()
668 if(rw->o < 0){ in sprintroute()
669 n = p - rw->p; in sprintroute()
670 if(n > -rw->o){ in sprintroute()
671 memmove(rw->p, rw->p-rw->o, n+rw->o); in sprintroute()
672 rw->p = p + rw->o; in sprintroute()
674 rw->o += n; in sprintroute()
676 rw->p = p; in sprintroute()
683 rr(Route *r, Routewalk *rw) in rr() argument
[all …]
/plan9/sys/src/cmd/cwfs/
H A Dscsi.c100 doscsi(Target* tp, int rw, uchar* cmd, int cbytes, void* data, int* dbytes) in doscsi() argument
117 if (scsi(sc, cmd, cbytes, data, db, rw) >= 0) in doscsi()
135 scsiexec(Target* tp, int rw, uchar* cmd, int cbytes, void* data, int* dbytes) in scsiexec() argument
142 s = doscsi(tp, rw, cmd, cbytes, data, dbytes); in scsiexec()
379 scsiio(Device* d, int rw, uchar* cmd, int cbytes, void* data, int dbytes) in scsiio() argument
396 s = scsiexec(tp, rw, cmd, cbytes, data, &nbytes); in scsiio()
400 if(s == STblank && rw == SCSIread) { in scsiio()
/plan9/sys/src/ape/lib/ap/plan9/
H A Dbuf.prom271 byte rw;
307 :: !goteof[0] && !goteof[1] -> rw = (1<<0) | (1<<1)
308 :: !goteof[0] -> rw = (1<<0)
309 :: !goteof[1] -> rw = (1<<1)
311 selcall!rw;
312 selans?i,rw;
315 goteof[rw] = 1;
320 :: rw & (1<<0) -> fd = 0
321 :: rw & (1<<1) -> fd = 1
322 :: rw == 0 -> fd = EOF
/plan9/sys/src/cmd/vnc/
H A Drre.c375 int s, es, sx, esx, sy, syx, esyx, rh, rw, y, nr, dsy, dp; in encrre() local
384 rw = done[dp]; in encrre()
385 if(rw){ in encrre()
386 sx += rw; in encrre()
387 dp += rw; in encrre()
404 rw = esx - sx; in encrre()
409 esyx = sy + rw; in encrre()
418 rw = syx - sy; in encrre()
424 buf = (*putr)(buf, raw, sx, pixb, sx - s, y, rw, rh); in encrre()
431 esyx = dsy + rw; in encrre()
[all …]
/plan9/sys/src/9/pc/
H A Dpiix4smbus.c65 int rw; member
116 outb(s->base+Hostaddress, (addr<<1)|proto[type].rw); in transact()
119 if(proto[type].rw != Read){ in transact()
149 if(proto[type].rw == Read){ in transact()
/plan9/sys/src/cmd/gs/src/
H A Dgsiodevs.c49 gs_memory_t * mem, char rw, FILE *file, in stdio_open() argument
55 if (!streq1(access, rw)) in stdio_open()
H A Dgdevm1.c480 int x, rw, w, h; in mem_mono_strip_tile_rectangle() local
508 rw = tw; in mem_mono_strip_tile_rectangle()
522 outer:if (w > rw) in mem_mono_strip_tile_rectangle()
523 w = rw; in mem_mono_strip_tile_rectangle()
666 if ((rw -= w) > 0) { in mem_mono_strip_tile_rectangle()
H A Dgxipixel.c243 int rw = penum->rect.w, rh = penum->rect.h; in gx_image_enum_begin() local
245 x_extent.x = float2fixed(rw * mat.xx + mat.tx) - mtx; in gx_image_enum_begin()
248 float2fixed(rw * mat.xy + mat.ty) - mty); in gx_image_enum_begin()
/plan9/sys/src/9/bcm/
H A Dusbdwc.c455 multitrans(Ep *ep, Hostchan *hc, int rw, void *a, long n) in multitrans() argument
464 m = chanio(ep, hc, rw == Read? Epin : Epout, ep->toggle[rw], in multitrans()
466 ep->toggle[rw] = hc->hctsiz & Pid; in multitrans()
473 eptrans(Ep *ep, int rw, void *a, long n) in eptrans() argument
486 ep->toggle[rw] = hc->hctsiz & Pid; in eptrans()
493 if(rw == Read && ep->ttype == Tbulk) in eptrans()
494 n = multitrans(ep, hc, rw, a, n); in eptrans()
496 n = chanio(ep, hc, rw == Read? Epin : Epout, ep->toggle[rw], in eptrans()
498 ep->toggle[rw] = hc->hctsiz & Pid; in eptrans()
/plan9/sys/src/ape/cmd/pdksh/
H A Dtree.c491 register char **tw, **rw; local
508 rw = r->vars = (char **)
511 *rw++ = wdcopy(*tw++, ap);
512 *rw = NULL;
520 rw = r->args = (char **)
523 *rw++ = wdcopy(*tw++, ap);
524 *rw = NULL;
/plan9/sys/src/cmd/
H A Decp.c144 io_expl(File *fp, char *rw, Daddr sect) /* explain an i/o error */ in io_expl() argument
150 snprint(msg, sizeof msg, "%s %s", rw, sectid(fp, sect)); in io_expl()
324 char *rw = (rdwr == read? "read": "write"); in bigxfer() local
331 "`%r' on %s\n", argv0, rw, sectid(fp, stsect)); in bigxfer()
337 io_expl(fp, rw, stsect+i); in bigxfer()
352 "on retries!\n", argv0, rw, sectid(fp, stsect)); in bigxfer()
H A Dtar.c1082 int rw = (dir? OREAD: OWRITE); in openfname() local
1084 fd = create(fname, rw, mode); in openfname()
1087 fd = create(fname, rw, mode); in openfname()
/plan9/sys/src/cmd/cdfs/
H A Dmain.c210 char *type, *rw, *laysfx; in disctype() local
212 rw = laysfx = ""; in disctype()
235 rw = drive->mmctype == Mmcbd? "re": "rw"; in disctype()
237 rw = "r"; in disctype()
239 rw = "rom"; in disctype()
240 return smprint("%s%s%s", type, rw, laysfx); in disctype()
/plan9/sys/src/libframe/
H A Dfrinsert.c16 int w, c, nb, delta, nl, nr, rw; in bxscan() local
55 rw = runetochar(s, sp); in bxscan()
56 if(s+rw >= tmp+TMPSIZE) in bxscan()
60 s += rw; in bxscan()
/plan9/sys/src/libdraw/
H A Dfont.c13 int i, th, sh, h, ld, w, rw, wid, nc; in cachechars() local
28 for(i=0; i<max && (*sp || *rp); sp+=w, rp+=rw){ in cachechars()
37 rw = 0; in cachechars()
41 rw = 1; in cachechars()
/plan9/rc/bin/patch/
H A Dcreate68 @{builtin cd $d && xchmod ug+rw * && xchmod a+r *}
/plan9/sys/src/cmd/map/
H A Dmap.c116 void radbds(double *w, double *rw);
1060 radbds(double *w, double *rw) in radbds() argument
1064 rw[i] = w[i]*RAD; in radbds()
1065 rw[0] -= FUZZ; in radbds()
1066 rw[1] += FUZZ; in radbds()
1067 rw[2] -= FUZZ; in radbds()
1068 rw[3] += FUZZ; in radbds()
/plan9/sys/src/cmd/awk/
H A Dtran.c298 void funnyvar(Cell *vp, char *rw) in funnyvar() argument
301 FATAL("can't %s %s; it's an array name.", rw, vp->nval); in funnyvar()
303 FATAL("can't %s %s; it's a function.", rw, vp->nval); in funnyvar()
/plan9/sys/doc/net/
H A Dnet.ms198 --rw-rw-rw- t 0 bootes bootes 0 Jul 16 17:28 eia1
199 --rw-rw-rw- t 0 bootes bootes 0 Jul 16 17:28 eia1ctl
200 --rw-rw-rw- t 0 bootes bootes 0 Jul 16 17:28 eia2
201 --rw-rw-rw- t 0 bootes bootes 0 Jul 16 17:28 eia2ctl
331 --rw-rw---- I 0 ehg bootes 0 Jul 13 21:14 ctl
332 --rw-rw---- I 0 ehg bootes 0 Jul 13 21:14 data
333 --rw-rw---- I 0 ehg bootes 0 Jul 13 21:14 listen
/plan9/lib/font/bit/shinonome/
H A Dk12pb.300010 ���6����7�1�3F���`�g�1��;T0b6��c��ư|rw���`f�c�������ߏ��f3��������g�����m�3d��� …
/plan9/lib/font/bit/cuni/
H A Dcuni.12.1231d17 �J��O�����c�+ o:"on8+�&|�c��9#�R��F�c8�.D����rw����+�� � � ��t�� ��� }( …
/plan9/sys/src/cmd/acme/
H A Dxfid.c947 int i, rw, m, n, nr, nb; in xfidruneread() local
970 rw = chartorune(&junk, b+m); in xfidruneread()
971 if(m+rw > i) in xfidruneread()
973 m += rw; in xfidruneread()
/plan9/sys/doc/
H A D9.ms1265 --rw-rw-rw- t 0 bootes bootes 0 Feb 24 21:14 eia1
1266 --rw-rw-rw- t 0 bootes bootes 0 Feb 24 21:14 eia1ctl
1267 --rw-rw-rw- t 0 bootes bootes 0 Feb 24 21:14 eia2
1268 --rw-rw-rw- t 0 bootes bootes 0 Feb 24 21:14 eia2ctl
1512 --rw-rw-rw- I 0 bootes bootes 0 Feb 23 20:20 clone
1514 --rw-rw---- I 0 rob bootes 0 Feb 23 20:20 ctl
1515 --rw-rw---- I 0 rob bootes 0 Feb 23 20:20 data
1516 --rw-rw---- I 0 rob bootes 0 Feb 23 20:20 listen
/plan9/lib/font/bit/symbola/
H A Dsymbola.8.200013 �� ��rw �zm�{mx@2wxrxn��F��@��Ҝ���� 2 �A�;�
H A Dsymbola.24.1f0dd26 I�#pG ��q7&\�FNWԿ7<\��G��MzLo!����Mӏ��6\�����A&#�Z^��rw$%�c���

123