Searched refs:strncmpi (Results 1 - 25 of 56) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dobjnam.c480 if (!strncmpi(buf, "the ", 4)) buf += 4;
582 if (!strncmpi(bp, "the ", 4))
928 if (strncmpi(str, "the ", 4) &&
967 if (!strncmpi(str, "the ", 4)) {
1108 if (!strncmpi(subj, "a ", 2) || !strncmpi(subj, "an ", 3))
1138 if (len == ltmp && !strncmpi(*spec, subj, len)) goto sing;
1142 !strncmpi(*spec, spot - ltmp + 1, ltmp)) goto sing;
1528 #define BSTRNCMPI(base,ptr,string,num) ((ptr)<base||strncmpi((ptr),string,num))
1653 return !strncmpi(o_st
[all...]
H A Dwrite.c116 if (!strncmpi(nm, "scroll ", 7)) nm += 7;
117 else if (!strncmpi(nm, "spellbook ", 10)) nm += 10;
118 if (!strncmpi(nm, "of ", 3)) nm += 3;
H A Doptions.c466 return (len >= min_length) && !strncmpi(opt_name, user_string, len);
564 !strncmpi(opts, "vt", 2) && AS && AE &&
996 while ((*opts == '!') || !strncmpi(opts, "no", 2)) {
1122 if (!strncmpi(op, "teleport", strlen(op)))
1124 else if (!strncmpi(op, "run", strlen(op)))
1126 else if (!strncmpi(op, "walk", strlen(op)))
1128 else if (!strncmpi(op, "crawl", strlen(op)))
1183 if (!strncmpi(opts, fullname, 4))
1188 if (!strncmpi(fontopts, "map", 3) ||
1189 !strncmpi(fontopt
[all...]
H A Dmondata.c485 if (!strncmpi(str, namep->name, (int)strlen(namep->name)))
491 if (m_i_len > len && !strncmpi(mons[i].mname, str, m_i_len)) {
496 !strncmpi(&str[m_i_len], "s ", 2) ||
498 !strncmpi(&str[m_i_len], "' ", 2) ||
500 !strncmpi(&str[m_i_len], "'s ", 3) ||
502 !strncmpi(&str[m_i_len], "es ", 3))) {
H A Drole.c542 if (!strncmpi(str, roles[i].name.m, len))
545 if (roles[i].name.f && !strncmpi(str, roles[i].name.f, len))
553 !strncmpi(str, randomstr, len))
610 if (!strncmpi(str, races[i].noun, len))
618 !strncmpi(str, randomstr, len))
677 if (!strncmpi(str, genders[i].adj, len))
684 !strncmpi(str, randomstr, len))
743 if (!strncmpi(str, aligns[i].adj, len))
750 !strncmpi(str, randomstr, len))
H A Dbotl.c112 if (roles[i].rank[j].m && !strncmpi(str,
118 if (roles[i].rank[j].f && !strncmpi(str,
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dobjnam.c480 if (!strncmpi(buf, "the ", 4)) buf += 4;
582 if (!strncmpi(bp, "the ", 4))
928 if (strncmpi(str, "the ", 4) &&
967 if (!strncmpi(str, "the ", 4)) {
1108 if (!strncmpi(subj, "a ", 2) || !strncmpi(subj, "an ", 3))
1138 if (len == ltmp && !strncmpi(*spec, subj, len)) goto sing;
1142 !strncmpi(*spec, spot - ltmp + 1, ltmp)) goto sing;
1528 #define BSTRNCMPI(base,ptr,string,num) ((ptr)<base||strncmpi((ptr),string,num))
1653 return !strncmpi(o_st
[all...]
H A Dwrite.c116 if (!strncmpi(nm, "scroll ", 7)) nm += 7;
117 else if (!strncmpi(nm, "spellbook ", 10)) nm += 10;
118 if (!strncmpi(nm, "of ", 3)) nm += 3;
H A Doptions.c466 return (len >= min_length) && !strncmpi(opt_name, user_string, len);
564 !strncmpi(opts, "vt", 2) && AS && AE &&
996 while ((*opts == '!') || !strncmpi(opts, "no", 2)) {
1122 if (!strncmpi(op, "teleport", strlen(op)))
1124 else if (!strncmpi(op, "run", strlen(op)))
1126 else if (!strncmpi(op, "walk", strlen(op)))
1128 else if (!strncmpi(op, "crawl", strlen(op)))
1183 if (!strncmpi(opts, fullname, 4))
1188 if (!strncmpi(fontopts, "map", 3) ||
1189 !strncmpi(fontopt
[all...]
H A Dmondata.c485 if (!strncmpi(str, namep->name, (int)strlen(namep->name)))
491 if (m_i_len > len && !strncmpi(mons[i].mname, str, m_i_len)) {
496 !strncmpi(&str[m_i_len], "s ", 2) ||
498 !strncmpi(&str[m_i_len], "' ", 2) ||
500 !strncmpi(&str[m_i_len], "'s ", 3) ||
502 !strncmpi(&str[m_i_len], "es ", 3))) {
H A Drole.c542 if (!strncmpi(str, roles[i].name.m, len))
545 if (roles[i].name.f && !strncmpi(str, roles[i].name.f, len))
553 !strncmpi(str, randomstr, len))
610 if (!strncmpi(str, races[i].noun, len))
618 !strncmpi(str, randomstr, len))
677 if (!strncmpi(str, genders[i].adj, len))
684 !strncmpi(str, randomstr, len))
743 if (!strncmpi(str, aligns[i].adj, len))
750 !strncmpi(str, randomstr, len))
H A Dbotl.c112 if (roles[i].rank[j].m && !strncmpi(str,
118 if (roles[i].rank[j].f && !strncmpi(str,
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dtosconf.h58 extern int FDECL(strncmpi,(const char *, const char *, size_t));
H A Dglobal.h66 # define strcmpi(a,b) strncmpi((a),(b),-1)
H A Dntconf.h73 #include <string.h> /* Provides prototypes of strncmpi(), etc. */
75 #define strncmpi(a,b,c) strnicmp(a,b,c) macro
H A Dwceconf.h110 #include <string.h> /* Provides prototypes of strncmpi(), etc. */
112 #define strncmpi(a,b,c) _strnicmp(a,b,c) macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dtosconf.h58 extern int FDECL(strncmpi,(const char *, const char *, size_t));
H A Dglobal.h66 # define strcmpi(a,b) strncmpi((a),(b),-1)
H A Dntconf.h73 #include <string.h> /* Provides prototypes of strncmpi(), etc. */
75 #define strncmpi(a,b,c) strnicmp(a,b,c) macro
H A Dwceconf.h110 #include <string.h> /* Provides prototypes of strncmpi(), etc. */
112 #define strncmpi(a,b,c) _strnicmp(a,b,c) macro
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/
H A Dunixmain.c367 if (!strncmpi(argv[0]+1, "IBM", 3))
372 if (!strncmpi(argv[0]+1, "DEC", 3))
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/
H A Dunixmain.c367 if (!strncmpi(argv[0]+1, "IBM", 3))
372 if (!strncmpi(argv[0]+1, "DEC", 3))
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dpcmain.c256 if (!strncmpi(argv[1], "-clearreg", 6)) { /* clear registry */
523 if (!strncmpi(argv[0]+1, "IBM", 3))
528 if (!strncmpi(argv[0]+1, "DEC", 3))
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dpcmain.c256 if (!strncmpi(argv[1], "-clearreg", 6)) { /* clear registry */
523 if (!strncmpi(argv[0]+1, "IBM", 3))
528 if (!strncmpi(argv[0]+1, "DEC", 3))
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/win/tty/
H A Dgetline.c224 if (!strncmpi(base, extcmdlist[oindex].ef_txt, strlen(base))) {

Completed in 220 milliseconds

123