Searched refs:lastindex (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | sre.h | 46 Py_ssize_t lastindex; /* last index marker seen by the engine (-1 if none) */ member 75 Py_ssize_t lastindex; member
|
D | _sre.c | 676 ctx->lastindex = state->lastindex; \ 681 state->lastindex = ctx->lastindex; \ 810 Py_ssize_t lastindex; member 868 state->lastindex = i/2 + 1; in SRE_MATCH() 1679 state->lastindex = -1; in state_reset() 1765 state->lastindex = -1; in state_init() 3574 if (self->lastindex >= 0) in match_lastindex_get() 3575 return Py_BuildValue("i", self->lastindex); in match_lastindex_get() 3583 if (self->pattern->indexgroup && self->lastindex >= 0) { in match_lastgroup_get() 3585 self->pattern->indexgroup, self->lastindex in match_lastgroup_get() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | sre.h | 56 Py_ssize_t lastindex; /* last index marker seen by the engine (-1 if none) */ member 85 Py_ssize_t lastindex; member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
D | _sre.c | 676 ctx->lastindex = state->lastindex; \ 681 state->lastindex = ctx->lastindex; \ 810 Py_ssize_t lastindex; member 868 state->lastindex = i/2 + 1; in SRE_MATCH() 1679 state->lastindex = -1; in state_reset() 1765 state->lastindex = -1; in state_init() 3574 if (self->lastindex >= 0) in match_lastindex_get() 3575 return Py_BuildValue("i", self->lastindex); in match_lastindex_get() 3583 if (self->pattern->indexgroup && self->lastindex >= 0) { in match_lastgroup_get() 3585 self->pattern->indexgroup, self->lastindex in match_lastgroup_get() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
D | _sre.c | 678 ctx->lastindex = state->lastindex; \ 683 state->lastindex = ctx->lastindex; \ 816 Py_ssize_t lastindex; member 875 state->lastindex = i/2 + 1; in SRE_MATCH() 1693 state->lastindex = -1; in state_reset() 1779 state->lastindex = -1; in state_init() 3695 if (self->lastindex >= 0) in match_lastindex_get() 3696 return PyInt_FromSsize_t(self->lastindex); in match_lastindex_get() 3704 if (self->pattern->indexgroup && self->lastindex >= 0) { in match_lastgroup_get() 3706 self->pattern->indexgroup, self->lastindex in match_lastgroup_get() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | re.py | 333 action = self.lexicon[m.lastindex-1][1]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | re.py | 319 action = self.lexicon[m.lastindex-1][1]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_re.py | 543 self.assertEqual(re.match(r'(a)?a','a').lastindex, None) 544 self.assertEqual(re.match(r'(a)(b)?b','ab').lastindex, 1) 547 self.assertEqual(re.match("((a))", "a").lastindex, 1)
|