/src/lib/libc/string/ |
Lint_strcmp.c | 12 strcmp(const char *s1, const char *s2) function in typeref:typename:int
|
/src/tests/lib/libc/string/ |
t_strcmp.c | 17 atf_tc_set_md_var(tc, "descr", "Test strcmp(3) results, #1"); 23 int (*f)(const char *, const char *s) = strcmp; 103 atf_tc_set_md_var(tc, "descr", "Test strcmp(3) results, #2"); 111 ATF_CHECK(strcmp(buf1, buf1) == 0); 112 ATF_CHECK(strcmp(buf2, buf2) == 0); 114 ATF_CHECK(strcmp("x\xf6x", "xox") > 0); 115 ATF_CHECK(strcmp("xxx", "xxxyyy") < 0); 116 ATF_CHECK(strcmp("xxxyyy", "xxx") > 0); 118 ATF_CHECK(strcmp(buf1 + 0, buf2 + 0) < 0); 119 ATF_CHECK(strcmp(buf1 + 1, buf2 + 1) < 0) [all...] |
/src/usr.bin/xlint/lint1/ |
ckctype.c | 63 return strcmp(name, "isalnum") == 0 || 64 strcmp(name, "isalpha") == 0 || 65 strcmp(name, "isblank") == 0 || 66 strcmp(name, "iscntrl") == 0 || 67 strcmp(name, "isdigit") == 0 || 68 strcmp(name, "isgraph") == 0 || 69 strcmp(name, "islower") == 0 || 70 strcmp(name, "isprint") == 0 || 71 strcmp(name, "ispunct") == 0 || 72 strcmp(name, "isspace") == 0 | [all...] |
/src/regress/lib/libc/ieeefp/testfloat/ |
testfloat.c | 112 if ( strcmp( argPtr, "help" ) == 0 ) { 170 else if ( strcmp( argPtr, "list" ) == 0 ) { 181 else if ( strcmp( argPtr, "level" ) == 0 ) { 187 else if ( strcmp( argPtr, "level1" ) == 0 ) { 190 else if ( strcmp( argPtr, "level2" ) == 0 ) { 193 else if ( strcmp( argPtr, "errors" ) == 0 ) { 202 else if ( strcmp( argPtr, "errorstop" ) == 0 ) { 205 else if ( strcmp( argPtr, "forever" ) == 0 ) { 209 else if ( ( strcmp( argPtr, "checkNaNs" ) == 0 ) 210 || ( strcmp( argPtr, "checknans" ) == 0 ) ) [all...] |
/src/sys/arch/epoc32/epoc32/ |
internal.c | 67 if (strcmp(epoc32_model, "SERIES5 R1") == 0) { 68 if (strcmp(cf->cf_name, "clpssoc") != 0) 70 } else if (strcmp(epoc32_model, "SERIES5mx") == 0) { 71 if (strcmp(cf->cf_name, "windermere") != 0) 73 } else if (strcmp(epoc32_model, "SERIES 7") == 0) { 74 if (strcmp(cf->cf_name, "saip") != 0)
|
/src/lib/libc/locale/ |
dummy_lc_template.h | 41 if (strcmp(name, locale->part_name[(size_t)_CATEGORY_ID])) { 42 if (!strcmp(_C_LOCALE, name)) 44 else if (!strcmp(_POSIX_LOCALE, name))
|
/src/usr.sbin/lptctl/ |
lptctl.c | 76 if (strcmp("dma", argv[i]) == 0) { 77 if (strcmp("yes", argv[i + 1]) == 0) 79 else if (strcmp("no", argv[i + 1]) == 0) 85 } else if (strcmp("mode", argv[i]) == 0) { 86 if (strcmp("standard", argv[i + 1]) == 0) 88 else if (strcmp("ps2", argv[i + 1]) == 0) 90 else if (strcmp("nibble", argv[i + 1]) == 0) 92 else if (strcmp("fast", argv[i + 1]) == 0) 94 else if (strcmp("ecp", argv[i + 1]) == 0) 96 else if (strcmp("epp", argv[i + 1]) == 0 [all...] |
/src/common/lib/libc/string/ |
strcmp.c | 1 /* $NetBSD: strcmp.c,v 1.4 2018/02/04 20:22:17 mrg Exp $ */ 38 static char sccsid[] = "@(#)strcmp.c 8.1 (Berkeley) 6/4/93"; 40 __RCSID("$NetBSD: strcmp.c,v 1.4 2018/02/04 20:22:17 mrg Exp $"); 51 #undef strcmp 57 strcmp(const char *s1, const char *s2) function in typeref:typename:int
|
/src/lib/libc/arch/m68k/string/ |
Makefile.inc | 4 strcat.S strcmp.S strcpy.S strlen.S \
|
/src/lib/libc/arch/mips/string/ |
Makefile.inc | 7 strcmp.S strlen.S
|
/src/bin/sh/ |
mystring.h | 45 #define equal(s1, s2) (strcmp(s1, s2) == 0)
|
/src/tests/lib/librumphijack/ |
h_cwd.c | 86 if (strcmp(pwd, prefix) != 0) 94 if (strcmp(pwd, makepath("dir")) != 0) 102 if (strcmp(pwd, makepath("dir/dir")) != 0) 108 if (strcmp(pwd, makepath("dir")) != 0) 115 if (strcmp(pwd, prefix) != 0) 121 if (strcmp(pwd, "/") != 0) 141 if (strcmp(pwd, makepath("adir")) != 0) 142 errx(EXIT_FAILURE, "strcmp"); 155 if (strcmp(argv[3], "chdir") == 0) 157 else if (strcmp(argv[3], "fchdir") == 0 [all...] |
/src/common/lib/libc/arch/i386/string/small/ |
strcmp.S | 1 /* $NetBSD: strcmp.S,v 1.2 2014/03/22 19:38:46 jakllsch Exp $ */ 32 RCSID("$NetBSD: strcmp.S,v 1.2 2014/03/22 19:38:46 jakllsch Exp $") 34 ENTRY(strcmp) function 51 END(strcmp)
|
/src/tests/lib/libc/stdio/ |
t_printf.c | 196 ATF_CHECK_MSG((strcmp(buf, "0x1.533p+3") == 0 || 197 strcmp(buf, "0x2.a66p+2") == 0 || 198 strcmp(buf, "0x5.4cdp+1") == 0 || 199 strcmp(buf, "0xa.99ap+0") == 0), 203 ATF_CHECK_MSG((strcmp(buf, "0x1p-3") == 0 || 204 strcmp(buf, "0x2p-4") == 0 || 205 strcmp(buf, "0x4p-5") == 0 || 206 strcmp(buf, "0x8p-6") == 0), 221 ATF_CHECK_MSG((strcmp(buf, "0x1.533p+3") == 0 || 222 strcmp(buf, "0x2.a66p+2") == 0 | [all...] |
/src/tests/usr.bin/xlint/lint1/ |
d_c99_bool_strict_syshdr.c | 134 * * strcmp: 0 means equal, < 0 means less than, > 0 means greater than 140 * expressions like !strcmp(s1, s2), which is not correct since strcmp 147 extern int strcmp(const char *, const char *); 170 return !strcmp(s1, s2); 176 return strcmp(s1, s2) == 0; 295 * goals of strict bool mode is to normalize all expressions calling 'strcmp' 296 * to be of the form 'strcmp(a, b) == 0' instead of '!strcmp(a, b)'. 307 int strcmp(const char *, const char *) [all...] |
/src/sys/arch/i386/pnpbios/ |
ess_pnpbios.c | 68 if (strcmp(aa->idstr, "ESS0104") && /* 1788 */ 69 strcmp(aa->idstr, "ESS0114") && /* 1788 */ 70 strcmp(aa->idstr, "CPQAE27") && /* 1788 */ 71 strcmp(aa->idstr, "ESS1869") && /* 1869 */ 72 strcmp(aa->idstr, "CPQB0AB") && /* 1869 */ 73 strcmp(aa->idstr, "CPQB0AC") && /* 1869 */ 74 strcmp(aa->idstr, "CPQB0AD") && /* 1869 */ 75 strcmp(aa->idstr, "CPQB0F1") && /* 1869 */ 76 strcmp(aa->idstr, "ESS1878") && /* 1878 */ 77 strcmp(aa->idstr, "ESS1879")) /* 1879 * [all...] |
/src/sys/lib/libkern/ |
strlist.c | 187 return strcmp(s1, s2) == 0; 395 assert(strcmp(cp, "zero") == 0); 398 assert(strcmp(cp, "one") == 0); 401 assert(strcmp(cp, "two") == 0); 404 assert(strcmp(cp, "three") == 0); 407 assert(strcmp(cp, "four") == 0); 410 assert(strcmp(cp, "five") == 0); 437 assert(strcmp(strlist_string(sl, slsize, 0), "zero") == 0); 438 assert(strcmp(strlist_string(sl, slsize, 1), "one") == 0); 439 assert(strcmp(strlist_string(sl, slsize, 2), "two") == 0) [all...] |
/src/games/gomoku/ |
stoc.c | 71 if (strcmp(mp, "resign") == 0 || strcmp(mp, "quit") == 0) 73 if (strcmp(mp, "save") == 0)
|
/src/games/larn/ |
tok.c | 188 if (strcmp(i, "bold-objects") == 0) 190 else if (strcmp(i, "enable-checkpointing") == 0) 192 else if (strcmp(i, "inverse-objects") == 0) 194 else if (strcmp(i, "female") == 0) 196 else if (strcmp(i, "monster:") == 0) { /* name favorite monster */ 209 } else if (strcmp(i, "male") == 0) 211 else if (strcmp(i, "name:") == 0) { /* defining players name */ 216 } else if (strcmp(i, "no-introduction") == 0) 218 else if (strcmp(i, "no-beep") == 0) 220 else if (strcmp(i, "process-name:") == 0) [all...] |
/src/lib/libc/posix1e/ |
acl_from_text.c | 59 if ((!strcmp(tag, "user")) || (!strcmp(tag, "u"))) { 62 if ((!strcmp(tag, "group")) || (!strcmp(tag, "g"))) { 65 if ((!strcmp(tag, "mask")) || (!strcmp(tag, "m"))) { 68 if ((!strcmp(tag, "other")) || (!strcmp(tag, "o"))) { 73 if ((!strcmp(tag, "user")) || (!strcmp(tag, "u"))) [all...] |
/src/tests/lib/libc/sys/ |
t_ptrace_register_wait.h | 48 if (strcmp(regset, "regs") == 0) 53 if (strcmp(regset, "fpregs") == 0) 77 if (strcmp(regset, "regs") == 0) { 81 if (strcmp(aux, "none") == 0) { 83 } else if (strcmp(aux, "pc") == 0) { 98 if (strcmp(aux, "set_pc") != 0) { 102 } else if (strcmp(aux, "sp") == 0) { 105 } else if (strcmp(aux, "intrv") == 0) { 108 } else if (strcmp(aux, "setregs") == 0) { 117 if (strcmp(regset, "fpregs") == 0) [all...] |
/src/common/lib/libc/arch/arm/string/ |
strcmp.S | 1 /* $NetBSD: strcmp.S,v 1.2 2013/08/19 00:56:12 matt Exp $ */ 33 RCSID("$NetBSD: strcmp.S,v 1.2 2013/08/19 00:56:12 matt Exp $") 35 ENTRY(strcmp) function 53 END(strcmp)
|
/src/lib/libc/arch/i386/string/ |
Makefile.inc | 6 strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S
|
/src/lib/libc/arch/x86_64/string/ |
Makefile.inc | 6 strcmp.S strcpy.S strlen.S strncmp.S strrchr.S swab.S
|
/src/sys/external/isc/libsodium/dist/test/quirks/ |
quirks.h | 25 # define strcmp(s1, s2) xstrcmp(s1, s2) macro 28 strcmp(const char *s1, const char *s2) function in typeref:typename:int
|