/dports/biology/sra-tools/sra-tools-2.11.0/tools/sra-sort/ |
H A D | sort-defs.h | 86 #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 D | mod.rs | 413 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 D | ptr_as_ptr.rs | 21 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 D | unnecessary_cast.rs | 17 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 D | fn_to_numeric_cast_any.rs | 10 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 D | fn_to_numeric_cast_with_truncation.rs | 10 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 D | fn_to_numeric_cast.rs | 10 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 D | cast_lossless.rs | 82 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 D | cast_ptr_alignment.rs | 13 if let ExprKind::Cast(cast_expr, cast_to) = expr.kind { in check() 18 cx.typeck_results().expr_ty(cast_expr), in check()
|
H A D | cast_possible_truncation.rs | 77 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 D | ptr_eq.rs | 79 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 D | cmdpars.y | 45 %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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | expression_evaluation.hpp | 95 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 D | linearize.hh | 635 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 D | bound_array_accessors_transform.cc | 243 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 D | CodeGen_D3D12Compute_Dev.cpp | 725 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 D | qc-parse.y | 187 %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 D | normalizer.cpp | 195 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 D | typo-correction-crash.cpp | 21 void cast_expr(int g) { +int(n)(g); } // expected-error {{undeclared identifier 'n'}} in cast_expr() function
|