Lines Matching refs:YYCURSOR

52 #define YYFILL(n) { if ((YYCURSOR + n) >= (YYLIMIT + ZEND_MMAP_AHEAD)) { return 0; } }
53 #define YYCURSOR SCNG(yy_cursor) macro
67 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
169 YYCURSOR = (YYCTYPE*)str; in yy_scan_buffer()
170 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
172 SCNG(yy_start) = YYCURSOR; in yy_scan_buffer()
1243 SCNG(yy_text) = YYCURSOR; in lex_scan()
1260 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
1960 if (YYCURSOR > YYLIMIT) {
1967 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
1969 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
1971 if (YYCURSOR >= YYLIMIT) {
1975 if (*YYCURSOR == '?') {
1976 …if (CG(short_tags) || !strncasecmp((char*)YYCURSOR + 1, "php", 3) || (*(YYCURSOR + 1) == '=')) { /…
1978 YYCURSOR--;
1984 yyleng = YYCURSOR - SCNG(yy_text);
2052 while (YYCURSOR < YYLIMIT) {
2053 switch (*YYCURSOR++) {
2055 if (*YYCURSOR == '\n') {
2056 YYCURSOR++;
2063 if (*YYCURSOR == '>') {
2064 YYCURSOR--;
2075 yyleng = YYCURSOR - SCNG(yy_text);
2093 while (YYCURSOR < YYLIMIT) {
2094 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2099 if (YYCURSOR < YYLIMIT) {
2100 YYCURSOR++;
2105 yyleng = YYCURSOR - SCNG(yy_text);
2146 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2147 YYCURSOR++;
2248 if (YYCURSOR < YYLIMIT) {
2249 YYCURSOR++;
2256 YYCURSOR--;
2261 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2263 YYCURSOR = SCNG(yy_text) + yyleng;
2302 saved_cursor = YYCURSOR;
2306 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2307 if (*YYCURSOR == '\t') {
2312 ++YYCURSOR;
2316 if (YYCURSOR == YYLIMIT) {
2317 YYCURSOR = saved_cursor;
2322 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2323 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2331 YYCURSOR = saved_cursor;
2339 YYCURSOR = saved_cursor;
2425 YYCURSOR += yyleng - 1;
2464 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2465 YYCURSOR++;
2468 while (YYCURSOR < YYLIMIT) {
2469 switch (*YYCURSOR++) {
2473 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2478 if (*YYCURSOR == '$') {
2483 if (YYCURSOR < YYLIMIT) {
2484 YYCURSOR++;
2491 YYCURSOR--;
2496 yyleng = YYCURSOR - SCNG(yy_text);
2508 if (YYCURSOR > YYLIMIT) {
2511 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2512 YYCURSOR++;
2515 while (YYCURSOR < YYLIMIT) {
2516 switch (*YYCURSOR++) {
2520 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2525 if (*YYCURSOR == '$') {
2530 if (YYCURSOR < YYLIMIT) {
2531 YYCURSOR++;
2538 YYCURSOR--;
2542 yyleng = YYCURSOR - SCNG(yy_text);
2557 if (YYCURSOR > YYLIMIT) {
2561 YYCURSOR--;
2563 while (YYCURSOR < YYLIMIT) {
2564 switch (*YYCURSOR++) {
2566 if (*YYCURSOR == '\n') {
2567 YYCURSOR++;
2573 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2574 if (*YYCURSOR == '\t') {
2579 ++YYCURSOR;
2583 if (YYCURSOR == YYLIMIT) {
2584 yyleng = YYCURSOR - SCNG(yy_text);
2591 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2592 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2605 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2617 YYCURSOR -= indentation;
2626 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2631 if (*YYCURSOR == '$') {
2636 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2637 YYCURSOR++;
2644 YYCURSOR--;
2650 yyleng = YYCURSOR - SCNG(yy_text);
2681 if (YYCURSOR > YYLIMIT) {
2685 YYCURSOR--;
2687 while (YYCURSOR < YYLIMIT) {
2688 switch (*YYCURSOR++) {
2690 if (*YYCURSOR == '\n') {
2691 YYCURSOR++;
2697 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2698 if (*YYCURSOR == '\t') {
2703 ++YYCURSOR;
2707 if (YYCURSOR == YYLIMIT) {
2708 yyleng = YYCURSOR - SCNG(yy_text);
2715 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2716 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2729 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2737 YYCURSOR -= indentation;
2751 yyleng = YYCURSOR - SCNG(yy_text);
2769 if (YYCURSOR > YYLIMIT) {