Searched refs:strcmp (Results 26 - 50 of 3564) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dchange_lf.cpp29 if (current_filename != 0 && strcmp(current_filename, f) == 0)
/freebsd-11-stable/lib/libc/string/
H A Dstrcmp.c34 static char sccsid[] = "@(#)strcmp.c 8.1 (Berkeley) 6/4/93";
45 strcmp(const char *s1, const char *s2) function
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dhard-locale.c66 if (strcmp (p, "C") == 0 || strcmp (p, "POSIX") == 0)
75 if (((p = setlocale (category, "C")) && strcmp (p, locale) == 0)
76 || ((p = setlocale (category, "POSIX")) && strcmp (p, locale) == 0))
/freebsd-11-stable/lib/libc/arm/string/
H A Dstrcmp.S1 /* $NetBSD: strcmp.S,v 1.3 2003/04/05 23:08:52 bjh21 Exp $ */
35 ENTRY(strcmp)
45 END(strcmp)
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_passb.c43 GETFIELD(p,' '); if(strcmp("CTM_BEGIN",p)) WRONG
44 GETFIELD(p,' '); if(strcmp(Version,p)) WRONG
45 GETFIELD(p,' '); if(strcmp(Name,p)) WRONG
46 GETFIELD(p,' '); if(strcmp(Nbr,p)) WRONG
47 GETFIELD(p,' '); if(strcmp(TimeStamp,p)) WRONG
48 GETFIELD(p,'\n'); if(strcmp(Prefix,p)) WRONG
64 if(!strcmp(p+3,"_END"))
68 if(!strcmp(p+3,sp->Key))
99 (!strcmp(sp->Key,"DR") || !strcmp(s
[all...]
/freebsd-11-stable/sys/libkern/
H A Dstrcmp.c34 __FBSDID("$FreeBSD: stable/11/sys/libkern/strcmp.c 319284 2017-05-31 05:45:06Z delphij $");
42 strcmp(s1, s2) function
/freebsd-11-stable/contrib/mdocml/
H A Dlib.c29 if (0 == strcmp(p, x)) return(y);
H A Dst.c29 if (0 == strcmp(p, x)) return(y);
/freebsd-11-stable/lib/libkvm/tests/
H A Dkvm_test_common.c47 return (strcmp(_errbuf, ""));
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c86 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(arg
[all...]
/freebsd-11-stable/contrib/libxo/tests/core/
H A Dtest_09.c42 if (strcmp(argv[argc], "xml") == 0)
44 else if (strcmp(argv[argc], "json") == 0)
46 else if (strcmp(argv[argc], "text") == 0)
48 else if (strcmp(argv[argc], "html") == 0)
50 else if (strcmp(argv[argc], "pretty") == 0)
52 else if (strcmp(argv[argc], "xpath") == 0)
54 else if (strcmp(argv[argc], "info") == 0)
56 else if (strcmp(argv[argc], "error") == 0) {
/freebsd-11-stable/usr.sbin/ngctl/
H A Ddebug.c68 if (!strcmp(av[1], "+"))
70 else if (!strcmp(av[1], "-"))
/freebsd-11-stable/crypto/openssh/
H A Daudit.c49 if (strcmp(method, "none") == 0)
51 else if (strcmp(method, "password") == 0)
53 else if (strcmp(method, "publickey") == 0 ||
54 strcmp(method, "rsa") == 0)
57 strcmp(method, "challenge-response") == 0)
59 else if (strcmp(method, "hostbased") == 0 ||
60 strcmp(method, "rhosts-rsa") == 0)
62 else if (strcmp(method, "gssapi-with-mic") == 0)
/freebsd-11-stable/contrib/gcc/config/
H A Ddarwin.h160 !strcmp (STR, "Zallowable_client") ? 1 : \
161 !strcmp (STR, "arch") ? 1 : \
162 !strcmp (STR, "arch_only") ? 1 : \
163 !strcmp (STR, "Zbundle_loader") ? 1 : \
164 !strcmp (STR, "client_name") ? 1 : \
165 !strcmp (STR, "compatibility_version") ? 1 : \
166 !strcmp (STR, "current_version") ? 1 : \
167 !strcmp (STR, "Zdylib_file") ? 1 : \
168 !strcmp (STR, "Zexported_symbols_list") ? 1 : \
169 !strcmp (ST
[all...]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dport-uw.c64 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0)
76 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0)
77 || (strcmp(osr5bigcrypt(password, salt), pw_password) == 0));
81 result = (strcmp(xcrypt(password, salt), pw_password) == 0);
113 if (strcmp (ent->pw_name, namep) == 0) {
/freebsd-11-stable/contrib/gcclibs/libdecnumber/
H A DdecContext.c34 #include <string.h> /* for strcmp */
176 if (strcmp (string, DEC_Condition_CS) == 0)
178 if (strcmp (string, DEC_Condition_DZ) == 0)
180 if (strcmp (string, DEC_Condition_DI) == 0)
182 if (strcmp (string, DEC_Condition_DU) == 0)
184 if (strcmp (string, DEC_Condition_IE) == 0)
186 if (strcmp (string, DEC_Condition_IS) == 0)
188 if (strcmp (string, DEC_Condition_IC) == 0)
190 if (strcmp (string, DEC_Condition_IO) == 0)
193 if (strcmp (strin
[all...]
/freebsd-11-stable/contrib/dma/
H A Dconf.c189 if (strcmp(word, "SMARTHOST") == 0 && data != NULL)
191 else if (strcmp(word, "PORT") == 0 && data != NULL)
193 else if (strcmp(word, "ALIASES") == 0 && data != NULL)
195 else if (strcmp(word, "SPOOLDIR") == 0 && data != NULL)
197 else if (strcmp(word, "AUTHPATH") == 0 && data != NULL)
199 else if (strcmp(word, "CERTFILE") == 0 && data != NULL)
201 else if (strcmp(word, "MAILNAME") == 0 && data != NULL)
203 else if (strcmp(word, "MASQUERADE") == 0 && data != NULL) {
219 } else if (strcmp(word, "STARTTLS") == 0 && data == NULL)
221 else if (strcmp(wor
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-sysinfo.c218 if (strcmp(field, "dram_size:") == 0)
220 else if (strcmp(field, "phy_mem_desc_addr:") == 0)
222 else if (strcmp(field, "eclock_hz:") == 0)
224 else if (strcmp(field, "dclock_hz:") == 0)
226 else if (strcmp(field, "board_type:") == 0)
228 else if (strcmp(field, "board_rev_major:") == 0)
230 else if (strcmp(field, "board_rev_minor:") == 0)
232 else if (strcmp(field, "board_serial_number:") == 0)
234 else if (strcmp(field, "mac_addr_base:") == 0)
242 else if (strcmp(fiel
[all...]
/freebsd-11-stable/tools/tools/cxgbtool/
H A Dcxgbtool.c275 if (!block_name || !strcmp(block_name, "sge"))
277 if (!block_name || !strcmp(block_name, "mc3"))
279 if (!block_name || !strcmp(block_name, "mc4"))
281 if (!block_name || !strcmp(block_name, "tpi"))
283 if (!block_name || !strcmp(block_name, "tp"))
285 if (!block_name || !strcmp(block_name, "rat"))
287 if (!block_name || !strcmp(block_name, "cspi"))
289 if (!block_name || !strcmp(block_name, "espi"))
291 if (!block_name || !strcmp(block_name, "ulp"))
293 if (!block_name || !strcmp(block_nam
[all...]
/freebsd-11-stable/release/picobsd/tinyware/aps/
H A Dmain.c78 if(strcmp(minor,"-1")==0) {
81 if(strcmp(major,"-1")==0) {
83 } else if(strcmp(major,"12")==0) {
85 } else if(strcmp(major,"0")==0) {
88 } else if(strcmp(major,"5")==0) {
91 if((strcmp(major,"v")==0) && (strcmp(minor,"255")==0)) {
/freebsd-11-stable/crypto/openssl/apps/
H A Dversion.c154 if (strcmp(argv[i], "-v") == 0)
156 else if (strcmp(argv[i], "-b") == 0)
158 else if (strcmp(argv[i], "-f") == 0)
160 else if (strcmp(argv[i], "-o") == 0)
162 else if (strcmp(argv[i], "-p") == 0)
164 else if (strcmp(argv[i], "-d") == 0)
166 else if (strcmp(argv[i], "-a") == 0)
H A Dsmime.c135 if (!strcmp(*args, "-encrypt"))
137 else if (!strcmp(*args, "-decrypt"))
139 else if (!strcmp(*args, "-sign"))
141 else if (!strcmp(*args, "-resign"))
143 else if (!strcmp(*args, "-verify"))
145 else if (!strcmp(*args, "-pk7out"))
148 else if (!strcmp(*args, "-des3"))
150 else if (!strcmp(*args, "-des"))
154 else if (!strcmp(*args, "-seed"))
158 else if (!strcmp(*arg
[all...]
/freebsd-11-stable/sys/dev/uart/
H A Duart_cpu_sparc64.c79 if (strcmp(p, "ssp") == 0)
134 if (strcmp(buf, "serial") != 0)
138 !strcmp(buf, "sgcn")) {
166 if (strcmp(buf, "serial") != 0)
188 if (strcmp(buf, "serial") != 0)
196 if (strcmp(dev, "su") && strcmp(dev, "su_pnp") && strcmp(dev, "zs"))
241 if (!strcmp(buf, "se") || !strcmp(bu
[all...]
/freebsd-11-stable/lib/libnv/tests/
H A Dnvlist_send_recv_test.c107 CHECK(strcmp(name, "nvlist/bool/true") == 0);
113 CHECK(strcmp(name, "nvlist/bool/false") == 0);
119 CHECK(strcmp(name, "nvlist/number/0") == 0);
125 CHECK(strcmp(name, "nvlist/number/1") == 0);
131 CHECK(strcmp(name, "nvlist/number/-1") == 0);
137 CHECK(strcmp(name, "nvlist/number/UINT64_MAX") == 0);
143 CHECK(strcmp(name, "nvlist/number/INT64_MIN") == 0);
149 CHECK(strcmp(name, "nvlist/number/INT64_MAX") == 0);
155 CHECK(strcmp(name, "nvlist/string/") == 0);
156 CHECK(strcmp(nvlist_get_strin
[all...]
/freebsd-11-stable/lib/libc/tests/string/
H A Dstrerror_test.c49 ATF_CHECK(strcmp(sret, buf) == 0);
59 ATF_CHECK(strcmp(sret, "No error: 0") == 0);
69 ATF_CHECK(strcmp(sret, "Operation not permitted") == 0);
79 ATF_CHECK(strcmp(sret, "Protocol family not supported") == 0);
98 ATF_CHECK(strcmp(buf, "Unknown error: -1") == 0);
109 ATF_CHECK(strcmp(buf, "Operation not permitte") == 0);
120 ATF_CHECK(strcmp(buf, "Unknown error: -") == 0);
131 ATF_CHECK(strcmp(buf, "Unknown error: ") == 0);
142 ATF_CHECK(strcmp(buf, "Unknown error:") == 0);
153 ATF_CHECK(strcmp(bu
[all...]

Completed in 307 milliseconds

1234567891011>>