/DragonOS-0.1.8/user/apps/shell/ |
D | shell.c | 110 void clear_command(int count, char *buf) in clear_command() 122 void change_command(char *buf, int type) in change_command() 152 int shell_readline(int fd, char *buf) in shell_readline()
|
D | cmd_test.c | 32 char buf[buf_SIZE] = {0}; in shell_pipe_test() local
|
D | cmd.c | 262 struct dirent *buf = NULL; in shell_cmd_ls() local 333 char *buf = (char *)malloc(512); in shell_cmd_cat() local 616 int parse_command(char *buf, int *argc, char ***argv) in parse_command()
|
/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() 364 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() 378 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args) in vsnprintf() 602 char buf[4096]; // vsprintf()的缓冲区 in printk_color() local 621 int sprintk(char *buf, const char *fmt, ...) in sprintk()
|
D | unistd.c | 26 unsigned char buf[32]; in swab() local
|
D | elf.rs | 303 let mut buf = vec![0u8; buf_size]; in do_load_file() localVariable 453 let buf = data_buf.get_bytes(0..size)?; in parse_segments() localVariable
|
/DragonOS-0.1.8/kernel/src/libs/libUI/ |
D | screen_manager.c | 32 …struct scm_buffer_info_t *buf = (struct scm_buffer_info_t *)kmalloc(sizeof(struct scm_buffer_info_… in __create_buffer() local 63 static int __destroy_buffer(struct scm_buffer_info_t *buf) in __destroy_buffer() 255 struct scm_buffer_info_t *buf = __create_buffer(SCM_BF_DB | SCM_BF_PIXEL); in scm_enable_double_buffer() local
|
D | textui.c | 72 int textui_install_handler(struct scm_buffer_info_t *buf) in textui_install_handler() 98 int textui_change_handler(struct scm_buffer_info_t *buf) in textui_change_handler()
|
D | screen_manager.h | 49 struct scm_buffer_info_t *buf; member
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | unistd.c | 28 ssize_t read(int fd, void *buf, size_t count) in read() 41 ssize_t write(int fd, void const *buf, size_t count) in write() 195 unsigned char buf[32]; in swab() local
|
D | printf.c | 43 char buf[4096]; in printf() local 55 int sprintf(char *buf, const char *fmt, ...) in sprintf() 74 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf()
|
D | stdio.c | 10 char *buf = malloc(bufsize); in fprintf() local
|
/DragonOS-0.1.8/kernel/src/driver/disk/ |
D | ata.c | 24 unsigned char buf[64]; in ata_disk_handler() local
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 101 long ps2_keyboard_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_read() 120 long ps2_keyboard_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_write()
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | video.c | 126 int video_set_refresh_target(struct scm_buffer_info_t *buf) in video_set_refresh_target()
|
/DragonOS-0.1.8/kernel/src/ktest/ |
D | test-kfifo.c | 16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1() local
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | dirent.h | 70 char buf[DIR_BUF_SIZE]; member
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | mod.rs | 196 let mut buf = [0u8; 3000usize]; in __test_ahci() localVariable
|
D | ahcidisk.rs | 406 let mut buf: Vec<u8> = Vec::new(); in read_mbr_table() localVariable
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 442 let buf: &mut [u8] = unsafe { in handle() localVariable 461 let buf: &[u8] = unsafe { in handle() localVariable 554 let buf: &mut [u8] = unsafe { in handle() localVariable 796 let buf = args[1] as *const u8; in handle() localVariable 817 let buf = args[1] as *mut u8; in handle() localVariable 848 let buf = unsafe { core::slice::from_raw_parts_mut(buf, len) }; in handle() localVariable
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | syscall.rs | 698 let mut buf = Vec::new(); in gather() localVariable 728 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf() localVariable
|
D | file.rs | 278 let buf: &mut [u8] = in readdir() localVariable
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | kernel_api.md | 617 ##### 描述 621 ##### 参数 637 ##### 描述 641 ##### 参数
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 241 let mut buf = [0u8; 512]; in sync() localVariable
|
/DragonOS-0.1.8/kernel/src/net/ |
D | syscall.rs | 276 let mut buf = iovs.new_buf(true); in recvmsg() localVariable 561 let buf = core::slice::from_raw_parts_mut(addr as *mut u8, to_write); in write_to_user() localVariable
|