Home
last modified time | relevance | path

Searched refs:BC_IS_BC (Results 1 – 9 of 9) sorted by relevance

/external/bc/src/
Dargs.c159 assert(BC_IS_BC); in bc_args()
166 assert(BC_IS_BC); in bc_args()
173 assert(BC_IS_BC); in bc_args()
180 assert(BC_IS_BC); in bc_args()
187 assert(BC_IS_BC); in bc_args()
Dparse.c64 BcVec *strs = BC_IS_BC ? &p->func->strs : p->prog->strs; in bc_parse_addString()
69 if (BC_IS_BC) { in bc_parse_addString()
160 if (BC_IS_BC) { in bc_parse_reset()
180 if (BC_IS_BC) { in bc_parse_free()
203 if (BC_IS_BC) { in bc_parse_init()
Dvm.c255 if (BC_IS_BC && ip->func != BC_PROG_MAIN &&
531 if (good && BC_IS_BC) good = !BC_PARSE_NO_EXEC(&vm.prs);
553 if (BC_IS_BC) {
633 if (BC_IS_BC) bc_vm_endif();
686 if (BC_IS_BC) string ^= (c == '"');
691 if (BC_IS_BC && !hash && !string && notend) {
727 else if (BC_IS_BC) bc_vm_endif();
831 if (BC_IS_BC && (vm.flags & BC_FLAG_L)) {
890 if (BC_IS_BC || !has_file) bc_vm_stdin();
946 if (BC_IS_BC) {
[all …]
Dlang.c54 if (BC_IS_BC) free(*((char**) string)); in bc_string_free()
102 if (BC_IS_BC) { in bc_func_init()
127 if (BC_IS_BC) { in bc_func_reset()
155 if (BC_IS_BC) { in bc_func_free()
Dopt.c106 (type == BC_OPT_DC_ONLY && BC_IS_BC)) in bc_opt_parseShort()
218 (longopts[i].type == BC_OPT_DC_ONLY && BC_IS_BC)) in bc_opt_parse()
Dmain.c77 if (BC_IS_BC) bc_main(argc, argv); in main()
Dprogram.c55 if (BC_IS_BC) p->strs = &f->strs; in bc_program_setVecs()
325 min = BC_RESULT_TEMP - ((unsigned int) (BC_IS_BC)); in bc_program_assignPrep()
460 else s = bc_read_line(&buf, BC_IS_BC ? "read> " : "?> "); in bc_program_read()
596 if (BC_IS_BC) bc_num_copy(&p->last, n); in bc_program_print()
614 if (BC_IS_BC || pop) bc_vec_pop(&p->results); in bc_program_print()
767 if (BC_IS_BC) in bc_program_copyToVar()
1245 if (BC_IS_BC && opd->t == BC_RESULT_ARRAY) { in bc_program_builtin()
1275 else if (BC_IS_BC || BC_PROG_NUM(opd, num)) in bc_program_builtin()
1668 if (BC_IS_BC) { in bc_program_insertFunc()
1709 if (BC_IS_BC) bc_num_free(&p->last); in bc_program_free()
[all …]
/external/bc/include/
Dlex.h52 #define BC_LEX_NEG_CHAR (BC_IS_BC ? '-' : '_')
53 #define BC_LEX_LAST_NUM_CHAR (BC_IS_BC ? 'Z' : 'F')
Dvm.h147 #define BC_IS_BC (vm.name[0] != 'd') macro
150 #define BC_IS_BC (1) macro
156 #define BC_IS_BC (0) macro