Lines Matching refs:begin
119 const char *begin = mp_obj_str_get_str(self->str); in match_span_helper() local
120 s = start - begin; in match_span_helper()
121 e = self->caps[no * 2 + 1] - begin; in match_span_helper()
190 subj.begin = mp_obj_str_get_data(args[1], &len); in ure_exec()
191 subj.end = subj.begin + len; in ure_exec()
223 subj.begin = mp_obj_str_get_data(args[1], &len); in re_split()
224 subj.end = subj.begin + len; in re_split()
244 … mp_obj_t s = mp_obj_new_str_of_type(str_type, (const byte *)subj.begin, caps[0] - subj.begin); in re_split()
249 subj.begin = caps[1]; in re_split()
257 mp_obj_t s = mp_obj_new_str_of_type(str_type, (const byte *)subj.begin, subj.end - subj.begin); in re_split()
283 subj.begin = where_str; in re_sub_helper()
284 subj.end = subj.begin + where_len; in re_sub_helper()
306 vstr_init(&vstr_return, match->caps[0] - subj.begin); in re_sub_helper()
310 vstr_add_strn(&vstr_return, subj.begin, match->caps[0] - subj.begin); in re_sub_helper()
357 subj.begin = match->caps[1]; in re_sub_helper()
373 vstr_add_strn(&vstr_return, subj.begin, subj.end - subj.begin); in re_sub_helper()