Home
last modified time | relevance | path

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

12345678910>>...146

/freebsd-12.1/contrib/unbound/util/
H A Dconfigparser.y401 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
460 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
471 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
480 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
489 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
498 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
545 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
741 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
750 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
759 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
[all …]
/freebsd-12.1/usr.sbin/bsdinstall/partedit/
H A Dpartedit_powerpc.c47 if (strcmp(platform, "chrp") == 0 || strcmp(platform, "ps3") == 0 || in default_scheme()
61 if (strcmp(platform, "powermac") == 0 && strcmp(part_type, "APM") == 0) in is_scheme_bootable()
63 if (strcmp(platform, "powernv") == 0 && strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
65 if ((strcmp(platform, "chrp") == 0 || strcmp(platform, "ps3") == 0) && in is_scheme_bootable()
66 (strcmp(part_type, "MBR") == 0 || strcmp(part_type, "BSD") == 0 || in is_scheme_bootable()
69 if (strcmp(platform, "mpc85xx") == 0 && strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
91 if (strcmp(part_type, "APM") == 0) in bootpart_size()
95 if (strcmp(platform, "chrp") == 0) in bootpart_size()
97 if (strcmp(platform, "ps3") == 0 || strcmp(platform, "powernv") == 0 || in bootpart_size()
114 if (strcmp(platform, "powernv") == 0 || strcmp(platform, "ps3") == 0 || in bootpart_type()
[all …]
H A Dpartedit_x86.c70 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
73 if (strcmp(part_type, "BSD") == 0) in is_scheme_bootable()
75 if (strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
86 if (strcmp(fs, "freebsd-ufs") == 0) in is_fs_bootable()
89 if (strcmp(fs, "freebsd-zfs") == 0 && in is_fs_bootable()
90 strcmp(part_type, "GPT") == 0 && in is_fs_bootable()
102 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
130 if (strcmp(part_type, "GPT") == 0) in bootcode_path()
132 if (strcmp(part_type, "MBR") == 0) in bootcode_path()
134 if (strcmp(part_type, "BSD") == 0) in bootcode_path()
[all …]
H A Dgpart_ops.c74 if (strcmp(scheme, "APM") == 0) in scheme_supports_labels()
76 if (strcmp(scheme, "GPT") == 0) in scheme_supports_labels()
85 if (strcmp(fstype, "freebsd-ufs") == 0) { in newfs_command()
170 } else if (strcmp(fstype, "fat32") == 0 || strcmp(fstype, "efi") == 0 || in newfs_command()
325 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate()
662 if (strcmp(oldtype, items[0].text) != 0 && strcmp(items[0].text, in gpart_edit()
716 if (strcmp(scheme, "VTOC8") == 0 && (strcmp(type, "freebsd-ufs") == 0 in set_default_part_metadata()
751 else if (strcmp("fat32", type) == 0 || strcmp("efi", type) == 0 in set_default_part_metadata()
1070 if (strcmp(scheme, "MBR") == 0) { in gpart_create()
1370 if (strcmp(modified, "false") == 0) in gpart_revert_all()
[all …]
/freebsd-12.1/contrib/unbound/smallapp/
H A Dunbound-checkconf.c106 if(strcmp(opt, "pidfile") == 0 && final) { in print_option()
113 if(strcmp(opt, "auto-trust-anchor-file") == 0 && final) { in print_option()
254 if(i!=j && strcmp(cfg->ifs[i], cfg->ifs[j])==0) in interfacechecks()
552 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks()
553 && strcmp(cfg->module_conf, "validator iterator") != 0 in morechecks()
555 && strcmp(cfg->module_conf, "dns64 iterator") != 0 in morechecks()
556 && strcmp(cfg->module_conf, "respip iterator") != 0 in morechecks()
559 && strcmp(cfg->module_conf, "python iterator") != 0 in morechecks()
573 && strcmp(cfg->module_conf, "cachedb iterator") != 0 in morechecks()
615 && strcmp(cfg->module_conf, "ipsecmod iterator") != 0 in morechecks()
[all …]
/freebsd-12.1/contrib/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"))
/freebsd-12.1/tools/test/testfloat/
H A Dtestfloat.c76 if ( strcmp( argPtr, "help" ) == 0 ) { in main()
134 else if ( strcmp( argPtr, "list" ) == 0 ) { in main()
145 else if ( strcmp( argPtr, "level" ) == 0 ) { in main()
151 else if ( strcmp( argPtr, "level1" ) == 0 ) { in main()
154 else if ( strcmp( argPtr, "level2" ) == 0 ) { in main()
157 else if ( strcmp( argPtr, "errors" ) == 0 ) { in main()
196 else if ( strcmp( argPtr, "down" ) == 0 ) { in main()
199 else if ( strcmp( argPtr, "up" ) == 0 ) { in main()
208 else if ( strcmp( argPtr, "all1" ) == 0 ) { in main()
213 else if ( strcmp( argPtr, "all2" ) == 0 ) { in main()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dprint-zephyr.c218 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
233 if (!strcmp(z.inst, "CLIENT")) { in zephyr_print()
236 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
271 if (!strcmp(z.inst, "HM")) { in zephyr_print()
276 if (!strcmp(z.inst, "REALM")) { in zephyr_print()
289 if (!strcmp(z.class, "HM_CTL")) { in zephyr_print()
296 if (!strcmp(z.inst, "HMST_CLIENT") && !strcmp(z.opcode, "GIMMESTATS")) { in zephyr_print()
302 if (!strcmp(z.class, "WG_CTL")) { in zephyr_print()
308 if (!strcmp(z.class, "LOGIN")) { in zephyr_print()
314 if (!strcmp(z.opcode, "NONE") || in zephyr_print()
[all …]
/freebsd-12.1/tools/tools/cxgbtool/
H A Dcxgbtool.c1643 if (!strcmp(argv[2], "reg")) in run_cmd()
1645 else if (!strcmp(argv[2], "mdio")) in run_cmd()
1647 else if (!strcmp(argv[2], "mtus")) in run_cmd()
1649 else if (!strcmp(argv[2], "pm")) in run_cmd()
1661 else if (!strcmp(argv[2], "desc")) in run_cmd()
1669 else if (!strcmp(argv[2], "qset")) in run_cmd()
1677 else if (!strcmp(argv[2], "tcb")) in run_cmd()
1683 else if (!strcmp(argv[2], "la")) in run_cmd()
1733 if (!strcmp(args[2], "quit") || !strcmp(args[2], "exit")) in run_cmd_loop()
1752 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main()
[all …]
/freebsd-12.1/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 : \
169 !strcmp (STR, "Zimage_base") ? 1 : \
170 !strcmp (STR, "Zinit") ? 1 : \
[all …]
/freebsd-12.1/lib/libnv/tests/
H A Dnvlist_send_recv_test.c107 CHECK(strcmp(name, "nvlist/bool/true") == 0); in parent()
113 CHECK(strcmp(name, "nvlist/bool/false") == 0); in parent()
119 CHECK(strcmp(name, "nvlist/number/0") == 0); in parent()
125 CHECK(strcmp(name, "nvlist/number/1") == 0); in parent()
131 CHECK(strcmp(name, "nvlist/number/-1") == 0); in parent()
155 CHECK(strcmp(name, "nvlist/string/") == 0); in parent()
161 CHECK(strcmp(name, "nvlist/string/x") == 0); in parent()
179 CHECK(strcmp(name, "nvlist/binary/x") == 0); in parent()
202 CHECK(strcmp(name, "nvlist/nvlist") == 0); in parent()
222 CHECK(strcmp(cname, "nvlist/number/0") == 0); in parent()
[all …]
/freebsd-12.1/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c807 if (strcmp(name, "leap") == 0 || in fetch_sysinfo()
808 strcmp(name, "sys.leap") == 0) { in fetch_sysinfo()
831 strcmp(name, "sys.refid") == 0) { in fetch_sysinfo()
839 strcmp(name, "sys.poll") == 0) { in fetch_sysinfo()
844 strcmp(name, "sys.peer") == 0) { in fetch_sysinfo()
849 strcmp(name, "sys.clock") == 0) { in fetch_sysinfo()
853 strcmp(name, "sys.system") == 0) { in fetch_sysinfo()
987 if (strcmp(name, "config") == 0 || in fetch_peers()
1053 strcmp(name, "sys.org") == 0) { in fetch_peers()
1057 strcmp(name, "sys.rec") == 0) { in fetch_peers()
[all …]
/freebsd-12.1/sys/geom/vinum/
H A Dgeom_vinum_share.c223 if (!strcmp(buf, "up")) in gv_drivestatei()
233 if (!strcmp(buf, "up")) in gv_sdstatei()
235 else if (!strcmp(buf, "reviving")) in gv_sdstatei()
239 else if (!strcmp(buf, "stale")) in gv_sdstatei()
269 if (!strcmp(buf, "up")) in gv_plexstatei()
273 else if (!strcmp(buf, "degraded")) in gv_plexstatei()
305 if (!strcmp(buf, "concat")) in gv_plexorgi()
307 else if (!strcmp(buf, "striped")) in gv_plexorgi()
309 else if (!strcmp(buf, "raid5")) in gv_plexorgi()
318 if (!strcmp(buf, "up")) in gv_volstatei()
[all …]
/freebsd-12.1/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcmp.c23 int (*f)(const char *, const char *s) = strcmp; in ATF_TC_BODY()
111 ATF_CHECK(strcmp(buf1, buf1) == 0); in ATF_TC_BODY()
112 ATF_CHECK(strcmp(buf2, buf2) == 0); in ATF_TC_BODY()
114 ATF_CHECK(strcmp("x\xf6x", "xox") > 0); in ATF_TC_BODY()
115 ATF_CHECK(strcmp("xxx", "xxxyyy") < 0); in ATF_TC_BODY()
116 ATF_CHECK(strcmp("xxxyyy", "xxx") > 0); in ATF_TC_BODY()
118 ATF_CHECK(strcmp(buf1 + 0, buf2 + 0) < 0); in ATF_TC_BODY()
119 ATF_CHECK(strcmp(buf1 + 1, buf2 + 1) < 0); in ATF_TC_BODY()
120 ATF_CHECK(strcmp(buf1 + 2, buf2 + 2) < 0); in ATF_TC_BODY()
123 ATF_CHECK(strcmp(buf2 + 0, buf1 + 0) > 0); in ATF_TC_BODY()
[all …]
/freebsd-12.1/sys/dev/uart/
H A Duart_cpu_sparc64.c81 if (strcmp(p, "ssp") == 0) in uart_cpu_channel()
136 if (strcmp(buf, "serial") != 0) in uart_cpu_getdev_console()
140 !strcmp(buf, "sgcn")) { in uart_cpu_getdev_console()
168 if (strcmp(buf, "serial") != 0) in uart_cpu_getdev_dbgport()
190 if (strcmp(buf, "serial") != 0) in uart_cpu_getdev_keyboard()
198 if (strcmp(dev, "su") && strcmp(dev, "su_pnp") && strcmp(dev, "zs")) in uart_cpu_getdev_keyboard()
243 if (!strcmp(buf, "se") || !strcmp(buf, "FJSV,se") || in uart_cpu_getdev()
250 } else if (!strcmp(buf, "zs")) { in uart_cpu_getdev()
266 } else if (!strcmp(buf, "lom-console") || !strcmp(buf, "su") || in uart_cpu_getdev()
267 !strcmp(buf, "su_pnp") || !strcmp(compat, "rsc-console") || in uart_cpu_getdev()
[all …]
H A Duart_bus_ebus.c79 if (!strcmp(nm, "lom-console") || !strcmp(nm, "su") || in uart_ebus_probe()
80 !strcmp(nm, "su_pnp") || !strcmp(cmpt, "rsc-console") || in uart_ebus_probe()
81 !strcmp(cmpt, "rsc-control") || !strcmp(cmpt, "su") || in uart_ebus_probe()
82 !strcmp(cmpt, "su16550") || !strcmp(cmpt, "su16552")) { in uart_ebus_probe()
95 if ((!strcmp(sparc64_model, "SUNW,UltraAX-MP") || in uart_ebus_probe()
96 !strcmp(sparc64_model, "SUNW,UltraSPARC-IIi-Engine")) && in uart_ebus_probe()
/freebsd-12.1/usr.sbin/ctld/
H A Duclparse.c253 if (!strcmp(key, "debug")) { in uclparse_toplevel()
262 if (!strcmp(key, "timeout")) { in uclparse_toplevel()
353 if (!strcmp(key, "lun")) { in uclparse_toplevel()
371 if (!strcmp(key, "target")) { in uclparse_toplevel()
422 if (!strcmp(key, "chap")) { in uclparse_auth_group()
630 if (!strcmp(key, "alias")) { in uclparse_target()
685 if (!strcmp(key, "chap")) { in uclparse_target()
757 if (!strcmp(key, "port")) { in uclparse_target()
807 if (!strcmp(key, "lun")) { in uclparse_target()
879 if (!strcmp(key, "path")) { in uclparse_lun()
[all …]
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-env-var-test_.cc50 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag()
55 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag()
60 if (strcmp(flag, "color") == 0) { in PrintFlag()
65 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag()
70 if (strcmp(flag, "death_test_use_fork") == 0) { in PrintFlag()
75 if (strcmp(flag, "filter") == 0) { in PrintFlag()
80 if (strcmp(flag, "output") == 0) { in PrintFlag()
85 if (strcmp(flag, "print_time") == 0) { in PrintFlag()
90 if (strcmp(flag, "repeat") == 0) { in PrintFlag()
95 if (strcmp(flag, "stack_trace_depth") == 0) { in PrintFlag()
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1968 if (strcmp(name, "xar") == 0) in xml_start()
1975 if (strcmp(name, "toc") == 0) in xml_start()
2248 if (strcmp(name, "xar") == 0) in xml_end()
2252 if (strcmp(name, "toc") == 0) in xml_end()
2268 if (strcmp(name, "size") == 0) in xml_end()
2282 if (strcmp(name, "data") == 0) in xml_end()
2294 if (strcmp(name, "size") == 0) in xml_end()
2314 if (strcmp(name, "ea") == 0) { in xml_end()
2368 if (strcmp(name, "gid") == 0) in xml_end()
2376 if (strcmp(name, "uid") == 0) in xml_end()
[all …]
/freebsd-12.1/contrib/sendmail/libsm/
H A Dt-strl.c40 SM_TEST(strcmp(s1, s3) == 0);
44 SM_TEST(strcmp(s3, r) == 0);
48 SM_TEST(strcmp(s3, r) == 0);
52 SM_TEST(strcmp(s3, r) == 0);
58 SM_TEST(strcmp(s3, r) == 0);
64 SM_TEST(strcmp(s3, r) == 0);
70 SM_TEST(strcmp(s3, r) == 0);
76 SM_TEST(strcmp(s3, r) == 0);
82 SM_TEST(strcmp(s3, r) == 0);
88 SM_TEST(strcmp(s3, r) == 0);
[all …]
/freebsd-12.1/contrib/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 …]
/freebsd-12.1/usr.sbin/ctm/ctm/
H A Dctm_passb.c46 GETFIELD(p,' '); if(strcmp(Version,p)) WRONG in PassB()
47 GETFIELD(p,' '); if(strcmp(Name,p)) WRONG in PassB()
48 GETFIELD(p,' '); if(strcmp(Nbr,p)) WRONG in PassB()
50 GETFIELD(p,'\n'); if(strcmp(Prefix,p)) WRONG in PassB()
66 if(!strcmp(p+3,"_END")) in PassB()
70 if(!strcmp(p+3,sp->Key)) in PassB()
101 (!strcmp(sp->Key,"DR") || !strcmp(sp->Key,"FR"))) in PassB()
116 if (!strcmp(sp->Key,"FS") || !strcmp(sp->Key,"FN") || in PassB()
117 !strcmp(sp->Key,"AS") || !strcmp(sp->Key,"DR") || in PassB()
118 !strcmp(sp->Key,"FR")) { in PassB()
[all …]
/freebsd-12.1/contrib/gcclibs/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 …]
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-sysinfo.c218 if (strcmp(field, "dram_size:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
220 else if (strcmp(field, "phy_mem_desc_addr:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
222 else if (strcmp(field, "eclock_hz:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
224 else if (strcmp(field, "dclock_hz:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
226 else if (strcmp(field, "board_type:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
228 else if (strcmp(field, "board_rev_major:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
230 else if (strcmp(field, "board_rev_minor:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
234 else if (strcmp(field, "mac_addr_base:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
242 else if (strcmp(field, "mac_addr_count:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
244 else if (strcmp(field, "fdt_addr:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
[all …]
/freebsd-12.1/tools/tools/ath/athspectral/
H A Dathspectral.c221 if (strcmp(param, "ss_short_report") == 0) { in spectral_set_param()
227 } else if (strcmp(param, "ss_count") == 0) { in spectral_set_param()
236 if (strcmp(param, "enabled") == 0) { in spectral_set_param()
238 } else if (strcmp(param, "firpwr") == 0) { in spectral_set_param()
240 } else if (strcmp(param, "rrssi") == 0) { in spectral_set_param()
242 } else if (strcmp(param, "height") == 0) { in spectral_set_param()
244 } else if (strcmp(param, "prssi") == 0) { in spectral_set_param()
246 } else if (strcmp(param, "inband") == 0) { in spectral_set_param()
248 } else if (strcmp(param, "relpwr") == 0) { in spectral_set_param()
250 } else if (strcmp(param, "relstep") == 0) { in spectral_set_param()
[all …]

12345678910>>...146