Lines Matching refs:yytext
64 #define yytext ((char*)SCNG(yy_text)) macro
66 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
913 # define zend_copy_value(zendlval, yytext, yyleng) \ argument
917 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
921 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext))); \
923 ZVAL_STRINGL(zendlval, yytext, yyleng); \
1416 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
1867 RETURN_EXIT_NESTING_TOKEN(yytext[0]); in lex_scan()
1871 enter_nesting(yytext[0]); in lex_scan()
1872 RETURN_TOKEN(yytext[0]); in lex_scan()
1876 RETURN_TOKEN(yytext[0]); in lex_scan()
1920 char *end, *bin = yytext + 2;
1961 char *end, *lnum = yytext;
2025 char *end, *hex = yytext + 2;
2065 …if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_mi…
2068 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2072 ZEND_ASSERT(end == yytext + yyleng);
2075 ZVAL_STRINGL(zendlval, yytext, yyleng);
2082 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2084 ZVAL_STRINGL(zendlval, yytext, yyleng);
2092 char *dnum = yytext;
2164 HANDLE_NEWLINE(yytext[yyleng-1]);
2230 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2237 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2239 ZVAL_STRINGL(zendlval, yytext, yyleng);
2241 HANDLE_NEWLINES(yytext, yyleng);
2362 HANDLE_NEWLINES(yytext, yyleng);
2365 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2374 if (yytext[yyleng-1] != '>') {
2414 zend_uchar c = (zend_uchar)*(yytext+bprefix+1);
2422 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2529 int bprefix = (yytext[0] != '<') ? 1 : 0, spacing = 0, indentation = 0;
2534 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2535 s = yytext+bprefix+3;
2756 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2769 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2802 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2843 HANDLE_NEWLINES(yytext, yyleng);
2909 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
2912 zend_bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
2928 HANDLE_NEWLINES(yytext, yyleng - newline);
2967 HANDLE_NEWLINES(yytext, yyleng);
3010 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3013 zend_bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
3021 HANDLE_NEWLINES(yytext, yyleng - newline);
3037 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3047 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3057 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3062 HANDLE_NEWLINES(yytext, yyleng);
3064 SCNG(on_event)(ON_TOKEN, T_WHITESPACE, start_line, yytext, yyleng, SCNG(on_event_context));
3075 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));