Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 50) sorted by relevance

12

/plan9/sys/include/
H A Dmach.h117 typedef struct Map Map; typedef
126 struct Map { struct
203 typedef uvlong (*Rgetter)(Map*, char*);
204 typedef void (*Tracer)(Map*, uvlong, uvlong, Symbol*);
213 int (*ctrace)(Map*, uvlong, uvlong, uvlong, Tracer); /* C traceback */
214 uvlong (*findframe)(Map*, uvlong, uvlong, uvlong, uvlong);/* frame finder */
215 char* (*excep)(Map*, Rgetter); /* last exception */
219 int (*foll)(Map*, uvlong, Rgetter, uvlong*);/* follow set */
220 int (*das)(Map*, uvlong, char, char*, int); /* symbolic disassembly */
221 int (*hexinst)(Map*, uvlong, char*, int); /* hex disassembly */
[all …]
H A Dhtml.h107 typedef struct Map Map; typedef
222 Map* map; /* if non-nil, client side map */
492 struct Map struct
494 Map* next; /* next in list of document's maps */ argument
607 Map* maps; /* list of maps */
/plan9/sys/src/cmd/db/
H A Dfns.h8 void cmdmap(Map*);
9 void cmdsrc(int, Map*);
10 void cmdwrite(int, Map*);
18 Map* dumbmap(int);
25 char* exform(int, int, char*, Map*, int, int);
49 void printmap(char*, Map*);
67 uvlong rget(Map*, char*);
69 void rput(Map*, char*, vlong);
74 void scanform(long, int, char*, Map*, int);
H A Dsetup.c11 Map *symmap;
12 Map *cormap;
13 Map *dotmap;
76 Map *
79 Map *dumb; in dumbmap()
98 cmdmap(Map *map) in cmdmap()
H A Dregs.c23 getreg(Map *map, Reglist *rp) in getreg()
60 rget(Map *map, char *name) in rget()
71 rput(Map *map, char *name, vlong v) in rput()
H A Dprint.c17 static void printfp(Map*, int);
23 ptrace(Map *map, uvlong pc, uvlong sp, Symbol *sym) in ptrace()
206 printfp(Map *map, int modif) in printfp()
253 printmap(char *s, Map *map) in printmap()
H A Dcommand.c136 Map *map; in acommand()
187 cmdsrc(int c, Map *map) in cmdsrc()
224 cmdwrite(int wcom, Map *map) in cmdwrite()
/plan9/sys/src/libmach/
H A Daccess.c10 static int mget(Map*, uvlong, void*, int);
11 static int mput(Map*, uvlong, void*, int);
12 static struct segment* reloc(Map*, uvlong, vlong*);
18 geta(Map *map, uvlong addr, uvlong *x) in geta()
38 get8(Map *map, uvlong addr, uvlong *x) in get8()
56 get4(Map *map, uvlong addr, ulong *x) in get4()
74 get2(Map *map, uvlong addr, ushort *x) in get2()
92 get1(Map *map, uvlong addr, uchar *x, int size) in get1()
113 puta(Map *map, uvlong addr, uvlong v) in puta()
122 put8(Map *map, uvlong addr, uvlong v) in put8()
[all …]
H A Dmap.c9 Map *
10 newmap(Map *map, int n) in newmap()
14 size = sizeof(Map)+(n-1)*sizeof(struct segment); in newmap()
29 setmap(Map *map, int fd, uvlong b, uvlong e, vlong f, char *name) in setmap()
80 Map*
85 Map *map; in attachproc()
133 findseg(Map *map, char *name) in findseg()
146 unusemap(Map *map, int i) in unusemap()
152 Map*
153 loadmap(Map *map, int fd, Fhdr *fp) in loadmap()
H A D5db.c19 Map *map;
42 uvlong (*foll)(Map*, Rgetter, Instr*, uvlong);
53 static char *armexcep(Map*, Rgetter);
54 static int armfoll(Map*, uvlong, Rgetter, uvlong*);
55 static int arminst(Map*, uvlong, char, char*, int);
56 static int armdas(Map*, uvlong, char*, int);
57 static int arminstlen(Map*, uvlong);
83 armexcep(Map *map, Rgetter rget) in armexcep()
297 decode(Map *map, uvlong pc, Instr *i) in decode()
592 armcondpass(Map *map, Rgetter rget, uchar cond) in armcondpass()
[all …]
H A Dalphadb.c9 static char *alphaexcep(Map*, Rgetter);
10 static int alphafoll(Map*, uvlong, Rgetter, uvlong*);
11 static int alphainst(Map*, uvlong, char, char*, int);
12 static int alphadas(Map*, uvlong, char*, int);
13 static int alphainstlen(Map*, uvlong);
46 alphaexcep(Map *map, Rgetter rget) in alphaexcep()
109 static Map *mymap;
809 printins(Map *map, uvlong pc, char *buf, int n) in printins()
860 alphainst(Map *map, uvlong pc, char modifier, char *buf, int n) in alphainst()
867 alphadas(Map *map, uvlong pc, char *buf, int n) in alphadas()
[all …]
H A D8db.c11 static char *i386excep(Map*, Rgetter);
13 static int i386trace(Map*, uvlong, uvlong, uvlong, Tracer);
14 static uvlong i386frame(Map*, uvlong, uvlong, uvlong, uvlong);
15 static int i386foll(Map*, uvlong, Rgetter, uvlong*);
16 static int i386inst(Map*, uvlong, char, char*, int);
17 static int i386das(Map*, uvlong, char*, int);
18 static int i386instlen(Map*, uvlong);
74 i386excep(Map *map, Rgetter rget) in i386excep()
95 i386trace(Map *map, uvlong pc, uvlong sp, uvlong link, Tracer trace) in i386trace()
134 i386frame(Map *map, uvlong addr, uvlong pc, uvlong sp, uvlong link) in i386frame()
[all …]
H A Dvdb.c9 static char *mipsexcep(Map*, Rgetter);
10 static int mipsfoll(Map*, uvlong, Rgetter, uvlong*);
11 static int mipsinst(Map*, uvlong, char, char*, int);
12 static int mipsdas(Map*, uvlong, char*, int);
13 static int mipsinstlen(Map*, uvlong);
133 mipsexcep(Map *map, Rgetter rget) in mipsexcep()
170 static Map *mymap;
1029 printins(Map *map, uvlong pc, char *buf, int n) in printins()
1082 extern int _mipscoinst(Map *, uvlong, char*, int);
1086 mipsinst(Map *map, uvlong pc, char modifier, char *buf, int n) in mipsinst()
[all …]
H A Dmachdata.c20 localaddr(Map *map, char *fn, char *var, uvlong *r, Rgetter rget) in localaddr()
104 fpformat(Map *map, Reglist *rp, char *buf, int n, int modif) in fpformat()
334 cisctrace(Map *map, uvlong pc, uvlong sp, uvlong link, Tracer trace) in cisctrace()
366 risctrace(Map *map, uvlong pc, uvlong sp, uvlong link, Tracer trace) in risctrace()
402 ciscframe(Map *map, uvlong addr, uvlong pc, uvlong sp, uvlong link) in ciscframe()
424 riscframe(Map *map, uvlong addr, uvlong pc, uvlong sp, uvlong link) in riscframe()
H A Dkdb.c10 static char *sparcexcep(Map*, Rgetter);
11 static int sparcfoll(Map*, uvlong, Rgetter, uvlong*);
12 static int sparcinst(Map*, uvlong, char, char*, int);
13 static int sparcdas(Map*, uvlong, char*, int);
14 static int sparcinstlen(Map*, uvlong);
78 sparcexcep(Map *map, Rgetter rget) in sparcexcep()
126 static Map *mymap; /* disassembler context */
377 printins(Map *map, uvlong pc, char *buf, int n) in printins()
430 sparcinst(Map *map, uvlong pc, char modifier, char *buf, int n) in sparcinst()
448 sparcdas(Map *map, uvlong pc, char *buf, int n) in sparcdas()
[all …]
H A Dsparc64db.c10 static char *sparc64excep(Map*, Rgetter);
11 static int sparc64foll(Map*, uvlong, Rgetter, uvlong*);
12 static int sparc64inst(Map*, uvlong, char, char*, int);
13 static int sparc64das(Map*, uvlong, char*, int);
14 static int sparc64instlen(Map*, uvlong);
106 sparc64excep(Map *map, Rgetter rget) in sparc64excep()
153 static Map *mymap; /* disassembler context */
404 printins(Map *map, uvlong pc, char *buf, int n) in printins()
457 sparc64inst(Map *map, uvlong pc, char modifier, char *buf, int n) in sparc64inst()
475 sparc64das(Map *map, uvlong pc, char *buf, int n) in sparc64das()
[all …]
/plan9/sys/src/cmd/wikifs/
H A Dwiki.h1 typedef struct Map Map; typedef
71 struct Map { struct
110 void closemap(Map*);
113 extern Map *map;
/plan9/sys/src/9/pcboot/
H A Dmemory.c28 typedef struct Map Map; typedef
29 struct Map { struct
37 Map* map; argument
38 Map* mapend;
46 static Map mapupa[16];
53 static Map mapram[16];
60 static Map mapumb[64];
67 static Map mapumbrw[16];
79 Map *mp; in mapprint()
107 Map *mp; in mapfree()
[all …]
/plan9/sys/src/cmd/postscript/download/
H A Ddownload.h11 } Map; typedef
13 Map *allocate();
H A Ddownload.c74 Map *map = NULL; /* device font map table */
472 Map *
473 allocate(Map *ptr, int num) in allocate()
476 ptr = (Map *)malloc(num * sizeof(Map)); in allocate()
478 ptr = (Map *)realloc(ptr, num * sizeof(Map)); in allocate()
/plan9/sys/src/cmd/acid/
H A Dacid.h42 Extern Map* cormap;
43 Extern Map* symmap;
199 void indir(Map*, uvlong, char, Node*);
226 uvlong rget(Map*, char*);
235 void trlist(Map*, uvlong, uvlong, Symbol*);
242 void windir(Map*, Node*, Node*, Node*);
H A Dlist.c195 listlocals(Map *map, Symbol *fn, uvlong fp) in listlocals()
221 listparams(Map *map, Symbol *fn, uvlong fp) in listparams()
245 trlist(Map *map, uvlong pc, uvlong sp, Symbol *sym) in trlist()
/plan9/sys/src/cmd/venti/srv/
H A Dhproc.c17 Map *map;
58 unmap(Map *m) in unmap()
68 static Map*
73 Map *m; in map()
157 printmap(char *s, Map *map) in printmap()
173 printlocals(Map *map, Symbol *fn, uintptr fp) in printlocals()
193 printparams(Map *map, Symbol *fn, uintptr fp) in printparams()
228 ptrace(Map *map, uvlong pc, uvlong sp, Symbol *sym) in ptrace()
246 stacktracepcsp(Map *m, uintptr pc, uintptr sp) in stacktracepcsp()
268 stacktrace(Map *m) in stacktrace()
[all …]
/plan9/sys/src/9/pc/
H A Dmemory.c31 typedef struct Map Map; typedef
32 struct Map { struct
40 Map* map; argument
41 Map* mapend;
49 static Map mapupa[16];
56 static Map mapram[16];
63 static Map mapumb[64];
70 static Map mapumbrw[16];
80 Map *mp; in mapprint()
108 Map *mp; in mapfree()
[all …]
/plan9/sys/src/cmd/cwfs/
H A Dportdat.h572 typedef struct Map Map; typedef
573 struct Map { struct
578 Map *next; argument
772 extern Map *devmap;

12