Lines Matching refs:yytext
64 #define yytext ((char*)SCNG(yy_text)) macro
66 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
901 # define zend_copy_value(zendlval, yytext, yyleng) \ argument
905 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
909 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext))); \
911 ZVAL_STRINGL(zendlval, yytext, yyleng); \
1416 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
1887 RETURN_EXIT_NESTING_TOKEN(yytext[0]); in lex_scan()
1891 enter_nesting(yytext[0]); in lex_scan()
1892 RETURN_TOKEN(yytext[0]); in lex_scan()
1896 RETURN_TOKEN(yytext[0]); in lex_scan()
1940 char *end, *bin = yytext + 2;
1982 char *end, *octal = yytext + 2;
2031 char *end, *lnum = yytext;
2095 char *end, *hex = yytext + 2;
2135 …if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_mi…
2138 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2142 ZEND_ASSERT(end == yytext + yyleng);
2145 ZVAL_STRINGL(zendlval, yytext, yyleng);
2152 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2154 ZVAL_STRINGL(zendlval, yytext, yyleng);
2162 char *dnum = yytext;
2234 HANDLE_NEWLINE(yytext[yyleng-1]);
2300 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2307 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2309 ZVAL_STRINGL(zendlval, yytext, yyleng);
2311 HANDLE_NEWLINES(yytext, yyleng);
2432 HANDLE_NEWLINES(yytext, yyleng);
2435 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2450 if (yytext[yyleng-1] != '>') {
2490 zend_uchar c = (zend_uchar)*(yytext+bprefix+1);
2498 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2605 int bprefix = (yytext[0] != '<') ? 1 : 0, spacing = 0, indentation = 0;
2610 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2611 s = yytext+bprefix+3;
2832 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2845 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2878 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2919 HANDLE_NEWLINES(yytext, yyleng);
2985 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
2988 bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
3004 HANDLE_NEWLINES(yytext, yyleng - newline);
3043 HANDLE_NEWLINES(yytext, yyleng);
3086 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3089 bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
3097 HANDLE_NEWLINES(yytext, yyleng - newline);
3113 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3123 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3132 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3137 HANDLE_NEWLINES(yytext, yyleng);
3139 SCNG(on_event)(ON_TOKEN, T_WHITESPACE, start_line, yytext, yyleng, SCNG(on_event_context));
3150 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));