/DragonOS-0.1.8/user/apps/shell/ |
D | shell.c | 46 memset(shell_current_path, 0, 3); in main_loop() 57 memset(input_buffer, 0, INPUT_BUFFER_SIZE); in main_loop() 71 memset(history_commands, 0, sizeof(history_commands)); in main_loop() 114 memset(buf, 0, sizeof(buf)); in clear_command() 204 memset(history_commands[current_command_index - 1], 0, in shell_readline() 237 memset(history_commands[count_history], 0, sizeof(history_commands[count_history])); in shell_readline() 242 …memset(history_commands[current_command_index], 0, sizeof(history_commands[current_command_index])… in shell_readline()
|
D | cmd.c | 63 memset(file_path, 0, *result_path_len + 2); in get_target_filepath() 79 memset(file_path, 0, *result_path_len + 2); in get_target_filepath() 184 memset(new_path, 0, dest_len + 2); in shell_cmd_cd() 218 memset(new_path, 0, sizeof(new_path)); in shell_cmd_cd() 337 memset(buf, 0, 512); in shell_cmd_cat() 641 memset(*argv, 0, sizeof(char **) * (*argc + 1)); in parse_command()
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | dirent.c | 29 memset(dirp, 0, sizeof(struct DIR)); in opendir() 70 memset((dir->buf), 0, DIR_BUF_SIZE); in readdir()
|
D | stdio.c | 11 memset(buf, 0, bufsize); in fprintf() 71 memset(stream, 0, sizeof(FILE)); in fopen()
|
D | string.c | 36 void *memset(void *dst, unsigned char C, uint64_t size) in memset() function
|
D | malloc.c | 159 memset(new_ck, 0, sizeof(malloc_mem_chunk_t)); in malloc_enlarge()
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | main.c | 75 memset(buffer, 0, sizeof(buffer)); in tcp_server() 118 memset(buffer, 0, sizeof(buffer)); in udp_server() 162 memset(recvbuf, 0, sizeof(recvbuf)); in tcp_client() 186 memset(recvbuf, 0, sizeof(recvbuf)); in tcp_client() 187 memset(sendbuf, 0, sizeof(sendbuf)); in tcp_client()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | smp.c | 60 memset((void *)SMP_IPI_desc, 0, sizeof(irq_desc_t) * SMP_IRQ_NUM); in smp_init() 105 memset((void *)cpu_core_info[current_starting_cpu].stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init() 106 … memset((void *)cpu_core_info[current_starting_cpu].ist_stack_start - STACK_SIZE, 0, STACK_SIZE); in smp_init() 117 memset(&initial_tss[current_starting_cpu], 0, sizeof(struct tss_struct)); in smp_init() 172 memset(current_pcb, 0, sizeof(struct process_control_block)); in smp_ap_start()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | kfifo.c | 17 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_alloc() 37 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_init() 150 memset(fifo, 0, sizeof(struct kfifo_t)); in kfifo_free_alloc()
|
D | bitree.c | 26 memset((void *)root, 0, sizeof(struct bt_root_t)); in bt_create_tree() 47 memset((void *)node, 0, sizeof(struct bt_node_t)); in bt_create_node()
|
D | idr.c | 23 memset(idp, 0, sizeof(struct idr)); in idr_init() 820 memset(ida_p, 0, sizeof(struct ida)); in ida_init()
|
D | lz4.c | 211 #define MEM_INIT(p, v, s) memset((p), (v), (s))
|
/DragonOS-0.1.8/kernel/src/libs/libUI/ |
D | textui.c | 39 memset((window), 0, sizeof(struct textui_window_t)); in __textui_init_window() 67 …memset(vline, 0, sizeof(struct textui_vline_chromatic_t)); … 150 memset(vline->chars, 0, sizeof(struct textui_char_chromatic_t) * window->chars_per_line); in __textui_new_line() 266 memset(window->vlines.chromatic[window->vline_operating].chars, 0, in textui_putchar_window() 321 memset(&textui_framework, 0, sizeof(struct scm_ui_framework_t)); in textui_init() 322 memset(&__private_info, 0, sizeof(struct textui_private_info_t)); in textui_init()
|
D | screen_manager.c | 35 memset(buf, 0, sizeof(struct scm_buffer_info_t)); in __create_buffer() 137 memset(ui, 0, sizeof(struct scm_ui_framework_t)); in scm_register_alloc()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | string.h | 9 void *memset(void *dst, unsigned char C, uint64_t size);
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | video.c | 154 memset(&video_frame_buffer_info, 0, sizeof(struct scm_buffer_info_t)); in video_init() 155 memset(&__fb_info, 0, sizeof(struct multiboot_tag_framebuffer_info_t)); in video_init()
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | irq.c | 207 memset(p->irq_name, 0, namelen); in irq_register() 255 memset((void *)interrupt_desc, 0, sizeof(irq_desc_t) * IRQ_NUM); in irq_init()
|
/DragonOS-0.1.8/kernel/src/driver/pci/ |
D | pci_irq.c | 54 memset(p->irq_name, 0, namelen); in c_irq_install()
|
/DragonOS-0.1.8/kernel/src/driver/mouse/ |
D | ps2_mouse.c | 23 memset(ps2_mouse_buf_ptr->buffer, 0, ps2_mouse_buffer_size); in ps2_mouse_clear_buf() 208 memset(ps2_mouse_buf_ptr->buffer, 0, ps2_mouse_buffer_size); in ps2_mouse_init()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | fork.c | 52 memset(tsk, 0, sizeof(struct process_control_block)); in do_fork() 247 memset(thd, 0, sizeof(struct thread_struct)); in process_copy_thread()
|
D | process.c | 281 memset(®s, 0, sizeof(regs)); in kernel_thread()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | idr.h | 80 memset(name, 0, sizeof(struct idr_layer));
|
D | glib.h | 68 void *memset(void *dst, unsigned char C, ul size) in memset() function
|
/DragonOS-0.1.8/kernel/src/driver/hid/ |
D | hidparse.c | 56 memset(__spaces_buf, ' ', 32); in __spaces() 83 memset(parser, 0, sizeof(struct hid_parser)); in hid_reset_parser()
|