| /freebsd-14.2/usr.sbin/bsdinstall/partedit/ |
| H A D | partedit_powerpc.c | 45 if (strcmp(platform, "chrp") == 0 || strcmp(platform, "ps3") == 0 || in default_scheme() 59 if (strcmp(platform, "powermac") == 0 && strcmp(part_type, "APM") == 0) in is_scheme_bootable() 61 if (strcmp(platform, "powernv") == 0 && strcmp(part_type, "GPT") == 0) in is_scheme_bootable() 63 if ((strcmp(platform, "chrp") == 0 || strcmp(platform, "ps3") == 0) && in is_scheme_bootable() 64 (strcmp(part_type, "MBR") == 0 || strcmp(part_type, "BSD") == 0 || in is_scheme_bootable() 67 if (strcmp(platform, "mpc85xx") == 0 && strcmp(part_type, "MBR") == 0) in is_scheme_bootable() 89 if (strcmp(part_type, "APM") == 0) in bootpart_size() 93 if (strcmp(platform, "chrp") == 0) in bootpart_size() 95 if (strcmp(platform, "ps3") == 0 || strcmp(platform, "powernv") == 0) in bootpart_size() 113 if (strcmp(platform, "powernv") == 0 || strcmp(platform, "ps3") == 0) { in bootpart_type() [all …]
|
| H A D | partedit_x86.c | 67 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable() 70 if (strcmp(part_type, "BSD") == 0) in is_scheme_bootable() 72 if (strcmp(part_type, "MBR") == 0) in is_scheme_bootable() 83 if (strcmp(fs, "freebsd-ufs") == 0) in is_fs_bootable() 87 strcmp(part_type, "GPT") == 0 && in is_fs_bootable() 99 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 129 if (strcmp(part_type, "GPT") == 0) in bootcode_path() 131 if (strcmp(part_type, "MBR") == 0) in bootcode_path() 133 if (strcmp(part_type, "BSD") == 0) in bootcode_path() 143 if (strcmp(part_type, "GPT") == 0 && strcmp(x86_bootmethod(), "UEFI") != 0) { in partcode_path() [all …]
|
| H A D | gpart_ops.c | 82 if (strcmp(scheme, "APM") == 0) in scheme_supports_labels() 84 if (strcmp(scheme, "GPT") == 0) in scheme_supports_labels() 101 if (strcmp(fstype, "freebsd-ufs") == 0) { in newfs_command() 187 } else if (strcmp(fstype, "fat32") == 0 || strcmp(fstype, "efi") == 0 || in newfs_command() 362 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate() 714 if (strcmp(oldtype, items[0].value) != 0 && strcmp(items[0].value, in gpart_edit() 794 else if (strcmp("fat32", type) == 0 || strcmp("efi", type) == 0 in set_default_part_metadata() 809 if (strcmp(mountpoint, "/") == 0) { in set_default_part_metadata() 1121 if (strcmp(scheme, "MBR") == 0) { in gpart_create() 1466 if (strcmp(modified, "false") == 0) in gpart_revert_all() [all …]
|
| /freebsd-14.2/contrib/unbound/util/ |
| H A D | configparser.y | 510 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 527 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 580 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0) 591 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 600 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 609 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 618 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 627 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0) 674 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) 870 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0) [all …]
|
| H A D | configparser.c | 3201 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3223 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3281 if(strcmp((yyvsp[0].str), "") == 0 || strcmp((yyvsp[0].str), "0") == 0) in yyparse() 3295 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3307 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3319 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3331 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3343 if(strcmp((yyvsp[0].str), "") == 0 || strcmp((yyvsp[0].str), "0") == 0) in yyparse() 3401 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() 3642 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse() [all …]
|
| /freebsd-14.2/contrib/unbound/smallapp/ |
| H A D | unbound-checkconf.c | 109 if(strcmp(opt, "pidfile") == 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() 746 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks() 749 && strcmp(cfg->module_conf, "dns64 iterator") != 0 in morechecks() 750 && strcmp(cfg->module_conf, "respip iterator") != 0 in morechecks() 755 && strcmp(cfg->module_conf, "python iterator") != 0 in morechecks() [all …]
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | print-zephyr.c | 229 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print() 244 if (!strcmp(z.inst, "CLIENT")) { in zephyr_print() 247 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print() 282 if (!strcmp(z.inst, "HM")) { in zephyr_print() 287 if (!strcmp(z.inst, "REALM")) { in zephyr_print() 300 if (!strcmp(z.class, "HM_CTL")) { in zephyr_print() 307 if (!strcmp(z.inst, "HMST_CLIENT") && !strcmp(z.opcode, "GIMMESTATS")) { in zephyr_print() 313 if (!strcmp(z.class, "WG_CTL")) { in zephyr_print() 319 if (!strcmp(z.class, "LOGIN")) { in zephyr_print() 325 if (!strcmp(z.opcode, "NONE") || in zephyr_print() [all …]
|
| /freebsd-14.2/tools/tools/cxgbtool/ |
| H A D | cxgbtool.c | 1641 if (!strcmp(argv[2], "reg")) in run_cmd() 1643 else if (!strcmp(argv[2], "mdio")) in run_cmd() 1645 else if (!strcmp(argv[2], "mtus")) in run_cmd() 1647 else if (!strcmp(argv[2], "pm")) in run_cmd() 1659 else if (!strcmp(argv[2], "desc")) in run_cmd() 1667 else if (!strcmp(argv[2], "qset")) in run_cmd() 1675 else if (!strcmp(argv[2], "tcb")) in run_cmd() 1681 else if (!strcmp(argv[2], "la")) in run_cmd() 1731 if (!strcmp(args[2], "quit") || !strcmp(args[2], "exit")) in run_cmd_loop() 1750 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() [all …]
|
| /freebsd-14.2/usr.sbin/ctld/ |
| H A D | uclparse.c | 255 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() 769 if (!strcmp(key, "chap")) { in uclparse_target() 855 if (!strcmp(key, "port")) { in uclparse_target() 874 if (!strcmp(key, "lun")) { in uclparse_target() 946 if (!strcmp(key, "path")) { in uclparse_lun() [all …]
|
| /freebsd-14.2/contrib/googletest/googletest/test/ |
| H A D | googletest-env-var-test_.cc | 48 if (strcmp(flag, "break_on_failure") == 0) { in PrintFlag() 53 if (strcmp(flag, "catch_exceptions") == 0) { in PrintFlag() 58 if (strcmp(flag, "color") == 0) { in PrintFlag() 63 if (strcmp(flag, "death_test_style") == 0) { in PrintFlag() 73 if (strcmp(flag, "fail_fast") == 0) { in PrintFlag() 78 if (strcmp(flag, "filter") == 0) { in PrintFlag() 83 if (strcmp(flag, "output") == 0) { in PrintFlag() 88 if (strcmp(flag, "brief") == 0) { in PrintFlag() 93 if (strcmp(flag, "print_time") == 0) { in PrintFlag() 98 if (strcmp(flag, "repeat") == 0) { in PrintFlag() [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_strcmp.c | 23 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-14.2/contrib/arm-optimized-routines/math/test/rtest/ |
| H A D | main.c | 116 if (!strcmp(str, specials[i].name) || in get_operand() 118 !strcmp(str+1, specials[i].name))) { in get_operand() 212 if (!strcmp(q, "func")) in dofile() 214 else if (!strcmp(q, "op1") || !strcmp(q, "op1r")) { in dofile() 217 } else if (!strcmp(q, "op2") || !strcmp(q, "op1i")) { in dofile() 226 } else if (!strcmp(q, "result") || !strcmp(q, "resultr")) { in dofile() 285 } else if (!strcmp(p, "-t")) { in main() 287 } else if (!strcmp(p, "-T")) { in main() 289 } else if (!strcmp(p, "-c")) { in main() 291 } else if (!strcmp(p, "--")) { in main() [all …]
|
| /freebsd-14.2/contrib/bsnmp/snmp_ntp/ |
| H A D | snmp_ntp.c | 807 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-14.2/sys/geom/vinum/ |
| H A D | geom_vinum_share.c | 219 if (!strcmp(buf, "up")) in gv_drivestatei() 229 if (!strcmp(buf, "up")) in gv_sdstatei() 231 else if (!strcmp(buf, "reviving")) in gv_sdstatei() 235 else if (!strcmp(buf, "stale")) in gv_sdstatei() 265 if (!strcmp(buf, "up")) in gv_plexstatei() 269 else if (!strcmp(buf, "degraded")) in gv_plexstatei() 301 if (!strcmp(buf, "concat")) in gv_plexorgi() 303 else if (!strcmp(buf, "striped")) in gv_plexorgi() 305 else if (!strcmp(buf, "raid5")) in gv_plexorgi() 314 if (!strcmp(buf, "up")) in gv_volstatei() [all …]
|
| /freebsd-14.2/contrib/sendmail/libsm/ |
| H A D | t-strl.c | 40 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-14.2/sys/contrib/openzfs/etc/systemd/system-generators/ |
| H A D | zfs-mount-generator.c | 150 if (strcmp(input, "/") == 0) { in systemd_escape_path() 272 if (strcmp(p_encroot, "-") != 0) { in line_worker() 294 strcmp(scheme, "http") == 0) in line_worker() 415 if (strcmp(p_canmount, "on") == 0) { in line_worker() 457 if (strcmp(p_atime, "on") == 0) { in line_worker() 459 if (strcmp(p_relatime, "on") == 0) in line_worker() 474 if (strcmp(p_devices, "on") == 0) in line_worker() 483 if (strcmp(p_exec, "on") == 0) in line_worker() 492 if (strcmp(p_readonly, "on") == 0) in line_worker() 501 if (strcmp(p_setuid, "on") == 0) in line_worker() [all …]
|
| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_xar.c | 1980 if (strcmp(name, "xar") == 0) in xml_start() 1987 if (strcmp(name, "toc") == 0) in xml_start() 2266 if (strcmp(name, "xar") == 0) in xml_end() 2270 if (strcmp(name, "toc") == 0) in xml_end() 2286 if (strcmp(name, "size") == 0) in xml_end() 2300 if (strcmp(name, "data") == 0) in xml_end() 2312 if (strcmp(name, "size") == 0) in xml_end() 2332 if (strcmp(name, "ea") == 0) { in xml_end() 2386 if (strcmp(name, "gid") == 0) in xml_end() 2394 if (strcmp(name, "uid") == 0) in xml_end() [all …]
|
| /freebsd-14.2/contrib/bc/tests/ |
| H A D | bcl.c | 195 if (strcmp(res, "94538.13464570280000000000")) in main() 206 if (strcmp(res, "94538")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 287 if (strcmp(res, ".01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 292 if (strcmp(res, ".01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 297 if (strcmp(res, "-.01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 302 if (strcmp(res, "1.01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 316 if (strcmp(res, "0.01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 326 if (strcmp(res, "1.01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 340 if (strcmp(res, ".01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() 345 if (strcmp(res, "-.01")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main() [all …]
|
| /freebsd-14.2/lib/libnv/tests/ |
| H A D | nvlist_send_recv_test.c | 114 ATF_REQUIRE(strcmp(name, "nvlist/bool/true") == 0); in send_nvlist_parent() 120 ATF_REQUIRE(strcmp(name, "nvlist/bool/false") == 0); in send_nvlist_parent() 126 ATF_REQUIRE(strcmp(name, "nvlist/number/0") == 0); in send_nvlist_parent() 132 ATF_REQUIRE(strcmp(name, "nvlist/number/1") == 0); in send_nvlist_parent() 138 ATF_REQUIRE(strcmp(name, "nvlist/number/-1") == 0); in send_nvlist_parent() 162 ATF_REQUIRE(strcmp(name, "nvlist/string/") == 0); in send_nvlist_parent() 168 ATF_REQUIRE(strcmp(name, "nvlist/string/x") == 0); in send_nvlist_parent() 195 ATF_REQUIRE(strcmp(name, "nvlist/binary/x") == 0); in send_nvlist_parent() 220 ATF_REQUIRE(strcmp(name, "nvlist/nvlist") == 0); in send_nvlist_parent() 240 ATF_REQUIRE(strcmp(cname, "nvlist/number/0") == 0); in send_nvlist_parent() [all …]
|
| /freebsd-14.2/contrib/libucl/utils/ |
| H A D | ucl-tool.c | 53 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-14.2/tools/tools/ath/athspectral/ |
| H A D | athspectral.c | 219 if (strcmp(param, "ss_short_report") == 0) { in spectral_set_param() 225 } else if (strcmp(param, "ss_count") == 0) { in spectral_set_param() 234 if (strcmp(param, "enabled") == 0) { in spectral_set_param() 236 } else if (strcmp(param, "firpwr") == 0) { in spectral_set_param() 238 } else if (strcmp(param, "rrssi") == 0) { in spectral_set_param() 240 } else if (strcmp(param, "height") == 0) { in spectral_set_param() 242 } else if (strcmp(param, "prssi") == 0) { in spectral_set_param() 244 } else if (strcmp(param, "inband") == 0) { in spectral_set_param() 246 } else if (strcmp(param, "relpwr") == 0) { in spectral_set_param() 248 } else if (strcmp(param, "relstep") == 0) { in spectral_set_param() [all …]
|
| /freebsd-14.2/contrib/elftoolchain/libdwarf/ |
| H A D | dwarf_sections.c | 69 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-14.2/contrib/dma/ |
| H A D | conf.c | 189 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-14.2/usr.sbin/kbdmap/ |
| H A D | kbdmap.c | 86 if (!strcmp(km->keym, key)) in get_keymap() 163 strcmp(term, "vt") != 0) in check_vt() 182 if (!strcmp(locale, "C")) in get_locale() 241 if (strcmp(buf, "NO")) { in get_font() 471 return strcmp(l1, l2); in compare_lang() 789 else if (!strcmp(argv[i], "-help") || !strcmp(argv[i], "-h")) in parse_args() 791 else if (!strcmp(argv[i], "-verbose") || !strcmp(argv[i], "-v")) in parse_args() 793 else if (!strcmp(argv[i], "-lang") || !strcmp(argv[i], "-l")) in parse_args() 798 else if (!strcmp(argv[i], "-default") || !strcmp(argv[i], "-d")) in parse_args() 800 else if (!strcmp(argv[i], "-show") || !strcmp(argv[i], "-s")) in parse_args() [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/lib/librumphijack/ |
| H A D | h_cwd.c | 86 if (strcmp(pwd, prefix) != 0) in simple() 94 if (strcmp(pwd, makepath("dir")) != 0) in simple() 102 if (strcmp(pwd, makepath("dir/dir")) != 0) in simple() 108 if (strcmp(pwd, makepath("dir")) != 0) in simple() 115 if (strcmp(pwd, prefix) != 0) in simple() 121 if (strcmp(pwd, "/") != 0) in simple() 141 if (strcmp(pwd, makepath("adir")) != 0) in symlinktest() 155 if (strcmp(argv[3], "chdir") == 0) in main() 157 else if (strcmp(argv[3], "fchdir") == 0) in main() 162 if (strcmp(argv[2], "simple") == 0) in main() [all …]
|