Lines Matching refs:isbytes

407     int isbytes, charsize;  in state_init()  local
421 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init()
425 if (isbytes && pattern->isbytes == 0) { in state_init()
430 if (!isbytes && pattern->isbytes > 0) { in state_init()
447 state->isbytes = isbytes; in state_init()
487 getslice(int isbytes, const void *ptr, in getslice() argument
490 if (isbytes) { in getslice()
523 return getslice(state->isbytes, state->beginning, string, i, j); in state_getslice()
784 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_findall_impl()
935 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_split_impl()
964 item = getslice(state.isbytes, state.beginning, in _sre_SRE_Pattern_split_impl()
998 int isbytes, charsize; in pattern_subx() local
1011 ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view); in pattern_subx()
1076 item = getslice(state.isbytes, state.beginning, in pattern_subx()
1118 item = getslice(state.isbytes, state.beginning, in pattern_subx()
1133 joiner = getslice(state.isbytes, state.beginning, string, 0, 0); in pattern_subx()
1143 if (state.isbytes) in pattern_subx()
1254 if (obj->isbytes == 0 && in pattern_repr()
1376 self->isbytes = -1; in _sre_compile_impl()
1383 if (!getstring(pattern, &p_length, &self->isbytes, 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()
1934 result = getslice(isbytes, ptr, self->string, i, j); in match_getslice_by_index()
1935 if (isbytes && view.buf != NULL) in match_getslice_by_index()
2516 hash ^= self->isbytes; in pattern_hash()
2548 && left->isbytes == right->isbytes in pattern_richcompare()