Searched refs:bin_last (Results 1 – 3 of 3) sorted by relevance
/external/bc/src/ |
D | bc_parse.c | 1177 bool pfirst, rprn, done, get_token, assign, bin_last, incdec, can_assign; in bc_parse_expr_err() local 1184 bin_last = true; in bc_parse_expr_err() 1201 rprn = get_token = bin_last = false; in bc_parse_expr_err() 1210 if (BC_ERR(!BC_PARSE_LEAF(prev, bin_last, rprn))) in bc_parse_expr_err() 1225 bc_parse_minus(p, &prev, ops_bgn, rprn, bin_last, &nexprs); in bc_parse_expr_err() 1227 bin_last = (prev == BC_INST_MINUS); in bc_parse_expr_err() 1228 if (bin_last) incdec = false; in bc_parse_expr_err() 1273 if (BC_ERR(!bin_last && !BC_PARSE_OP_PREFIX(p->l.last))) in bc_parse_expr_err() 1276 else if (BC_ERR(BC_PARSE_PREV_PREFIX(prev) || bin_last)) in bc_parse_expr_err() 1284 bin_last = !BC_PARSE_OP_PREFIX(t); in bc_parse_expr_err() [all …]
|
/external/bc/include/ |
D | bc.h | 130 #define BC_PARSE_LEAF(prev, bin_last, rparen) \ argument 131 (!(bin_last) && ((rparen) || bc_parse_inst_isLeaf(prev)))
|
/external/toybox/toys/pending/ |
D | bc.c | 521 #define BC_PARSE_LEAF(prev, bin_last, rparen) \ argument 522 (!(bin_last) && ((rparen) || bc_parse_inst_isLeaf(prev))) 3428 int rparen, int bin_last, size_t *nexprs) in bc_parse_minus() argument 3436 type = BC_PARSE_LEAF(*prev, bin_last, rparen) ? BC_LEX_OP_MINUS : BC_LEX_NEG; in bc_parse_minus() 4189 int pfirst, rprn, done, get_token, assign, bin_last, incdec; in bc_parse_expr_err() local 4195 bin_last = 1; in bc_parse_expr_err() 4211 rprn = get_token = bin_last = 0; in bc_parse_expr_err() 4218 s = bc_parse_minus(p, &prev, ops_bgn, rprn, bin_last, &nexprs); in bc_parse_expr_err() 4220 bin_last = (prev == BC_INST_MINUS); in bc_parse_expr_err() 4221 if (bin_last) incdec = 0; in bc_parse_expr_err() [all …]
|