Searched refs:lastmark (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/ |
D | sre_lib.h | 394 ctx->lastmark = state->lastmark; \ 399 state->lastmark = ctx->lastmark; \ 479 #define MARK_PUSH(lastmark) \ argument 480 do if (lastmark > 0) { \ 481 i = lastmark; /* ctx->lastmark may change if reallocated */ \ 484 #define MARK_POP(lastmark) \ argument 485 do if (lastmark > 0) { \ 486 DATA_STACK_POP(state, state->mark, (lastmark+1)*sizeof(void*), 1); \ 488 #define MARK_POP_KEEP(lastmark) \ argument 489 do if (lastmark > 0) { \ [all …]
|
D | sre.h | 76 Py_ssize_t lastmark; member
|
D | _sre.c | 362 state->lastmark = -1; in state_reset() 426 state->lastmark = -1; in state_init() 524 …if (string == Py_None || index >= state->lastmark || !state->mark[index] || !state->mark[index+1])… in state_getslice() 2456 if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) { in pattern_new_match()
|
/external/python/cpython2/Modules/ |
D | _sre.c | 663 ctx->lastmark = state->lastmark; \ 668 state->lastmark = ctx->lastmark; \ 751 #define MARK_PUSH(lastmark) \ argument 752 do if (lastmark > 0) { \ 753 i = lastmark; /* ctx->lastmark may change if reallocated */ \ 756 #define MARK_POP(lastmark) \ argument 757 do if (lastmark > 0) { \ 758 DATA_STACK_POP(state, state->mark, (lastmark+1)*sizeof(void*), 1); \ 760 #define MARK_POP_KEEP(lastmark) \ argument 761 do if (lastmark > 0) { \ [all …]
|
D | sre.h | 86 Py_ssize_t lastmark; member
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | parser.py | 110 lastresult, lastmark = None, mark 128 if endmark <= lastmark: 132 self._cache[key] = lastresult, lastmark = result, endmark 134 self.reset(lastmark)
|