Lines Matching refs:bgn
93 bc_program_index(const char* restrict code, size_t* restrict bgn) in bc_program_index() argument
95 uchar amt = (uchar) code[(*bgn)++], i = 0; in bc_program_index()
98 for (; i < amt; ++i, ++(*bgn)) in bc_program_index()
100 size_t temp = ((size_t) ((int) (uchar) code[*bgn]) & UCHAR_MAX); in bc_program_index()
641 bc_program_const(BcProgram* p, const char* code, size_t* bgn) in bc_program_const() argument
646 BcConst* c = bc_vec_item(&p->consts, bc_program_index(code, bgn)); in bc_program_const()
1593 size_t* restrict bgn, bool pop, bool copy) in bc_program_pushVar() argument
1596 size_t idx = bc_program_index(code, bgn); in bc_program_pushVar()
1669 size_t* restrict bgn, uchar inst) in bc_program_pushArray() argument
1678 r.d.loc.loc = bc_program_index(code, bgn); in bc_program_pushArray()
1773 bc_program_call(BcProgram* p, const char* restrict code, size_t* restrict bgn) in bc_program_call() argument
1783 nargs = bc_program_index(code, bgn); in bc_program_call()
1787 ip.func = bc_program_index(code, bgn); in bc_program_call()
2386 size_t* restrict bgn) in bc_program_regStackLen() argument
2388 size_t idx = bc_program_index(code, bgn); in bc_program_regStackLen()
2492 size_t* restrict bgn, bool cond, size_t len) in bc_program_execStr() argument
2522 then_idx = bc_program_index(code, bgn); in bc_program_execStr()
2523 else_idx = bc_program_index(code, bgn); in bc_program_execStr()
2620 if (p->stack.len > 1 && *bgn == len - 1 && code[*bgn] == BC_INST_POP_EXEC) in bc_program_execStr()
3753 bc_program_printIndex(const char* restrict code, size_t* restrict bgn) in bc_program_printIndex() argument
3755 uchar byte, i, bytes = (uchar) code[(*bgn)++]; in bc_program_printIndex()
3760 byte = (uchar) code[(*bgn)++]; in bc_program_printIndex()
3769 size_t* restrict bgn) in bc_program_printStr() argument
3771 size_t idx = bc_program_index(code, bgn); in bc_program_printStr()
3781 size_t* restrict bgn) in bc_program_printInst() argument
3783 uchar inst = (uchar) code[(*bgn)++]; in bc_program_printInst()
3785 bc_vm_printf("Inst[%zu]: %s [%lu]; ", *bgn - 1, bc_inst_names[inst], in bc_program_printInst()
3791 bc_program_printIndex(code, bgn); in bc_program_printInst()
3793 else if (inst == BC_INST_STR) bc_program_printStr(p, code, bgn); in bc_program_printInst()
3796 size_t idx = bc_program_index(code, bgn); in bc_program_printInst()
3803 bc_program_printIndex(code, bgn); in bc_program_printInst()
3804 if (inst == BC_INST_CALL) bc_program_printIndex(code, bgn); in bc_program_printInst()