Searched refs:strcmp (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | string.md | 11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
|
/DragonOS-0.1.2/user/libs/libc/src/ |
D | string.h | 21 int strcmp(const char *FirstPart, const char *SecondPart);
|
D | string.c | 13 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
|
/DragonOS-0.1.2/kernel/src/common/ |
D | string.h | 41 int strcmp(const char *FirstPart, const char *SecondPart);
|
/DragonOS-0.1.2/user/apps/shell/ |
D | cmd.c | 90 if (strcmp(main_cmd, shell_cmds[i].name) == 0) // 找到对应的命令号 in shell_find_cmd() 131 if (!strcmp(".", argv[1])) in shell_cmd_cd() 135 if (!strcmp("..", argv[1])) in shell_cmd_cd() 139 if (!strcmp("/", shell_current_path)) in shell_cmd_cd() 496 if (strcmp(argv[argc - 1], "&") != 0) in shell_cmd_exec() 553 if (argc == 2 && strcmp("-m", argv[1]) != 0) in shell_cmd_free()
|
/DragonOS-0.1.2/kernel/src/debug/ |
D | kallsyms.c | 99 if (strcmp(symbol_table[i].symbol, "_text")==0) in read_map() 101 if (strcmp(symbol_table[i].symbol, "_etext")==0) in read_map()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | string.c | 42 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
|
/DragonOS-0.1.2/kernel/src/filesystem/devfs/ |
D | internal.h | 42 if (strcmp(target_dent->name, name) == 0) in __devfs_find_dentry()
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | VFS.c | 43 if (!strcmp(p->name, name)) // 存在符合的文件系统 in vfs_mount_fs() 46 if (strcmp(path, "/") == 0) // 如果挂载到的是'/'挂载点,则让其成为最顶层的文件系统 in vfs_mount_fs() 80 if (!strcmp(p->name, fs->name)) // 已经注册相同名称的文件系统 in vfs_register_filesystem() 124 if (strcmp(name, d_ptr->name) == 0) in vfs_search_dentry_list()
|
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/ |
D | rootfs.c | 122 if (strcmp(tmp->name, name) == 0) in rootfs_add_dir()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | kernel_api.md | 551 #### `int strcmp(char *FirstPart, char *SecondPart)`
|