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; \
182 YYCURSOR = (YYCTYPE*)str; in yy_scan_buffer()
183 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
185 SCNG(yy_start) = YYCURSOR; in yy_scan_buffer()
1366 SCNG(yy_text) = YYCURSOR; in lex_scan()
1383 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
2171 if (YYCURSOR == YYLIMIT) {
2194 if (YYCURSOR > YYLIMIT) {
2201 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2203 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2205 if (YYCURSOR >= YYLIMIT) {
2209 if (*YYCURSOR == '?') {
2211 || (*(YYCURSOR + 1) == '=') /* <?= */
2212 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2213 (YYCURSOR + 4 == YYLIMIT ||
2214 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2215 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2217 YYCURSOR--;
2223 yyleng = YYCURSOR - SCNG(yy_text);
2313 while (YYCURSOR < YYLIMIT) {
2314 switch (*YYCURSOR++) {
2317 YYCURSOR--;
2320 if (*YYCURSOR == '>') {
2321 YYCURSOR--;
2332 yyleng = YYCURSOR - SCNG(yy_text);
2346 while (YYCURSOR < YYLIMIT) {
2347 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2352 if (YYCURSOR < YYLIMIT) {
2353 YYCURSOR++;
2361 yyleng = YYCURSOR - SCNG(yy_text);
2396 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2397 YYCURSOR++;
2504 if (YYCURSOR < YYLIMIT) {
2505 YYCURSOR++;
2512 YYCURSOR--;
2517 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2519 YYCURSOR = SCNG(yy_text) + yyleng;
2559 saved_cursor = YYCURSOR;
2563 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2564 if (*YYCURSOR == '\t') {
2569 ++YYCURSOR;
2573 if (YYCURSOR == YYLIMIT) {
2574 YYCURSOR = saved_cursor;
2579 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2580 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2588 YYCURSOR = saved_cursor;
2596 YYCURSOR = saved_cursor;
2682 YYCURSOR += yyleng - 1;
2722 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2723 YYCURSOR++;
2726 while (YYCURSOR < YYLIMIT) {
2727 switch (*YYCURSOR++) {
2731 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2736 if (*YYCURSOR == '$') {
2741 if (YYCURSOR < YYLIMIT) {
2742 YYCURSOR++;
2749 YYCURSOR--;
2754 yyleng = YYCURSOR - SCNG(yy_text);
2766 if (YYCURSOR > YYLIMIT) {
2769 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2770 YYCURSOR++;
2773 while (YYCURSOR < YYLIMIT) {
2774 switch (*YYCURSOR++) {
2778 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2783 if (*YYCURSOR == '$') {
2788 if (YYCURSOR < YYLIMIT) {
2789 YYCURSOR++;
2796 YYCURSOR--;
2800 yyleng = YYCURSOR - SCNG(yy_text);
2815 if (YYCURSOR > YYLIMIT) {
2819 YYCURSOR--;
2821 while (YYCURSOR < YYLIMIT) {
2822 switch (*YYCURSOR++) {
2824 if (*YYCURSOR == '\n') {
2825 YYCURSOR++;
2831 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2832 if (*YYCURSOR == '\t') {
2837 ++YYCURSOR;
2841 if (YYCURSOR == YYLIMIT) {
2842 yyleng = YYCURSOR - SCNG(yy_text);
2849 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2850 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2863 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2875 YYCURSOR -= indentation;
2884 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2889 if (*YYCURSOR == '$') {
2894 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2895 YYCURSOR++;
2902 YYCURSOR--;
2908 yyleng = YYCURSOR - SCNG(yy_text);
2939 if (YYCURSOR > YYLIMIT) {
2943 YYCURSOR--;
2945 while (YYCURSOR < YYLIMIT) {
2946 switch (*YYCURSOR++) {
2948 if (*YYCURSOR == '\n') {
2949 YYCURSOR++;
2955 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2956 if (*YYCURSOR == '\t') {
2961 ++YYCURSOR;
2965 if (YYCURSOR == YYLIMIT) {
2966 yyleng = YYCURSOR - SCNG(yy_text);
2973 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2974 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2987 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2995 YYCURSOR -= indentation;
3009 yyleng = YYCURSOR - SCNG(yy_text);
3027 if (YYCURSOR > YYLIMIT) {