Lines Matching defs:needs_control_head
1240 static int get_framesize(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, BOOL recursive, BOOL* needs_control_head)
1252 *needs_control_head = TRUE;
1254 *needs_control_head = FALSE;
1295 *needs_control_head = TRUE;
1537 static SLJIT_INLINE int get_private_data_copy_length(compiler_common *common, pcre_uchar *cc, pcre_uchar *ccend, BOOL needs_control_head)
1539 int private_data_length = needs_control_head ? 3 : 2;
1658 BOOL save, int stackptr, int stacktop, BOOL needs_control_head)
1679 stackptr += (needs_control_head ? 2 : 1) * sizeof(sljit_sw);
1704 if (needs_control_head)
6246 BOOL needs_control_head;
6251 if (get_framesize(common, common->start + start, NULL, TRUE, &needs_control_head) == no_stack)
6411 BOOL needs_control_head;
6443 framesize = get_framesize(common, cc, NULL, FALSE, &needs_control_head);
6462 extrasize = needs_control_head ? 2 : 1;
6466 if (needs_control_head)
6469 if (needs_control_head)
6477 extrasize = needs_control_head ? 3 : 2;
6482 if (needs_control_head)
6485 if (needs_control_head)
6547 if (needs_control_head)
6556 if (needs_control_head)
6562 if (needs_control_head)
6572 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_MEM1(STACK_TOP), needs_control_head ? sizeof(sljit_sw) : 0);
6643 if (needs_control_head)
6804 static SLJIT_INLINE void match_once_common(compiler_common *common, pcre_uchar ket, int framesize, int private_data_ptr, BOOL has_alternatives, BOOL needs_control_head)
6815 stacksize = needs_control_head ? 1 : 0;
6821 if (needs_control_head)
6837 if (needs_control_head)
6846 if (needs_control_head)
6946 BOOL needs_control_head = FALSE;
7023 BACKTRACK_AS(bracket_backtrack)->u.framesize = get_framesize(common, ccbegin, NULL, FALSE, &needs_control_head);
7108 if (needs_control_head)
7120 if (!needs_control_head)
7135 if (needs_control_head)
7143 if (needs_control_head)
7147 OP2(SLJIT_SUB, SLJIT_MEM1(SLJIT_SP), private_data_ptr, STACK_TOP, 0, SLJIT_IMM, needs_control_head ? (2 * sizeof(sljit_sw)) : sizeof(sljit_sw));
7161 if (needs_control_head)
7167 stacksize = needs_control_head ? 1 : 0;
7324 match_once_common(common, ket, BACKTRACK_AS(bracket_backtrack)->u.framesize, private_data_ptr, has_alternatives, needs_control_head);
7462 /* Temporarily encoding the needs_control_head in framesize. */
7464 BACKTRACK_AS(bracket_backtrack)->u.framesize = (BACKTRACK_AS(bracket_backtrack)->u.framesize << 1) | (needs_control_head ? 1 : 0);
7475 BOOL needs_control_head;
7519 framesize = get_framesize(common, cc, NULL, FALSE, &needs_control_head);
7532 if (needs_control_head)
7552 if (needs_control_head)
7562 if (needs_control_head)
7568 if (needs_control_head)
7572 if (needs_control_head)
7583 if (needs_control_head)
7591 if (needs_control_head)
7601 if (needs_control_head)
7690 if (needs_control_head)
8189 BOOL needs_control_head;
8196 BACKTRACK_AS(then_trap_backtrack)->framesize = get_framesize(common, cc, ccend, FALSE, &needs_control_head);
8817 BOOL needs_control_head = FALSE;
8860 /* Decoding the needs_control_head in framesize. */
8863 needs_control_head = (CURRENT_AS(bracket_backtrack)->u.framesize & 0x1) != 0;
9051 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_MEM1(STACK_TOP), STACK(needs_control_head ? 1 : 0));
9061 match_once_common(common, ket, CURRENT_AS(bracket_backtrack)->u.framesize, private_data_ptr, has_alternatives, needs_control_head);
9190 stacksize = needs_control_head ? 1 : 0;
9610 BOOL needs_control_head;
9611 int framesize = get_framesize(common, cc, NULL, TRUE, &needs_control_head);
9612 int private_data_size = get_private_data_copy_length(common, ccbegin, ccend, needs_control_head);
9634 copy_private_data(common, ccbegin, ccend, TRUE, private_data_size + framesize + alternativesize, framesize + alternativesize, needs_control_head);
9635 if (needs_control_head)
9709 copy_private_data(common, ccbegin, ccend, FALSE, private_data_size + framesize + alternativesize, framesize + alternativesize, needs_control_head);
9711 if (needs_control_head)