Home
last modified time | relevance | path

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

/src/contrib/bc/include/
H A Dbc.h135 #define BC_PARSE_TOP_FLAG_PTR(p) ((uint16_t*) bc_vec_top(&(p)->flags))
287 #define BC_PARSE_TOP_OP(p) (*((BcLexType*) bc_vec_top(&(p)->ops)))
H A Dvector.h377 #define bc_vec_top(v) (bc_vec_item_rev((v), 0)) macro
H A Dprogram.h171 #define BC_PROG_GLOBAL_PTR(v) (bc_vec_top(v))
/src/contrib/bc/src/
H A Dprogram.c391 n = bc_vec_top(v); in bc_program_num()
863 BcResult* r = bc_vec_top(&p->results); in bc_program_rand()
1416 ptr = bc_vec_top(v); in bc_program_assignBuiltin()
1627 BcNum* num = bc_vec_top(v); in bc_program_pushVar()
1822 arg = bc_vec_top(&p->results); in bc_program_call()
1879 ip = bc_vec_top(&p->stack); in bc_program_return()
2560 n = bc_vec_top(bc_program_vec(p, idx, BC_TYPE_VAR)); in bc_program_execStr()
2643 size_t* call_ptr = bc_vec_top(&p->tail_calls); in bc_program_execStr()
3039 ip = bc_vec_top(&p->stack); in bc_program_reset()
3105 ip = bc_vec_top(&p->stack); in bc_program_exec()
[all …]
H A Drand.c499 BcRNGData* rng = bc_vec_top(&r->v); in bc_rand_int()
539 BcRNGData* rng = bc_vec_top(&r->v); in bc_rand_seed()
588 BcRNGData* rng = bc_vec_top(&r->v); in bc_rand_getRands()
H A Dbc_parse.c171 BcInstPtr* ip = bc_vec_top(&p->exits); in bc_parse_setLabel()
993 size_t* label = bc_vec_top(&p->conds); in bc_parse_endBody()
1356 else i = *((size_t*) bc_vec_top(&p->conds)); in bc_parse_loopExit()
2551 inst = *((uchar*) bc_vec_top(&p->func->code)); in bc_parse_expr_err()
2559 inst = *((uchar*) bc_vec_top(&p->func->code)); in bc_parse_expr_err()
H A Dlibrary.c273 return *((BclContext*) bc_vec_top(&vm->ctxts)); in bcl_contextHelper()
508 idx = *((BclNumber*) bc_vec_top(&ctxt->free_nums)); in bcl_num_insert()
1719 bc_rand_srand(bc_vec_top(&vm->rng.v)); in bcl_rand_reseed()
H A Dvector.c590 slab_ptr = bc_vec_top(v); in bc_slabvec_strdup()
H A Dvm.c115 siglongjmp(*((sigjmp_buf*) bc_vec_top(&vm->jmp_bufs)), 1);