Home
last modified time | relevance | path

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

12345678910>>...131

/freebsd-13.1/contrib/unbound/util/
H A Dconfigparser.y447 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
464 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
516 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
527 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
536 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
545 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
554 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
601 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
797 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
806 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
[all …]
/freebsd-13.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()
115 if (strcmp(platform, "powernv") == 0 || strcmp(platform, "ps3") == 0) { in bootpart_type()
[all …]
H A Dpartedit_x86.c69 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
72 if (strcmp(part_type, "BSD") == 0) in is_scheme_bootable()
74 if (strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
85 if (strcmp(fs, "freebsd-ufs") == 0) in is_fs_bootable()
89 strcmp(part_type, "GPT") == 0 && in is_fs_bootable()
101 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
131 if (strcmp(part_type, "GPT") == 0) in bootcode_path()
133 if (strcmp(part_type, "MBR") == 0) in bootcode_path()
135 if (strcmp(part_type, "BSD") == 0) in bootcode_path()
145 if (strcmp(part_type, "GPT") == 0 && strcmp(x86_bootmethod(), "UEFI") != 0) { in partcode_path()
[all …]
H A Dgpart_ops.c75 if (strcmp(scheme, "APM") == 0) in scheme_supports_labels()
77 if (strcmp(scheme, "GPT") == 0) in scheme_supports_labels()
86 if (strcmp(fstype, "freebsd-ufs") == 0) { in newfs_command()
171 } else if (strcmp(fstype, "fat32") == 0 || strcmp(fstype, "efi") == 0 || in newfs_command()
326 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate()
663 if (strcmp(oldtype, items[0].text) != 0 && strcmp(items[0].text, in gpart_edit()
747 else if (strcmp("fat32", type) == 0 || strcmp("efi", type) == 0 in set_default_part_metadata()
762 if (strcmp(mountpoint, "/") == 0) { in set_default_part_metadata()
1066 if (strcmp(scheme, "MBR") == 0) { in gpart_create()
1366 if (strcmp(modified, "false") == 0) in gpart_revert_all()
[all …]
/freebsd-13.1/contrib/unbound/smallapp/
H A Dunbound-checkconf.c108 if(strcmp(opt, "pidfile") == 0 && final) { in print_option()
351 if(strcmp(cfg->ifs[i], cfg->ifs[i2]) == 0) { in interfacechecks()
365 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
374 if(strcmp(resif[i][j], resif[i2][j2]) in interfacechecks()
377 if(strcmp(cfg->ifs[i], resif[i][j]) != 0) in interfacechecks()
380 if(strcmp(cfg->ifs[i2], resif[i2][j2]) != 0) in interfacechecks()
688 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks()
691 && strcmp(cfg->module_conf, "dns64 iterator") != 0 in morechecks()
692 && strcmp(cfg->module_conf, "respip iterator") != 0 in morechecks()
697 && strcmp(cfg->module_conf, "python iterator") != 0 in morechecks()
[all …]
/freebsd-13.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-13.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-13.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-13.1/usr.sbin/ctld/
H A Duclparse.c255 if (!strcmp(key, "debug")) { in uclparse_toplevel()
355 if (!strcmp(key, "lun")) { in uclparse_toplevel()
424 if (!strcmp(key, "chap")) { in uclparse_auth_group()
613 if (!strcmp(key, "dscp")) { in uclparse_portal_group()
625 else if (strcmp(key, "be") || strcmp(key, "cs0")) in uclparse_portal_group()
676 if (!strcmp(key, "pcp")) { in uclparse_portal_group()
763 if (!strcmp(key, "chap")) { in uclparse_target()
835 if (!strcmp(key, "port")) { in uclparse_target()
885 if (!strcmp(key, "lun")) { in uclparse_target()
957 if (!strcmp(key, "path")) { in uclparse_lun()
[all …]
/freebsd-13.1/sys/contrib/openzfs/lib/libshare/os/linux/
H A Dnfs.c193 if (strcmp(opt, "rw") == 0 || strcmp(opt, "ro") == 0) { in foreach_nfs_host_cb()
326 if (strcmp(key, "ro") == 0 || strcmp(key, "rw") == 0 || in get_linux_shareopts_cb()
341 if (strcmp(key, "insecure") != 0 && strcmp(key, "secure") != 0 && in get_linux_shareopts_cb()
342 strcmp(key, "async") != 0 && strcmp(key, "sync") != 0 && in get_linux_shareopts_cb()
343 strcmp(key, "no_wdelay") != 0 && strcmp(key, "wdelay") != 0 && in get_linux_shareopts_cb()
344 strcmp(key, "nohide") != 0 && strcmp(key, "hide") != 0 && in get_linux_shareopts_cb()
351 strcmp(key, "no_acl") != 0 && strcmp(key, "mountpoint") != 0 && in get_linux_shareopts_cb()
352 strcmp(key, "mp") != 0 && strcmp(key, "fsuid") != 0 && in get_linux_shareopts_cb()
353 strcmp(key, "refer") != 0 && strcmp(key, "replicas") != 0 && in get_linux_shareopts_cb()
357 strcmp(key, "no_all_squash") != 0 && strcmp(key, "fsid") != 0 && in get_linux_shareopts_cb()
[all …]
/freebsd-13.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-13.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-13.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-13.1/sys/geom/vinum/
H A Dgeom_vinum_share.c221 if (!strcmp(buf, "up")) in gv_drivestatei()
231 if (!strcmp(buf, "up")) in gv_sdstatei()
233 else if (!strcmp(buf, "reviving")) in gv_sdstatei()
237 else if (!strcmp(buf, "stale")) in gv_sdstatei()
267 if (!strcmp(buf, "up")) in gv_plexstatei()
271 else if (!strcmp(buf, "degraded")) in gv_plexstatei()
303 if (!strcmp(buf, "concat")) in gv_plexorgi()
305 else if (!strcmp(buf, "striped")) in gv_plexorgi()
307 else if (!strcmp(buf, "raid5")) in gv_plexorgi()
316 if (!strcmp(buf, "up")) in gv_volstatei()
[all …]
/freebsd-13.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-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1977 if (strcmp(name, "xar") == 0) in xml_start()
1984 if (strcmp(name, "toc") == 0) in xml_start()
2257 if (strcmp(name, "xar") == 0) in xml_end()
2261 if (strcmp(name, "toc") == 0) in xml_end()
2277 if (strcmp(name, "size") == 0) in xml_end()
2291 if (strcmp(name, "data") == 0) in xml_end()
2303 if (strcmp(name, "size") == 0) in xml_end()
2323 if (strcmp(name, "ea") == 0) { in xml_end()
2377 if (strcmp(name, "gid") == 0) in xml_end()
2385 if (strcmp(name, "uid") == 0) in xml_end()
[all …]
/freebsd-13.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-13.1/lib/libnv/tests/
H A Dnvlist_send_recv_test.c117 ATF_REQUIRE(strcmp(name, "nvlist/bool/true") == 0); in send_nvlist_parent()
123 ATF_REQUIRE(strcmp(name, "nvlist/bool/false") == 0); in send_nvlist_parent()
129 ATF_REQUIRE(strcmp(name, "nvlist/number/0") == 0); in send_nvlist_parent()
135 ATF_REQUIRE(strcmp(name, "nvlist/number/1") == 0); in send_nvlist_parent()
141 ATF_REQUIRE(strcmp(name, "nvlist/number/-1") == 0); in send_nvlist_parent()
165 ATF_REQUIRE(strcmp(name, "nvlist/string/") == 0); in send_nvlist_parent()
171 ATF_REQUIRE(strcmp(name, "nvlist/string/x") == 0); in send_nvlist_parent()
198 ATF_REQUIRE(strcmp(name, "nvlist/binary/x") == 0); in send_nvlist_parent()
223 ATF_REQUIRE(strcmp(name, "nvlist/nvlist") == 0); in send_nvlist_parent()
243 ATF_REQUIRE(strcmp(cname, "nvlist/number/0") == 0); in send_nvlist_parent()
[all …]
/freebsd-13.1/contrib/libucl/utils/
H A Ducl-tool.c53 if ((strcmp(parm, "--help") == 0) || (strcmp(parm, "-h") == 0)) { in main()
57 } else if ((strcmp(parm, "--in") == 0) || (strcmp(parm, "-i") == 0)) { in main()
66 } else if ((strcmp(parm, "--out") == 0) || (strcmp(parm, "-o") == 0)) { in main()
75 } else if ((strcmp(parm, "--schema") == 0) || (strcmp(parm, "-s") == 0)) { in main()
80 } else if ((strcmp(parm, "--format") == 0) || (strcmp(parm, "-f") == 0)) { in main()
84 if (strcmp(val, "ucl") == 0) { in main()
86 } else if (strcmp(val, "json") == 0) { in main()
88 } else if (strcmp(val, "yaml") == 0) { in main()
90 } else if (strcmp(val, "compact_json") == 0) { in main()
92 } else if (strcmp(val, "msgpack") == 0) { in main()
/freebsd-13.1/sys/contrib/openzfs/etc/systemd/system-generators/
H A Dzfs-mount-generator.c167 if (strcmp(input, "/") == 0) { in systemd_escape_path()
282 if (strcmp(p_encroot, "-") != 0) { in line_worker()
458 if (strcmp(p_atime, "on") == 0) { in line_worker()
460 if (strcmp(p_relatime, "on") == 0) in line_worker()
475 if (strcmp(p_devices, "on") == 0) in line_worker()
484 if (strcmp(p_exec, "on") == 0) in line_worker()
493 if (strcmp(p_readonly, "on") == 0) in line_worker()
502 if (strcmp(p_setuid, "on") == 0) in line_worker()
511 if (strcmp(p_nbmand, "on") == 0) in line_worker()
617 if (strcmp(p_canmount, "on") == 0) in line_worker()
[all …]
/freebsd-13.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 …]
/freebsd-13.1/contrib/elftoolchain/libdwarf/
H A Ddwarf_sections.c69 if (!strcmp(n, ".debug_info")) in dwarf_get_section_max_offsets_b()
71 else if (!strcmp(n, ".debug_abbrev")) in dwarf_get_section_max_offsets_b()
73 else if (!strcmp(n, ".debug_line")) in dwarf_get_section_max_offsets_b()
75 else if (!strcmp(n, ".debug_loc")) in dwarf_get_section_max_offsets_b()
77 else if (!strcmp(n, ".debug_aranges")) in dwarf_get_section_max_offsets_b()
79 else if (!strcmp(n, ".debug_macinfo")) in dwarf_get_section_max_offsets_b()
81 else if (!strcmp(n, ".debug_pubnames")) in dwarf_get_section_max_offsets_b()
83 else if (!strcmp(n, ".debug_str")) in dwarf_get_section_max_offsets_b()
85 else if (!strcmp(n, ".debug_frame")) in dwarf_get_section_max_offsets_b()
87 else if (!strcmp(n, ".debug_ranges")) in dwarf_get_section_max_offsets_b()
[all …]
/freebsd-13.1/contrib/dma/
H A Dconf.c189 if (strcmp(word, "SMARTHOST") == 0 && data != NULL) in parse_conf()
191 else if (strcmp(word, "PORT") == 0 && data != NULL) in parse_conf()
193 else if (strcmp(word, "ALIASES") == 0 && data != NULL) in parse_conf()
195 else if (strcmp(word, "SPOOLDIR") == 0 && data != NULL) in parse_conf()
197 else if (strcmp(word, "AUTHPATH") == 0 && data != NULL) in parse_conf()
199 else if (strcmp(word, "CERTFILE") == 0 && data != NULL) in parse_conf()
201 else if (strcmp(word, "MAILNAME") == 0 && data != NULL) in parse_conf()
219 } else if (strcmp(word, "STARTTLS") == 0 && data == NULL) in parse_conf()
221 else if (strcmp(word, "FINGERPRINT") == 0) { in parse_conf()
241 else if (strcmp(word, "DEFER") == 0 && data == NULL) in parse_conf()
[all …]
/freebsd-13.1/usr.sbin/kbdmap/
H A Dkbdmap.c87 if (!strcmp(km->keym, key)) in get_keymap()
164 strcmp(term, "vt") != 0) in check_vt()
183 if (!strcmp(locale, "C")) in get_locale()
242 if (strcmp(buf, "NO")) { in get_font()
489 return strcmp(l1, l2); in compare_lang()
807 else if (!strcmp(argv[i], "-help") || !strcmp(argv[i], "-h")) in parse_args()
809 else if (!strcmp(argv[i], "-verbose") || !strcmp(argv[i], "-v")) in parse_args()
811 else if (!strcmp(argv[i], "-lang") || !strcmp(argv[i], "-l")) in parse_args()
816 else if (!strcmp(argv[i], "-default") || !strcmp(argv[i], "-d")) in parse_args()
818 else if (!strcmp(argv[i], "-show") || !strcmp(argv[i], "-s")) in parse_args()
[all …]
/freebsd-13.1/contrib/bc/tests/
H A Dbcl.c181 if (strcmp(res, "94538")) in main()
198 if (strcmp(res, "94538")) in main()
254 if (strcmp(res, ".01")) in main()
260 if (strcmp(res, "-.01")) in main()
266 if (strcmp(res, "1.01")) in main()
272 if (strcmp(res, "-1.01")) in main()
283 if (strcmp(res, "0.01")) in main()
295 if (strcmp(res, "1.01")) in main()
312 if (strcmp(res, ".01")) in main()
318 if (strcmp(res, "-.01")) in main()
[all …]

12345678910>>...131