Home
last modified time | relevance | path

Searched refs:format (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.5/kernel/src/libs/
Dprintk.rs48 …rintk::PrintkWriter.__write_string_color($FRcolor, $BKcolor, alloc::fmt::format(format_args!($($ar…
55 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("[ DEBUG ] ({}:…
56 … alloc::fmt::format(format_args!($($arg)*)).as_str() + "\n").as_str())
63 …er.__write_string((alloc::string::String::from("[ INFO ] ")+ alloc::fmt::format(format_args!($($ar…
71 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!($($arg)*)) + "\…
79 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi…
80 … alloc::fmt::format(format_args!($($arg)*)).as_str() + "\n").as_str())
88 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi…
89 … alloc::fmt::format(format_args!($($arg)*)).as_str() + "\n").as_str())
/DragonOS-0.1.5/user/libs/libc/src/
Dstdio.c7 int fprintf(FILE *restrict stream, const char *restrict format, ...) in fprintf() argument
14 va_start(args, format); in fprintf()
15 vsprintf(buf, format, args); in fprintf()
/DragonOS-0.1.5/tools/
Dlist_contributors.py20 format = '--pretty={"commit":"%h", "author":"%an", "email":"%ae", "date":"%cd"}' variable
22 logs = repo.git.log(format, since=args.since, until=args.until)
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs6 format,
141 &mut format!( in open_status()
148 pdata.append(&mut format!("\nstate:\t{}", pcb.state).as_bytes().to_owned()); in open_status()
149 pdata.append(&mut format!("\npid:\t{}", pcb.pid).as_bytes().to_owned()); in open_status()
151 &mut format!("\nPpid:\t{}", unsafe { *pcb.parent_pcb }.pid) in open_status()
155 pdata.append(&mut format!("\ncpu_id:\t{}", pcb.cpu_id).as_bytes().to_owned()); in open_status()
157 &mut format!("\npriority:\t{}", pcb.priority) in open_status()
162 &mut format!("\npreempt:\t{}", pcb.preempt_count) in open_status()
167 &mut format!("\nvrtime:\t{}", pcb.virtual_runtime) in open_status()
181 &mut format!("\nVmPeak:\t{} kB", hiwater_vm) in open_status()
[all …]
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dstdio.h54 int fprintf(FILE *restrict stream, const char *restrict format, ...);
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dmod.rs24 use alloc::{format, string::String, sync::Arc, vec::Vec};
128 format!("ahci_disk_{}", id), in ahci_rust_init()
139 format!("ahci_{}", id).as_str(), in ahci_rust_init()
/DragonOS-0.1.5/docs/kernel/process_management/
Dkthread.md43   printf-style format string for the thread name
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dcore.rs7 use alloc::{boxed::Box, format, string::ToString, sync::Arc};
107 .expect(format!("Failed to create '/{mountpoint_name}'").as_str()) in do_migrate()
114 .expect(format!("Failed to migrate {mountpoint_name}").as_str()); in do_migrate()
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Derrno.md107 #define ENOEXEC 46 /* 可执行文件格式错误 Executable file format error.*/