Lines Matching refs:bgn
101 static size_t bc_program_index(const char *restrict code, size_t *restrict bgn) in bc_program_index() argument
103 uchar amt = (uchar) code[(*bgn)++], i = 0; in bc_program_index()
106 for (; i < amt; ++i, ++(*bgn)) { in bc_program_index()
107 size_t temp = ((size_t) ((int) (uchar) code[*bgn]) & UCHAR_MAX); in bc_program_index()
587 static void bc_program_const(BcProgram *p, const char *code, size_t *bgn) { in bc_program_const() argument
592 BcConst *c = bc_vec_item(p->consts, bc_program_index(code, bgn)); in bc_program_const()
1453 size_t *restrict bgn, bool pop, bool copy) in bc_program_pushVar() argument
1456 size_t idx = bc_program_index(code, bgn); in bc_program_pushVar()
1521 size_t *restrict bgn, uchar inst) in bc_program_pushArray() argument
1528 r.d.loc.loc = bc_program_index(code, bgn); in bc_program_pushArray()
1615 size_t *restrict bgn) in bc_program_call() argument
1625 nargs = bc_program_index(code, bgn); in bc_program_call()
1629 ip.func = bc_program_index(code, bgn); in bc_program_call()
2142 size_t *restrict bgn) in bc_program_regStackLen() argument
2144 size_t idx = bc_program_index(code, bgn); in bc_program_regStackLen()
2239 size_t *restrict bgn, bool cond, size_t len) in bc_program_execStr() argument
2265 then_idx = bc_program_index(code, bgn); in bc_program_execStr()
2266 else_idx = bc_program_index(code, bgn); in bc_program_execStr()
2361 if (p->stack.len > 1 && *bgn == len - 1 && code[*bgn] == BC_INST_POP_EXEC) { in bc_program_execStr()
3273 size_t *restrict bgn) in bc_program_printIndex() argument
3275 uchar byte, i, bytes = (uchar) code[(*bgn)++]; in bc_program_printIndex()
3279 byte = (uchar) code[(*bgn)++]; in bc_program_printIndex()
3287 size_t *restrict bgn) in bc_program_printStr() argument
3289 size_t idx = bc_program_index(code, bgn); in bc_program_printStr()
3298 size_t *restrict bgn) in bc_program_printInst() argument
3300 uchar inst = (uchar) code[(*bgn)++]; in bc_program_printInst()
3302 bc_vm_printf("Inst[%zu]: %s [%lu]; ", *bgn - 1, in bc_program_printInst()
3308 bc_program_printIndex(code, bgn); in bc_program_printInst()
3310 else if (inst == BC_INST_STR) bc_program_printStr(p, code, bgn); in bc_program_printInst()
3312 size_t idx = bc_program_index(code, bgn); in bc_program_printInst()
3319 bc_program_printIndex(code, bgn); in bc_program_printInst()
3320 if (inst == BC_INST_CALL) bc_program_printIndex(code, bgn); in bc_program_printInst()