| /plan9/sys/include/ |
| H A D | frame.h | 5 typedef struct Frame Frame; typedef 31 struct Frame struct 39 void (*scroll)(Frame*, int); /* scroll function provided by application */ argument 54 ulong frcharofpt(Frame*, Point); argument 55 Point frptofchar(Frame*, ulong); 56 int frdelete(Frame*, ulong, ulong); 57 void frinsert(Frame*, Rune*, Rune*, ulong); 58 void frselect(Frame*, Mousectl*); 59 void frselectpaint(Frame*, Point, Point, Image*); 60 void frdrawsel(Frame*, Point, ulong, ulong, int); [all …]
|
| /plan9/sys/src/libframe/ |
| H A D | frbox.c | 11 _fraddbox(Frame *f, int bn, int n) /* add n boxes after bn, shift the rest up, in _fraddbox() 26 _frclosebox(Frame *f, int n0, int n1) /* inclusive */ in _frclosebox() 39 _frdelbox(Frame *f, int n0, int n1) /* inclusive */ in _frdelbox() 48 _frfreebox(Frame *f, int n0, int n1) /* inclusive */ in _frfreebox() 63 _frgrowbox(Frame *f, int delta) in _frgrowbox() 73 dupbox(Frame *f, int bn) in dupbox() 106 truncatebox(Frame *f, Frbox *b, int n) /* drop last n chars; no allocation done */ in truncatebox() 117 chopbox(Frame *f, Frbox *b, int n) /* drop first n chars; no allocation done */ in chopbox() 130 _frsplitbox(Frame *f, int bn, int n) in _frsplitbox() 138 _frmergebox(Frame *f, int bn) /* merge bn and bn+1 */ in _frmergebox() [all …]
|
| H A D | frutil.c | 9 _frcanfit(Frame *f, Point pt, Frbox *b) in _frcanfit() 35 _frcklinewrap(Frame *f, Point *p, Frbox *b) in _frcklinewrap() 44 _frcklinewrap0(Frame *f, Point *p, Frbox *b) in _frcklinewrap0() 53 _fradvance(Frame *f, Point *p, Frbox *b) in _fradvance() 63 _frnewwid(Frame *f, Point pt, Frbox *b) in _frnewwid() 70 _frnewwid0(Frame *f, Point pt, Frbox *b) in _frnewwid0() 88 _frclean(Frame *f, Point pt, int n0, int n1) /* look for mergeable boxes */ in _frclean()
|
| H A D | frptofchar.c | 9 _frptofcharptb(Frame *f, ulong p, Point pt, int bn) in _frptofcharptb() 38 frptofchar(Frame *f, ulong p) in frptofchar() 44 _frptofcharnb(Frame *f, ulong p, int nb) /* doesn't do final _fradvance to next line */ in _frptofcharnb() 58 _frgrid(Frame *f, Point p) in _frgrid() 69 frcharofpt(Frame *f, Point pt) in frcharofpt()
|
| H A D | frdraw.c | 9 _frdrawtext(Frame *f, Point pt, Image *text, Image *back) in _frdrawtext() 37 frdrawsel(Frame *f, Point pt, ulong p0, ulong p1, int issel) in frdrawsel() 61 frdrawsel0(Frame *f, Point pt, ulong p0, ulong p1, Image *back, Image *text) in frdrawsel0() 122 frredraw(Frame *f) in frredraw() 144 frtick(Frame *f, Point pt, int ticked) in frtick() 164 _frdraw(Frame *f, Point pt) in _frdraw() 197 _frstrlen(Frame *f, int nb) in _frstrlen()
|
| H A D | frinit.c | 9 frinit(Frame *f, Rectangle r, Font *ft, Image *b, Image *cols[NCOL]) in frinit() 30 frinittick(Frame *f) in frinittick() 60 frsetrects(Frame *f, Rectangle r, Image *b) in frsetrects() 70 frclear(Frame *f, int freeall) in frclear()
|
| H A D | frstr.c | 12 _frallocstr(Frame *f, unsigned n) in _frallocstr() 23 _frinsure(Frame *f, int bn, unsigned n) in _frinsure()
|
| H A D | frinsert.c | 10 static Frame frame; 14 bxscan(Frame *f, Rune *sp, Rune *ep, Point *ppt) in bxscan() 79 chopframe(Frame *f, Point pt, ulong p, int bn) in chopframe() 99 frinsert(Frame *f, Rune *sp, Rune *ep, ulong p0) in frinsert()
|
| H A D | frselect.c | 20 frselect(Frame *f, Mousectl *mc) /* when called, button 1 is down */ in frselect() 107 frselectpaint(Frame *f, Point p0, Point p1, Image *col) in frselectpaint()
|
| H A D | frdelete.c | 9 frdelete(Frame *f, ulong p0, ulong p1) in frdelete()
|
| /plan9/sys/src/cmd/gs/src/ |
| H A D | gdevsun.c | 76 Frame frame; 235 if (xdev->frame == (Frame)0) in sun_open() 243 if (xdev->frame == (Frame)0) in sun_open() 426 destroy_func(Frame frame, Destroy_status status) in destroy_func() 438 xdev->frame = (Frame)0; in sun_close()
|
| /plan9/sys/src/cmd/abaco/ |
| H A D | text.c | 28 memmove(t->Frame.cols, cols, sizeof t->Frame.cols); in textinit() 37 frinit(t, r, f, b, t->Frame.cols); in textredraw() 305 framescroll(Frame *f, int dl) in framescroll() 307 if(f != &selecttext->Frame) in framescroll() 373 t->Frame.scroll = framescroll; in textselect() 378 t->Frame.scroll = nil; in textselect() 471 selrestore(Frame *f, Point pt0, uint p0, uint p1) in selrestore() 561 xselect(Frame *f, Mousectl *mc, Image *col, uint *p1p) /* when called, button is down */ in xselect()
|
| H A D | dat.h | 33 Frame;
|
| /plan9/sys/src/9/port/ |
| H A D | devaoe.c | 187 } Frame; typedef 209 Frame *frames; 307 frameerror(Aoedev *d, Frame *f, char *s) in frameerror() 436 Frame *f, *e; in downdev() 448 allocfb(Frame *f) in allocfb() 504 hset(Aoedev *d, Frame *f, Aoehdr *h, int cmd) in hset() 543 resend(Aoedev *d, Frame *f) in resend() 614 Frame *f, *e; in aoesweepproc() 980 atarw(Aoedev *d, Frame *f) in atarw() 1096 static Frame* [all …]
|
| /plan9/sys/src/cmd/samterm/ |
| H A D | flayer.h | 15 Frame f;
|
| H A D | syms | 763 aggr Frame 789 Frame(addr) { 790 complex Frame addr; 825 Frame 0 f; 841 print("Frame f {\n"); 842 Frame(addr.f);
|
| H A D | flayer.c | 357 Frame *f; in flresize() 409 Frame *f; in flprepare()
|
| /plan9/sys/src/9/pc/ |
| H A D | devtv.c | 341 typedef struct Frame Frame; typedef 342 struct Frame { struct 364 Frame *frames; /* DMA program */ argument 1388 vactivate(Tv *tv, Frame *frames, int nframes) in vactivate() 1413 Frame *frames; in vstart() 1423 frames = (Frame *)malloc(nframes * sizeof(Frame)); in vstart() 1432 memset(frames, 0, nframes * sizeof(Frame)); in vstart() 1558 Frame *frame; in vgastart() 1560 frame = (Frame *)malloc(sizeof(Frame)); in vgastart()
|
| /plan9/sys/src/cmd/hoc/ |
| H A D | code.c | 20 typedef struct Frame { /* proc/func call stack frame */ struct 25 } Frame; typedef 27 Frame frame[NFRAME]; 28 Frame *fp; /* frame pointer */
|
| /plan9/sys/src/cmd/acme/ |
| H A D | text.c | 35 memmove(t->Frame.cols, cols, sizeof t->Frame.cols); in textinit() 45 frinit(t, r, f, b, t->Frame.cols); in textredraw() 845 framescroll(Frame *f, int dl) in framescroll() 847 if(f != &selecttext->Frame) in framescroll() 914 t->Frame.scroll = framescroll; in textselect() 919 t->Frame.scroll = nil; in textselect() 1024 selrestore(Frame *f, Point pt0, uint p0, uint p1) in selrestore() 1113 xselect(Frame *f, Mousectl *mc, Image *col, uint *p1p) /* when called, button is down */ in xselect()
|
| H A D | dat.h | 174 Frame;
|
| /plan9/sys/src/cmd/awk/ |
| H A D | run.c | 208 struct Frame { /* stack frame for awk function calls */ struct 217 struct Frame *frame = NULL; /* base of stack frames; dynamically allocated */ argument 219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ 235 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame)); in call() 269 frame = (struct Frame *) in call() 270 realloc((char *) frame, (nframe += 100) * sizeof(struct Frame)); in call()
|
| /plan9/sys/src/cmd/rio/ |
| H A D | wind.c | 581 q0 = w->org+frcharofpt(w, Pt(w->Frame.r.min.x, w->Frame.r.min.y+n*w->font->height)); in wkeyctl() 922 framescroll(Frame *f, int dl) in framescroll() 924 if(f != &selectwin->Frame) in framescroll() 947 q0 = w->org+frcharofpt(w, Pt(w->Frame.r.min.x, w->Frame.r.min.y+dl*w->font->height)); in wframescroll() 994 w->Frame.scroll = nil; in wselect()
|
| H A D | dat.h | 128 Frame;
|
| /plan9/acme/bin/source/acd/ |
| H A D | discid | 8 a CD's Table-of-Contents (TOC) in MSF (Minute Second Frame) form. The
|