Lines Matching defs:idx
65 * @param idx The index to push.
68 bc_parse_pushInstIdx(BcParse* p, uchar inst, size_t idx)
71 bc_parse_pushIndex(p, idx);
77 size_t idx;
79 idx = bc_program_addString(p->prog, p->l.str.v);
82 bc_parse_pushInstIdx(p, BC_INST_STR, idx);
89 size_t idx;
116 if (bc_map_insert(&prog->const_map, string, prog->consts.len, &idx))
119 BcId* id = bc_vec_item(&prog->const_map, idx);
122 idx = id->idx;
138 BcId* id = bc_vec_item(&prog->const_map, idx);
139 idx = id->idx;
142 bc_parse_pushInstIdx(p, BC_INST_NUM, idx);
150 size_t idx = SIZE_MAX;
156 idx = ((size_t) (exp - p->l.str.v));
170 neg = (*((char*) bc_vec_item(&p->l.str, idx + 1)) == BC_LEX_NEG_CHAR);
173 bc_parse_addNum(p, bc_vec_item(&p->l.str, idx + 1 + neg));