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()
1899 RETURN_EXIT_NESTING_TOKEN(yytext[0]); in lex_scan()
1903 enter_nesting(yytext[0]); in lex_scan()
1904 RETURN_TOKEN(yytext[0]); in lex_scan()
1908 RETURN_TOKEN(yytext[0]); in lex_scan()
1952 char *end, *bin = yytext + 2;
1994 char *end, *octal = yytext + 2;
2043 char *end, *lnum = yytext;
2107 char *end, *hex = yytext + 2;
2147 …if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_mi…
2150 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2154 ZEND_ASSERT(end == yytext + yyleng);
2157 ZVAL_STRINGL(zendlval, yytext, yyleng);
2164 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2166 ZVAL_STRINGL(zendlval, yytext, yyleng);
2174 char *dnum = yytext;
2250 HANDLE_NEWLINE(yytext[yyleng-1]);
2316 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2323 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2325 ZVAL_STRINGL(zendlval, yytext, yyleng);
2327 HANDLE_NEWLINES(yytext, yyleng);
2448 HANDLE_NEWLINES(yytext, yyleng);
2451 CG(doc_comment) = zend_string_init(yytext, yyleng, 0);
2466 if (yytext[yyleng-1] != '>') {
2506 zend_uchar c = (zend_uchar)*(yytext+bprefix+1);
2514 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2621 int bprefix = (yytext[0] != '<') ? 1 : 0, spacing = 0, indentation = 0;
2626 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0);
2627 s = yytext+bprefix+3;
2848 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2861 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2894 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2935 HANDLE_NEWLINES(yytext, yyleng);
3001 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3004 bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
3020 HANDLE_NEWLINES(yytext, yyleng - newline);
3059 HANDLE_NEWLINES(yytext, yyleng);
3102 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3105 bool newline_at_start = *(yytext - 1) == '\n' || *(yytext - 1) == '\r';
3113 HANDLE_NEWLINES(yytext, yyleng - newline);
3129 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3139 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3148 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));
3153 HANDLE_NEWLINES(yytext, yyleng);
3155 SCNG(on_event)(ON_TOKEN, T_WHITESPACE, start_line, yytext, yyleng, SCNG(on_event_context));
3166 SCNG(on_event)(ON_TOKEN, token, start_line, yytext, yyleng, SCNG(on_event_context));