Lines Matching refs:heredoc_label
199 static void heredoc_label_dtor(zend_heredoc_label *heredoc_label) { in heredoc_label_dtor() argument
200 efree(heredoc_label->label); in heredoc_label_dtor()
1233 zend_heredoc_label *heredoc_label = void_heredoc_label; in copy_heredoc_label_stack() local
1236 *new_heredoc_label = *heredoc_label; in copy_heredoc_label_stack()
1237 new_heredoc_label->label = estrndup(heredoc_label->label, heredoc_label->length); in copy_heredoc_label_stack()
2622 zend_heredoc_label *heredoc_label = emalloc(sizeof(zend_heredoc_label));
2626 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2630 heredoc_label->length--;
2635 heredoc_label->length -= 2;
2642 heredoc_label->length -= 2;
2648 heredoc_label->label = estrndup(s, heredoc_label->length);
2649 heredoc_label->indentation_uses_spaces = 0;
2650 heredoc_label->indentation = 0;
2653 zend_ptr_stack_push(&SCNG(heredoc_label_stack), (void *) heredoc_label);
2671 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2672 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2681 heredoc_label->indentation = indentation;
2747 heredoc_label->indentation = SCNG(heredoc_indentation);
2748 heredoc_label->indentation_uses_spaces = SCNG(heredoc_indentation_uses_spaces);
2771 zend_heredoc_label *heredoc_label = zend_ptr_stack_pop(&SCNG(heredoc_label_stack));
2773 yyleng = heredoc_label->indentation + heredoc_label->length;
2776 heredoc_label_dtor(heredoc_label);
2777 efree(heredoc_label);
2904 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
2941 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
2942 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3008 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
3028 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
3065 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
3066 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3088 heredoc_label->indentation = indentation;