/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 408 pub fn handle(syscall_num: usize, args: &[usize], from_user: bool) -> usize { in handle() 411 Self::put_string(args[0] as *const u8, args[1] as u32, args[2] as u32) in handle() 414 let path: &CStr = unsafe { CStr::from_ptr(args[0] as *const c_char) }; in handle() 420 let flags = args[1]; in handle() 429 let fd = args[0]; in handle() 433 let fd = args[0] as i32; in handle() 434 let buf_vaddr = args[1]; in handle() 435 let len = args[2]; in handle() 452 let fd = args[0] as i32; in handle() 453 let buf_vaddr = args[1]; in handle() [all …]
|
/DragonOS-0.1.8/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 | 106 pub fn __write_fmt(&mut self, args: fmt::Arguments) { in __write_fmt() 107 self.write_fmt(args); in __write_fmt() 221 pub fn __printk(args: fmt::Arguments) { in __printk() 223 PrintkWriter.write_fmt(args).unwrap(); in __printk()
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | printf.c | 45 va_list args; in printf() local 46 va_start(args, fmt); in printf() 48 count = vsprintf(buf, fmt, args); in printf() 49 va_end(args); in printf() 58 va_list args; in sprintf() local 60 va_start(args, fmt); in sprintf() 61 count = vsprintf(buf, fmt, args); in sprintf() 62 va_end(args); in sprintf() 74 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 155 field_width = va_arg(args, int); in vsprintf() [all …]
|
D | stdio.c | 12 va_list args; in fprintf() local 14 va_start(args, format); in fprintf() 15 vsprintf(buf, format, args); in fprintf() 16 va_end(args); in fprintf()
|
/DragonOS-0.1.8/tools/ |
D | list_contributors.py | 14 args = parser.parse_args() variable 22 logs = repo.git.log(format, since=args.since, until=args.until) 25 if args.mode == 'all': 27 elif args.mode == 'short':
|
/DragonOS-0.1.8/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.8/kernel/src/libs/libUI/ |
D | screen_manager.h | 37 int (*uninstall)(void *args); // 卸载ui框架的回调函数 38 int (*enable)(void *args); // 启用ui框架的回调函数 39 int (*disable)(void *args); // 禁用ui框架的回调函数
|
D | textui.c | 79 int textui_uninstall_handler(void *args) in textui_uninstall_handler() argument 84 int textui_enable_handler(void *args) in textui_enable_handler() argument 91 int textui_disable_handler(void *args) in textui_disable_handler() argument
|
/DragonOS-0.1.8/kernel/src/common/ |
D | printk.h | 50 int vsprintf(char *buf, const char *fmt, va_list args); 61 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.8/kernel/src/arch/x86_64/ |
D | syscall.rs | 40 let args = [ in syscall_handler() localVariable 71 let path_ptr = args[0]; in syscall_handler() 72 let argv_ptr = args[1]; in syscall_handler() 73 let env_ptr = args[2]; in syscall_handler() 116 syscall_return!(Syscall::handle(syscall_num, &args, from_user) as u64, regs); in syscall_handler() 220 param.init_info_mut().args = argv; in tmp_rs_execve() 241 regs.rdi = param.init_info().args.len() as u64; in tmp_rs_execve()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | kthread.c | 51 const char name_fmt[], va_list args) in __kthread_create_on_node() argument 89 va_copy(get_args, args); in __kthread_create_on_node() 142 va_list args; in kthread_create_on_node() local 143 va_start(args, name_fmt); in kthread_create_on_node() 144 pcb = __kthread_create_on_node(thread_fn, data, node, name_fmt, args); in kthread_create_on_node() 145 va_end(args); in kthread_create_on_node()
|
D | exec.rs | 200 pub args: Vec<String>, field 208 args: Vec::new(), in new() 225 self.push_str(ustack, self.args[0].as_str())?; in push_at() 239 .args in push_at() 264 self.push_slice(ustack, &[self.args.len()])?; in push_at()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | stdio.h | 51 int vsprintf(char *buf, const char *fmt, va_list args);
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | stdio.md | 20 ``int vsprintf(char *buf,const char *fmt,va_list args)``
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | kernel_api.md | 615 #### `int vsprintf(char *buf, const char *fmt, va_list args)` 631 **args**
|