Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dstring.md11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
/DragonOS-0.1.2/user/libs/libc/src/
Dstring.h21 int strcmp(const char *FirstPart, const char *SecondPart);
Dstring.c13 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.2/kernel/src/common/
Dstring.h41 int strcmp(const char *FirstPart, const char *SecondPart);
/DragonOS-0.1.2/user/apps/shell/
Dcmd.c90 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/
Dkallsyms.c99 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/
Dstring.c42 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Dinternal.h42 if (strcmp(target_dent->name, name) == 0) in __devfs_find_dentry()
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.c43 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/
Drootfs.c122 if (strcmp(tmp->name, name) == 0) in rootfs_add_dir()
/DragonOS-0.1.2/docs/kernel/core_api/
Dkernel_api.md551 #### `int strcmp(char *FirstPart, char *SecondPart)`