/DragonOS-0.1.9/kernel/src/syscall/ |
D | mod.rs | 84 args: &[usize], in handle() 89 Self::put_string(args[0] as *const u8, args[1] as u32, args[2] as u32) in handle() 93 let path: &CStr = unsafe { CStr::from_ptr(args[0] as *const c_char) }; in handle() 100 let flags = args[1]; in handle() 101 let mode = args[2]; in handle() 111 let dirfd = args[0] as i32; in handle() 112 let path: &CStr = unsafe { CStr::from_ptr(args[1] as *const c_char) }; in handle() 113 let flags = args[2]; in handle() 114 let mode = args[3]; in handle() 130 let fd = args[0]; in handle() [all …]
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | printk.c | 54 static int __do_vsprintf(char *buf, const char *fmt, int buf_size, va_list args) in __do_vsprintf() argument 140 field_width = va_arg(args, int); in __do_vsprintf() 160 precision = va_arg(args, int); in __do_vsprintf() 200 *str++ = (unsigned char)va_arg(args, int); in __do_vsprintf() 212 s = va_arg(args, char *); in __do_vsprintf() 255 str = write_num(str, va_arg(args, long long), 8, field_width, precision, flags); in __do_vsprintf() 257 str = write_num(str, va_arg(args, int), 8, field_width, precision, flags); in __do_vsprintf() 268 … str = write_num(str, (unsigned long)va_arg(args, void *), 16, field_width, precision, flags); in __do_vsprintf() 278 str = write_num(str, va_arg(args, ll), 16, field_width, precision, flags); in __do_vsprintf() 280 str = write_num(str, va_arg(args, int), 16, field_width, precision, flags); in __do_vsprintf() [all …]
|
D | printk.rs | 82 pub fn __write_fmt(&mut self, args: fmt::Arguments) { in __write_fmt() 83 self.write_fmt(args).ok(); in __write_fmt() 115 pub fn __printk(args: fmt::Arguments) { in __printk() 116 PrintkWriter.write_fmt(args).unwrap(); in __printk()
|
/DragonOS-0.1.9/tools/ |
D | list_contributors.py | 13 args = parser.parse_args() variable 21 logs = repo.git.log(format, since=args.since, until=args.until) 24 if args.mode == 'all': 26 elif args.mode == 'short':
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/ |
D | lib.rs | 7 use args::{Casts, Flag, Targets}; 10 mod args; module 66 pub fn cast_to(args: TokenStream, input: TokenStream) -> TokenStream { in cast_to() 67 match parse::<Targets>(args) { in cast_to()
|
D | item_impl.rs | 13 use crate::args::Flag; 73 args: bindings, in fully_bound_trait() 77 AngleBracketed(args) => args.args.extend(bindings), in fully_bound_trait()
|
D | item_type.rs | 8 use crate::args::Flag;
|
/DragonOS-0.1.9/user/apps/test_sqlite3/ |
D | main.c | 42 void query_test(sqlite3 *db, const char *args) in query_test() argument 57 args, args, args); in query_test()
|
/DragonOS-0.1.9/kernel/crates/unified-init/macros/src/ |
D | lib.rs | 43 pub fn unified_init(args: TokenStream, input: TokenStream) -> TokenStream { in unified_init() 44 do_unified_init(args, input) in unified_init() 49 fn do_unified_init(args: TokenStream, input: TokenStream) -> syn::Result<proc_macro2::TokenStream> { in do_unified_init() 51 let attr_arg = syn::parse::<UnifiedInitArg>(args)?; in do_unified_init() 103 if generic_args.args.len() != 2 { in check_function_signature() 111 if let syn::GenericArgument::Type(type_arg) = generic_args.args.first().unwrap() in check_function_signature() 128 if let syn::GenericArgument::Type(type_arg) = generic_args.args.last().unwrap() in check_function_signature()
|
/DragonOS-0.1.9/kernel/src/common/ |
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);
|
D | stdio.h | 11 extern int vsprintf(char *buf, const char *fmt, va_list args);
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/syscall/ |
D | mod.rs | 80 let args = [ in syscall_handler() localVariable 112 Syscall::arch_prctl(args[0], args[1]) in syscall_handler() 121 Syscall::handle(syscall_num, &args, frame).unwrap_or_else(|e| e.to_posix_errno() as usize) in syscall_handler()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | exec.rs | 200 pub args: Vec<String>, field 209 args: Vec::new(), in new() 240 .args in push_at() 265 self.push_slice(ustack, &[self.args.len()])?; in push_at()
|
D | fork.rs | 165 let mut args = KernelCloneArgs::new(); in fork() localVariable 166 args.flags = clone_flags; in fork() 167 args.exit_signal = Signal::SIGCHLD; in fork() 168 Self::copy_process(¤t_pcb, &pcb, args, current_trapframe).map_err(|e| { in fork()
|
D | mod.rs | 836 pub fn generate_name(program_path: &str, args: &Vec<String>) -> String { in generate_name() 838 for arg in args { in generate_name()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | syscall.rs | 73 param.init_info_mut().args = argv; in do_execve() 94 regs.rdi = param.init_info().args.len() as u64; in do_execve()
|
/DragonOS-0.1.9/docs/kernel/core_api/ |
D | kernel_api.md | 615 #### `int vsprintf(char *buf, const char *fmt, va_list args)` 631 **args**
|
/DragonOS-0.1.9/docs/kernel/debug/ |
D | debug-kernel-with-gdb.md | 333 info args #显示当前函数的参数及其值
|