Lines Matching refs:zendlval

901 # define zend_copy_value(zendlval, yytext, yyleng) \  argument
906 ZVAL_STRINGL(zendlval, s, sz); \
909 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext))); \
911 ZVAL_STRINGL(zendlval, yytext, yyleng); \
914 static zend_result zend_scan_escape_string(zval *zendlval, char *str, int len, char quote_type) in zend_scan_escape_string() argument
921 ZVAL_EMPTY_STRING(zendlval); in zend_scan_escape_string()
927 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR(c)); in zend_scan_escape_string()
932 ZVAL_STRINGL(zendlval, str, len); in zend_scan_escape_string()
935 s = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
936 end = s+Z_STRLEN_P(zendlval); in zend_scan_escape_string()
1053 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1054 ZVAL_UNDEF(zendlval); in zend_scan_escape_string()
1065 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1066 ZVAL_UNDEF(zendlval); in zend_scan_escape_string()
1122 Z_STRLEN_P(zendlval) = t - Z_STRVAL_P(zendlval); in zend_scan_escape_string()
1129 s = Z_STRVAL_P(zendlval); in zend_scan_escape_string()
1130 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string()
1131 zval_ptr_dtor(zendlval); in zend_scan_escape_string()
1132 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string()
1156 zval *zendlval, int indentation, bool using_spaces, in strip_multiline_string_indentation() argument
1159 const char *str = Z_STRVAL_P(zendlval), *end = str + Z_STRLEN_P(zendlval); in strip_multiline_string_indentation()
1160 char *copy = Z_STRVAL_P(zendlval); in strip_multiline_string_indentation()
1221 Z_STRLEN_P(zendlval) = copy - Z_STRVAL_P(zendlval); in strip_multiline_string_indentation()
1225 zval_ptr_dtor_str(zendlval); in strip_multiline_string_indentation()
1226 ZVAL_UNDEF(zendlval); in strip_multiline_string_indentation()
1347 int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem) in lex_scan() argument
1353 ZVAL_UNDEF(zendlval); in lex_scan()
1970 ZVAL_LONG(zendlval, 0);
1973 ZVAL_LONG(zendlval, ZEND_STRTOL(bin, &end, 2));
1981 ZVAL_DOUBLE(zendlval, zend_bin_strtod(bin, (const char **)&end));
2004 ZVAL_LONG(zendlval, 0);
2015 ZVAL_LONG(zendlval, ZEND_STRTOL(octal, &end, 8));
2032 ZVAL_DOUBLE(zendlval, zend_oct_strtod(octal, (const char **)&end));
2062 ZVAL_UNDEF(zendlval);
2077 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, is_octal ? 8 : 10));
2081 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, 0));
2085 ZVAL_DOUBLE(zendlval, zend_oct_strtod(lnum, (const char **)&end));
2087 ZVAL_DOUBLE(zendlval, zend_strtod(lnum, (const char **)&end));
2125 ZVAL_LONG(zendlval, 0);
2128 ZVAL_LONG(zendlval, ZEND_STRTOL(hex, &end, 16));
2136 ZVAL_DOUBLE(zendlval, zend_hex_strtod(hex, (const char **)&end));
2150 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2157 ZVAL_STRINGL(zendlval, yytext, yyleng);
2164 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2166 ZVAL_STRINGL(zendlval, yytext, yyleng);
2182 ZVAL_DOUBLE(zendlval, zend_strtod(dnum, &end));
2317 ZVAL_STRINGL(zendlval, s, sz);
2323 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2325 ZVAL_STRINGL(zendlval, yytext, yyleng);
2497 ZVAL_NULL(zendlval);
2504 ZVAL_EMPTY_STRING(zendlval);
2510 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR(c));
2514 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2517 s = Z_STRVAL_P(zendlval);
2518 end = s+Z_STRLEN_P(zendlval);
2551 Z_STRLEN_P(zendlval) = t - Z_STRVAL_P(zendlval);
2558 s = Z_STRVAL_P(zendlval);
2560 …SCNG(output_filter)((unsigned char **)&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
2565 zend_string_release_ex(Z_STR_P(zendlval), 0);
2566 ZVAL_STR(zendlval, new_str);
2848 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2894 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2936 ZVAL_NULL(zendlval);
3001 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3005 zend_string *copy = Z_STR_P(zendlval);
3008 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
3013 if (UNEXPECTED(zend_scan_escape_string(zendlval, ZSTR_VAL(copy), ZSTR_LEN(copy), 0) != SUCCESS)) {
3060 ZVAL_NULL(zendlval);
3102 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3107 zendlval, indentation, spacing == HEREDOC_USING_SPACES,
3129 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3133 ZEND_ASSERT(Z_TYPE_P(zendlval) != IS_UNDEF);
3134 elem->ast = zend_ast_create_zval_with_lineno(zendlval, start_line);