| /plan9/sys/src/cmd/acme/ |
| H A D | fns.h | 15 char* getarg(Text*, int, int, Rune**, int*); 16 char* getbytearg(Text*, int, int, char**); 17 void new(Text*, Text*, Text*, int, int, Rune*, int); 18 void undo(Text*, Text*, Text*, int, int, Rune*, int); 19 char* getname(Text*, Text*, Rune*, int, int); 33 void setcurtext(Text*, int); 37 Runestr dirname(Text*, Rune*, int); 51 void cut(Text*, Text*, Text*, int, int, Rune*, int); 52 void paste(Text*, Text*, Text*, int, int, Rune*, int); 53 void get(Text*, Text*, Text*, int, int, Rune*, int); [all …]
|
| H A D | edit.h | 57 int (*fn)(Text*, Cmd*); /* function to call with parse tree */ 80 int nl_cmd(Text*, Cmd*), a_cmd(Text*, Cmd*), b_cmd(Text*, Cmd*); 81 int c_cmd(Text*, Cmd*), d_cmd(Text*, Cmd*); 82 int B_cmd(Text*, Cmd*), D_cmd(Text*, Cmd*), e_cmd(Text*, Cmd*); 83 int f_cmd(Text*, Cmd*), g_cmd(Text*, Cmd*), i_cmd(Text*, Cmd*); 84 int k_cmd(Text*, Cmd*), m_cmd(Text*, Cmd*), n_cmd(Text*, Cmd*); 85 int p_cmd(Text*, Cmd*); 86 int s_cmd(Text*, Cmd*), u_cmd(Text*, Cmd*), w_cmd(Text*, Cmd*); 87 int x_cmd(Text*, Cmd*), X_cmd(Text*, Cmd*), pipe_cmd(Text*, Cmd*); 88 int eq_cmd(Text*, Cmd*); [all …]
|
| H A D | dat.h | 52 typedef struct Text Text; typedef 143 Text *curtext; /* most recently used associated text */ 144 Text **text; /* list of associated texts */ 148 File* fileaddtext(File*, Text*); 151 void filedeltext(File*, Text*); 171 struct Text struct 196 uint textbacknl(Text*, uint, uint); argument 197 uint textbsinsert(Text*, uint, Rune*, uint, int, int*); 198 int textbswidth(Text*, Rune); 199 int textclickmatch(Text*, int, int, int, uint*); [all …]
|
| H A D | exec.c | 32 void del(Text*, Text*, Text*, int, int, Rune*, int); 33 void delcol(Text*, Text*, Text*, int, int, Rune*, int); 34 void dump(Text*, Text*, Text*, int, int, Rune*, int); 35 void edit(Text*, Text*, Text*, int, int, Rune*, int); 36 void exit(Text*, Text*, Text*, int, int, Rune*, int); 37 void fontx(Text*, Text*, Text*, int, int, Rune*, int); 38 void get(Text*, Text*, Text*, int, int, Rune*, int); 39 void id(Text*, Text*, Text*, int, int, Rune*, int); 40 void incl(Text*, Text*, Text*, int, int, Rune*, int); 41 void indent(Text*, Text*, Text*, int, int, Rune*, int); [all …]
|
| H A D | text.c | 23 textinit(Text *t, File *f, Rectangle r, Reffont *rf, Image *cols[NCOL]) in textinit() 40 textredraw(Text *t, Rectangle r, Font *f, Image *b, int odx) in textredraw() 71 textresize(Text *t, Rectangle r) in textresize() 91 textclose(Text *t) in textclose() 126 textcolumnate(Text *t, Dirlist **dlp, int ndl) in textcolumnate() 181 textload(Text *t, uint q0, char *file, int setqid) in textload() 189 Text *u; in textload() 295 textbsinsert(Text *t, uint q0, Rune *r, uint n, int tofile, int *nrp) in textbsinsert() 340 textinsert(Text *t, uint q0, Rune *r, uint n, int tofile) in textinsert() 343 Text *u; in textinsert() [all …]
|
| H A D | ecmd.c | 22 extern Text* curtext; 36 void runpipe(Text*, int, Rune*, int, int); 62 cmdexec(Text *t, Cmd *cp) in cmdexec() 155 filelist(Text *t, Rune *r, int nr) in filelist() 169 a_cmd(Text *t, Cmd *cp) in a_cmd() 175 b_cmd(Text*, Cmd *cp) in b_cmd() argument 187 B_cmd(Text *t, Cmd *cp) in B_cmd() 212 c_cmd(Text *t, Cmd *cp) in c_cmd() 221 d_cmd(Text *t, Cmd*) in d_cmd() 231 D1(Text *t) in D1() [all …]
|
| H A D | look.c | 15 Window* openfile(Text*, Expand*); 20 look3(Text *t, uint q0, uint q1, int external) in look3() 23 Text *ct; in look3() 240 search(Text *ct, Rune *r, uint n) in search() 361 includename(Text *t, Rune *r, int n) in includename() 398 dirname(Text *t, Rune *r, int n) in dirname() 438 expandfile(Text *t, uint q0, uint q1, Expand *e) in expandfile() 552 expand(Text *t, uint q0, uint q1, Expand *e) in expand() 585 Text *t; in lookfile() 630 openfile(Text *t, Expand *e) in openfile() [all …]
|
| H A D | util.c | 123 Text *t; in errorwinforwin() 193 Text *t; in flushwarnings() 332 Text *t; in tgetc() 428 makenewwindow(Text *t) in makenewwindow() 432 Text *emptyb; in makenewwindow()
|
| H A D | addr.c | 52 number(Mntdir *md, Text *t, Range r, int line, int dir, int size, int *evalp) in number() 119 regexp(Mntdir *md, Text *t, Range lim, Range r, Rune *pat, int dir, int *foundp) in regexp() 150 address(Mntdir *md, Text *t, Range lim, Range ar, void *a, uint q0, uint q1, int (*getc)(void*, uin… in address()
|
| H A D | file.c | 40 fileaddtext(File *f, Text *t) in fileaddtext() 46 f->text = realloc(f->text, (f->ntext+1)*sizeof(Text*)); in fileaddtext() 53 filedeltext(File *f, Text *t) in filedeltext() 68 memmove(f->text+i, f->text+i+1, (f->ntext-i)*sizeof(Text*)); in filedeltext()
|
| H A D | scrl.c | 55 textscrdraw(Text *t) in textscrdraw() 107 textscroll(Text *t, int but) in textscroll()
|
| /plan9/sys/src/cmd/abaco/ |
| H A D | dat.h | 9 typedef struct Text Text; typedef 31 struct Text struct 47 uint textbacknl(Text*, uint, uint); argument 48 int textbswidth(Text*, Rune); 49 int textclickmatch(Text*, int, int, int, uint*); 50 void textclose(Text*); 51 void textdelete(Text*, uint, uint); 52 void textdoubleclick(Text*, uint*, uint*); 53 void textfill(Text*); 54 void textframescroll(Text*, int); [all …]
|
| H A D | exec.c | 15 void del(Text *, Text *, int, int, Rune *, int); 16 void delcol(Text *, Text *, int, int, Rune *, int); 17 void cut(Text *, Text *, int, int, Rune *, int); 18 void exit(Text *, Text *, int, int, Rune *, int); 19 void get(Text *, Text *, int, int, Rune *, int); 20 void go(Text *,Text *, int, int, Rune *, int); 21 void google(Text *,Text *, int, int, Rune *, int); 22 void new(Text*, Text *, int, int, Rune *, int); 23 void newcol(Text*, Text *, int, int, Rune *, int); 24 void paste(Text *, Text *, int, int, Rune *, int); [all …]
|
| H A D | fns.h | 23 void cut(Text *, Text *, int, int, Rune *, int); 24 void get(Text *, Text *, int, int, Rune *, int); 25 void paste(Text *, Text *, int, int, Rune *, int); 26 void execute(Text *, uint, uint, Text *); 27 void look3(Text *, uint, uint); 28 int search(Text *, Rune *, uint);
|
| H A D | text.c | 20 textinit(Text *t, Image *b, Rectangle r, Font *f, Image *cols[NCOL]) in textinit() 33 textredraw(Text *t, Rectangle r, Font *f, Image *b) in textredraw() 47 textresize(Text *t, Image *b, Rectangle r) in textresize() 67 textclose(Text *t) in textclose() 74 textinsert(Text *t, uint q0, Rune *r, uint n) in textinsert() 94 textfill(Text *t) in textfill() 128 textdelete(Text *t, uint q0, uint q1) in textdelete() 160 textbswidth(Text *t, Rune c) in textbswidth() 191 texttype(Text *t, Rune r) in texttype() 296 static Text *clicktext; [all …]
|
| H A D | wind.c | 308 Text * 324 Text * 327 Text *t; in wintype() 338 Text * 341 Text *t; in winmouse()
|
| /plan9/sys/src/cmd/samterm/ |
| H A D | samterm.h | 13 typedef struct Text Text; typedef 33 struct Text struct 59 extern Text **text; argument 70 extern Text cmd; 99 void startnewfile(int, Text*); 113 void cut(Text*, int, int, int); 114 void paste(Text*, int); 115 void snarf(Text*, int); 122 void startfile(Text*); 143 void menuins(int, uchar*, Text*, int, int); [all …]
|
| H A D | menu.c | 13 Text **text; /* pointer to Text associated with file */ 72 Text *t=(Text *)which->user1; in menu2hit() 128 Text *t; in menu3hit() 158 t=(Text *)l->user1; in menu3hit() 176 outTs(Twrite, ((Text *)l->user1)->tag); in menu3hit() 202 Text * 206 Text *t; in sweeptext() 208 if(getr(&r) && (t = malloc(sizeof(Text)))){ in sweeptext() 209 memset((void*)t, 0, sizeof(Text)); in sweeptext() 239 menuins(int n, uchar *s, Text *t, int m, int tg) in menuins() [all …]
|
| H A D | main.c | 14 Text cmd; 34 Text *t; in threadmain() 89 t=(Text *)which->user1; in threadmain() 128 Text *t; in current() 137 t = (Text *)nw->user1; in current() 148 Text *t=(Text *)l->user1; in closeup() 176 findl(Text *t) in findl() 188 Text *t=(Text *)l->user1; in duplicate() 246 snarf(Text *t, int w) in snarf() 257 cut(Text *t, int w, int save, int check) in cut() [all …]
|
| H A D | mesg.c | 81 Text * 96 Text *t; in inmesg() 120 t=(Text *)l; in inmesg() 122 while(((Text *)l)->nwin>0) in inmesg() 123 closeup(&((Text *)l)->l[((Text *)l)->front]); in inmesg() 132 i = which && ((Text *)which->user1)==&cmd && m!=cmd.tag; in inmesg() 173 menuins(0, (uchar *)"", (Text *)0, ' ', m); in inmesg() 321 startfile(Text *t) in startfile() 328 startnewfile(int type, Text *t) in startnewfile() 518 Text *t = whichtext(m); in hsetdot() [all …]
|
| H A D | syms | 893 aggr Text 904 Text(addr) { 905 complex Text addr; 942 complex Text cmd; 1015 complex Text cmd; 1019 complex Text threadmain:t; 1023 complex Text current:t; 1025 complex Text closeup:t; 1026 complex Text findl:t; 1030 complex Text duplicate:t; [all …]
|
| /plan9/sys/src/libcontrol/ |
| H A D | text.c | 11 typedef struct Text Text; typedef 13 struct Text struct 106 static void textshow(Text*); 107 static void texttogglei(Text*, int); 108 static int textline(Text*, Point); 109 static int texttoggle(Text*, Point); 114 Text *t; in textmouse() 117 t = (Text*)c; in textmouse() 182 Text *t; in textfree() 184 t = (Text*)c; in textfree() [all …]
|
| /plan9/sys/src/cmd/pic/ |
| H A D | textgen.c | 110 text = (Text *) grow((char *) text, "text", ntextlist += 200, sizeof(Text)); in savetext()
|
| H A D | main.c | 18 Text *text = 0; /* text strings stored here as collected */ 73 text = (Text *) grow((char *)text, "text", ntextlist += 1000, sizeof(Text)); in main()
|
| H A D | pic.h | 108 } Text; typedef 143 extern Text *text;
|