Home
last modified time | relevance | path

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

/external/bc/include/
Dvm.h239 #define BC_IS_BC (vm->name[0] != 'd') macro
245 #define BC_VM_READ_PROMPT (BC_IS_BC ? "read> " : "?> ")
248 #define BC_VM_LINE_LENGTH_STR (BC_IS_BC ? "BC_LINE_LENGTH" : "DC_LINE_LENGTH")
251 #define BC_VM_ENV_ARGS_STR (BC_IS_BC ? "BC_ENV_ARGS" : "DC_ENV_ARGS")
254 #define BC_VM_EXPR_EXIT_STR (BC_IS_BC ? "BC_EXPR_EXIT" : "DC_EXPR_EXIT")
258 (BC_IS_BC ? BC_DEFAULT_EXPR_EXIT : DC_DEFAULT_EXPR_EXIT)
261 #define BC_VM_DIGIT_CLAMP_STR (BC_IS_BC ? "BC_DIGIT_CLAMP" : "DC_DIGIT_CLAMP")
265 (BC_IS_BC ? BC_DEFAULT_DIGIT_CLAMP : DC_DEFAULT_DIGIT_CLAMP)
268 #define BC_VM_TTY_MODE_STR (BC_IS_BC ? "BC_TTY_MODE" : "DC_TTY_MODE")
272 (BC_IS_BC ? BC_DEFAULT_TTY_MODE : DC_DEFAULT_TTY_MODE)
[all …]
Dlex.h80 #define BC_LEX_NEG_CHAR (BC_IS_BC ? '-' : '_')
81 #define BC_LEX_LAST_NUM_CHAR (BC_IS_BC ? 'Z' : 'F')
Dprogram.h229 #define BC_PROGRAM_POP(pop) (BC_IS_BC || (pop))
245 #define BC_PROGRAM_POP(pop) (BC_IS_BC)
/external/bc/src/
Dargs.c292 assert(BC_IS_BC); in bc_args()
299 assert(BC_IS_BC); in bc_args()
306 assert(BC_IS_BC); in bc_args()
319 assert(BC_IS_BC); in bc_args()
326 assert(BC_IS_BC); in bc_args()
Dparse.c208 if (BC_IS_BC) in bc_parse_reset()
235 if (BC_IS_BC) in bc_parse_free()
261 if (BC_IS_BC) in bc_parse_init()
Dlang.c105 if (BC_IS_BC) in bc_func_init()
128 if (BC_IS_BC) in bc_func_reset()
151 if (BC_IS_BC) in bc_func_free()
Dvm.c264 if (BC_IS_BC)
984 if (good && BC_IS_BC) good = !BC_PARSE_NO_EXEC(&vm->prs);
1012 if (BC_IS_BC)
1107 if (BC_IS_BC) bc_vm_endif();
1221 if (BC_IS_BC) bc_vm_endif();
1460 if (BC_IS_BC && (vm->flags & BC_FLAG_L))
1622 if (BC_IS_BC)
1707 if (BC_IS_BC && BC_I && (vm->flags & BC_FLAG_Q))
1764 if (BC_IS_BC && !BC_IS_POSIX)
Dopt.c170 (type == BC_OPT_DC_ONLY && BC_IS_BC)) in bc_opt_parseShort()
344 (longopts[i].type == BC_OPT_DC_ONLY && BC_IS_BC)) in bc_opt_parse()
Dmain.c108 if (BC_IS_BC) bc_main(argc, argv); in main()
Dprogram.c384 if (BC_IS_BC) in bc_program_num()
562 min = BC_RESULT_TEMP - ((unsigned int) (BC_IS_BC)); in bc_program_assignPrep()
1002 if (BC_IS_BC) bc_num_copy(&p->last, n); in bc_program_print()
1230 if (BC_IS_BC) in bc_program_copyToVar()
1273 if (BC_IS_BC) in bc_program_copyToVar()
1983 if (!len && (inst != BC_INST_SCALE_FUNC || BC_IS_BC) && in bc_program_builtin()
2062 if (BC_IS_BC && v->size == sizeof(uchar)) in bc_program_builtin()
2092 else if (BC_IS_BC || BC_PROG_NUM(opd, num)) in bc_program_builtin()
2253 assert(BC_IS_BC || r->t != BC_RESULT_ARRAY); in bc_program_asciify()
2787 else if (BC_IS_BC) in bc_program_insertFunc()
[all …]
/external/bc/manuals/
Ddevelopment.md4546 if (BC_IS_BC) {