Searched refs:BcProgram (Results 1 – 8 of 8) sorted by relevance
/external/bc/include/ |
D | program.h | 59 typedef struct BcProgram { struct 108 } BcProgram; argument 154 void bc_program_init(BcProgram *p); 155 void bc_program_free(BcProgram *p); 159 void bc_program_code(const BcProgram *p); 160 void bc_program_printInst(const BcProgram *p, const char *code, 162 void bc_program_printStackDebug(BcProgram* p); 166 size_t bc_program_search(BcProgram *p, const char* id, bool var); 167 size_t bc_program_insertFunc(BcProgram *p, const char *name); 168 void bc_program_reset(BcProgram *p); [all …]
|
D | parse.h | 79 struct BcProgram; 96 struct BcProgram *prog; 104 void bc_parse_init(BcParse *p, struct BcProgram *prog, size_t func);
|
D | lang.h | 299 struct BcProgram; 302 void bc_func_insert(BcFunc *f, struct BcProgram* p, char* name,
|
D | vm.h | 328 BcProgram prog;
|
/external/bc/src/ |
D | program.c | 51 static void bc_program_addFunc(BcProgram *p, BcFunc *f, BcId *id_ptr); 53 static inline void bc_program_setVecs(BcProgram *p, BcFunc *f) { in bc_program_setVecs() 93 static void bc_program_prepGlobals(BcProgram *p) { in bc_program_prepGlobals() 105 static void bc_program_popGlobals(BcProgram *p, bool reset) { in bc_program_popGlobals() 121 static void bc_program_pushBigdig(BcProgram *p, BcBigDig dig, BcResultType type) in bc_program_pushBigdig() 136 static BcVec* bc_program_dereference(const BcProgram *p, BcVec *vec) { in bc_program_dereference() 154 size_t bc_program_search(BcProgram *p, const char *id, bool var) { in bc_program_search() 175 static inline BcVec* bc_program_vec(const BcProgram *p, size_t idx, BcType type) in bc_program_vec() 181 static BcNum* bc_program_num(BcProgram *p, BcResult *r) { in bc_program_num() 267 static void bc_program_operand(BcProgram *p, BcResult **r, in bc_program_operand() [all …]
|
D | parse.c | 192 void bc_parse_init(BcParse *p, BcProgram *prog, size_t func) { in bc_parse_init()
|
D | lang.c | 66 void bc_func_insert(BcFunc *f, BcProgram *p, char *name, in bc_func_insert()
|
/external/toybox/toys/pending/ |
D | bc.c | 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() [all …]
|