Searched refs:format (Results 1 – 14 of 14) sorted by relevance
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdio.c | 7 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.8/tools/ |
D | list_contributors.py | 20 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.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 6 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() 183 &mut format!("\nVmPeak:\t{} kB", hiwater_vm) in open_status() [all …]
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 170 _ => return Err(TtyError::Unknown(format!("{err:?}"))), in read_stdin() 213 _ => return Err(TtyError::Unknown(format!("{e:?}"))), in write_stdin() 245 _ => return Err(TtyError::Unknown(format!("{err:?}"))), in read_output() 278 _ => return Err(TtyError::Unknown(format!("{e:?}"))), in write_output()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | stdio.h | 54 int fprintf(FILE *restrict stream, const char *restrict format, ...);
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | mod.rs | 25 use alloc::{format, string::String, sync::Arc, vec::Vec}; 129 format!("ahci_disk_{}", id), in ahci_rust_init() 140 format!("ahci_{}", id).as_str(), in ahci_rust_init()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | core.rs | 7 use alloc::{boxed::Box, format, string::ToString, sync::Arc}; 120 .expect(format!("Failed to create '/{mountpoint_name}'").as_str()) in do_migrate() 127 .expect(format!("Failed to migrate {mountpoint_name}").as_str()); in do_migrate()
|
/DragonOS-0.1.8/docs/kernel/process_management/ |
D | kthread.md | 43   printf-style format string for the thread name
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | mod.rs | 111 return format!("{}:{}", self.0, self.1); in to_name()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | printk.rs | 55 …rintk::PrintkWriter.__write_string_color($FRcolor, $BKcolor, alloc::fmt::format(format_args!($($ar…
|
D | elf.rs | 587 _ => ExecError::Other(format!("load_elf_segment failed: {:?}", e)), in load()
|
D | rbtree.rs | 1686 let map_str = format!("{:?}", map); in test_show() 1689 assert_eq!(format!("{:?}", empty), "{}"); in test_show()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | errno.md | 107 #define ENOEXEC 46 /* 可执行文件格式错误 Executable file format error.*/
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | virtio_net.rs | 103 name: format!("eth{}", iface_id), in new()
|