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()
2241 if (YYCURSOR == YYLIMIT) {
2264 if (YYCURSOR > YYLIMIT) {
2271 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2273 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2275 if (YYCURSOR >= YYLIMIT) {
2279 if (*YYCURSOR == '?') {
2281 || (*(YYCURSOR + 1) == '=') /* <?= */
2282 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2283 (YYCURSOR + 4 == YYLIMIT ||
2284 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2285 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2287 YYCURSOR--;
2293 yyleng = YYCURSOR - SCNG(yy_text);
2383 while (YYCURSOR < YYLIMIT) {
2384 switch (*YYCURSOR++) {
2387 YYCURSOR--;
2390 if (*YYCURSOR == '>') {
2391 YYCURSOR--;
2402 yyleng = YYCURSOR - SCNG(yy_text);
2416 while (YYCURSOR < YYLIMIT) {
2417 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2422 if (YYCURSOR < YYLIMIT) {
2423 YYCURSOR++;
2431 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) {