Lines Matching defs:lastmark

642  *   reason to restore lastmark;
647 * failure, and it doesn't matter where lastmark is pointing to.
651 * lastmark by itself if necessary);
655 * OP could potentially depend on lastmark;
660 * and could potentially depend on lastmark.
666 ctx->lastmark = state->lastmark; \
671 state->lastmark = ctx->lastmark; \
750 #define MARK_PUSH(lastmark) \
751 do if (lastmark > 0) { \
752 i = lastmark; /* ctx->lastmark may change if reallocated */ \
755 #define MARK_POP(lastmark) \
756 do if (lastmark > 0) { \
757 DATA_STACK_POP(state, state->mark, (lastmark+1)*sizeof(void*), 1); \
759 #define MARK_POP_KEEP(lastmark) \
760 do if (lastmark > 0) { \
761 DATA_STACK_POP(state, state->mark, (lastmark+1)*sizeof(void*), 0); \
763 #define MARK_POP_DISCARD(lastmark) \
764 do if (lastmark > 0) { \
765 DATA_STACK_POP_DISCARD(state, (lastmark+1)*sizeof(void*)); \
800 Py_ssize_t lastmark;
860 if (i > state->lastmark) {
861 /* state->lastmark is the highest valid index in the
865 Py_ssize_t j = state->lastmark + 1;
868 state->lastmark = i;
996 MARK_PUSH(ctx->lastmark);
1010 MARK_POP_DISCARD(ctx->lastmark);
1015 MARK_POP_KEEP(ctx->lastmark);
1019 MARK_POP_DISCARD(ctx->lastmark);
1238 MARK_PUSH(ctx->lastmark);
1246 MARK_POP_DISCARD(ctx->lastmark);
1250 MARK_POP(ctx->lastmark);
1331 if (groupref >= state->lastmark) {
1355 if (groupref >= state->lastmark) {
1380 if (groupref >= state->lastmark) {
1669 state->lastmark = -1;
1755 state->lastmark = -1;
1817 if (string == Py_None || index >= state->lastmark || !state->mark[index] || !state->mark[index+1]) {
3695 if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {