Lines Matching refs:heredoc_label
186 static void heredoc_label_dtor(zend_heredoc_label *heredoc_label) { in heredoc_label_dtor() argument
187 efree(heredoc_label->label); in heredoc_label_dtor()
1202 zend_heredoc_label *heredoc_label = void_heredoc_label; in copy_heredoc_label_stack() local
1205 *new_heredoc_label = *heredoc_label; in copy_heredoc_label_stack()
1206 new_heredoc_label->label = estrndup(heredoc_label->label, heredoc_label->length); in copy_heredoc_label_stack()
2274 zend_heredoc_label *heredoc_label = emalloc(sizeof(zend_heredoc_label));
2278 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2282 heredoc_label->length--;
2287 heredoc_label->length -= 2;
2294 heredoc_label->length -= 2;
2300 heredoc_label->label = estrndup(s, heredoc_label->length);
2301 heredoc_label->indentation = 0;
2304 zend_ptr_stack_push(&SCNG(heredoc_label_stack), (void *) heredoc_label);
2322 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2323 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2332 heredoc_label->indentation = indentation;
2398 heredoc_label->indentation = SCNG(heredoc_indentation);
2399 heredoc_label->indentation_uses_spaces = SCNG(heredoc_indentation_uses_spaces);
2422 zend_heredoc_label *heredoc_label = zend_ptr_stack_pop(&SCNG(heredoc_label_stack));
2424 yyleng = heredoc_label->indentation + heredoc_label->length;
2427 heredoc_label_dtor(heredoc_label);
2428 efree(heredoc_label);
2554 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
2591 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
2592 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2658 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
2678 zend_heredoc_label *heredoc_label = zend_ptr_stack_top(&SCNG(heredoc_label_stack));
2715 …_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc…
2716 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2738 heredoc_label->indentation = indentation;