Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.3/user/libs/libc/src/
Dstring.c3 size_t strlen(const char *s) in strlen() function
96 strcpy(dest + strlen(dest), src); in strcat()
Dstdio.c18 int len = strlen(buf); in fprintf()
Dprintf.c228 len = strlen(s); in vsprintf()
/DragonOS-0.1.3/kernel/src/libs/
Dstring.c102 unsigned long size = strlen(src); in strnlen_user()
119 strcpy(dest + strlen(dest), src); in strcat()
Dprintk.c215 len = strlen(s); in __do_vsprintf()
/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Dchardev.c55 char *ptr = devname + strlen(chardev_name_prefix[private_info->sub_type]); in __devfs_chardev_register()
57 int namelen = strlen(devname); in __devfs_chardev_register()
Dinternal.h94 dentry->name_length = strlen(name); in __devfs_fill_dentry()
/DragonOS-0.1.3/user/apps/shell/
Dcmd_test.c23 ret = write(fd[1], msg, strlen(msg)); in shell_pipe_test()
Dshell.c78 char command_origin[strlen(input_buffer)]; in main_loop()
168 count = strlen(buf); in shell_readline()
179 count = strlen(buf); in shell_readline()
Dcmd.c45 int cwd_len = strlen(shell_current_path); in get_target_filepath()
48 *result_path_len = cwd_len + strlen(filename); in get_target_filepath()
65 *result_path_len = strlen(filename); in get_target_filepath()
124 int current_dir_len = strlen(shell_current_path); in shell_cmd_cd()
155 int dest_len = strlen(argv[1]); in shell_cmd_cd()
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/
Dstring.md9 ``size_t strlen(const char *s)`` : 返回字符串长度
/DragonOS-0.1.3/user/libs/libc/src/include/
Dstring.h16 size_t strlen(const char *s);
/DragonOS-0.1.3/kernel/src/common/
Dstring.h13 static inline int strlen(const char *s) in strlen() function
/DragonOS-0.1.3/kernel/src/filesystem/rootfs/
Drootfs.c127 struct vfs_dir_entry_t *dentry = vfs_alloc_dentry(strlen(name) + 1); in rootfs_add_dir()
129 dentry->name_length = strlen(name); in rootfs_add_dir()
/DragonOS-0.1.3/kernel/src/debug/
Dkallsyms.c69 entry->symbol_length = strlen(str) + 1; // +1的原因是.asciz指令会在字符串末尾自动添加结束符\0 in read_symbol()
/DragonOS-0.1.3/kernel/src/exception/
Dirq.c169 int namelen = sizeof(strlen(irq_name) + 1); in irq_register()
/DragonOS-0.1.3/kernel/src/filesystem/procfs/
Dprocfs.c95 int len = strlen(s); in data_puts()
452 int len = strlen(ltoa(pid)); in procfs_register_pid()
/DragonOS-0.1.3/docs/kernel/core_api/
Dkernel_api.md447 #### `int strlen(const char *s)`