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; \
141 YYCURSOR = (YYCTYPE*)str; in yy_scan_buffer()
142 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
144 SCNG(yy_start) = YYCURSOR; in yy_scan_buffer()
628 offset = original_offset = YYCURSOR - SCNG(yy_start); in BEGIN_EXTERN_C()
854 SCNG(yy_text) = YYCURSOR; in lex_scan()
872 <!*> := yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
1516 YYCURSOR = bracket; in lex_scan()
1591 if (YYCURSOR > YYLIMIT) { in lex_scan()
1598 YYCTYPE *ptr = memchr(YYCURSOR, '<', YYLIMIT - YYCURSOR); in lex_scan()
1600 YYCURSOR = ptr ? ptr + 1 : YYLIMIT; in lex_scan()
1602 if (YYCURSOR < YYLIMIT) { in lex_scan()
1603 switch (*YYCURSOR) { in lex_scan()
1605 … if (CG(short_tags) || !strncasecmp(YYCURSOR + 1, "php", 3)) { /* Assume [ \t\n\r] follows "php" */ in lex_scan()
1618 YYCURSOR--; in lex_scan()
1624 YYCURSOR--; in lex_scan()
1631 yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
1708 while (YYCURSOR < YYLIMIT) { in lex_scan()
1709 switch (*YYCURSOR++) { in lex_scan()
1711 if (*YYCURSOR == '\n') { in lex_scan()
1712 YYCURSOR++; in lex_scan()
1724 if (*YYCURSOR == '>') { in lex_scan()
1725 YYCURSOR--; in lex_scan()
1736 yyleng = YYCURSOR - SCNG(yy_text); in lex_scan()
1751 while (YYCURSOR < YYLIMIT) {
1752 if (*YYCURSOR++ == '*' && *YYCURSOR == '/') {
1757 if (YYCURSOR < YYLIMIT) {
1758 YYCURSOR++;
1763 yyleng = YYCURSOR - SCNG(yy_text);
1810 } else if (*YYCURSOR++ == '\\' && YYCURSOR < YYLIMIT) {
1811 YYCURSOR++;
1889 if (YYCURSOR < YYLIMIT) {
1890 YYCURSOR++;
1897 YYCURSOR--;
1902 SET_DOUBLE_QUOTES_SCANNED_LENGTH(YYCURSOR - SCNG(yy_text) - yyleng);
1904 YYCURSOR = SCNG(yy_text) + yyleng;
1944 if (CG(heredoc_len) < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, CG(heredoc_len))) {
1945 YYCTYPE *end = YYCURSOR + CG(heredoc_len);
1967 YYCURSOR += CG(heredoc_len) - 1;
2009 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2010 YYCURSOR++;
2013 while (YYCURSOR < YYLIMIT) {
2014 switch (*YYCURSOR++) {
2018 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2023 if (*YYCURSOR == '$') {
2028 if (YYCURSOR < YYLIMIT) {
2029 YYCURSOR++;
2036 YYCURSOR--;
2041 yyleng = YYCURSOR - SCNG(yy_text);
2049 if (YYCURSOR > YYLIMIT) {
2052 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) {
2053 YYCURSOR++;
2056 while (YYCURSOR < YYLIMIT) {
2057 switch (*YYCURSOR++) {
2061 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2066 if (*YYCURSOR == '$') {
2071 if (YYCURSOR < YYLIMIT) {
2072 YYCURSOR++;
2079 YYCURSOR--;
2083 yyleng = YYCURSOR - SCNG(yy_text);
2093 if (YYCURSOR > YYLIMIT) {
2097 YYCURSOR--;
2099 while (YYCURSOR < YYLIMIT) {
2100 switch (*YYCURSOR++) {
2102 if (*YYCURSOR == '\n') {
2103 YYCURSOR++;
2108 …if (IS_LABEL_START(*YYCURSOR) && CG(heredoc_len) < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, CG(here…
2109 YYCTYPE *end = YYCURSOR + CG(heredoc_len);
2118 if (YYCURSOR[-2] == '\r' && YYCURSOR[-1] == '\n') {
2132 if (IS_LABEL_START(*YYCURSOR) || *YYCURSOR == '{') {
2137 if (*YYCURSOR == '$') {
2142 if (YYCURSOR < YYLIMIT && *YYCURSOR != '\n' && *YYCURSOR != '\r') {
2143 YYCURSOR++;
2150 YYCURSOR--;
2155 yyleng = YYCURSOR - SCNG(yy_text);
2165 if (YYCURSOR > YYLIMIT) {
2169 YYCURSOR--;
2171 while (YYCURSOR < YYLIMIT) {
2172 switch (*YYCURSOR++) {
2174 if (*YYCURSOR == '\n') {
2175 YYCURSOR++;
2180 …if (IS_LABEL_START(*YYCURSOR) && CG(heredoc_len) < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, CG(here…
2181 YYCTYPE *end = YYCURSOR + CG(heredoc_len);
2190 if (YYCURSOR[-2] == '\r' && YYCURSOR[-1] == '\n') {
2209 yyleng = YYCURSOR - SCNG(yy_text);
2219 if (YYCURSOR > YYLIMIT) {