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()
1383 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
2247 if (YYCURSOR == YYLIMIT) {
2270 if (YYCURSOR > YYLIMIT) {
2277 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2279 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2281 if (YYCURSOR >= YYLIMIT) {
2285 if (*YYCURSOR == '?') {
2287 || (*(YYCURSOR + 1) == '=') /* <?= */
2288 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2289 (YYCURSOR + 4 == YYLIMIT ||
2290 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2291 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2293 YYCURSOR--;
2299 yyleng = YYCURSOR - SCNG(yy_text);
2389 while (YYCURSOR < YYLIMIT) {
2390 switch (*YYCURSOR++) {
2393 YYCURSOR--;
2396 if (*YYCURSOR == '>') {
2397 YYCURSOR--;
2408 yyleng = YYCURSOR - SCNG(yy_text);
2422 while (YYCURSOR < YYLIMIT) {
2423 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2428 if (YYCURSOR < YYLIMIT) {
2429 YYCURSOR++;
2437 yyleng = YYCURSOR - SCNG(yy_text);
2472 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2473 YYCURSOR++;
2580 if (YYCURSOR < YYLIMIT) {
2581 YYCURSOR++;
2588 YYCURSOR--;
2593 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2595 YYCURSOR = SCNG(yy_text) + yyleng;
2635 saved_cursor = YYCURSOR;
2639 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2640 if (*YYCURSOR == '\t') {
2645 ++YYCURSOR;
2649 if (YYCURSOR == YYLIMIT) {
2650 YYCURSOR = saved_cursor;
2655 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2656 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2664 YYCURSOR = saved_cursor;
2672 YYCURSOR = saved_cursor;
2758 YYCURSOR += yyleng - 1;
2798 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2799 YYCURSOR++;
2802 while (YYCURSOR < YYLIMIT) {
2803 switch (*YYCURSOR++) {
2807 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2812 if (*YYCURSOR == '$') {
2817 if (YYCURSOR < YYLIMIT) {
2818 YYCURSOR++;
2825 YYCURSOR--;
2830 yyleng = YYCURSOR - SCNG(yy_text);
2842 if (YYCURSOR > YYLIMIT) {
2845 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2846 YYCURSOR++;
2849 while (YYCURSOR < YYLIMIT) {
2850 switch (*YYCURSOR++) {
2854 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2859 if (*YYCURSOR == '$') {
2864 if (YYCURSOR < YYLIMIT) {
2865 YYCURSOR++;
2872 YYCURSOR--;
2876 yyleng = YYCURSOR - SCNG(yy_text);
2891 if (YYCURSOR > YYLIMIT) {
2895 YYCURSOR--;
2897 while (YYCURSOR < YYLIMIT) {
2898 switch (*YYCURSOR++) {
2900 if (*YYCURSOR == '\n') {
2901 YYCURSOR++;
2907 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2908 if (*YYCURSOR == '\t') {
2913 ++YYCURSOR;
2917 if (YYCURSOR == YYLIMIT) {
2918 yyleng = YYCURSOR - SCNG(yy_text);
2925 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2926 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2939 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2951 YYCURSOR -= indentation;
2960 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2965 if (*YYCURSOR == '$') {
2970 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2971 YYCURSOR++;
2978 YYCURSOR--;
2984 yyleng = YYCURSOR - SCNG(yy_text);
3015 if (YYCURSOR > YYLIMIT) {
3019 YYCURSOR--;
3021 while (YYCURSOR < YYLIMIT) {
3022 switch (*YYCURSOR++) {
3024 if (*YYCURSOR == '\n') {
3025 YYCURSOR++;
3031 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
3032 if (*YYCURSOR == '\t') {
3037 ++YYCURSOR;
3041 if (YYCURSOR == YYLIMIT) {
3042 yyleng = YYCURSOR - SCNG(yy_text);
3049 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
3050 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3063 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
3071 YYCURSOR -= indentation;
3085 yyleng = YYCURSOR - SCNG(yy_text);
3103 if (YYCURSOR > YYLIMIT) {