/ast/src/lib/libexpr/ |
H A D | expr.h | 116 struct Expr_s; typedef struct Expr_s Expr_t; typedef in typeref:struct:Expr_s 216 int (*castf)(Expr_t*, Exnode_t*, const char*, int, Exid_t*, int, Exdisc_t*); 218 int (*convertf)(Expr_t*, Exnode_t*, int, Exid_t*, int, Exdisc_t*); 221 Extype_t (*getf)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, void*, int, Exdisc_t*); 223 Extype_t (*reff)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, char*, int, Exdisc_t*); 225 int (*setf)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, void*, int, Extype_t, Exdisc_t*); 227 int (*matchf)(Expr_t*, Exnode_t*, const char*, Exnode_t*, const char*, void*, Exdisc_t*); 258 Expr_t* expr; /* exopen() state */ 271 extern Exnode_t* excast(Expr_t*, Exnode_t*, int, Exnode_t*, int); 274 extern Excc_t* exccopen(Expr_t*, Exccdisc_ [all...] |
H A D | exrewind.c | 31 exrewind(Expr_t* ex) 61 exstatement(Expr_t* ex)
|
H A D | exopen.c | 34 Expr_t* 37 register Expr_t* program; 41 if (!(program = newof(0, Expr_t, 1, 0)))
|
H A D | exexpr.c | 35 exexpr(Expr_t* ex, const char* name, Exid_t* sym, int type)
|
H A D | exlib.h | 74 Exnode_t* descriptor; /* Expr_t.file index */ \ 86 Exnode_t* descriptor; /* Expr_t.file index */ \ 98 Dtdisc_t symdisc; /* Expr_t.symbols discipline */ \ 101 Expr_t* program; /* previous program on stack */ \ 153 Expr_t* program; /* current program */
|
H A D | excontext.c | 36 excontext(Expr_t* p, char* buf, int n)
|
H A D | extoken.c | 41 trace(Expr_t* ex, int lev, char* op, int c) 200 extern int _extoken_(Expr_t*); 203 extoken(Expr_t* ex) 225 lex(register Expr_t* ex) 283 extoken(register Expr_t* ex)
|
H A D | exgram.h | 53 exnewnode(Expr_t* p, int op, int binary, int type, Exnode_t* left, Exnode_t* right) 73 exfreenode(Expr_t* p, register Exnode_t* x) 166 excast(Expr_t* p, register Exnode_t* x, register int type, register Exnode_t* xref, int arg) 243 exconvert(Expr_t* p, Extype_t v, int from, int to, char* buf, size_t size) 599 expush(Expr_t* p, const char* name, int line, const char* sp, Sfio_t* fp) 663 expop(register Expr_t* p) 704 excomp(register Expr_t* p, const char* name, int line, const char* sp, Sfio_t* fp) 743 exclose(register Expr_t* p, int all)
|
H A D | exeval.c | 33 static Extype_t eval(Expr_t*, Exnode_t*, void*); 76 getdyn(Expr_t* ex, register Exnode_t* expr, void* env, Exassoc_t** assoc) 115 Expr_t* expr; 296 print(Expr_t* ex, Exnode_t* expr, void* env, Sfio_t* sp) 402 scan(Expr_t* ex, Exnode_t* expr, void* env, Sfio_t* sp) 445 str_add(Expr_t* ex, register char* l, register char* r) 456 str_ior(Expr_t* ex, register char* l, register char* r) 475 str_and(Expr_t* ex, register char* l, register char* r) 490 str_xor(Expr_t* ex, register char* l, register char* r) 509 str_mod(Expr_t* e [all...] |
H A D | excc.c | 556 exccopen(Expr_t* expr, Exccdisc_t* disc) 638 exdump(Expr_t* expr, Exnode_t* node, Sfio_t* sp)
|
/ast/src/lib/libast/string/ |
H A D | strexpr.c | 56 } Expr_t; typedef in typeref:struct:__anon310 63 seterror(register Expr_t* ex, char* msg) 76 expr(register Expr_t* ex, register int precedence) 277 Expr_t ex;
|
/ast/src/cmd/tw/ |
H A D | tw.h | 189 Expr_t* program; /* compiled expressions */
|
H A D | expr.c | 201 getval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Exdisc_t* disc) 431 refval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, char* str, int elt, Exdisc_t* disc) 594 setval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Extype_t val, Exdisc_t* disc) 673 matchval(Expr_t* pgm, Exnode_t* xstr, const char* str, Exnode_t* xpat, const char* pat, void* env, Exdisc_t* disc) 683 convert(Expr_t* prog, register Exnode_t* x, int type, register Exid_t* xref, int arg, Exdisc_t* disc)
|