Home
last modified time | relevance | path

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

12

/DragonOS-0.1.8/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.c32 char buf[buf_SIZE] = {0}; in shell_pipe_test() local
Dcmd.c262 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/
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()
602 char buf[4096]; // vsprintf()的缓冲区 in printk_color() local
621 int sprintk(char *buf, const char *fmt, ...) in sprintk()
Dunistd.c26 unsigned char buf[32]; in swab() local
Delf.rs303 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/
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.c72 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()
Dscreen_manager.h49 struct scm_buffer_info_t *buf; member
/DragonOS-0.1.8/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()
195 unsigned char buf[32]; in swab() local
Dprintf.c43 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()
Dstdio.c10 char *buf = malloc(bufsize); in fprintf() local
/DragonOS-0.1.8/kernel/src/driver/disk/
Data.c24 unsigned char buf[64]; in ata_disk_handler() local
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.c101 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/
Dvideo.c126 int video_set_refresh_target(struct scm_buffer_info_t *buf) in video_set_refresh_target()
/DragonOS-0.1.8/kernel/src/ktest/
Dtest-kfifo.c16 void *buf = kmalloc(fifo_size, 0); in ktest_kfifo_case0_1() local
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Ddirent.h70 char buf[DIR_BUF_SIZE]; member
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dmod.rs196 let mut buf = [0u8; 3000usize]; in __test_ahci() localVariable
Dahcidisk.rs406 let mut buf: Vec<u8> = Vec::new(); in read_mbr_table() localVariable
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs442 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/
Dsyscall.rs698 let mut buf = Vec::new(); in gather() localVariable
728 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf() localVariable
Dfile.rs278 let buf: &mut [u8] = in readdir() localVariable
/DragonOS-0.1.8/docs/kernel/core_api/
Dkernel_api.md617 ##### 描
621 ##### 参
637 ##### 描
641 ##### 参
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs241 let mut buf = [0u8; 512]; in sync() localVariable
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs276 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

12