/DragonOS-0.1.9/kernel/src/libs/ |
D | printk.c | 54 static int __do_vsprintf(char *buf, const char *fmt, int buf_size, va_list args) in __do_vsprintf() argument 75 for (; *fmt; ++fmt) in __do_vsprintf() 78 if (*fmt != '%') in __do_vsprintf() 80 *str = *fmt; in __do_vsprintf() 93 ++fmt; in __do_vsprintf() 96 switch (*fmt) in __do_vsprintf() 107 ++fmt; in __do_vsprintf() 112 ++fmt; in __do_vsprintf() 116 ++fmt; in __do_vsprintf() 121 ++fmt; in __do_vsprintf() [all …]
|
D | lock_free_flags.rs | 1 use core::{cell::UnsafeCell, fmt::Debug}; 45 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
D | printk.rs | 2 fmt::{self, Write}, 82 pub fn __write_fmt(&mut self, args: fmt::Arguments) { in __write_fmt() 107 impl fmt::Write for PrintkWriter { 108 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 115 pub fn __printk(args: fmt::Arguments) { in __printk() 122 pub fn log(&self, log_level: usize, message: fmt::Arguments) { in log()
|
D | lazy_init.rs | 20 use core::fmt::Debug; 137 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { in fmt() method
|
D | cpumask.rs | 110 impl core::fmt::Debug for CpuMask { 111 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
D | once.rs | 2 fmt::{self, Debug, Formatter}, 134 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() method
|
D | align.rs | 4 use core::{alloc::GlobalAlloc, fmt::Debug, ptr::Unique}; 71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/ |
D | guid.rs | 1 use core::{fmt, mem}; 45 impl fmt::Debug for DragonStubPayloadEFI { 46 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
|
D | fdt.rs | 3 use core::fmt::Debug; 28 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
/DragonOS-0.1.9/build-scripts/ |
D | Makefile | 1 .PHONY: fmt 2 fmt: target 3 cargo fmt --all $(FMT_CHECK)
|
/DragonOS-0.1.9/tools/ |
D | Makefile | 1 .PHONY: fmt 2 fmt: target 3 @cargo fmt --all $(FMT_CHECK)
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/ |
D | error.rs | 1 use std::{error::Error, fmt::Display}; 24 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method
|
/DragonOS-0.1.9/kernel/src/common/ |
D | printk.h | 45 int vsprintf(char *buf, const char *fmt, va_list args); 56 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args); 68 int printk_color(unsigned int FRcolor, unsigned int BKcolor, const char *fmt, ...); 78 int sprintk(char *buf, const char *fmt, ...);
|
D | stdio.h | 11 extern int vsprintf(char *buf, const char *fmt, va_list args); 13 extern int sprintk(char *buf, const char *fmt, ...);
|
/DragonOS-0.1.9/user/apps/ |
D | Makefile | 9 .PHONY: fmt 10 fmt: target 12 FMT_CHECK=$(FMT_CHECK) $(MAKE) -C $$subdir fmt;\
|
/DragonOS-0.1.9/user/apps/clear/ |
D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS-0.1.9/kernel/src/net/ |
D | mod.rs | 2 fmt::{self, Debug}, 84 impl fmt::Display for Protocol { 85 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/DragonOS-0.1.9/kernel/ |
D | Makefile | 26 .PHONY: fmt 27 fmt: target 28 cargo fmt --all $(FMT_CHECK)
|
/DragonOS-0.1.9/kernel/crates/klog_types/src/ |
D | lib.rs | 7 use core::{fmt::Debug, mem::size_of_val}; 145 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method 201 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | msi.rs | 1 use core::{any::Any, fmt::Debug}; 21 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
/DragonOS-0.1.9/docs/community/code_contribution/ |
D | c-coding-style.md | 83 if (*fmt == '*') 85 ++fmt; 87 else if (is_digit(*fmt)) 89 field_width = skip_and_atoi(&fmt);
|
/DragonOS-0.1.9/docs/kernel/core_api/ |
D | kernel_api.md | 575 #### `printk(const char* fmt, ...)` 583 **fmt** 591 #### `printk_color(unsigned int FRcolor, unsigned int BKcolor, const char* fmt, ...)` 607 **fmt** 615 #### `int vsprintf(char *buf, const char *fmt, va_list args)` 619   按照fmt格式化字符串,并将结果输出到buf中,返回写入buf的字符数量。 627 **fmt** 635 #### `int sprintk(char *buf, const char *fmt, ...)` argument 639   按照fmt格式化字符串,并将结果输出到buf中,返回写入buf的字符数量。 647 **fmt**
|
/DragonOS-0.1.9/kernel/src/time/ |
D | mod.rs | 2 fmt, 194 impl fmt::Display for Instant { 195 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 290 impl fmt::Display for Duration { 291 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/DragonOS-0.1.9/user/ |
D | Makefile | 78 .PHONY: fmt 79 fmt: target 80 FMT_CHECK=$(FMT_CHECK) $(MAKE) -C apps fmt
|
/DragonOS-0.1.9/ |
D | Makefile | 146 fmt: target 148 FMT_CHECK=$(FMT_CHECK) $(MAKE) fmt -C kernel 149 FMT_CHECK=$(FMT_CHECK) $(MAKE) fmt -C user 150 FMT_CHECK=$(FMT_CHECK) $(MAKE) fmt -C build-scripts
|