Lines Matching refs:charsize
407 int isbytes, charsize; in state_init() local
421 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init()
448 state->charsize = charsize; in state_init()
454 state->start = (void*) ((char*) ptr + start * state->charsize); in state_init()
455 state->end = (void*) ((char*) ptr + end * state->charsize); in state_init()
484 (((char*)(member) - (char*)(state)->beginning) / (state)->charsize)
566 if (state->charsize == 1) in sre_match()
568 if (state->charsize == 2) in sre_match()
570 assert(state->charsize == 4); in sre_match()
577 if (state->charsize == 1) in sre_search()
579 if (state->charsize == 2) in sre_search()
581 assert(state->charsize == 4); in sre_search()
998 int isbytes, charsize; in pattern_subx() local
1011 ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view); in pattern_subx()
1012 b = charsize; in pattern_subx()
1014 if (charsize == 1) in pattern_subx()
1380 int charsize; in _sre_compile_impl() local
1384 &charsize, &view)) { in _sre_compile_impl()
1903 int isbytes, charsize; in match_getslice_by_index() local
1926 ptr = getstring(self->string, &length, &isbytes, &charsize, &view); in match_getslice_by_index()
2361 n = state->charsize; in pattern_new_match()