Home
last modified time | relevance | path

Searched refs:BC_STATUS_QUIT (Results 1 – 6 of 6) sorted by relevance

/external/bc/src/
Dread.c143 if (vm.status == (sig_atomic_t) BC_STATUS_QUIT) { in bc_read_chars()
145 return BC_STATUS_QUIT; in bc_read_chars()
Dvm.c101 if (vm.status == (sig_atomic_t) BC_STATUS_QUIT || vm.sig) {
102 if (!BC_TTY || sig != SIGINT) vm.status = BC_STATUS_QUIT;
116 else vm.status = BC_STATUS_QUIT;
526 bool good = ((vm.status && vm.status != BC_STATUS_QUIT) || vm.sig);
739 vm.status = vm.status == BC_STATUS_QUIT || !BC_I ?
743 vm.status == BC_STATUS_QUIT || !BC_I ?
Dbc_parse.c1116 vm.status = BC_STATUS_QUIT; in bc_parse_stmt()
1164 if (BC_ERR(((vm.status && vm.status != BC_STATUS_QUIT) || vm.sig))) in bc_parse_parse()
Dprogram.c1475 vm.status = BC_STATUS_QUIT; in bc_program_nquit()
1901 vm.status = BC_STATUS_QUIT; in bc_program_exec()
/external/bc/include/
Dstatus.h69 BC_STATUS_QUIT, enumerator
/external/toybox/toys/pending/
Dbc.c57 BC_STATUS_QUIT, enumerator
4134 s = BC_STATUS_QUIT; in bc_parse_stmt()
4178 if ((s && s != BC_STATUS_QUIT) || TT.sig) s = bc_parse_reset(p, s); in bc_parse_parse()
5392 (!s && TT.sig == SIGINT && FLAG(i))) return BC_STATUS_QUIT; in bc_program_reset()
5401 else s = BC_STATUS_QUIT; in bc_program_reset()
5458 s = BC_STATUS_QUIT; in bc_program_exec()
5587 if ((s && s != BC_STATUS_QUIT) || TT.sig) s = bc_program_reset(p, s); in bc_program_exec()
5709 return s == BC_STATUS_QUIT || !FLAG(i) || !is_stdin ? s : BC_STATUS_SUCCESS; in bc_vm_process()