Home
last modified time | relevance | path

Searched refs:isbytes (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/
D_sre.c407 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()
[all …]
Dsre.h36 int isbytes; /* pattern type (1 - bytes, 0 - string, -1 - None) */ member
72 int isbytes; member
/external/python/cpython3/Lib/
Dos.py470 def _fwalk(topfd, toppath, isbytes, topdown, onerror, follow_symlinks): argument
481 if isbytes:
518 yield from _fwalk(dirfd, dirpath, isbytes,