Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/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.8/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()
183 &mut format!("\nVmPeak:\t{} kB", hiwater_vm) in open_status()
[all …]
/DragonOS-0.1.8/kernel/src/driver/tty/
Dmod.rs170 _ => 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/
Dstdio.h54 int fprintf(FILE *restrict stream, const char *restrict format, ...);
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs25 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/
Dcore.rs7 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/
Dkthread.md43   printf-style format string for the thread name
/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs111 return format!("{}:{}", self.0, self.1); in to_name()
/DragonOS-0.1.8/kernel/src/libs/
Dprintk.rs55 …rintk::PrintkWriter.__write_string_color($FRcolor, $BKcolor, alloc::fmt::format(format_args!($($ar…
Delf.rs587 _ => ExecError::Other(format!("load_elf_segment failed: {:?}", e)), in load()
Drbtree.rs1686 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/
Derrno.md107 #define ENOEXEC 46 /* 可执行文件格式错误 Executable file format error.*/
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs103 name: format!("eth{}", iface_id), in new()