Searched refs:strcmp (Results 1 - 25 of 157) sorted by relevance

1234567

/seL4-refos-master/libs/libmuslc/src/string/
H A Dstrcmp.c3 int strcmp(const char *l, const char *r) function
/seL4-refos-master/projects/refos/impl/apps/terminal/src/
H A Dterminal.c116 if (!strcmp(args[0], "exec")) {
118 } else if (!strcmp(args[0], "clear") || !strcmp(args[0], "cls") || !strcmp(args[0], "reset")) {
120 } else if (!strcmp(args[0], "exit") || !strcmp(args[0], "quit")) {
122 } else if (!strcmp(args[0], "help")) {
124 } else if (!strcmp(args[0], "time")) {
131 } else if (!strcmp(args[0], "printenv")) {
135 } else if (!strcmp(arg
[all...]
/seL4-refos-master/apps/terminal/src/
H A Dterminal.c116 if (!strcmp(args[0], "exec")) {
118 } else if (!strcmp(args[0], "clear") || !strcmp(args[0], "cls") || !strcmp(args[0], "reset")) {
120 } else if (!strcmp(args[0], "exit") || !strcmp(args[0], "quit")) {
122 } else if (!strcmp(args[0], "help")) {
124 } else if (!strcmp(args[0], "time")) {
131 } else if (!strcmp(args[0], "printenv")) {
135 } else if (!strcmp(arg
[all...]
/seL4-refos-master/libs/libmuslc/src/ctype/
H A Dwctrans.c7 if (!strcmp(class, "toupper")) return (wctrans_t)1;
8 if (!strcmp(class, "tolower")) return (wctrans_t)2;
/seL4-refos-master/libs/libmuslc/src/locale/
H A Dstrcoll.c8 return strcmp(l, r);
H A Dlocale_map.c48 || !strcmp(val, "C.UTF-8")
49 || !strcmp(val, "POSIX");
58 if (!strcmp(val, p->name)) return p;
63 if (!strcmp(val, p->name)) {
H A Ddcngettext.c27 if (!strcmp(p->domainname, domainname) && p->active) {
53 if (!strcmp(p->domainname, domainname) &&
54 !strcmp(p->dirname, dirname)) {
77 if (!strcmp(p->domainname, domainname) && q != p)
166 if (!strcmp(p->name, name))
/seL4-refos-master/seL4_tools/elfloader-tool/include/
H A Dstrops.h12 int strcmp(const char *a, const char *b);
/seL4-refos-master/tools/elfloader/include/
H A Dstrops.h12 int strcmp(const char *a, const char *b);
/seL4-refos-master/libs/libmuslc/src/network/
H A Dgetservbyport_r.c33 if (strcmp(prots, "tcp") && strcmp(prots, "udp")) return EINVAL;
44 strcmp(prots, "udp") ? 0 : NI_DGRAM)) {
H A Dgetservbyname_r.c27 else if (!strcmp(prots, "tcp")) proto = IPPROTO_TCP;
28 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP;
H A Dproto.c73 while (p && strcmp(name, p->p_name));
/seL4-refos-master/projects/refos/impl/apps/console_server/src/dispatchers/dspace/
H A Ddspace.c36 if (strcmp(rpc_name, "serial") == 0 || strcmp(rpc_name, "stdio") == 0) {
41 if (strcmp(rpc_name, "screen") == 0 || strcmp(rpc_name, "keyboard") == 0) {
/seL4-refos-master/apps/console_server/src/dispatchers/dspace/
H A Ddspace.c36 if (strcmp(rpc_name, "serial") == 0 || strcmp(rpc_name, "stdio") == 0) {
41 if (strcmp(rpc_name, "screen") == 0 || strcmp(rpc_name, "keyboard") == 0) {
/seL4-refos-master/seL4_tools/elfloader-tool/src/drivers/
H A Ddriver.c19 if (!strcmp(table[i].compatible, compat)) {
/seL4-refos-master/seL4_tools/elfloader-tool/src/drivers/smp/
H A Dcommon.c39 } else if (strcmp(cpu->enable_method, dev_get_smp(smp_ops)->enable_method)) {
/seL4-refos-master/tools/elfloader/src/drivers/
H A Ddriver.c19 if (!strcmp(table[i].compatible, compat)) {
/seL4-refos-master/tools/elfloader/src/drivers/smp/
H A Dcommon.c39 } else if (strcmp(cpu->enable_method, dev_get_smp(smp_ops)->enable_method)) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dunixtty.c289 if (!strcmp(windowprocs.name, "tty") &&
302 if (!strcmp(windowprocs.name, "tty") &&
331 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
344 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
365 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
393 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
403 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
423 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dunixtty.c289 if (!strcmp(windowprocs.name, "tty") &&
302 if (!strcmp(windowprocs.name, "tty") &&
331 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
344 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
365 if (!strcmp(windowprocs.name, "tty") && sco_flag_console) {
393 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
403 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
423 if (!strcmp(windowprocs.name, "tty") && linux_flag_console) {
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Doptions.c1344 if (!strcmp(op, f->fname)) goto goodfruit;
2348 if (strcmp(option, compopt[i].name) == 0) break;
2447 if (!strcmp(compopt[i].name, "name") ||
2448 !strcmp(compopt[i].name, "role") ||
2449 !strcmp(compopt[i].name, "race") ||
2450 !strcmp(compopt[i].name, "gender"))
2548 if (!strcmp("menustyle", optname)) {
2568 } else if (!strcmp("pickup_burden", optname)) {
2586 } else if (!strcmp("pickup_types", optname)) {
2590 } else if (!strcmp("disclos
[all...]
H A Dobjnam.c929 strcmp(str, "molten lava") &&
930 strcmp(str, "iron bars") &&
931 strcmp(str, "ice")) {
994 !strcmp(&str[l - 31], "Platinum Yendorian Express Card"))
1159 if (!strcmp(verb, "are"))
1161 else if (!strcmp(verb, "have"))
1300 || !strcmp(spot, " above") /* lurkers above */
1329 if ((len == 2 && !strcmp(str, "ya")) ||
1330 (len >= 2 && !strcmp(spot-1, "ai")) || /* samurai, Uruk-hai */
1331 (len >= 3 && !strcmp(spo
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Doptions.c1344 if (!strcmp(op, f->fname)) goto goodfruit;
2348 if (strcmp(option, compopt[i].name) == 0) break;
2447 if (!strcmp(compopt[i].name, "name") ||
2448 !strcmp(compopt[i].name, "role") ||
2449 !strcmp(compopt[i].name, "race") ||
2450 !strcmp(compopt[i].name, "gender"))
2548 if (!strcmp("menustyle", optname)) {
2568 } else if (!strcmp("pickup_burden", optname)) {
2586 } else if (!strcmp("pickup_types", optname)) {
2590 } else if (!strcmp("disclos
[all...]
H A Dobjnam.c929 strcmp(str, "molten lava") &&
930 strcmp(str, "iron bars") &&
931 strcmp(str, "ice")) {
994 !strcmp(&str[l - 31], "Platinum Yendorian Express Card"))
1159 if (!strcmp(verb, "are"))
1161 else if (!strcmp(verb, "have"))
1300 || !strcmp(spot, " above") /* lurkers above */
1329 if ((len == 2 && !strcmp(str, "ya")) ||
1330 (len >= 2 && !strcmp(spot-1, "ai")) || /* samurai, Uruk-hai */
1331 (len >= 3 && !strcmp(spo
[all...]
/seL4-refos-master/projects/refos/impl/apps/test_user/src/
H A Dtest_user.c132 int paramStrMatch = !strcmp(TEST_USER_TEST_APPNAME, (char*) PROCESS_STATICPARAM_ADDR);
158 int c = strcmp(g,"blob.");
160 c = strcmp(g, "--- quick brown fox jumped over the lazy dog. 12345.");
294 test_assert(strcmp(str, "hello") == 0);
295 test_assert(strcmp(str2, "world!") == 0);
344 test_assert(!strcmp(str, "hello!"));

Completed in 135 milliseconds

1234567