Lines Matching refs:isbytes
416 int isbytes, charsize; in state_init() local
430 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init()
434 if (isbytes && pattern->isbytes == 0) { in state_init()
439 if (!isbytes && pattern->isbytes > 0) { in state_init()
456 state->isbytes = isbytes; in state_init()
500 getslice(int isbytes, const void *ptr, in getslice() argument
503 if (isbytes) { in getslice()
536 return getslice(state->isbytes, state->beginning, string, i, j); in state_getslice()
831 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_findall_impl()
991 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_split_impl()
1020 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_split_impl()
1058 int isbytes, charsize; in pattern_subx() local
1071 ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view); in pattern_subx()
1135 item = getslice(state.isbytes, state.beginning, in pattern_subx()
1177 item = getslice(state.isbytes, state.beginning, in pattern_subx()
1192 joiner = getslice(state.isbytes, state.beginning, string, 0, 0); in pattern_subx()
1202 if (state.isbytes) in pattern_subx()
1322 if (obj->isbytes == 0 && in pattern_repr()
1446 self->isbytes = -1; in _sre_compile_impl()
1453 if (!getstring(pattern, &p_length, &self->isbytes, in _sre_compile_impl()
1994 int isbytes, charsize; in match_getslice_by_index() local
2009 ptr = getstring(self->string, &length, &isbytes, &charsize, &view); in match_getslice_by_index()
2017 result = getslice(isbytes, ptr, self->string, i, j); in match_getslice_by_index()
2018 if (isbytes && view.buf != NULL) in match_getslice_by_index()
2638 hash ^= self->isbytes; in pattern_hash()
2673 && left->isbytes == right->isbytes in pattern_richcompare()