| /rust/kernel/alloc/kvec/ |
| A D | errors.rs | 5 use core::fmt::{self, Debug, Formatter}; 12 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method 29 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method 49 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method
|
| /rust/kernel/ |
| A D | str.rs | 6 use crate::fmt::{self, Write}; 53 impl fmt::Display for BStr { 67 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 83 impl fmt::Debug for BStr { 99 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 475 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 488 impl fmt::Debug for CStr { 506 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 856 Err(fmt::Error) in write_str() 960 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method [all …]
|
| A D | device.rs | 11 use core::{fmt, marker::PhantomData, ptr}; 174 pub fn pr_emerg(&self, args: fmt::Arguments<'_>) { in pr_emerg() 184 pub fn pr_alert(&self, args: fmt::Arguments<'_>) { in pr_alert() 194 pub fn pr_crit(&self, args: fmt::Arguments<'_>) { in pr_crit() 204 pub fn pr_err(&self, args: fmt::Arguments<'_>) { in pr_err() 214 pub fn pr_warn(&self, args: fmt::Arguments<'_>) { in pr_warn() 224 pub fn pr_notice(&self, args: fmt::Arguments<'_>) { in pr_notice() 234 pub fn pr_info(&self, args: fmt::Arguments<'_>) { in pr_info() 244 pub fn pr_dbg(&self, args: fmt::Arguments<'_>) { in pr_dbg() 258 unsafe fn printk(&self, klevel: &[u8], msg: fmt::Arguments<'_>) { in printk()
|
| A D | print.rs | 11 fmt, 24 use fmt::Write; in rust_fmt_argument() 28 let _ = w.write_fmt(unsafe { *ptr.cast::<fmt::Arguments<'_>>() }); in rust_fmt_argument() 103 args: fmt::Arguments<'_>, 124 pub fn call_printk_cont(args: fmt::Arguments<'_>) { in call_printk_cont() 152 match $crate::prelude::fmt!($($arg)+) { 171 $crate::prelude::fmt!($($arg)+),
|
| A D | error.rs | 9 fmt, 184 impl fmt::Debug for Error { 185 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 223 impl From<fmt::Error> for Error { 224 fn from(_: fmt::Error) -> Error { in from()
|
| A D | fmt.rs | 7 pub use core::fmt::{Arguments, Debug, Display, Error, Formatter, Result, Write};
|
| A D | seq_file.rs | 34 pub fn call_printf(&self, args: core::fmt::Arguments<'_>) { in call_printf()
|
| A D | kunit.rs | 10 use core::fmt; 19 pub fn err(args: fmt::Arguments<'_>) { in err() 35 pub fn info(args: fmt::Arguments<'_>) { in info()
|
| A D | prelude.rs | 36 pub use core::format_args as fmt;
|
| A D | lib.rs | 90 pub mod fmt; module
|
| /rust/kernel/sync/ |
| A D | arc.rs | 30 fmt, 916 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 917 fmt::Display::fmt(self.deref(), f) in fmt() 921 impl<T: fmt::Display + ?Sized> fmt::Display for Arc<T> { 922 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 923 fmt::Display::fmt(self.deref(), f) in fmt() 928 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 929 fmt::Debug::fmt(self.deref(), f) in fmt() 933 impl<T: fmt::Debug + ?Sized> fmt::Debug for Arc<T> { 934 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method [all …]
|
| /rust/kernel/alloc/ |
| A D | kbox.rs | 10 use core::fmt; 564 impl<T, A> fmt::Display for Box<T, A> 566 T: ?Sized + fmt::Display, 569 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() function 570 <T as fmt::Display>::fmt(&**self, f) in fmt() 574 impl<T, A> fmt::Debug for Box<T, A> 576 T: ?Sized + fmt::Debug, 579 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() function 580 <T as fmt::Debug>::fmt(&**self, f) in fmt()
|
| A D | kvec.rs | 12 fmt, 862 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Vec<T, A> { 863 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 864 fmt::Debug::fmt(&**self, f) in fmt()
|
| /rust/kernel/block/mq/ |
| A D | raw_writer.rs | 3 use core::fmt::{self, Write}; 39 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 45 return Err(fmt::Error); in write_str()
|
| A D | gen_disk.rs | 11 use core::fmt::{self, Write}; 93 name: fmt::Arguments<'_>, in build()
|
| /rust/kernel/device/ |
| A D | property.rs | 76 pub fn display_name(&self) -> impl core::fmt::Display + '_ { in display_name() 79 impl core::fmt::Display for FwNodeDisplayName<'_> { in display_name() 80 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in display_name() method 354 impl core::fmt::Debug for FwNodeReferenceArgs { 355 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method 380 impl core::fmt::Display for FwNode { 381 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
| /rust/kernel/fs/ |
| A D | file.rs | 463 impl core::fmt::Debug for BadFdError { 464 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
| /rust/macros/ |
| A D | vtable.rs | 5 use std::fmt::Write;
|
| A D | kunit.rs | 8 use std::fmt::Write;
|
| A D | module.rs | 5 use std::fmt::Write;
|