Lines Matching refs:BcProgram
439 struct BcProgram;
450 struct BcProgram *prog;
543 typedef struct BcProgram { struct
569 } BcProgram; argument
582 void bc_program_addFunc(BcProgram *p, BcFunc *f, char *name);
583 size_t bc_program_insertFunc(BcProgram *p, char *name);
584 BcStatus bc_program_reset(BcProgram *p, BcStatus s);
585 BcStatus bc_program_exec(BcProgram *p);
610 BcProgram prog;
3033 void bc_parse_init(BcParse *p, BcProgram *prog, size_t func) in bc_parse_init()
4471 static char *bc_program_str(BcProgram *p, size_t idx, int str) { in bc_program_str()
4516 static BcVec* bc_program_search(BcProgram *p, char *id, BcType type) { in bc_program_search()
4542 static BcStatus bc_program_num(BcProgram *p, BcResult *r, BcNum **num) { in bc_program_num()
4621 static BcStatus bc_program_operand(BcProgram *p, BcResult **r, in bc_program_operand()
4630 static BcStatus bc_program_binPrep(BcProgram *p, BcResult **l, BcNum **ln, in bc_program_binPrep()
4653 static BcStatus bc_program_binOpPrep(BcProgram *p, BcResult **l, BcNum **ln, in bc_program_binOpPrep()
4667 static BcStatus bc_program_assignPrep(BcProgram *p, BcResult **l, BcNum **ln, in bc_program_assignPrep()
4689 static void bc_program_binOpRetire(BcProgram *p, BcResult *r) { in bc_program_binOpRetire()
4696 static BcStatus bc_program_prep(BcProgram *p, BcResult **r, BcNum **n) { in bc_program_prep()
4706 static void bc_program_retire(BcProgram *p, BcResult *r, BcResultType t) { in bc_program_retire()
4712 static BcStatus bc_program_op(BcProgram *p, uchar inst) { in bc_program_op()
4734 static BcStatus bc_program_read(BcProgram *p) { in bc_program_read()
4817 static BcStatus bc_program_print(BcProgram *p, uchar inst, size_t idx) { in bc_program_print()
4878 static BcStatus bc_program_unary(BcProgram *p, uchar inst) { in bc_program_unary()
4894 static BcStatus bc_program_logical(BcProgram *p, uchar inst) { in bc_program_logical()
4961 static BcStatus bc_program_copyToVar(BcProgram *p, char *name, in bc_program_copyToVar()
5004 static BcStatus bc_program_assign(BcProgram *p, uchar inst) { in bc_program_assign()
5057 static BcStatus bc_program_pushVar(BcProgram *p, char *code, size_t *bgn) { in bc_program_pushVar()
5071 static BcStatus bc_program_pushArray(BcProgram *p, char *code, in bc_program_pushArray()
5108 static BcStatus bc_program_incdec(BcProgram *p, uchar inst) { in bc_program_incdec()
5137 static BcStatus bc_program_call(BcProgram *p, char *code, in bc_program_call()
5200 static BcStatus bc_program_return(BcProgram *p, uchar inst) { in bc_program_return()
5256 static BcStatus bc_program_builtin(BcProgram *p, uchar inst) { in bc_program_builtin()
5291 static void bc_program_pushGlobal(BcProgram *p, uchar inst) { in bc_program_pushGlobal()
5305 void bc_program_free(BcProgram *p) { in bc_program_free()
5317 void bc_program_init(BcProgram *p) { in bc_program_init()
5321 memset(p, 0, sizeof(BcProgram)); in bc_program_init()
5352 void bc_program_addFunc(BcProgram *p, BcFunc *f, char *name) { in bc_program_addFunc()
5357 size_t bc_program_insertFunc(BcProgram *p, char *name) { in bc_program_insertFunc()
5379 BcStatus bc_program_reset(BcProgram *p, BcStatus s) { in bc_program_reset()
5407 BcStatus bc_program_exec(BcProgram *p) { in bc_program_exec()
5666 BcProgram *prog = &BC_VM->prog; in bc_vm_clean()