Lines Matching refs:heredoc_label
200 static void heredoc_label_dtor(zend_heredoc_label *heredoc_label) { in heredoc_label_dtor() argument
201 efree(heredoc_label->label); in heredoc_label_dtor()
1244 zend_heredoc_label *heredoc_label = void_heredoc_label; in copy_heredoc_label_stack() local
1247 *new_heredoc_label = *heredoc_label; in copy_heredoc_label_stack()
1248 new_heredoc_label->label = estrndup(heredoc_label->label, heredoc_label->length); in copy_heredoc_label_stack()
2530 zend_heredoc_label *heredoc_label = emalloc(sizeof(zend_heredoc_label));
2534 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2538 heredoc_label->length--;
2543 heredoc_label->length -= 2;
2550 heredoc_label->length -= 2;
2556 heredoc_label->label = estrndup(s, heredoc_label->length);
2557 heredoc_label->indentation_uses_spaces = 0;
2558 heredoc_label->indentation = 0;
2561 zend_ptr_stack_push(&SCNG(heredoc_label_stack), (void *) heredoc_label);
2579 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2580 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2589 heredoc_label->indentation = indentation;
2655 heredoc_label->indentation = SCNG(heredoc_indentation);
2656 heredoc_label->indentation_uses_spaces = SCNG(heredoc_indentation_uses_spaces);
2679 zend_heredoc_label *heredoc_label = zend_ptr_stack_pop(&SCNG(heredoc_label_stack));
2681 yyleng = heredoc_label->indentation + heredoc_label->length;
2684 heredoc_label_dtor(heredoc_label);
2685 efree(heredoc_label);
2812 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
2849 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
2850 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2916 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
2936 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
2973 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
2974 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2996 heredoc_label->indentation = indentation;