Lines Matching refs:zendlval

860 # define zend_copy_value(zendlval, yytext, yyleng) \  argument
863 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yytext, (size_t…
864 Z_STRLEN_P(zendlval) = sz; \
866 Z_STRVAL_P(zendlval) = (char *) estrndup(yytext, yyleng); \
867 Z_STRLEN_P(zendlval) = yyleng; \
870 static void zend_scan_escape_string(zval *zendlval, char *str, int len, char quote_type TSRMLS_DC) in zend_scan_escape_string() argument
875 ZVAL_STRINGL(zendlval, str, len, 1); in zend_scan_escape_string()
878 s = t = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
879 end = s+Z_STRLEN_P(zendlval); in zend_scan_escape_string()
891 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
895 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
899 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
903 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
907 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
915 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
927 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
934 Z_STRLEN_P(zendlval)--; /* for the 'x' */ in zend_scan_escape_string()
937 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
940 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
954 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
957 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
960 Z_STRLEN_P(zendlval)--; in zend_scan_escape_string()
982 s = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
983 …output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_STRLEN_… in zend_scan_escape_string()
984 Z_STRLEN_P(zendlval) = sz; in zend_scan_escape_string()
990 int lex_scan(zval *zendlval TSRMLS_DC) in lex_scan()
1176 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */ in lex_scan()
1187 zend_copy_value(zendlval, yytext, yyleng); in lex_scan()
1188 zendlval->type = IS_STRING; in lex_scan()
1482 zend_copy_value(zendlval, yytext, yyleng);
1483 zendlval->type = IS_STRING;
1509 Z_LVAL_P(zendlval) = 0;
1511 Z_LVAL_P(zendlval) = strtol(bin, NULL, 2);
1513 zendlval->type = IS_LONG;
1516 ZVAL_DOUBLE(zendlval, zend_bin_strtod(bin, NULL));
1523 Z_LVAL_P(zendlval) = strtol(yytext, NULL, 0);
1526 Z_LVAL_P(zendlval) = strtol(yytext, NULL, 0);
1529 Z_DVAL_P(zendlval) = zend_oct_strtod(yytext, NULL);
1531 Z_DVAL_P(zendlval) = zend_strtod(yytext, NULL);
1533 zendlval->type = IS_DOUBLE;
1538 zendlval->type = IS_LONG;
1554 Z_LVAL_P(zendlval) = 0;
1556 Z_LVAL_P(zendlval) = strtol(hex, NULL, 16);
1558 zendlval->type = IS_LONG;
1561 ZVAL_DOUBLE(zendlval, zend_hex_strtod(hex, NULL));
1568 ZVAL_LONG(zendlval, strtol(yytext, NULL, 10));
1570 ZVAL_STRINGL(zendlval, yytext, yyleng, 1);
1576 ZVAL_STRINGL(zendlval, yytext, yyleng, 1);
1581 ZVAL_DOUBLE(zendlval, zend_strtod(yytext, NULL));
1590 Z_STRLEN_P(zendlval) = sizeof("__CLASS__")-1;
1591 Z_STRVAL_P(zendlval) = estrndup("__CLASS__", Z_STRLEN_P(zendlval));
1592 zendlval->type = IS_CONSTANT;
1595 ZVAL_STRINGL(zendlval, ce->name, ce->name_length, 1);
1597 ZVAL_EMPTY_STRING(zendlval);
1606 ZVAL_STRINGL(zendlval, ce->name, ce->name_length, 1);
1608 ZVAL_EMPTY_STRING(zendlval);
1616 ZVAL_STRING(zendlval, op_array->function_name, 1);
1618 ZVAL_EMPTY_STRING(zendlval);
1627 Z_STRLEN_P(zendlval) = zend_spprintf(&Z_STRVAL_P(zendlval), 0, "%s%s%s",
1632 zendlval->type = IS_STRING;
1637 ZVAL_LONG(zendlval, CG(zend_lineno));
1647 ZVAL_STRING(zendlval, filename, 1);
1672 ZVAL_STRING(zendlval, dirname, 0);
1678 *zendlval = *CG(current_namespace);
1679 zval_copy_ctor(zendlval);
1681 ZVAL_EMPTY_STRING(zendlval);
1696 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1704 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1714 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1722 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1732 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1741 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1795 …readsize = SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yyte…
1796 Z_STRLEN_P(zendlval) = sz;
1801 Z_STRVAL_P(zendlval) = (char *) estrndup(yytext, yyleng);
1802 Z_STRLEN_P(zendlval) = yyleng;
1804 zendlval->type = IS_STRING;
1816 zend_copy_value(zendlval, (yytext+1), (yyleng-1));
1817 zendlval->type = IS_STRING;
1826 zend_copy_value(zendlval, (yytext+1), (yyleng-1));
1827 zendlval->type = IS_STRING;
1832 zend_copy_value(zendlval, (yytext+1), (yyleng-1));
1833 zendlval->type = IS_STRING;
1930 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1939 ZVAL_STRINGL(zendlval, yytext, yyleng, 0); /* no copying - intentional */
1973 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2, 1);
1976 s = t = Z_STRVAL_P(zendlval);
1977 end = s+Z_STRLEN_P(zendlval);
1986 Z_STRLEN_P(zendlval)--;
2006 s = Z_STRVAL_P(zendlval);
2007 …output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_STRLEN_…
2008 Z_STRLEN_P(zendlval) = sz;
2126 Z_LVAL_P(zendlval) = (long) '{';
2189 zend_scan_escape_string(zendlval, yytext, yyleng, '"' TSRMLS_CC);
2231 zend_scan_escape_string(zendlval, yytext, yyleng, '`' TSRMLS_CC);
2305 zend_scan_escape_string(zendlval, yytext, yyleng - newline, 0 TSRMLS_CC);
2361 zend_copy_value(zendlval, yytext, yyleng - newline);
2362 zendlval->type = IS_STRING;