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()
2257 if (YYCURSOR == YYLIMIT) {
2280 if (YYCURSOR > YYLIMIT) {
2287 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR);
2289 YYCURSOR = ptr ? ptr + 1 : YYLIMIT;
2291 if (YYCURSOR >= YYLIMIT) {
2295 if (*YYCURSOR == '?') {
2297 || (*(YYCURSOR + 1) == '=') /* <?= */
2298 || (!strncasecmp((char*)YYCURSOR + 1, "php", 3) && /* <?php[ \t\r\n] */
2299 (YYCURSOR + 4 == YYLIMIT ||
2300 YYCURSOR[4] == ' ' || YYCURSOR[4] == '\t' ||
2301 YYCURSOR[4] == '\n' || YYCURSOR[4] == '\r'))
2303 YYCURSOR--;
2309 yyleng = YYCURSOR - SCNG(yy_text);
2399 while (YYCURSOR < YYLIMIT) {
2400 switch (*YYCURSOR++) {
2403 YYCURSOR--;
2406 if (*YYCURSOR == '>') {
2407 YYCURSOR--;
2418 yyleng = YYCURSOR - SCNG(yy_text);
2432 while (YYCURSOR < YYLIMIT) {
2433 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
2438 if (YYCURSOR < YYLIMIT) {
2439 YYCURSOR++;
2447 yyleng = YYCURSOR - SCNG(yy_text);
2488 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
2489 YYCURSOR++;
2596 if (YYCURSOR < YYLIMIT) {
2597 YYCURSOR++;
2604 YYCURSOR--;
2609 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
2611 YYCURSOR = SCNG(yy_text) + yyleng;
2651 saved_cursor = YYCURSOR;
2655 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2656 if (*YYCURSOR == '\t') {
2661 ++YYCURSOR;
2665 if (YYCURSOR == YYLIMIT) {
2666 YYCURSOR = saved_cursor;
2671 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2672 if (!IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2680 YYCURSOR = saved_cursor;
2688 YYCURSOR = saved_cursor;
2774 YYCURSOR += yyleng - 1;
2814 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2815 YYCURSOR++;
2818 while (YYCURSOR < YYLIMIT) {
2819 switch (*YYCURSOR++) {
2823 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2828 if (*YYCURSOR == '$') {
2833 if (YYCURSOR < YYLIMIT) {
2834 YYCURSOR++;
2841 YYCURSOR--;
2846 yyleng = YYCURSOR - SCNG(yy_text);
2858 if (YYCURSOR > YYLIMIT) {
2861 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2862 YYCURSOR++;
2865 while (YYCURSOR < YYLIMIT) {
2866 switch (*YYCURSOR++) {
2870 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2875 if (*YYCURSOR == '$') {
2880 if (YYCURSOR < YYLIMIT) {
2881 YYCURSOR++;
2888 YYCURSOR--;
2892 yyleng = YYCURSOR - SCNG(yy_text);
2907 if (YYCURSOR > YYLIMIT) {
2911 YYCURSOR--;
2913 while (YYCURSOR < YYLIMIT) {
2914 switch (*YYCURSOR++) {
2916 if (*YYCURSOR == '\n') {
2917 YYCURSOR++;
2923 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
2924 if (*YYCURSOR == '\t') {
2929 ++YYCURSOR;
2933 if (YYCURSOR == YYLIMIT) {
2934 yyleng = YYCURSOR - SCNG(yy_text);
2941 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
2942 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
2955 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
2967 YYCURSOR -= indentation;
2976 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2981 if (*YYCURSOR == '$') {
2986 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2987 YYCURSOR++;
2994 YYCURSOR--;
3000 yyleng = YYCURSOR - SCNG(yy_text);
3031 if (YYCURSOR > YYLIMIT) {
3035 YYCURSOR--;
3037 while (YYCURSOR < YYLIMIT) {
3038 switch (*YYCURSOR++) {
3040 if (*YYCURSOR == '\n') {
3041 YYCURSOR++;
3047 while (YYCURSOR < YYLIMIT && (*YYCURSOR == ' ' || *YYCURSOR == '\t')) {
3048 if (*YYCURSOR == '\t') {
3053 ++YYCURSOR;
3057 if (YYCURSOR == YYLIMIT) {
3058 yyleng = YYCURSOR - SCNG(yy_text);
3065 …if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, h…
3066 if (IS_LABEL_SUCCESSOR(YYCURSOR[heredoc_label->length])) {
3079 if (YYCURSOR[-indentation - 2] == '\r' && YYCURSOR[-indentation - 1] == '\n') {
3087 YYCURSOR -= indentation;
3101 yyleng = YYCURSOR - SCNG(yy_text);
3119 if (YYCURSOR > YYLIMIT) {