Home
last modified time | relevance | path

Searched refs:bc_vec_top (Results 1 – 10 of 10) sorted by relevance

/external/bc/src/
Dprogram.c215 v = bc_vec_top(v); in bc_program_num()
231 else n = bc_vec_top(v); in bc_program_num()
376 return bc_vec_top(&p->results); in bc_program_prepResult()
505 BcResult *r = bc_vec_top(&p->results); in bc_program_rand()
769 ptr = bc_vec_top(&p->results); in bc_program_copyToVar()
927 ptr = bc_vec_top(v); in bc_program_assign()
961 BcNum *num = bc_vec_top(v); in bc_program_pushVar()
1095 arg = bc_vec_top(&p->results); in bc_program_call()
1140 BcInstPtr *ip = bc_vec_top(&p->stack); in bc_program_return()
1519 n = bc_vec_top(bc_program_vec(p, idx, BC_TYPE_VAR)); in bc_program_execStr()
[all …]
Drand.c330 BcRNGData *rng = bc_vec_top(&r->v); in bc_rand_int()
353 BcRNGData *rng = bc_vec_top(&r->v); in bc_rand_seed()
387 BcRNGData *rng = bc_vec_top(&r->v); in bc_rand_getRands()
403 if (r->v.len > 0) bc_rand_copy(&rng, bc_vec_top(&r->v)); in bc_rand_push()
Dbc_parse.c101 BcInstPtr *ip = bc_vec_top(&p->exits); in bc_parse_setLabel()
552 size_t *label = bc_vec_top(&p->conds); in bc_parse_endBody()
767 else i = *((size_t*) bc_vec_top(&p->conds)); in bc_parse_loopExit()
1479 inst = *((uchar*) bc_vec_top(&p->func->code)); in bc_parse_expr_err()
1484 inst = *((uchar*) bc_vec_top(&p->func->code)); in bc_parse_expr_err()
Dlibrary.c127 return *((BclContext*) bc_vec_top(&vm.ctxts)); in bcl_context()
265 idx = *((BclNumber*) bc_vec_top(&ctxt->free_nums)); in bcl_num_insert()
1140 bc_rand_srand(bc_vec_top(&vm.rng.v)); in bcl_rand_reseed()
Dvm.c94 siglongjmp(*((sigjmp_buf*) bc_vec_top(&vm.jmp_bufs)), 1);
Dnum.c2084 BcNum *nptr = bc_vec_top(&vm.temps); in bc_num_init()
/external/bc/include/
Dbc.h77 #define BC_PARSE_TOP_FLAG_PTR(p) ((uint16_t*) bc_vec_top(&(p)->flags))
129 #define BC_PARSE_TOP_OP(p) (*((BcLexType*) bc_vec_top(&(p)->ops)))
Dvector.h95 #define bc_vec_top(v) (bc_vec_item_rev((v), 0)) macro
Dprogram.h112 #define BC_PROG_GLOBAL_PTR(v) (bc_vec_top(v))
/external/toybox/toys/pending/
Dbc.c140 #define bc_vec_top(v) (bc_vec_item_rev((v), 0)) macro
476 #define BC_PARSE_TOP_FLAG_PTR(p) ((uint16_t*) bc_vec_top(&(p)->flags))
520 #define BC_PARSE_TOP_OP(p) (*((BcLexType*) bc_vec_top(&(p)->ops)))
3095 BcInstPtr *ip = bc_vec_top(&p->exits); in bc_parse_setLabel()
3565 size_t *label = bc_vec_top(&p->conds); in bc_parse_endBody()
3803 else i = *((size_t*) bc_vec_top(&p->conds)); in bc_parse_loopExit()
4589 v = bc_vec_top(v); in bc_program_num()
4594 else *num = bc_vec_top(v); in bc_program_num()
4972 ptr = bc_vec_top(&p->results); in bc_program_copyToVar()
5164 arg = bc_vec_top(&p->results); in bc_program_call()
[all …]