• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/bc/src/

Lines Matching refs:results

130 	bc_vec_push(&p->results, &res);
270 *r = bc_vec_item_rev(&p->results, idx);
288 if (BC_ERR(!BC_PROG_STACK(&p->results, idx + 2)))
293 assert(BC_PROG_STACK(&p->results, idx + 2));
353 if (BC_ERR(!BC_PROG_STACK(&p->results, idx + 1)))
358 assert(BC_PROG_STACK(&p->results, idx + 1));
374 bc_vec_push(&p->results, &res);
376 return bc_vec_top(&p->results);
476 ip.len = p->results.len;
505 BcResult *r = bc_vec_top(&p->results);
573 if (BC_ERR(!BC_PROG_STACK(&p->results, idx + 1)))
578 assert(BC_PROG_STACK(&p->results, idx + 1));
580 r = bc_vec_item_rev(&p->results, idx);
585 bc_vec_pop(&p->results);
614 if (BC_IS_BC || pop) bc_vec_pop(&p->results);
737 assert(BC_PROG_STACK(&p->results, 1 + !push));
741 bc_vec_npop(&p->results, 1 + !push);
757 if (BC_ERR(!BC_PROG_STACK(&p->results, 1)))
760 assert(BC_PROG_STACK(&p->results, 1));
769 ptr = bc_vec_top(&p->results);
832 bc_vec_pop(&p->results);
845 bc_vec_pop(&p->results);
870 bc_vec_npop(&p->results, 2);
940 bc_vec_npop(&p->results, 2);
941 bc_vec_push(&p->results, &res);
943 else bc_vec_npop(&p->results, 2);
976 bc_vec_push(&p->results, &r);
991 bc_vec_push(&p->results, &r);
1006 bc_vec_push(&p->results, &r);
1019 bc_vec_pop(&p->results);
1020 bc_vec_push(&p->results, &r);
1046 bc_vec_push(&p->results, &res);
1051 bc_vec_pop(&p->results);
1052 bc_vec_push(&p->results, &copy);
1084 ip.len = p->results.len - nparams;
1086 assert(BC_PROG_STACK(&p->results, nparams));
1095 arg = bc_vec_top(&p->results);
1141 size_t i, nops = p->results.len - ip->len;
1144 assert(BC_PROG_STACK(&p->results, ip->len + (inst == BC_INST_RET)));
1199 if (BC_ERR(!BC_PROG_STACK(&p->results, 1)))
1204 assert(BC_PROG_STACK(&p->results, 1));
1295 bc_vec_grow(&p->results, 2);
1323 if (BC_ERR(!BC_PROG_STACK(&p->results, 3))) bc_vm_err(BC_ERR_EXEC_STACK);
1325 assert(BC_PROG_STACK(&p->results, 3));
1351 bc_program_pushBigdig(p, (BcBigDig) p->results.len, BC_RESULT_TEMP);
1396 if (BC_ERR(!BC_PROG_STACK(&p->results, 1))) bc_vm_err(BC_ERR_EXEC_STACK);
1398 assert(BC_PROG_STACK(&p->results, 1));
1424 bc_vec_pop(&p->results);
1425 bc_vec_push(&p->results, &res);
1433 if (BC_ERR(!BC_PROG_STACK(&p->results, 1))) bc_vm_err(BC_ERR_EXEC_STACK);
1435 assert(BC_PROG_STACK(&p->results, 1));
1447 bc_vec_pop(&p->results);
1465 bc_vec_pop(&p->results);
1497 if (BC_ERR(!BC_PROG_STACK(&p->results, 1))) bc_vm_err(BC_ERR_EXEC_STACK);
1499 assert(BC_PROG_STACK(&p->results, 1));
1572 ip.len = p->results.len;
1575 bc_vec_pop(&p->results);
1595 bc_vec_pop(&p->results);
1603 for (idx = 0; idx < p->results.len; ++idx)
1705 bc_vec_free(&p->results);
1785 bc_vec_init(&p->results, sizeof(BcResult), bc_result_free);
1802 bc_vec_popAll(&p->results);
1856 bc_vec_pop(&p->results);
2028 bc_vec_push(&p->results, &r);
2045 bc_vec_push(&p->results, &r);
2110 if (BC_ERR(!BC_PROG_STACK(&p->results, 1)))
2115 assert(BC_PROG_STACK(&p->results, 1));
2117 bc_vec_pop(&p->results);
2166 bc_vec_popAll(&p->results);
2178 if (BC_ERR(!BC_PROG_STACK(&p->results, 1)))
2181 assert(BC_PROG_STACK(&p->results, 1));
2183 ptr = bc_vec_top(&p->results);
2188 bc_vec_push(&p->results, &r);
2199 if (BC_ERR(!BC_PROG_STACK(&p->results, 2)))
2202 assert(BC_PROG_STACK(&p->results, 2));
2204 ptr = bc_vec_item_rev(&p->results, 0);
2205 ptr2 = bc_vec_item_rev(&p->results, 1);