Searched refs:strcmp (Results 1 – 6 of 6) sorted by relevance
/DragonOS/user/apps/dmesg/ |
H A D | dmesg.c | 13 if (!strcmp(arg, "-h") || !strcmp(arg, "--help")) in getoption() 15 else if (!strcmp(arg, "-c") || !strcmp(arg, "--read-clear")) in getoption() 17 else if (!strcmp(arg, "-C") || !strcmp(arg, "--clear")) in getoption() 19 else if (!strcmp(arg, "-l") || !strcmp(arg, "--level")) in getoption() 33 if (!strcmp(arg, "EMERG") || !strcmp(arg, "emerg")) in getlevel() 35 else if (!strcmp(arg, "ALERT") || !strcmp(arg, "alert")) in getlevel() 37 else if (!strcmp(arg, "CRIT") || !strcmp(arg, "crit")) in getlevel() 39 else if (!strcmp(arg, "ERR") || !strcmp(arg, "err")) in getlevel() 41 else if (!strcmp(arg, "WARN") || !strcmp(arg, "warn")) in getlevel() 43 else if (!strcmp(arg, "NOTICE") || !strcmp(arg, "notice")) in getlevel() [all …]
|
/DragonOS/kernel/src/common/ |
H A D | string.h | 41 int strcmp(const char *FirstPart, const char *SecondPart);
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 118 if (text_vaddr == 0ULL && strcmp(symbol_table[i].symbol, "_text") == 0) in read_map() 120 if (etext_vaddr == 0ULL && strcmp(symbol_table[i].symbol, "_etext") == 0) in read_map()
|
/DragonOS/kernel/src/libs/ |
H A D | string.c | 41 int strcmp(const char *l, const char *r) in strcmp() function
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 148 if (strcmp(method, "GET") == 0) in handle_request()
|
/DragonOS/docs/kernel/core_api/ |
H A D | kernel_api.md | 551 #### `int strcmp(char *FirstPart, char *SecondPart)`
|