Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 25) sorted by relevance

/DragonOS-0.1.5/user/apps/shell/
Dshell.c110 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()
Dcmd_test.c12 char buf[512] = {0}; in shell_pipe_test() local
Dcmd.c251 struct dirent *buf = NULL; in shell_cmd_ls() local
317 char *buf = (char *)malloc(512); in shell_cmd_cat() local
596 int parse_command(char *buf, int *argc, char ***argv) in parse_command()
/DragonOS-0.1.5/kernel/src/libs/libUI/
Dscreen_manager.c32 …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
Dtextui.c69 int textui_install_handler(struct scm_buffer_info_t *buf) in textui_install_handler()
92 int textui_change_handler(struct scm_buffer_info_t *buf) in textui_change_handler()
Dscreen_manager.h49 struct scm_buffer_info_t *buf; member
/DragonOS-0.1.5/kernel/src/libs/
Dprintk.c54 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()
600 char buf[4096]; // vsprintf()的缓冲区 in printk_color() local
617 int sprintk(char *buf, const char *fmt, ...) in sprintk()
Dunistd.c26 unsigned char buf[32]; in swab() local
/DragonOS-0.1.5/kernel/src/driver/tty/
Dtty.c61 long tty_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_read()
75 long tty_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in tty_write()
/DragonOS-0.1.5/user/libs/libc/src/
Dunistd.c28 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()
183 unsigned char buf[32]; in swab() local
Dprintf.c42 char buf[4096]; in printf() local
53 int sprintf(char *buf, const char *fmt, ...) in sprintf()
72 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf()
Dstdio.c10 char *buf = malloc(bufsize); in fprintf() local
/DragonOS-0.1.5/kernel/src/driver/disk/
Data.c24 unsigned char buf[64]; in ata_disk_handler() local
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.c100 long ps2_keyboard_read(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_read()
119 long ps2_keyboard_write(struct vfs_file_t *filp, char *buf, int64_t count, long *position) in ps2_keyboard_write()
/DragonOS-0.1.5/kernel/src/driver/video/
Dvideo.c129 int video_set_refresh_target(struct scm_buffer_info_t *buf) in video_set_refresh_target()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dsyscall.rs78 let buf: &mut [u8] = in sys_read() localVariable
107 let buf: &[u8] = in sys_write() localVariable
Dfile.rs254 let buf: &mut [u8] = in readdir() localVariable
/DragonOS-0.1.5/kernel/src/ktest/
Dtest-kfifo.c16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1() local
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Ddirent.h70 char buf[DIR_BUF_SIZE]; member
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dmod.rs195 let mut buf = [0u8; 3000usize]; in __test_ahci() localVariable
Dahcidisk.rs358 let mut buf: Vec<u8> = Vec::new(); in read_mbr_table() localVariable
/DragonOS-0.1.5/docs/kernel/core_api/
Dkernel_api.md617 ##### 描
621 ##### 参
637 ##### 描
641 ##### 参
/DragonOS-0.1.5/kernel/src/process/
Dprocess.c168 void *buf = kzalloc(PAGE_4K_SIZE, 0); in process_load_elf_file() local
/DragonOS-0.1.5/kernel/src/driver/usb/xhci/
Dxhci.c1949 char *buf = (char *)kmalloc(16, 0); in xhci_hc_init_intr() local
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs2018 let mut buf: [u8; 11] = [0x20u8; 11]; localVariable