/DragonOS/kernel/src/libs/ |
H A 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 …]
|
H A D | lock_free_flags.rs | 1 use core::{cell::UnsafeCell, fmt::Debug}; 46 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
|
H A D | printk.rs | 1 use core::fmt::{self, Write}; 34 pub fn __write_fmt(&mut self, args: fmt::Arguments) { in __write_fmt() 57 impl fmt::Write for PrintkWriter { 58 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 65 pub fn __printk(args: fmt::Arguments) { in __printk() 72 pub fn log(&self, log_level: usize, message: fmt::Arguments) { in log()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | guid.rs | 1 use core::{fmt, mem}; 54 impl fmt::Debug for DragonStubPayloadEFI { 55 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A 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/kernel/src/common/ |
H A 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, ...);
|
H A 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/tools/ |
H A D | Makefile | 1 .PHONY: fmt 2 fmt: target 3 @cargo fmt --all $(FMT_CHECK)
|
/DragonOS/build-scripts/ |
H A D | Makefile | 1 .PHONY: fmt 2 fmt: target 3 cargo fmt --all $(FMT_CHECK)
|
/DragonOS/user/apps/ |
H A D | Makefile | 9 .PHONY: fmt 10 fmt: target 12 FMT_CHECK=$(FMT_CHECK) $(MAKE) -C $$subdir fmt;\
|
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/ |
H A D | build_ebpf.rs | 23 impl std::fmt::Display for Architecture { 24 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method
|
/DragonOS/user/apps/user-manage/ |
H A D | Makefile | 39 fmt: target 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 42 fmt-check: 43 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_lo/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test-symlink/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test-chown/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test-for-robustfutex/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test-mount/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_socket/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_alarm/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/clear/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_namespace/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_tokio/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_statx/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test-backlog/ |
H A D | Makefile | 37 fmt: target 38 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 40 fmt-check: 41 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|
/DragonOS/user/apps/test_ebpf/ |
H A D | Makefile | 36 fmt: target 37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt 39 fmt-check: 40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
|