Lines Matching refs:yytext
69 #define yytext ((char*)SCNG(yy_text)) macro
71 #define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
868 # define zend_copy_value(zendlval, yytext, yyleng) \ argument
871 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (s…
874 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); \
1152 …ter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TS… in lex_scan()
1158 zendlval->value.str.val = (char *) estrndup(yytext, yyleng); in lex_scan()
1162 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
1186 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1205 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1402 …YYCTYPE *bracket = (YYCTYPE*)zend_memrchr(yytext, '<', yyleng - (sizeof("script language=php>") - … in lex_scan()
1410 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
1411 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1447 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1464 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1499 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
1502 HANDLE_NEWLINE(yytext[yyleng-1]); in lex_scan()
1582 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) { in lex_scan()
1615 zend_scan_escape_string(zendlval, yytext, yyleng, '`' TSRMLS_CC); in lex_scan()
1669 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1702 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1728 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1812 if (yytext[0] == '\\' && YYCURSOR < YYLIMIT) { in lex_scan()
1846 zend_scan_escape_string(zendlval, yytext, yyleng, '"' TSRMLS_CC); in lex_scan()
1900 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1933 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
1959 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
2116 zend_scan_escape_string(zendlval, yytext, yyleng - newline, 0 TSRMLS_CC); in lex_scan()
2159 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
2192 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
2218 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
2405 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
2637 return yytext[0]; in lex_scan()
2650 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
2653 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
2949 zendlval->value.lval = strtol(yytext, NULL, 0); in lex_scan()
2952 zendlval->value.lval = strtol(yytext, NULL, 0); in lex_scan()
2954 if (yytext[0] == '0') { /* octal overflow */ in lex_scan()
2955 zendlval->value.dval = zend_oct_strtod(yytext, NULL); in lex_scan()
2957 zendlval->value.dval = zend_strtod(yytext, NULL); in lex_scan()
3040 int bprefix = (yytext[0] != '\'') ? 1 : 0; in lex_scan()
3062 zendlval->value.str.val = estrndup(yytext+bprefix+1, yyleng-bprefix-2); in lex_scan()
3113 int bprefix = (yytext[0] != '"') ? 1 : 0; in lex_scan()
3119 zend_scan_escape_string(zendlval, yytext+bprefix+1, yyleng-bprefix-2, '"' TSRMLS_CC); in lex_scan()
3175 …WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE); in lex_scan()
3207 zendlval->value.dval = zend_strtod(yytext, NULL); in lex_scan()
3305 char *bin = yytext + 2; /* Skip "0b" */ in lex_scan()
3342 char *hex = yytext + 2; /* Skip "0x" */ in lex_scan()
3376 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
3418 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
3518 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
3522 return yytext[0]; in lex_scan()
3603 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
3606 CG(doc_comment) = estrndup(yytext, yyleng); in lex_scan()
3890 int bprefix = (yytext[0] != '<') ? 1 : 0; in lex_scan()
3897 CG(heredoc_len) = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0); in lex_scan()
3898 s = yytext+bprefix+3; in lex_scan()
7249 zendlval->value.str.val = yytext; /* no copying - intentional */ in lex_scan()
7252 HANDLE_NEWLINES(yytext, yyleng); in lex_scan()
7281 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7382 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7473 zend_copy_value(zendlval, yytext, yyleng - newline); in lex_scan()
7475 HANDLE_NEWLINES(yytext, yyleng - newline); in lex_scan()
7587 …if (yyleng < MAX_LENGTH_OF_LONG - 1 || (yyleng == MAX_LENGTH_OF_LONG - 1 && strcmp(yytext, long_mi… in lex_scan()
7588 zendlval->value.lval = strtol(yytext, NULL, 10); in lex_scan()
7591 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); in lex_scan()
7620 return yytext[0]; in lex_scan()
7661 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
7677 …WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE); in lex_scan()
7718 zend_copy_value(zendlval, (yytext+1), (yyleng-1)); in lex_scan()
7764 zendlval->value.str.val = (char *)estrndup(yytext, yyleng); in lex_scan()