Lines Matching refs:yytext
69 #define yytext ((char*)SCNG(yy_text)) macro
71 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
864 # define zend_copy_value(zendlval, yytext, yyleng) \ argument
868 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
872 ZVAL_STRINGL(zendlval, yytext, yyleng); \
1196 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); in lex_scan()
1203 ZVAL_STRINGL(zendlval, yytext, yyleng); in lex_scan()
1205 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
1277 HANDLE_NEWLINE(yytext[yyleng-1]); in lex_scan()
1343 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) { in lex_scan()
1376 zend_scan_escape_string(zendlval, yytext, yyleng, '`'); in lex_scan()
1431 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1476 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1501 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1569 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) { in lex_scan()
1603 zend_scan_escape_string(zendlval, yytext, yyleng, '"'); in lex_scan()
1658 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1703 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1728 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1873 zend_scan_escape_string(zendlval, yytext, yyleng - newline, 0); in lex_scan()
1917 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1962 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1987 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
2165 …WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE); in lex_scan()
2182 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
2195 RETURN_TOKEN(yytext[0]); in lex_scan()
2205 int bprefix = (yytext[0] != '"') ? 1 : 0; in lex_scan()
2211 zend_scan_escape_string(zendlval, yytext+bprefix+1, yyleng-bprefix-2, '"'); in lex_scan()
2314 int bprefix = (yytext[0] != '\'') ? 1 : 0; in lex_scan()
2337 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2); in lex_scan()
2513 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 0)); in lex_scan()
2517 if (end != yytext + yyleng) { in lex_scan()
2524 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 0)); in lex_scan()
2527 if (yytext[0] == '0') { /* octal overflow */ in lex_scan()
2528 ZVAL_DOUBLE(zendlval, zend_oct_strtod(yytext, (const char **)&end)); in lex_scan()
2530 ZVAL_DOUBLE(zendlval, zend_strtod(yytext, (const char **)&end)); in lex_scan()
2533 if (end != yytext + yyleng) { in lex_scan()
2542 if (end != yytext + yyleng) { in lex_scan()
2634 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
3017 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
3272 ZVAL_DOUBLE(zendlval, zend_strtod(yytext, &end)); in lex_scan()
3274 ZEND_ASSERT(end == yytext + yyleng); in lex_scan()
3320 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
3323 CG(doc_comment) = zend_string_init(yytext, yyleng, 0); in lex_scan()
4022 char *bin = yytext + 2; /* Skip "0b" */ in lex_scan()
4038 ZEND_ASSERT(!errno && end == yytext + yyleng); in lex_scan()
4044 ZEND_ASSERT(end == yytext + yyleng); in lex_scan()
4076 char *hex = yytext + 2; /* Skip "0x" */ in lex_scan()
5321 int bprefix = (yytext[0] != '<') ? 1 : 0; in lex_scan()
5325 heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0); in lex_scan()
5326 s = yytext+bprefix+3; in lex_scan()
7072 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
7264 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
7287 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7414 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7482 zend_copy_value(zendlval, yytext, yyleng - newline); in lex_scan()
7483 HANDLE_NEWLINES(yytext, yyleng - newline); in lex_scan()
7580 …WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE); in lex_scan()
7607 RETURN_TOKEN(yytext[0]); in lex_scan()
7646 …if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_mi… in lex_scan()
7649 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10)); in lex_scan()
7653 ZEND_ASSERT(end == yytext + yyleng); in lex_scan()
7656 ZVAL_STRINGL(zendlval, yytext, yyleng); in lex_scan()
7684 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7725 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
7742 ZVAL_STRINGL(zendlval, yytext, yyleng); in lex_scan()