Home
last modified time | relevance | path

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

12345678910>>...102

/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dtop.c169 if (strcmp (&opt[2], "version") == 0)
174 else if (strcmp (&opt[2], "f66") == 0)
184 else if (strcmp (&opt[2], "f77") == 0)
193 else if (strcmp (&opt[2], "f90") == 0)
205 else if (strcmp (&opt[2], "f2c") == 0)
232 else if (strcmp (&opt[2], "vxt") == 0)
463 if (strcmp (len, "none") == 0)
481 if (!strcmp (&opt[2], "comment"))
493 else if (!strcmp (&opt[2], "import"))
497 else if (!strcmp (&opt[2], "globals"))
[all …]
/openbsd/usr.sbin/unbound/util/
H A Dconfigparser.y474 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
491 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
544 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
555 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
564 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
573 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
582 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
591 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
638 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
834 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
[all …]
/openbsd/sbin/unwind/libunbound/util/
H A Dconfigparser.y474 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
491 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
544 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
555 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
564 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
573 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
582 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
591 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
638 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
834 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
[all …]
/openbsd/usr.sbin/unbound/smallapp/
H A Dunbound-checkconf.c108 if(strcmp(opt, "pidfile") == 0 && final) { in print_option()
353 if(strcmp(cfg->ifs[i], cfg->ifs[i2]) == 0) { in interfacechecks()
379 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
388 if(strcmp(resif[i][j], resif[i2][j2]) in interfacechecks()
391 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
394 if(strcmp(cfg->ifs[i2], resif[i2][j2]) != 0) in interfacechecks()
742 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks()
745 && strcmp(cfg->module_conf, "dns64 iterator") != 0 in morechecks()
746 && strcmp(cfg->module_conf, "respip iterator") != 0 in morechecks()
751 && strcmp(cfg->module_conf, "python iterator") != 0 in morechecks()
[all …]
/openbsd/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/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()
69 strcmp(ia->ia_name, "stts424") == 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()
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()
88 strcmp(ia->ia_name, "lm99") == 0 || in maxtmp_match()
[all …]
/openbsd/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()
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()
79 else if (!strcmp(key, "conn-delay-relay")) in limit_mta_set()
81 else if (!strcmp(key, "conn-delay-domain")) in limit_mta_set()
87 else if (!strcmp(key, "session-mail-max")) in limit_mta_set()
97 else if (!strcmp(key, "task-hiwat")) in limit_mta_set()
99 else if (!strcmp(key, "task-lowat")) in limit_mta_set()
[all …]
/openbsd/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/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()
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()
86 } else if (argc == 2 && !strcmp(argv[1], "--disassemble")) { in main()
88 } else if (argc == 2 && !strcmp(argv[1], "--calc")) { in main()
92 } else if (argc == 2 && !strcmp(argv[1], "--set-metadata")) { in main()
98 } else if (argc == 2 && !strcmp(argv[1], "--echo")) { in main()
[all …]
/openbsd/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/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 : \
169 !strcmp (STR, "Zimage_base") ? 1 : \
170 !strcmp (STR, "Zinit") ? 1 : \
[all …]
/openbsd/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 : \
145 !strcmp (STR, "Zimage_base") ? 1 : \
146 !strcmp (STR, "Zinit") ? 1 : \
[all …]
/openbsd/regress/lib/libfuse/
H A Dfuse-opt-parse.c91 if (strcmp("bad_opt", arg) == 0) { in proc()
162 assert(strcmp(args.argv[1], "/mnt") == 0); in test_null_opts()
202 assert(strcmp(data.x, "xanadu") == 0); in test_null_proc()
215 assert(strcmp(args.argv[1], "-o") == 0); in test_null_proc()
217 assert(strcmp(args.argv[3], "-o") == 0); in test_null_proc()
219 assert(strcmp(args.argv[5], "-d") == 0); in test_null_proc()
220 assert(strcmp(args.argv[6], "-p22") == 0); in test_null_proc()
261 assert(strcmp(data.x, "xanadu") == 0); in test_all_args()
274 assert(strcmp(args.argv[1], "-o") == 0); in test_all_args()
276 assert(strcmp(args.argv[3], "-o") == 0); in test_all_args()
[all …]
/openbsd/usr.bin/file/
H A Dmagic-load.c718 else if (strcmp(s, "float") == 0 || strcmp(s, "ufloat") == 0) in magic_parse_type()
720 else if (strcmp(s, "double") == 0 || strcmp(s, "udouble") == 0) in magic_parse_type()
750 else if (strcmp(s, "befloat") == 0 || strcmp(s, "ubefloat") == 0) in magic_parse_type()
752 else if (strcmp(s, "bedouble") == 0 || strcmp(s, "ubedouble") == 0) in magic_parse_type()
784 else if (strcmp(s, "lefloat") == 0 || strcmp(s, "ulefloat") == 0) in magic_parse_type()
786 else if (strcmp(s, "ledouble") == 0 || strcmp(s, "uledouble") == 0) in magic_parse_type()
806 else if (strcmp(s, "melong") == 0 || strcmp(s, "umelong") == 0) in magic_parse_type()
808 else if (strcmp(s, "medate") == 0 || strcmp(s, "umedate") == 0) in magic_parse_type()
810 else if (strcmp(s, "meldate") == 0 || strcmp(s, "umeldate") == 0) in magic_parse_type()
812 else if (strcmp(s, "default") == 0 || strcmp(s, "udefault") == 0) in magic_parse_type()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dstring-opt-3.c29 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()
47 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()
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()
55 || strcmp (dst, "hello worldhello world")) in main()
59 || strcmp (dst, "hello worldhello world")) in main()
63 || strcmp (dst, "hello world world")) in main()
[all …]
/openbsd/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)
317 if (strcmp (p, "no") == 0)
326 else if (strcmp (p, "yes") == 0)
350 if (strcmp (p, "no") == 0)
352 else if (strcmp (p, "yes") == 0)
375 if (strcmp (p, "no") == 0)
398 if (strcmp (p, "no") == 0)
418 if (strcmp (p, "no") == 0)
[all …]
/openbsd/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/gnu/gcc/gcc/cp/
H A Dg++spec.c134 if (strcmp (argv[i], "-nostdlib") == 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()
169 else if (strcmp (argv[i], "-Xlinker") == 0) in lang_specific_driver()
182 || strcmp (argv[i], "-Tdata") == 0)) in lang_specific_driver()
186 || strcmp (argv[i], "-MM") == 0 in lang_specific_driver()
187 || strcmp (argv[i], "-fsyntax-only") == 0) in lang_specific_driver()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Djvspec.c285 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)
333 || strcmp(argv[i], "-CLASSPATH") == 0)
341 || strcmp (argv[i], "-MM") == 0))
351 else if (strcmp (argv[i], "-d") == 0)
518 || strcmp (argv[i], "-CLASSPATH") == 0)
[all …]
/openbsd/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/gnu/usr.bin/gcc/gcc/cp/
H A Dg++spec.c131 if ((strcmp (argv[i], "-nostdlib") == 0
136 else if (strcmp (argv[i], "-lm") == 0
137 || strcmp (argv[i], "-lmath") == 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
166 || strcmp (argv[i], "-Tdata") == 0))
170 || strcmp (argv[i], "-MM") == 0
[all …]
/openbsd/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>>...102