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()
1958 ZVAL_LONG(zendlval, 0);
1961 ZVAL_LONG(zendlval, ZEND_STRTOL(bin, &end, 2));
1969 ZVAL_DOUBLE(zendlval, zend_bin_strtod(bin, (const char **)&end));
1992 ZVAL_LONG(zendlval, 0);
2003 ZVAL_LONG(zendlval, ZEND_STRTOL(octal, &end, 8));
2020 ZVAL_DOUBLE(zendlval, zend_oct_strtod(octal, (const char **)&end));
2050 ZVAL_UNDEF(zendlval);
2065 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, is_octal ? 8 : 10));
2069 ZVAL_LONG(zendlval, ZEND_STRTOL(lnum, &end, 0));
2073 ZVAL_DOUBLE(zendlval, zend_oct_strtod(lnum, (const char **)&end));
2075 ZVAL_DOUBLE(zendlval, zend_strtod(lnum, (const char **)&end));
2113 ZVAL_LONG(zendlval, 0);
2116 ZVAL_LONG(zendlval, ZEND_STRTOL(hex, &end, 16));
2124 ZVAL_DOUBLE(zendlval, zend_hex_strtod(hex, (const char **)&end));
2138 ZVAL_LONG(zendlval, ZEND_STRTOL(yytext, &end, 10));
2145 ZVAL_STRINGL(zendlval, yytext, yyleng);
2152 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*(yytext)));
2154 ZVAL_STRINGL(zendlval, yytext, yyleng);
2170 ZVAL_DOUBLE(zendlval, zend_strtod(dnum, &end));
2301 ZVAL_STRINGL(zendlval, s, sz);
2307 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR((zend_uchar)*yytext));
2309 ZVAL_STRINGL(zendlval, yytext, yyleng);
2481 ZVAL_NULL(zendlval);
2488 ZVAL_EMPTY_STRING(zendlval);
2494 ZVAL_INTERNED_STR(zendlval, ZSTR_CHAR(c));
2498 ZVAL_STRINGL(zendlval, yytext+bprefix+1, yyleng-bprefix-2);
2501 s = Z_STRVAL_P(zendlval);
2502 end = s+Z_STRLEN_P(zendlval);
2535 Z_STRLEN_P(zendlval) = t - Z_STRVAL_P(zendlval);
2542 s = Z_STRVAL_P(zendlval);
2544 …SCNG(output_filter)((unsigned char **)&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
2549 zend_string_release_ex(Z_STR_P(zendlval), 0);
2550 ZVAL_STR(zendlval, new_str);
2832 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '"') == SUCCESS)
2878 if (EXPECTED(zend_scan_escape_string(zendlval, yytext, yyleng, '`') == SUCCESS)
2920 ZVAL_NULL(zendlval);
2985 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
2989 zend_string *copy = Z_STR_P(zendlval);
2992 zendlval, heredoc_label->indentation, heredoc_label->indentation_uses_spaces,
2997 if (UNEXPECTED(zend_scan_escape_string(zendlval, ZSTR_VAL(copy), ZSTR_LEN(copy), 0) != SUCCESS)) {
3044 ZVAL_NULL(zendlval);
3086 ZVAL_STRINGL(zendlval, yytext, yyleng - newline);
3091 zendlval, indentation, spacing == HEREDOC_USING_SPACES,
3113 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
3117 ZEND_ASSERT(Z_TYPE_P(zendlval) != IS_UNDEF);
3118 elem->ast = zend_ast_create_zval_with_lineno(zendlval, start_line);