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()
1344 SCNG(yy_text) = YYCURSOR; in lex_scan()
1362 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
2232 if (YYCURSOR == YYLIMIT) {
2255 if (YYCURSOR > YYLIMIT) {
2262 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2264 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2266 if (YYCURSOR >= YYLIMIT) {
2270 if (*YYCURSOR == '?') {
2272 || (*(YYCURSOR + 1) == '=') /* <?= */
2273 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2274 (YYCURSOR + 4 == YYLIMIT ||
2275 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2276 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2278 YYCURSOR--;
2284 yyleng = YYCURSOR - SCNG(yy_text);
2374 while (YYCURSOR < YYLIMIT) {
2375 switch (*YYCURSOR++) {
2378 YYCURSOR--;
2381 if (*YYCURSOR == '>') {
2382 YYCURSOR--;
2393 yyleng = YYCURSOR - SCNG(yy_text);
2407 while (YYCURSOR < YYLIMIT) {
2408 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2413 if (YYCURSOR < YYLIMIT) {
2414 YYCURSOR++;
2422 yyleng = YYCURSOR - SCNG(yy_text);
2457 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2458 YYCURSOR++;
2565 if (YYCURSOR < YYLIMIT) {
2566 YYCURSOR++;
2573 YYCURSOR--;
2578 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2580 YYCURSOR = SCNG(yy_text) + yyleng;
2620 saved_cursor = YYCURSOR;
2624 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2625 if (*YYCURSOR == '\t') {
2630 ++YYCURSOR;
2634 if (YYCURSOR == YYLIMIT) {
2635 YYCURSOR = saved_cursor;
2640 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2641 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2649 YYCURSOR = saved_cursor;
2657 YYCURSOR = saved_cursor;
2743 YYCURSOR += yyleng - 1;
2783 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2784 YYCURSOR++;
2787 while (YYCURSOR < YYLIMIT) {
2788 switch (*YYCURSOR++) {
2792 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2797 if (*YYCURSOR == '$') {
2802 if (YYCURSOR < YYLIMIT) {
2803 YYCURSOR++;
2810 YYCURSOR--;
2815 yyleng = YYCURSOR - SCNG(yy_text);
2827 if (YYCURSOR > YYLIMIT) {
2830 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2831 YYCURSOR++;
2834 while (YYCURSOR < YYLIMIT) {
2835 switch (*YYCURSOR++) {
2839 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2844 if (*YYCURSOR == '$') {
2849 if (YYCURSOR < YYLIMIT) {
2850 YYCURSOR++;
2857 YYCURSOR--;
2861 yyleng = YYCURSOR - SCNG(yy_text);
2876 if (YYCURSOR > YYLIMIT) {
2880 YYCURSOR--;
2882 while (YYCURSOR < YYLIMIT) {
2883 switch (*YYCURSOR++) {
2885 if (*YYCURSOR == '\n') {
2886 YYCURSOR++;
2892 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2893 if (*YYCURSOR == '\t') {
2898 ++YYCURSOR;
2902 if (YYCURSOR == YYLIMIT) {
2903 yyleng = YYCURSOR - SCNG(yy_text);
2910 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2911 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2924 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2936 YYCURSOR -= indentation;
2945 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2950 if (*YYCURSOR == '$') {
2955 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2956 YYCURSOR++;
2963 YYCURSOR--;
2969 yyleng = YYCURSOR - SCNG(yy_text);
3000 if (YYCURSOR > YYLIMIT) {
3004 YYCURSOR--;
3006 while (YYCURSOR < YYLIMIT) {
3007 switch (*YYCURSOR++) {
3009 if (*YYCURSOR == '\n') {
3010 YYCURSOR++;
3016 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
3017 if (*YYCURSOR == '\t') {
3022 ++YYCURSOR;
3026 if (YYCURSOR == YYLIMIT) {
3027 yyleng = YYCURSOR - SCNG(yy_text);
3034 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
3035 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3048 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
3056 YYCURSOR -= indentation;
3070 yyleng = YYCURSOR - SCNG(yy_text);
3088 if (YYCURSOR > YYLIMIT) {