Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 1761) sorted by relevance

12345678910>>...71

/third_party/typescript/tests/baselines/reference/
Dexpr.symbols1 === tests/cases/compiler/expr.ts ===
3 >I : Symbol(I, Decl(expr.ts, 0, 0))
7 >E : Symbol(E, Decl(expr.ts, 1, 1))
10 >Red : Symbol(E.Red, Decl(expr.ts, 3, 8))
11 >Green : Symbol(E.Green, Decl(expr.ts, 4, 8))
12 >Blue : Symbol(E.Blue, Decl(expr.ts, 4, 15))
16 >f : Symbol(f, Decl(expr.ts, 5, 1))
19 >a : Symbol(a, Decl(expr.ts, 8, 7))
22 >n : Symbol(n, Decl(expr.ts, 9, 7))
25 >s : Symbol(s, Decl(expr.ts, 10, 7))
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dexpand.c57 static int expand_symbol_expression(struct expression *expr) in expand_symbol_expression() argument
59 struct symbol *sym = expr->symbol; in expand_symbol_expression()
63 warning(expr->pos, "undefined preprocessor identifier '%s'", show_ident(expr->symbol_name)); in expand_symbol_expression()
64 expr->type = EXPR_VALUE; in expand_symbol_expression()
65 expr->value = 0; in expand_symbol_expression()
66 expr->taint = 0; in expand_symbol_expression()
74 if (sym->initializer && !expr->symbol_name) in expand_symbol_expression()
81 static long long get_longlong(struct expression *expr) in get_longlong() argument
83 int no_expand = expr->ctype->ctype.modifiers & MOD_UNSIGNED; in get_longlong()
84 long long mask = 1ULL << (expr->ctype->bit_size - 1); in get_longlong()
[all …]
Dinline.c39 static struct expression * dup_expression(struct expression *expr) in dup_expression() argument
41 struct expression *dup = alloc_expression(expr->pos, expr->type); in dup_expression()
42 *dup = *expr; in dup_expression()
78 static struct expression * copy_expression(struct expression *expr) in copy_expression() argument
80 if (!expr) in copy_expression()
83 switch (expr->type) { in copy_expression()
89 struct symbol *sym = copy_symbol(expr->pos, expr->symbol); in copy_expression()
90 if (sym == expr->symbol) in copy_expression()
92 expr = dup_expression(expr); in copy_expression()
93 expr->symbol = sym; in copy_expression()
[all …]
Devaluate.c50 static struct symbol *degenerate(struct expression *expr);
53 static inline int valid_expr_type(struct expression *expr) in valid_expr_type() argument
55 return expr && valid_type(expr->ctype); in valid_expr_type()
58 static inline int valid_subexpr_type(struct expression *expr) in valid_subexpr_type() argument
60 return valid_expr_type(expr->left) in valid_subexpr_type()
61 && valid_expr_type(expr->right); in valid_subexpr_type()
78 static struct symbol *evaluate_symbol_expression(struct expression *expr) in evaluate_symbol_expression() argument
81 struct symbol *sym = expr->symbol; in evaluate_symbol_expression()
85 expression_error(expr, "undefined identifier '%s'", show_ident(expr->symbol_name)); in evaluate_symbol_expression()
93 expression_error(expr, "identifier '%s' has no type", show_ident(expr->symbol_name)); in evaluate_symbol_expression()
[all …]
Dshow-parse.c45 static int show_string_expr(struct expression *expr);
550 struct expression *expr = case_stmt->case_expression; in show_switch_statement() local
553 if (!expr) { in show_switch_statement()
556 if (expr->type == EXPR_VALUE) { in show_switch_statement()
557 printf(" case %lld", expr->value); in show_switch_statement()
744 static int show_call_expression(struct expression *expr) in show_call_expression() argument
751 if (!expr->ctype) { in show_call_expression()
752 warning(expr->pos, "\tcall with no type!"); in show_call_expression()
757 FOR_EACH_PTR_REVERSE(expr->args, arg) { in show_call_expression()
764 fn = expr->fn; in show_call_expression()
[all …]
/third_party/boost/boost/proto/detail/preprocessed/
Dexpr_variadic.hpp37 struct expr<Tag, term<Arg0>, 0> struct
42 typedef expr proto_base_expr; argument
48 typedef expr proto_derived_expr; argument
55 expr const &proto_base() const in proto_base() argument
62 expr &proto_base() in proto_base() argument
71 static expr const make(A0 &a0) in make() argument
73 return detail::make_terminal(a0, static_cast<expr *>(0), static_cast<proto_args *>(0)); in make()
79 static expr const make(A0 const &a0) in make() argument
81 return detail::make_terminal(a0, static_cast<expr *>(0), static_cast<proto_args *>(0)); in make()
91 proto::expr< argument
[all …]
Dexpr.hpp37 struct expr<Tag, term<Arg0>, 0> struct
42 typedef expr proto_base_expr; argument
48 typedef expr proto_derived_expr; argument
55 expr const &proto_base() const in proto_base() argument
62 expr &proto_base() in proto_base() argument
71 static expr const make(A0 &a0) in make() argument
73 return detail::make_terminal(a0, static_cast<expr *>(0), static_cast<proto_args *>(0)); in make()
79 static expr const make(A0 const &a0) in make() argument
81 return detail::make_terminal(a0, static_cast<expr *>(0), static_cast<proto_args *>(0)); in make()
91 proto::expr< argument
[all …]
/third_party/boost/boost/proto/context/detail/preprocessed/
Dnull_eval.hpp12 void operator ()(Expr &expr, Context &ctx) const in operator ()()
14 proto::eval(proto::child_c< 0>(expr), ctx); in operator ()()
21 void operator ()(Expr &expr, Context &ctx) const in operator ()()
23 proto::eval(proto::child_c< 0>(expr), ctx); proto::eval(proto::child_c< 1>(expr), ctx); in operator ()()
30 void operator ()(Expr &expr, Context &ctx) const in operator ()()
32 …roto::eval(proto::child_c< 0>(expr), ctx); proto::eval(proto::child_c< 1>(expr), ctx); proto::eval… in operator ()()
39 void operator ()(Expr &expr, Context &ctx) const in operator ()()
41 …d_c< 0>(expr), ctx); proto::eval(proto::child_c< 1>(expr), ctx); proto::eval(proto::child_c< 2>(ex… in operator ()()
48 void operator ()(Expr &expr, Context &ctx) const in operator ()()
50expr), ctx); proto::eval(proto::child_c< 1>(expr), ctx); proto::eval(proto::child_c< 2>(expr), ctx… in operator ()()
[all …]
Ddefault_eval.hpp21 result_type operator ()(Expr &expr, Context &context) const in operator ()()
23 return this->invoke(expr, context, is_member_function_pointer<function_type>()); in operator ()()
26 result_type invoke(Expr &expr, Context &context, mpl::false_) const in invoke()
28 return proto::eval(proto::child_c< 0>( expr), context)( in invoke()
29 … proto::eval(proto::child_c< 1>( expr), context) , proto::eval(proto::child_c< 2>( expr), context) in invoke()
32 result_type invoke(Expr &expr, Context &context, mpl::true_) const in invoke()
37 … BOOST_PROTO_GET_POINTER(class_type, (proto::eval(proto::child_c< 1>( expr), context))) ->* in invoke()
38 proto::eval(proto::child_c< 0>( expr), context) in invoke()
39 )(proto::eval(proto::child_c< 2>( expr), context)); in invoke()
55 result_type operator ()(Expr &expr, Context &context) const in operator ()()
[all …]
/third_party/curl/include/curl/
Dtypecheck-gcc.h444 #define curlcheck_any_ptr(expr) \ argument
445 (sizeof(expr) == sizeof(void *))
449 #define curlcheck_NULL(expr) \ argument
450 (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL)))
453 #define curlcheck_ptr(expr, type) \ argument
454 (curlcheck_NULL(expr) || \
455 __builtin_types_compatible_p(__typeof__(expr), type *) || \
456 __builtin_types_compatible_p(__typeof__(expr), const type *))
459 #define curlcheck_arr(expr, type) \ argument
460 (curlcheck_ptr((expr), type) || \
[all …]
/third_party/python/Parser/
DPython.asdl8 | Expression(expr body)
9 | FunctionType(expr* argtypes, expr returns)
12 stmt* body, expr* decorator_list, expr? returns,
15 stmt* body, expr* decorator_list, expr? returns,
19 expr* bases,
22 expr* decorator_list)
23 | Return(expr? value)
25 | Delete(expr* targets)
26 | Assign(expr* targets, expr value, string? type_comment)
27 | AugAssign(expr target, operator op, expr value)
[all …]
/third_party/boost/boost/proto/detail/
Dexpr.hpp44 (3, (0, 0, <boost/proto/detail/expr.hpp>))
49 (3, (1, BOOST_PROTO_MAX_ARITY, <boost/proto/detail/expr.hpp>))
69 #define BOOST_PP_ITERATION_PARAMS_1 (3, (0, 0, <boost/proto/detail/expr.hpp>))
73 … #define BOOST_PP_ITERATION_PARAMS_1 (3, (1, BOOST_PROTO_MAX_ARITY, <boost/proto/detail/expr.hpp>))
116 struct expr<Tag, term<Arg0>, 0> struct
119 …struct expr<Tag, BOOST_PP_CAT(list, BOOST_PP_ITERATION())<BOOST_PP_ENUM_PARAMS(ARG_COUNT, Arg)>, B…
125 typedef expr proto_base_expr; argument
135 typedef expr proto_derived_expr; argument
144 expr const &proto_base() const in proto_base() argument
152 expr &proto_base() in proto_base() argument
[all …]
/third_party/toybox/kconfig/
Dexpr.h39 struct expr *expr; member
43 struct expr { struct
53 struct expr *expr; member
81 struct expr *dep, *dep2;
119 struct expr *expr; member
140 struct expr *dep;
161 struct expr *expr_alloc_symbol(struct symbol *sym);
162 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce);
163 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2);
164 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
[all …]
Dexpr.c15 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol()
17 struct expr *e = malloc(sizeof(*e)); in expr_alloc_symbol()
24 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one()
26 struct expr *e = malloc(sizeof(*e)); in expr_alloc_one()
29 e->left.expr = ce; in expr_alloc_one()
33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two()
35 struct expr *e = malloc(sizeof(*e)); in expr_alloc_two()
38 e->left.expr = e1; in expr_alloc_two()
39 e->right.expr = e2; in expr_alloc_two()
43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp()
[all …]
/third_party/boost/libs/yap/test/
Ddepth_stress_test_left.cpp25 auto expr = (unity + (unity + (unity + (unity + (unity + (unity + (unity + unity))))))); in test_main() local
26 double result = boost::yap::evaluate(expr); in test_main()
31 auto expr = in test_main() local
41 double result = boost::yap::evaluate(expr); in test_main()
47 auto expr = in test_main()
58 (expr + (expr + (expr + (expr + (expr + (expr + (expr + (expr + in test_main()
59 (expr + (expr + (expr + (expr + (expr + (expr + (expr + (expr + in test_main()
60 (expr + (expr + (expr + (expr + (expr + (expr + (expr + (expr + in test_main()
61 … (expr + (expr + (expr + (expr + (expr + (expr + (expr + (expr)))))))))))))))))))))))))))))))) in test_main()
Ddepth_stress_test_right.cpp25 auto expr = in test_main() local
27 double result = boost::yap::evaluate(expr); in test_main()
32 auto expr = in test_main() local
42 double result = boost::yap::evaluate(expr); in test_main()
48 auto expr = in test_main()
59 expr + expr + expr + expr + expr + expr + expr + expr + in test_main()
60 expr + expr + expr + expr + expr + expr + expr + expr + in test_main()
61 expr + expr + expr + expr + expr + expr + expr + expr + in test_main()
62 expr + expr + expr + expr + expr + expr + expr + expr in test_main()
Duser_expression_transform_1.cpp74 decltype(auto) operator()(term<user::number> const & expr) in operator ()()
76 return ::boost::yap::value(expr); in operator ()()
88 decltype(auto) operator()(term<user::number> const & expr) in operator ()()
91 return ::boost::yap::value(expr); in operator ()()
112 bh::tuple<Expr1, Expr2>> const & expr) in operator ()()
115 ::boost::yap::left(expr), ::boost::yap::right(expr)); in operator ()()
133 bh::tuple<Expr1, Expr2>> const & expr) in operator ()()
137 ::boost::yap::left(expr), ::boost::yap::right(expr)); in operator ()()
162 decltype(auto) operator()(term<user::number> const & expr) in operator ()()
165 ::boost::yap::value(expr) * user::number{2.0}); in operator ()()
[all …]
/third_party/boost/boost/numeric/ublas/detail/
Dduff.hpp16 #define DD_SWITCH(n, d, r, expr) \ argument
20 case 0: do { expr;
21 #define DD_CASE_I(i, expr) \ argument
22 case (i): expr;
28 #define DD_1T(n, d, r, expr) \ argument
30 #define DD_2T(n, d, r, expr) \ argument
31 DD_CASE_I(1, expr) \
32 DD_1T(n, d, r, expr)
33 #define DD_3T(n, d, r, expr) \ argument
34 DD_CASE_I(2, expr) \
[all …]
/third_party/skia/resources/sksl/folding/
DShortCircuitBoolFolding.sksl5 bool expr = unknownInput > 0;
10 if (true && expr) { ++ok; } else { ++bad; } // -> (expr)
11 if (false && expr) { ++bad; } else { ++ok; } // -> (false) -> block removed
12 if (true ^^ expr) { ++bad; } else { ++ok; } // -> unchanged
13 if (false ^^ expr) { ++ok; } else { ++bad; } // -> (expr)
14 if (true || expr) { ++ok; } else { ++bad; } // -> (true)
15 if (false || expr) { ++ok; } else { ++bad; } // -> (expr)
16 if (true == expr) { ++ok; } else { ++bad; } // -> (expr)
17 if (false == expr) { ++bad; } else { ++ok; } // -> unchanged
18 if (true != expr) { ++bad; } else { ++ok; } // -> unchanged
[all …]
/third_party/boost/libs/spirit/repository/example/karma/
Dcalc2_ast.hpp50 int which() const { return expr.which(); } in which()
54 : expr(nil()) {} in expression_ast()
56 expression_ast(unary_op const& expr) in expression_ast()
57 : expr(expr) {} in expression_ast()
59 expression_ast(binary_op const& expr) in expression_ast()
60 : expr(expr) {} in expression_ast()
62 expression_ast(unsigned int expr) in expression_ast()
63 : expr(expr) {} in expression_ast()
65 expression_ast(type const& expr) in expression_ast()
66 : expr(expr) {} in expression_ast()
[all …]
/third_party/boost/libs/spirit/example/karma/
Dcalc2_ast_vm.hpp50 int which() const { return expr.which(); } in which()
54 : expr(nil()) {} in expression_ast()
56 expression_ast(unary_op const& expr) in expression_ast()
57 : expr(expr) {} in expression_ast()
59 expression_ast(binary_op const& expr) in expression_ast()
60 : expr(expr) {} in expression_ast()
62 expression_ast(unsigned int expr) in expression_ast()
63 : expr(expr) {} in expression_ast()
65 expression_ast(type const& expr) in expression_ast()
66 : expr(expr) {} in expression_ast()
[all …]
Dcalc2_ast.hpp50 int which() const { return expr.which(); } in which()
54 : expr(nil()) {} in expression_ast()
56 expression_ast(unary_op const& expr) in expression_ast()
57 : expr(expr) {} in expression_ast()
59 expression_ast(binary_op const& expr) in expression_ast()
60 : expr(expr) {} in expression_ast()
62 expression_ast(unsigned int expr) in expression_ast()
63 : expr(expr) {} in expression_ast()
65 expression_ast(type const& expr) in expression_ast()
66 : expr(expr) {} in expression_ast()
[all …]
/third_party/boost/boost/
Dassert.hpp38 # define BOOST_ASSERT(expr) ((void)0) argument
39 # define BOOST_ASSERT_MSG(expr, msg) ((void)0) argument
49 …void assertion_failed(char const * expr, char const * function, char const * file, long line); // …
50 …void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const *…
53 #define BOOST_ASSERT(expr) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr, BOO… argument
54 #define BOOST_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_m… argument
60 # define BOOST_ASSERT(expr) assert(expr) argument
61 # define BOOST_ASSERT_MSG(expr, msg) assert((expr)&&(msg)) argument
77 # define BOOST_VERIFY(expr) ((void)(expr)) argument
78 # define BOOST_VERIFY_MSG(expr, msg) ((void)(expr)) argument
[all …]
/third_party/boost/libs/log/test/run/
Dfilt_attr.cpp36 namespace expr = logging::expressions;
58 filter f = expr::attr< int >(data::attr1()) == 10; in BOOST_AUTO_TEST_CASE()
61 f = expr::attr< int >(data::attr1()) < 0; in BOOST_AUTO_TEST_CASE()
64 f = expr::attr< float >(data::attr1()).or_throw() > 0; in BOOST_AUTO_TEST_CASE()
66 f = expr::attr< float >(data::attr1()) > 0; in BOOST_AUTO_TEST_CASE()
69 f = expr::attr< int >(data::attr4()).or_throw() >= 1; in BOOST_AUTO_TEST_CASE()
71 f = expr::attr< int >(data::attr4()) >= 1; in BOOST_AUTO_TEST_CASE()
74 f = expr::attr< int >(data::attr4()) < 1; in BOOST_AUTO_TEST_CASE()
77 f = expr::attr< logging::numeric_types >(data::attr2()) > 5; in BOOST_AUTO_TEST_CASE()
80 f = expr::attr< std::string >(data::attr3()) == "Hello, world!"; in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_builder.cpp181 expr(ir_expression_operation op, operand a) in expr() function
189 expr(ir_expression_operation op, operand a, operand b) in expr() function
197 expr(ir_expression_operation op, operand a, operand b, operand c) in expr() function
206 return expr(ir_binop_add, a, b); in add()
211 return expr(ir_binop_sub, a, b); in sub()
216 return expr(ir_binop_min, a, b); in min2()
221 return expr(ir_binop_max, a, b); in max2()
226 return expr(ir_binop_mul, a, b); in mul()
231 return expr(ir_binop_imul_high, a, b); in imul_high()
236 return expr(ir_binop_div, a, b); in div()
[all …]

12345678910>>...71