Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 156) sorted by relevance

1234567

/DragonOS/kernel/src/libs/
H A Dprintk.c54 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 Dlock_free_flags.rs1 use core::{cell::UnsafeCell, fmt::Debug};
46 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() method
H A Dprintk.rs1 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 Dguid.rs1 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 Derror.rs1 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 Dprintk.h45 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 Dstdio.h11 extern int vsprintf(char *buf, const char *fmt, va_list args);
13 extern int sprintk(char *buf, const char *fmt, ...);
/DragonOS/tools/
H A DMakefile1 .PHONY: fmt
2 fmt: target
3 @cargo fmt --all $(FMT_CHECK)
/DragonOS/build-scripts/
H A DMakefile1 .PHONY: fmt
2 fmt: target
3 cargo fmt --all $(FMT_CHECK)
/DragonOS/user/apps/
H A DMakefile9 .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 Dbuild_ebpf.rs23 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 DMakefile39 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 DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile36 fmt: target
37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt
39 fmt-check:
40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check
/DragonOS/user/apps/clear/
H A DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile36 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 DMakefile37 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 DMakefile36 fmt: target
37 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt
39 fmt-check:
40 RUSTFLAGS=$(RUSTFLAGS) cargo $(TOOLCHAIN) fmt --check

1234567