Home
last modified time | relevance | path

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

/external/bc/src/
Dargs.c154 if (BC_ERR(!BC_IS_BC)) err = c; in bc_args()
161 if (BC_ERR(!BC_IS_BC)) err = c; in bc_args()
168 if (BC_ERR(!BC_IS_BC)) err = c; in bc_args()
175 if (BC_ERR(!BC_IS_BC)) err = c; in bc_args()
182 if (BC_ERR(!BC_IS_BC)) err = c; in bc_args()
198 if (BC_ERR(BC_IS_BC)) err = c; in bc_args()
224 if (vm->exprs.len > 1 || !BC_IS_BC) vm->flags |= BC_FLAG_Q; in bc_args()
Dvm.c151 if (BC_IS_BC && ip->func != BC_PROG_MAIN && in bc_vm_error()
321 if (BC_IS_BC) good = !BC_PARSE_NO_EXEC(&vm->prs); in bc_vm_clean()
325 if (!BC_IS_BC) { in bc_vm_clean()
365 if (BC_IS_BC) bc_vec_npop(&f->labels, f->labels.len); in bc_vm_clean()
372 if (!BC_IS_BC) bc_vec_npop(fns, fns->len - BC_PROG_REQ_FUNCS); in bc_vm_clean()
390 if (BC_IS_BC) { in bc_vm_process()
425 if (BC_IS_BC && BC_ERR(BC_PARSE_NO_EXEC(&vm->prs))) in bc_vm_file()
466 if (BC_IS_BC) string ^= (c == '"'); in bc_vm_stdin()
471 if (BC_IS_BC && !string && notend) { in bc_vm_stdin()
510 else if (BC_IS_BC && BC_ERR(BC_PARSE_NO_EXEC(&vm->prs))) in bc_vm_stdin()
[all …]
Dparse.c62 BcFunc *f = BC_IS_BC ? p->func : bc_vec_item(&p->prog->fns, BC_PROG_MAIN); in bc_parse_addId()
139 if (BC_IS_BC) { in bc_parse_reset()
155 if (BC_IS_BC) { in bc_parse_free()
176 if (BC_IS_BC) { in bc_parse_init()
Dlang.c100 if (BC_IS_BC) { in bc_func_init()
116 if (BC_IS_BC) { in bc_func_reset()
132 if (BC_IS_BC) { in bc_func_free()
Dprogram.c50 if (!BC_IS_BC && BC_ERR(!BC_PROG_STACK(v, n))) in bc_program_checkStack()
69 assert(!BC_IS_BC || BC_NO_ERR(r->t != BC_RESULT_STR)); in bc_program_type_match()
81 if (BC_IS_BC) { in bc_program_func()
364 if(!BC_IS_BC) good = (((*r)->t == BC_RESULT_STR || BC_PROG_STR(*rn)) && in bc_program_assignPrep()
447 s = bc_read_line(&buf, BC_IS_BC ? "read> " : "?> "); in bc_program_read()
477 if (!BC_IS_BC) { in bc_program_read()
503 if (!len && !BC_IS_BC) { in bc_program_printString()
567 if (BC_NO_ERR(!s) && BC_IS_BC) bc_num_copy(&p->last, n); in bc_program_print()
583 if (BC_NO_ERR(!s) && (BC_IS_BC || pop)) bc_vec_pop(&p->results); in bc_program_print()
737 if (!BC_IS_BC) s = bc_program_operand(p, &ptr, &n, 0); in bc_program_copyToVar()
[all …]
Dmain.c70 if (BC_IS_BC) s = bc_main(argc, argv); in main()
/external/bc/include/
Dlex.h49 #define BC_LEX_NEG_CHAR (BC_IS_BC ? '-' : '_')
50 #define BC_LEX_LAST_NUM_CHAR (BC_IS_BC ? 'Z' : 'F')
Dvm.h131 #define BC_IS_BC (BC_ENABLED && (!DC_ENABLED || vm->name[0] != 'd')) macro