Home
last modified time | relevance | path

Searched refs:lastmark (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/
Dsre_lib.h394 ctx->lastmark = state->lastmark; \
399 state->lastmark = ctx->lastmark; \
480 #define MARK_PUSH(lastmark) \ argument
481 do if (lastmark > 0) { \
482 i = lastmark; /* ctx->lastmark may change if reallocated */ \
485 #define MARK_POP(lastmark) \ argument
486 do if (lastmark > 0) { \
487 DATA_STACK_POP(state, state->mark, (lastmark+1)*sizeof(void*), 1); \
489 #define MARK_POP_KEEP(lastmark) \ argument
490 do if (lastmark > 0) { \
[all …]
Dsre.h76 Py_ssize_t lastmark; member
D_sre.c346 state->lastmark = -1; in state_reset()
410 state->lastmark = -1; in state_init()
504 …if (string == Py_None || index >= state->lastmark || !state->mark[index] || !state->mark[index+1])… in state_getslice()
2354 if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) { in pattern_new_match()
/external/python/cpython2/Modules/
D_sre.c663 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 …]
Dsre.h86 Py_ssize_t lastmark; member