Lines Matching refs:zendlval
913 # define zend_copy_value(zendlval, yytext, yyleng) \ argument
918 ZVAL_STRINGL(zendlval, s, sz); \
921 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext))); \
923 ZVAL_STRINGL(zendlval, yytext, yyleng); \
926 static zend_result zend_scan_escape_string(zval *zendlval, char *str, int len, char quote_type) in zend_scan_escape_string() argument
933 ZVAL_EMPTY_STRING(zendlval); in zend_scan_escape_string()
939 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR(c)); in zend_scan_escape_string()
944 ZVAL_STRINGL(zendlval, str, len); in zend_scan_escape_string()
947 s = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
948 end = s+Z_STRLEN_P(zendlval); in zend_scan_escape_string()
1064 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1065 ZVAL_UNDEF(zendlval); in zend_scan_escape_string()
1076 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1077 ZVAL_UNDEF(zendlval); in zend_scan_escape_string()
1133 Z_STRLEN_P(zendlval) = t - Z_STRVAL_P(zendlval); in zend_scan_escape_string()
1140 s = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
1141 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string()
1142 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1143 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string()
1167 zval *zendlval, int indentation, zend_bool using_spaces, in strip_multiline_string_indentation() argument
1170 const char *str = Z_STRVAL_P(zendlval), *end = str + Z_STRLEN_P(zendlval); in strip_multiline_string_indentation()
1171 char *copy = Z_STRVAL_P(zendlval); in strip_multiline_string_indentation()
1232 Z_STRLEN_P(zendlval) = copy - Z_STRVAL_P(zendlval); in strip_multiline_string_indentation()
1236 zval_ptr_dtor_str(zendlval); in strip_multiline_string_indentation()
1237 ZVAL_UNDEF(zendlval); in strip_multiline_string_indentation()
1358 int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem) in lex_scan() argument
1364 ZVAL_UNDEF(zendlval); in lex_scan()
1938 ZVAL_LONG(zendlval, 0);
1941 ZVAL_LONG(zendlval, ZEND_STRTOL(bin, &end, 2));
1949 ZVAL_DOUBLE(zendlval, zend_bin_strtod(bin, (const char **)&end));
1980 ZVAL_UNDEF(zendlval);
1995 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, is_octal ? 8 : 10));
1999 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, 0));
2003 ZVAL_DOUBLE(zendlval, zend_oct_strtod(lnum, (const char **)&end));
2005 ZVAL_DOUBLE(zendlval, zend_strtod(lnum, (const char **)&end));
2043 ZVAL_LONG(zendlval, 0);
2046 ZVAL_LONG(zendlval, ZEND_STRTOL(hex, &end, 16));
2054 ZVAL_DOUBLE(zendlval, zend_hex_strtod(hex, (const char **)&end));
2068 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2075 ZVAL_STRINGL(zendlval, yytext, yyleng);
2082 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2084 ZVAL_STRINGL(zendlval, yytext, yyleng);
2100 ZVAL_DOUBLE(zendlval, zend_strtod(dnum, &end));
2231 ZVAL_STRINGL(zendlval, s, sz);
2237 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2239 ZVAL_STRINGL(zendlval, yytext, yyleng);
2405 ZVAL_NULL(zendlval);
2412 ZVAL_EMPTY_STRING(zendlval);
2418 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR(c));
2422 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2425 s = Z_STRVAL_P(zendlval);
2426 end = s+Z_STRLEN_P(zendlval);
2459 Z_STRLEN_P(zendlval) = t - Z_STRVAL_P(zendlval);
2466 s = Z_STRVAL_P(zendlval);
2468 …SCNG(output_filter)((unsigned char **)&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
2473 zend_string_release_ex(Z_STR_P(zendlval), 0);
2474 ZVAL_STR(zendlval, new_str);
2756 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2802 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2844 ZVAL_NULL(zendlval);
2909 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
2913 zend_string *copy = Z_STR_P(zendlval);
2916 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
2921 if (UNEXPECTED(zend_scan_escape_string(zendlval, ZSTR_VAL(copy), ZSTR_LEN(copy), 0) != SUCCESS)) {
2968 ZVAL_NULL(zendlval);
3010 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3015 zendlval, indentation, spacing == HEREDOC_USING_SPACES,
3037 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3041 ZEND_ASSERT(Z_TYPE_P(zendlval) != IS_UNDEF);
3042 elem->ast = zend_ast_create_zval_with_lineno(zendlval, start_line);