Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 3421) sorted by relevance

12345678910>>...137

/openbsd-src/gnu/usr.bin/gcc/gcc/f/
H A Dtop.c169 if (strcmp (&opt[2], "version") == 0)
174 else if (strcmp (&opt[2], "f66") == 0)
179 else if (strcmp (&opt[2], "no-f66") == 0)
184 else if (strcmp (&opt[2], "f77") == 0)
189 else if (strcmp (&opt[2], "no-f77") == 0)
193 else if (strcmp (&opt[2], "f90") == 0)
195 else if (strcmp (&opt[2], "no-f90") == 0)
197 else if (strcmp (&opt[2], "automatic") == 0)
199 else if (strcmp (&opt[2], "no-automatic") == 0)
201 else if (strcmp (&opt[2], "dollar-ok") == 0)
[all …]
/openbsd-src/sbin/unwind/libunbound/util/
H A Dconfigparser.y473 if(strcmp($2, "nxdomain")!=0 && strcmp($2, "nodata")!=0 &&
474 strcmp($2, "passthru")!=0 && strcmp($2, "drop")!=0 &&
475 strcmp($2, "cname")!=0 && strcmp($2, "disabled")!=0) {
498 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
500 else cfg_parser->cfg->auths->rpz_log = (strcmp($2, "yes")==0);
515 if(strcmp(
[all...]
/openbsd-src/usr.sbin/unbound/util/
H A Dconfigparser.y473 if(strcmp($2, "nxdomain")!=0 && strcmp($2, "nodata")!=0 &&
474 strcmp($2, "passthru")!=0 && strcmp($2, "drop")!=0 &&
475 strcmp($2, "cname")!=0 && strcmp($2, "disabled")!=0) {
498 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
500 else cfg_parser->cfg->auths->rpz_log = (strcmp($2, "yes")==0);
515 if(strcmp(
[all...]
/openbsd-src/usr.sbin/unbound/smallapp/
H A Dunbound-checkconf.c109 if(strcmp(opt, "pidfile") == 0 && final) { in print_option()
116 if(strcmp(opt, "auto-trust-anchor-file") == 0 && final) { in print_option()
357 if(strcmp(cfg->ifs[i], cfg->ifs[i2]) == 0) { in interfacechecks()
383 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
392 if(strcmp(resif[i][j], resif[i2][j2]) in interfacechecks()
395 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
398 if(strcmp(cfg->ifs[i2], resif[i2][j2]) != 0) in interfacechecks()
421 if(i!=j && strcmp(cfg->out_ifs[i], cfg->out_ifs[j])==0) in interfacechecks()
746 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks()
747 && strcmp(cf in morechecks()
[all...]
/openbsd-src/gnu/gcc/gcc/
H A Dgcc.h46 (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
47 || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
48 || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
49 || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
50 || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
51 || !strcmp (STR, "iquote") || !strcmp (STR, "isystem") \
52 || !strcmp (STR, "isysroot") \
53 || !strcmp (STR, "-param") || !strcmp (STR, "specs") \
54 || !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ"))
/openbsd-src/sys/dev/i2c/
H A Dsdtemp.c59 if (strcmp(ia->ia_name, "se97") == 0 || in sdtemp_match()
60 strcmp(ia->ia_name, "se98") == 0 || in sdtemp_match()
61 strcmp(ia->ia_name, "max6604") == 0 || in sdtemp_match()
62 strcmp(ia->ia_name, "mcp9804") == 0 || in sdtemp_match()
63 strcmp(ia->ia_name, "mcp9805") == 0 || in sdtemp_match()
64 strcmp(ia->ia_name, "mcp98242") == 0 || in sdtemp_match()
65 strcmp(ia->ia_name, "mcp98243") == 0 || in sdtemp_match()
66 strcmp(ia->ia_name, "mcp98244") == 0 || in sdtemp_match()
67 strcmp(ia->ia_name, "adt7408") == 0 || in sdtemp_match()
68 strcmp(ia->ia_name, "stts424e02") == 0 || in sdtemp_match()
[all …]
H A Dmaxim6690.c78 if (strcmp(ia->ia_name, "max6642") == 0 || in maxtmp_match()
79 strcmp(ia->ia_name, "max6690") == 0 || in maxtmp_match()
80 strcmp(ia->ia_name, "max6657") == 0 || in maxtmp_match()
81 strcmp(ia->ia_name, "max6658") == 0 || in maxtmp_match()
82 strcmp(ia->ia_name, "max6659") == 0 || in maxtmp_match()
83 strcmp(ia->ia_name, "lm63") == 0 || in maxtmp_match()
84 strcmp(ia->ia_name, "lm86") == 0 || in maxtmp_match()
85 strcmp(ia->ia_name, "lm89") == 0 || in maxtmp_match()
86 strcmp(ia->ia_name, "lm89-1") == 0 || in maxtmp_match()
87 strcmp(ia->ia_name, "lm90") == 0 || in maxtmp_match()
[all …]
/openbsd-src/usr.sbin/smtpd/
H A Dlimit.c58 if (!strcmp(key, "max-conn-per-host")) in limit_mta_set()
60 else if (!strcmp(key, "max-conn-per-route")) in limit_mta_set()
62 else if (!strcmp(key, "max-conn-per-source")) in limit_mta_set()
64 else if (!strcmp(key, "max-conn-per-connector")) in limit_mta_set()
66 else if (!strcmp(key, "max-conn-per-relay")) in limit_mta_set()
68 else if (!strcmp(key, "max-conn-per-domain")) in limit_mta_set()
71 else if (!strcmp(key, "conn-delay-host")) in limit_mta_set()
73 else if (!strcmp(key, "conn-delay-route")) in limit_mta_set()
75 else if (!strcmp(key, "conn-delay-source")) in limit_mta_set()
77 else if (!strcmp(key, "conn-delay-connector")) in limit_mta_set()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dgcc.h46 (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
47 || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
48 || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
49 || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
50 || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
51 || !strcmp (STR, "isystem") || !strcmp (STR, "-param") \
52 || !strcmp (STR, "specs") \
53 || !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ"))
/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Dmain.c68 if (argc == 2 && !strcmp(argv[1], "--lazy-new-module-dump")) { in main()
70 } else if (argc == 2 && !strcmp(argv[1], "--new-module-dump")) { in main()
72 } else if (argc == 2 && !strcmp(argv[1], "--lazy-module-dump")) { in main()
74 } else if (argc == 2 && !strcmp(argv[1], "--module-dump")) { in main()
76 } else if (argc == 2 && !strcmp(argv[1], "--module-list-functions")) { in main()
78 } else if (argc == 2 && !strcmp(argv[1], "--module-list-globals")) { in main()
80 } else if (argc == 2 && !strcmp(argv[1], "--targets-list")) { in main()
82 } else if (argc == 2 && !strcmp(argv[1], "--object-list-sections")) { in main()
84 } else if (argc == 2 && !strcmp(argv[1], "--object-list-symbols")) { in main()
86 } else if (argc == 2 && !strcmp(argv[1], "--disassemble")) { in main()
[all …]
/openbsd-src/sys/dev/eisa/
H A Dif_ep_eisa.c90 if (strcmp(ea->ea_idstring, "TCM5090") && in ep_eisa_match()
91 strcmp(ea->ea_idstring, "TCM5091") && in ep_eisa_match()
92 strcmp(ea->ea_idstring, "TCM5092") && in ep_eisa_match()
93 strcmp(ea->ea_idstring, "TCM5093") && in ep_eisa_match()
94 strcmp(ea->ea_idstring, "TCM5094") && in ep_eisa_match()
95 strcmp(ea->ea_idstring, "TCM5095") && in ep_eisa_match()
96 strcmp(ea->ea_idstring, "TCM5098") && in ep_eisa_match()
97 strcmp(ea->ea_idstring, "TCM5920") && in ep_eisa_match()
98 strcmp(ea->ea_idstring, "TCM5970") && in ep_eisa_match()
99 strcmp(ea->ea_idstring, "TCM5971") && in ep_eisa_match()
[all …]
/openbsd-src/gnu/gcc/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 (STR, "Zimage_base") ? 1 : \
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/
H A Ddarwin.h136 !strcmp (STR, "Zallowable_client") ? 1 : \
137 !strcmp (STR, "arch") ? 1 : \
138 !strcmp (STR, "arch_only") ? 1 : \
139 !strcmp (STR, "Zbundle_loader") ? 1 : \
140 !strcmp (STR, "client_name") ? 1 : \
141 !strcmp (STR, "compatibility_version") ? 1 : \
142 !strcmp (STR, "current_version") ? 1 : \
143 !strcmp (STR, "Zdylib_file") ? 1 : \
144 !strcmp (STR, "Zexported_symbols_list") ? 1 : \
145 !strcmp (STR, "Zimage_base") ? 1 : \
[all …]
/openbsd-src/regress/lib/libfuse/
H A Dfuse-opt-parse.c91 if (strcmp("bad_opt", arg) == 0) { in proc()
161 assert(strcmp(args.argv[0], "progname") == 0); in test_null_opts()
162 assert(strcmp(args.argv[1], "/mnt") == 0); in test_null_opts()
201 assert(strcmp(data.fsname, "filename") == 0); in test_null_proc()
202 assert(strcmp(data.x, "xanadu") == 0); in test_null_proc()
203 assert(strcmp(data.optstring, "optstring") == 0); in test_null_proc()
214 assert(strcmp(args.argv[0], "progname") == 0); in test_null_proc()
215 assert(strcmp(args.argv[1], "-o") == 0); in test_null_proc()
216 assert(strcmp(args.argv[2], "debug") == 0); in test_null_proc()
217 assert(strcmp(args.argv[3], "-o") == 0); in test_null_proc()
[all …]
/openbsd-src/usr.bin/file/
H A Dmagic-load.c640 if (strcmp(s, "name") == 0) { in magic_parse_type()
645 if (strcmp(s, "use") == 0) { in magic_parse_type()
702 if (strcmp(s, "byte") == 0) in magic_parse_type()
704 else if (strcmp(s, "short") == 0) in magic_parse_type()
706 else if (strcmp(s, "long") == 0) in magic_parse_type()
708 else if (strcmp(s, "quad") == 0) in magic_parse_type()
710 else if (strcmp(s, "ubyte") == 0) in magic_parse_type()
712 else if (strcmp(s, "ushort") == 0) in magic_parse_type()
714 else if (strcmp(s, "ulong") == 0) in magic_parse_type()
716 else if (strcmp(s, "uquad") == 0) in magic_parse_type()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dstring-opt-3.c10 extern int strcmp (const char *, const char *);
29 if (strcmp (foo, "hello") <= 0) in main()
31 if (strcmp (foo + 2, "llo") <= 0) in main()
33 if (strcmp (foo, foo) != 0) in main()
35 if (strcmp (foo, "hello world ") >= 0) in main()
37 if (strcmp (foo + 10, "dx") >= 0) in main()
39 if (strcmp (10 + foo, "dx") >= 0) in main()
41 if (strcmp (bar, "") <= 0) in main()
43 if (strcmp ("", bar) >= 0) in main()
45 if (strcmp (bar+8, "") != 0) in main()
[all …]
H A Dstring-opt-10.c12 extern char *strcmp (const char *, const char *);
22 if (strncat (dst, "", 100) != dst || strcmp (dst, s1)) in main()
25 if (strncat (dst, s2, 100) != dst || strcmp (dst, s1)) in main()
28 if (strncat (++d2, s2, 100) != dst+1 || d2 != dst+1 || strcmp (dst, s1)) in main()
31 if (strncat (++d2+5, s2, 100) != dst+6 || d2 != dst+1 || strcmp (dst, s1)) in main()
34 if (strncat (++d2+5, s1+11, 100) != dst+6 || d2 != dst+1 || strcmp (dst, s1)) in main()
37 if (strncat (++d2+5, s1, 0) != dst+6 || d2 != dst+1 || strcmp (dst, s1)) in main()
41 || strcmp (dst, s1)) in main()
45 if (strncat (dst, "foo", 3) != dst || strcmp (dst, "hello worldfoo")) in main()
48 if (strncat (dst, "foo", 100) != dst || strcmp (dst, "hello worldfoo")) in main()
[all …]
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dparseinfo.c124 if (strcmp (exp, "DEFAULT") == 0)
140 if (strcmp (exp, "ALL") == 0)
307 if (strcmp (line, "RCSBIN") == 0)
315 else if (strcmp (line, "SystemAuth") == 0)
317 if (strcmp (p, "no") == 0)
326 else if (strcmp (p, "yes") == 0)
338 else if (strcmp (line, "tag") == 0) {
346 else if (strcmp (line, "umask") == 0) {
349 else if (strcmp (line, "DisableMdocdate") == 0) {
350 if (strcmp (p, "no") == 0)
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dstrify2.c8 extern int strcmp (const char *, const char *);
28 if (strcmp (xstr (__INCLUDE_LEVEL__), "0")) in main()
31 if (strcmp(str (__INCLUDE_LEVEL__), "__INCLUDE_LEVEL__")) in main()
34 if (strcmp(str(), "") || strcmp(str( ), "")) in main()
37 if (strcmp(str ("s\n"), "\"s\\n\"")) in main()
40 if (strcmp (str (a � b), "a \200 b")) in main()
43 if (strcmp (str ( a b@ c ), "a b@ c")) in main()
46 if (strcmp (str(a \n), "a \n")) in main()
49 if (strcmp (strvar (foo, bar), "foo, bar")) in main()
52 if (strcmp (glibc_str (ver), "GLIBC_2.2")) in main()
/openbsd-src/gnu/gcc/gcc/cp/
H A Dg++spec.c134 if (strcmp (argv[i], "-nostdlib") == 0 in lang_specific_driver()
135 || strcmp (argv[i], "-nodefaultlibs") == 0) in lang_specific_driver()
139 else if (strcmp (argv[i], MATH_LIBRARY) == 0) in lang_specific_driver()
144 else if (strcmp (argv[i], "-lc") == 0) in lang_specific_driver()
146 else if (strcmp (argv[i], "-pg") == 0 || strcmp (argv[i], "-p") == 0) in lang_specific_driver()
148 else if (strcmp (argv[i], "-v") == 0) in lang_specific_driver()
161 && (strcmp (arg, "c++") == 0 in lang_specific_driver()
162 || strcmp (arg, "c++-cpp-output") == 0)) in lang_specific_driver()
169 else if (strcmp (argv[i], "-Xlinker") == 0) in lang_specific_driver()
182 || strcmp (argv[i], "-Tdata") == 0)) in lang_specific_driver()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Djvspec.c273 if (library != 0 && (strcmp (argv[i], "-nostdlib") == 0
274 || strcmp (argv[i], "-nodefaultlibs") == 0))
283 else if (strcmp (argv[i], "-fhelp") == 0)
285 else if (strcmp (argv[i], "-v") == 0)
297 else if (strcmp (argv[i], "-C") == 0)
323 || strcmp (argv[i], "-Tdata") == 0
324 || strcmp (argv[i], "-MT") == 0
325 || strcmp (argv[i], "-MF") == 0)
327 if (strcmp (argv[i], "-o") == 0)
331 else if (strcmp(argv[i], "-classpath") == 0
[all …]
/openbsd-src/gnu/gcc/libdecnumber/
H A DdecContext.c176 if (strcmp (string, DEC_Condition_CS) == 0) in decContextSetStatusFromString()
178 if (strcmp (string, DEC_Condition_DZ) == 0) in decContextSetStatusFromString()
180 if (strcmp (string, DEC_Condition_DI) == 0) in decContextSetStatusFromString()
182 if (strcmp (string, DEC_Condition_DU) == 0) in decContextSetStatusFromString()
184 if (strcmp (string, DEC_Condition_IE) == 0) in decContextSetStatusFromString()
186 if (strcmp (string, DEC_Condition_IS) == 0) in decContextSetStatusFromString()
188 if (strcmp (string, DEC_Condition_IC) == 0) in decContextSetStatusFromString()
190 if (strcmp (string, DEC_Condition_IO) == 0) in decContextSetStatusFromString()
193 if (strcmp (string, DEC_Condition_LD) == 0) in decContextSetStatusFromString()
196 if (strcmp (string, DEC_Condition_OV) == 0) in decContextSetStatusFromString()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dg++spec.c131 if ((strcmp (argv[i], "-nostdlib") == 0
132 || strcmp (argv[i], "-nodefaultlibs") == 0))
136 else if (strcmp (argv[i], "-lm") == 0
137 || strcmp (argv[i], "-lmath") == 0
138 || strcmp (argv[i], MATH_LIBRARY) == 0
140 || strcmp (argv[i], ALT_LIBM) == 0
147 else if (strcmp (argv[i], "-lc") == 0)
149 else if (strcmp (argv[i], "-pg") == 0 || strcmp (argv[i], "-p") == 0)
151 else if (strcmp (argv[i], "-v") == 0)
165 || strcmp (argv[i], "-Xlinker") == 0
[all …]
/openbsd-src/sys/arch/alpha/alpha/
H A Ddec_3000_300.c167 scsiboot = (strcmp(b->protocol, "SCSI") == 0);
168 netboot = (strcmp(b->protocol, "BOOTP") == 0) ||
169 (strcmp(b->protocol, "MOP") == 0);
182 if (scsiboot && (strcmp(cd->cd_name, "tcds") == 0)) {
194 (strcmp(cd->cd_name, "asc") == 0)) {
210 (strcmp(cd->cd_name, "sd") == 0 ||
211 strcmp(cd->cd_name, "st") == 0 ||
212 strcmp(cd->cd_name, "cd") == 0)) {
225 if (strcmp(cd->cd_name, "sd") &&
226 strcmp(cd->cd_name, "cd"))
[all …]
H A Ddec_3000_500.c185 scsiboot = (strcmp(b->protocol, "SCSI") == 0);
186 netboot = (strcmp(b->protocol, "BOOTP") == 0) ||
187 (strcmp(b->protocol, "MOP") == 0);
200 if (scsiboot && (strcmp(cd->cd_name, "tcds") == 0)) {
212 (strcmp(cd->cd_name, "asc") == 0)) {
228 (strcmp(cd->cd_name, "sd") == 0 ||
229 strcmp(cd->cd_name, "st") == 0 ||
230 strcmp(cd->cd_name, "cd") == 0)) {
243 if (strcmp(cd->cd_name, "sd") &&
244 strcmp(cd->cd_name, "cd"))
[all …]

12345678910>>...137