Home
last modified time | relevance | path

Searched refs:cast_expr (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/dports/biology/sra-tools/sra-tools-2.11.0/tools/sra-sort/
H A Dsort-defs.h86 #define POLY_DISPATCH_VOID( msg, self, cast_expr, ctx, ... ) \ argument
88 ( * ( self ) -> vt -> msg ) ( ( cast_expr* ) ( self ), ctx, ## __VA_ARGS__ ) )
90 #define POLY_DISPATCH_INT( msg, self, cast_expr, ctx, ... ) \ argument
92 ( * ( self ) -> vt -> msg ) ( ( cast_expr* ) ( self ), ctx, ## __VA_ARGS__ ) )
94 #define POLY_DISPATCH_PTR( msg, self, cast_expr, ctx, ... ) \ argument
100 #define POLY_DISPATCH_VOID( msg, self, cast_expr, ctx, ... ) \ argument
101 ( * ( self ) -> vt -> msg ) ( ( cast_expr* ) ( self ), ctx, ## __VA_ARGS__ )
102 #define POLY_DISPATCH_INT( msg, self, cast_expr, ctx, ... ) \ argument
103 ( * ( self ) -> vt -> msg ) ( ( cast_expr* ) ( self ), ctx, ## __VA_ARGS__ )
104 #define POLY_DISPATCH_PTR( msg, self, cast_expr, ctx, ... ) \ argument
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/casts/
H A Dmod.rs413 if let ExprKind::Cast(cast_expr, cast_to) = expr.kind { in check_expr()
418 cx.typeck_results().expr_ty(cast_expr), in check_expr()
422 if unnecessary_cast::check(cx, expr, cast_expr, cast_from, cast_to) { in check_expr()
426 fn_to_numeric_cast_any::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
427 fn_to_numeric_cast::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
428 fn_to_numeric_cast_with_truncation::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
430 cast_possible_truncation::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
433 cast_lossless::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
434 cast_sign_loss::check(cx, expr, cast_expr, cast_from, cast_to); in check_expr()
H A Dptr_as_ptr.rs21 if let ExprKind::Cast(cast_expr, cast_to_hir_ty) = expr.kind; in check()
22 …let (cast_from, cast_to) = (cx.typeck_results().expr_ty(cast_expr), cx.typeck_results().expr_ty(ex… in check()
32 … let cast_expr_sugg = Sugg::hir_with_applicability(cx, cast_expr, "_", &mut applicability); in check()
H A Dunnecessary_cast.rs17 cast_expr: &Expr<'_>, in check()
21 if let Some(lit) = get_numeric_literal(cast_expr) { in check()
22 let literal_str = snippet_opt(cx, cast_expr.span).unwrap_or_default(); in check()
33 …let literal_str = if is_unary_neg(cast_expr) { format!("-{}", num_lit.integer) } else { num_lit.in… in check()
H A Dfn_to_numeric_cast_any.rs10 pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &Expr<'_>, cast_from: Ty<'_>,… in check()
20 … let from_snippet = snippet_with_applicability(cx, cast_expr.span, "..", &mut applicability); in check()
H A Dfn_to_numeric_cast_with_truncation.rs10 pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &Expr<'_>, cast_from: Ty<'_>,… in check()
19 … let from_snippet = snippet_with_applicability(cx, cast_expr.span, "x", &mut applicability); in check()
H A Dfn_to_numeric_cast.rs10 pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &Expr<'_>, cast_from: Ty<'_>,… in check()
20 … let from_snippet = snippet_with_applicability(cx, cast_expr.span, "x", &mut applicability); in check()
H A Dcast_lossless.rs82 fn should_strip_parens(cast_expr: &Expr<'_>, snip: &str) -> bool { in should_strip_parens()
83 if let ExprKind::Binary(_, _, _) = cast_expr.kind { in should_strip_parens()
H A Dcast_ptr_alignment.rs13 if let ExprKind::Cast(cast_expr, cast_to) = expr.kind { in check()
18 cx.typeck_results().expr_ty(cast_expr), in check()
H A Dcast_possible_truncation.rs77 pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &Expr<'_>, cast_from: Ty<'_>,… in check()
83 cast_expr, in check()
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dptr_eq.rs79 fn expr_as_cast_to_usize<'tcx>(cx: &LateContext<'tcx>, cast_expr: &'tcx Expr<'_>) -> Option<&'tcx E… in expr_as_cast_to_usize()
80 if cx.typeck_results().expr_ty(cast_expr) == cx.tcx.types.usize { in expr_as_cast_to_usize()
81 if let ExprKind::Cast(expr, _) = cast_expr.kind { in expr_as_cast_to_usize()
90 fn expr_as_cast_to_raw_pointer<'tcx>(cx: &LateContext<'tcx>, cast_expr: &'tcx Expr<'_>) -> Option<&… in expr_as_cast_to_raw_pointer()
91 if cx.typeck_results().expr_ty(cast_expr).is_unsafe_ptr() { in expr_as_cast_to_raw_pointer()
92 if let ExprKind::Cast(expr, _) = cast_expr.kind { in expr_as_cast_to_raw_pointer()
/dports/lang/sdcc/sdcc-4.0.0/sim/ucsim/cmd.src/
H A Dcmdpars.y45 %type <number> unary_expr cast_expr
225 cast_expr
246 : cast_expr { $$= $1; }
247 | multiplicative_expr PTOK_ASTERIX cast_expr { $$= $1 * $3; }
248 | multiplicative_expr PTOK_SLASH cast_expr { $$= $1 / $3; }
249 | multiplicative_expr PTOK_PERCENT cast_expr { $$= $1 % $3; }
/dports/devel/boost-docs/boost_1_72_0/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/devel/hyperscan/boost_1_75_0/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/devel/R-cran-BH/BH/inst/include/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/devel/boost-libs/boost_1_72_0/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/devel/boost-python-libs/boost_1_72_0/boost/numeric/ublas/tensor/
H A Dexpression_evaluation.hpp95 auto const& cast_expr = static_cast<D const&>(expr); in retrieve_extents() local
98 return cast_expr.extents(); in retrieve_extents()
100 return retrieve_extents(cast_expr); in retrieve_extents()
166 auto const& cast_expr = static_cast<D const&>(expr); in all_extents_equal() local
170 if( extents != cast_expr.extents() ) in all_extents_equal()
174 if ( !all_extents_equal(cast_expr, extents)) in all_extents_equal()
/dports/devel/ppl/ppl-1.2/src/
H A Dlinearize.hh635 cast_linearize(const Cast_Operator<Target>& cast_expr, in cast_linearize() argument
643 cast_expr.type().floating_point_format(); in cast_linearize()
644 const Concrete_Expression<Target>* cast_arg = cast_expr.argument(); in cast_linearize()
868 const Cast_Operator<Target>* cast_expr = in linearize() local
870 return cast_linearize(*cast_expr, oracle, lf_store, result); in linearize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/transform/
H A Dbound_array_accessors_transform.cc243 ast::ExpressionList cast_expr; in ProcessAccessExpression() local
244 cast_expr.push_back(expr->take_idx_expr()); in ProcessAccessExpression()
248 u32, std::move(cast_expr))); in ProcessAccessExpression()
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/src/
H A DCodeGen_D3D12Compute_Dev.cpp725 string cast_expr; in print_reinterpret_cast() local
726 cast_expr += "as"; in print_reinterpret_cast()
729 cast_expr += "uint"; in print_reinterpret_cast()
732 cast_expr += "int"; in print_reinterpret_cast()
735 cast_expr += "float"; in print_reinterpret_cast()
739 cast_expr = "BADCAST"; in print_reinterpret_cast()
743 cast_expr += "(" + value_expr + ")"; in print_reinterpret_cast()
744 return cast_expr; in print_reinterpret_cast()
825 string cast_expr = print_cast(target_type, source_type, print_expr(op->value)); in visit() local
827 print_assignment(target_type, cast_expr); in visit()
/dports/games/quakeforge/quakeforge-0.7.2/tools/qfcc/source/
H A Dqc-parse.y187 %type <expr> unary_expr cast_expr opt_arg_list arg_list
1247 | '+' cast_expr %prec UNARY { $$ = $2; }
1248 | '-' cast_expr %prec UNARY { $$ = unary_expr ('-', $2); }
1249 | '!' cast_expr %prec UNARY { $$ = unary_expr ('!', $2); }
1250 | '~' cast_expr %prec UNARY { $$ = unary_expr ('~', $2); }
1251 | '&' cast_expr %prec UNARY { $$ = address_expr ($2, 0, 0); }
1252 | '*' cast_expr %prec UNARY { $$ = pointer_expr ($2); }
1261 cast_expr
1262 : '(' abstract_decl ')' cast_expr
1264 $$ = cast_expr ($2->type, $4);
[all …]
/dports/textproc/zorba/zorba-2.7.0/src/compiler/normalizer/
H A Dnormalizer.cpp195 void end_visit (cast_expr&)
199 bool begin_visit (cast_expr& node)
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/SemaCXX/
H A Dtypo-correction-crash.cpp21 void cast_expr(int g) { +int(n)(g); } // expected-error {{undeclared identifier 'n'}} in cast_expr() function

12345678910>>...13