Lines Matching refs:YYCURSOR

51 #define YYFILL(n) { if ((YYCURSOR + n) >= (YYLIMIT + ZEND_MMAP_AHEAD)) { return 0; } }
52 #define YYCURSOR SCNG(yy_cursor) macro
66 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
181 YYCURSOR = (YYCTYPE*)str; in yy_scan_buffer()
182 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
184 SCNG(yy_start) = YYCURSOR; in yy_scan_buffer()
1355 SCNG(yy_text) = YYCURSOR; in lex_scan()
1373 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
2231 if (YYCURSOR == YYLIMIT) {
2254 if (YYCURSOR > YYLIMIT) {
2261 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2263 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2265 if (YYCURSOR >= YYLIMIT) {
2269 if (*YYCURSOR == '?') {
2271 || (*(YYCURSOR + 1) == '=') /* <?= */
2272 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2273 (YYCURSOR + 4 == YYLIMIT ||
2274 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2275 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2277 YYCURSOR--;
2283 yyleng = YYCURSOR - SCNG(yy_text);
2373 while (YYCURSOR < YYLIMIT) {
2374 switch (*YYCURSOR++) {
2377 YYCURSOR--;
2380 if (*YYCURSOR == '>') {
2381 YYCURSOR--;
2392 yyleng = YYCURSOR - SCNG(yy_text);
2406 while (YYCURSOR < YYLIMIT) {
2407 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2412 if (YYCURSOR < YYLIMIT) {
2413 YYCURSOR++;
2421 yyleng = YYCURSOR - SCNG(yy_text);
2462 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2463 YYCURSOR++;
2570 if (YYCURSOR < YYLIMIT) {
2571 YYCURSOR++;
2578 YYCURSOR--;
2583 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2585 YYCURSOR = SCNG(yy_text) + yyleng;
2625 saved_cursor = YYCURSOR;
2629 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2630 if (*YYCURSOR == '\t') {
2635 ++YYCURSOR;
2639 if (YYCURSOR == YYLIMIT) {
2640 YYCURSOR = saved_cursor;
2645 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2646 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2654 YYCURSOR = saved_cursor;
2662 YYCURSOR = saved_cursor;
2748 YYCURSOR += yyleng - 1;
2788 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2789 YYCURSOR++;
2792 while (YYCURSOR < YYLIMIT) {
2793 switch (*YYCURSOR++) {
2797 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2802 if (*YYCURSOR == '$') {
2807 if (YYCURSOR < YYLIMIT) {
2808 YYCURSOR++;
2815 YYCURSOR--;
2820 yyleng = YYCURSOR - SCNG(yy_text);
2832 if (YYCURSOR > YYLIMIT) {
2835 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2836 YYCURSOR++;
2839 while (YYCURSOR < YYLIMIT) {
2840 switch (*YYCURSOR++) {
2844 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2849 if (*YYCURSOR == '$') {
2854 if (YYCURSOR < YYLIMIT) {
2855 YYCURSOR++;
2862 YYCURSOR--;
2866 yyleng = YYCURSOR - SCNG(yy_text);
2881 if (YYCURSOR > YYLIMIT) {
2885 YYCURSOR--;
2887 while (YYCURSOR < YYLIMIT) {
2888 switch (*YYCURSOR++) {
2890 if (*YYCURSOR == '\n') {
2891 YYCURSOR++;
2897 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2898 if (*YYCURSOR == '\t') {
2903 ++YYCURSOR;
2907 if (YYCURSOR == YYLIMIT) {
2908 yyleng = YYCURSOR - SCNG(yy_text);
2915 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2916 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2929 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2941 YYCURSOR -= indentation;
2950 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2955 if (*YYCURSOR == '$') {
2960 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2961 YYCURSOR++;
2968 YYCURSOR--;
2974 yyleng = YYCURSOR - SCNG(yy_text);
3005 if (YYCURSOR > YYLIMIT) {
3009 YYCURSOR--;
3011 while (YYCURSOR < YYLIMIT) {
3012 switch (*YYCURSOR++) {
3014 if (*YYCURSOR == '\n') {
3015 YYCURSOR++;
3021 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
3022 if (*YYCURSOR == '\t') {
3027 ++YYCURSOR;
3031 if (YYCURSOR == YYLIMIT) {
3032 yyleng = YYCURSOR - SCNG(yy_text);
3039 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
3040 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3053 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
3061 YYCURSOR -= indentation;
3075 yyleng = YYCURSOR - SCNG(yy_text);
3093 if (YYCURSOR > YYLIMIT) {