Home
last modified time | relevance | path

Searched defs:FormatArgs (Results 1 – 14 of 14) sorted by relevance

/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dformat_args.rs174 pub struct FormatArgs { struct
179 impl FormatArgs { impl
189 impl<'tcx> LateLintPass<'tcx> for FormatArgs { implementation
299 args: &rustc_ast::FormatArgs, in check_uninlined_args()
354 args: &rustc_ast::FormatArgs, in check_one_arg()
459 format_args: &rustc_ast::FormatArgs, in format_arg_positions()
480 fn is_aliased(format_args: &rustc_ast::FormatArgs, index: usize) -> bool { in is_aliased()
Dwrite.rs345 fn check_newline(cx: &LateContext<'_>, format_args: &FormatArgs, macro_call: &MacroCall, name: &str… in check_newline()
409 fn check_empty_string(cx: &LateContext<'_>, format_args: &FormatArgs, macro_call: &MacroCall, name:… in check_empty_string()
440 fn check_literal(cx: &LateContext<'_>, format_args: &FormatArgs, name: &str) { in check_literal()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/device/
Dms_device_shape_transfer.h79 struct FormatArgs { struct
80 const void *data;
81 const size_t device_size;
82 std::string host_format;
83 std::string device_format;
84 ShapeVector host_shape;
85 ShapeVector device_shape;
86 TypeId src_data_type;
/third_party/rust/rust/compiler/rustc_ast/src/
Dformat.rs43 pub struct FormatArgs { struct
45 pub template: Vec<FormatArgsPiece>, argument
53 pub enum FormatArgsPiece { argument
Dvisit.rs248 fn visit_format_args(&mut self, fmt: &'ast FormatArgs) { in visit_format_args()
766 pub fn walk_format_args<'a, V: Visitor<'a>>(visitor: &mut V, fmt: &'a FormatArgs) { in walk_format_args()
Dmut_visit.rs301 fn visit_format_args(&mut self, fmt: &mut FormatArgs) { in visit_format_args()
1310 pub fn noop_visit_format_args<T: MutVisitor>(fmt: &mut FormatArgs, vis: &mut T) { in noop_visit_format_args()
Dast.rs1531 FormatArgs(P<FormatArgs>), enumerator
/third_party/rust/rust/compiler/rustc_ast_lowering/src/
Dformat.rs37 fn flatten_format_args(mut fmt: Cow<'_, FormatArgs>) -> Cow<'_, FormatArgs> { in flatten_format_args() argument
111 fn inline_literals(mut fmt: Cow<'_, FormatArgs>) -> Cow<'_, FormatArgs> { in inline_literals() argument
352 fmt: &FormatArgs, in expand_format_args()
/third_party/rust/rust/src/tools/clippy/clippy_utils/src/
Dmacros.rs380 pub fn collect_ast_format_args(span: Span, format_args: &FormatArgs) { in collect_ast_format_args()
388 …args(cx: &LateContext<'_>, start: &Expr<'_>, expn_id: ExpnId, callback: impl FnOnce(&FormatArgs)) { in find_format_args()
479 pub fn format_arg_removal_span(format_args: &FormatArgs, index: usize) -> Option<Span> { in format_arg_removal_span()
/third_party/rust/rust/compiler/rustc_ast/src/util/
Dparser.rs271 FormatArgs, enumerator
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dslice_grad_cpu_kernel.cc400 void SliceGradCpuKernelMod::FormatArgs(bool stride) { in FormatArgs() function in mindspore::kernel::SliceGradCpuKernelMod
Dstrided_slice_v2_grad_cpu_kernel.cc623 void StridedSliceV2GradCpuKernelMod::FormatArgs(bool stride) { in FormatArgs() function in mindspore::kernel::StridedSliceV2GradCpuKernelMod
/third_party/rust/rust/compiler/rustc_builtin_macros/src/
Dformat.rs160 ) -> Result<FormatArgs, ()> { in make_format_args()
/third_party/rust/rust/compiler/rustc_hir/src/
Dhir.rs2153 FormatArgs, enumerator