Lines Matching refs:heredoc_label

189 static void heredoc_label_dtor(zend_heredoc_label *heredoc_label) {  in heredoc_label_dtor()  argument
190 efree(heredoc_label->label); in heredoc_label_dtor()
1205 zend_heredoc_label *heredoc_label = void_heredoc_label; in copy_heredoc_label_stack() local
1208 *new_heredoc_label = *heredoc_label; in copy_heredoc_label_stack()
1209 new_heredoc_label->label = estrndup(heredoc_label->label, heredoc_label->length); in copy_heredoc_label_stack()
4664 zend_heredoc_label *heredoc_label = emalloc(sizeof(zend_heredoc_label)); in lex_scan() local
4668 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0); in lex_scan()
4672 heredoc_label->length--; in lex_scan()
4677 heredoc_label->length -= 2; in lex_scan()
4684 heredoc_label->length -= 2; in lex_scan()
4690 heredoc_label->label = estrndup(s, heredoc_label->length); in lex_scan()
4691 heredoc_label->indentation = 0; in lex_scan()
4694 zend_ptr_stack_push(&SCNG(heredoc_label_stack), (void *) heredoc_label); in lex_scan()
4712 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) { in lex_scan()
4713 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) { in lex_scan()
4722 heredoc_label->indentation = indentation; in lex_scan()
4788 heredoc_label->indentation = SCNG(heredoc_indentation); in lex_scan()
4789 heredoc_label->indentation_uses_spaces = SCNG(heredoc_indentation_uses_spaces); in lex_scan()
7233 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack)); in lex_scan() local
7270 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc… in lex_scan()
7271 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) { in lex_scan()
7337 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces, in lex_scan()
8042 zend_heredoc_label *heredoc_label = zend_ptr_stack_pop(&SCNG(heredoc_label_stack)); in lex_scan() local
8044 yyleng = heredoc_label->indentation + heredoc_label->length; in lex_scan()
8047 heredoc_label_dtor(heredoc_label); in lex_scan()
8048 efree(heredoc_label); in lex_scan()
8065 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack)); in lex_scan() local
8102 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc… in lex_scan()
8103 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) { in lex_scan()
8125 heredoc_label->indentation = indentation; in lex_scan()