Home
last modified time | relevance | path

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

12345678910>>...107

/freebsd/contrib/unbound/util/
H A Dconfigparser.y485 if(strcmp($2, "nxdomain")!=0 && strcmp($2, "nodata")!=0 &&
486 strcmp($2, "passthru")!=0 && strcmp($2, "drop")!=0 &&
487 strcmp($2, "cname")!=0 && strcmp($2, "disabled")!=0) {
510 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
512 else cfg_parser->cfg->auths->rpz_log = (strcmp($2, "yes")==0);
527 if(strcmp($2, "yes") != 0 && strcmp($2, "no") != 0)
529 else cfg_parser->cfg->auths->rpz_signal_nxdomain_ra = (strcmp($2, "yes")==0);
562 if(atoi($2) == 0 && strcmp($2, "0") != 0)
571 if(atoi($2) == 0 && strcmp($2, "0") != 0)
580 if(strcmp($2, "") == 0 || strcmp($2, "0") == 0)
[all …]
H A Dconfigparser.c3172 if(strcmp((yyvsp[0].str), "nxdomain")!=0 && strcmp((yyvsp[0].str), "nodata")!=0 && in yyparse()
3173 strcmp((yyvsp[0].str), "passthru")!=0 && strcmp((yyvsp[0].str), "drop")!=0 && in yyparse()
3174 strcmp((yyvsp[0].str), "cname")!=0 && strcmp((yyvsp[0].str), "disabled")!=0) { in yyparse()
3201 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse()
3203 else cfg_parser->cfg->auths->rpz_log = (strcmp((yyvsp[0].str), "yes")==0); in yyparse()
3223 if(strcmp((yyvsp[0].str), "yes") != 0 && strcmp((yyvsp[0].str), "no") != 0) in yyparse()
3225 else cfg_parser->cfg->auths->rpz_signal_nxdomain_ra = (strcmp((yyvsp[0].str), "yes")==0); in yyparse()
3257 if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) in yyparse()
3269 if(atoi((yyvsp[0].str)) == 0 && strcmp((yyvsp[0].str), "0") != 0) in yyparse()
3281 if(strcmp((yyvsp[0].str), "") == 0 || strcmp((yyvsp[0].str), "0") == 0) in yyparse()
[all …]
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit_powerpc.c43 if (strcmp(platform, "powermac") == 0) in default_scheme()
45 if (strcmp(platform, "chrp") == 0 || strcmp(platform, "ps3") == 0 || in default_scheme()
46 strcmp(platform, "mpc85xx") == 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()
65 strcmp(part_type, "GPT") == 0)) in is_scheme_bootable()
67 if (strcmp(platform, "mpc85xx") == 0 && strcmp(part_type, "MBR") == 0) in is_scheme_bootable()
76 if (strcmp(fs, "freebsd-ufs") == 0) in is_fs_bootable()
[all …]
H A Dpartedit_x86.c57 if (strcmp(x86_bootmethod(), "UEFI") == 0) in default_scheme()
67 if (strcmp(part_type, "GPT") == 0) in is_scheme_bootable()
69 if (strcmp(x86_bootmethod(), "BIOS") == 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()
86 if (strcmp(fs, "freebsd-zfs") == 0 && in is_fs_bootable()
87 strcmp(part_type, "GPT") == 0 && in is_fs_bootable()
88 strcmp(x86_bootmethod(), "BIOS") == 0) in is_fs_bootable()
99 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
[all …]
H A Dgpart_ops.c82 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()
130 if (strcmp(items[i].name, "UFS1") == 0) in newfs_command()
132 else if (strcmp(items[i].name, "SU") == 0) in newfs_command()
134 else if (strcmp(items[i].name, "SUJ") == 0) in newfs_command()
136 else if (strcmp(items[i].name, "TRIM") == 0) in newfs_command()
139 } else if (strcmp(fstype, "freebsd-zfs") == 0) { in newfs_command()
178 if (strcmp(items[i].name, "fletcher4") == 0) in newfs_command()
180 else if (strcmp(items[i].name, "fletcher2") == 0) in newfs_command()
[all …]
/freebsd/contrib/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(cfg->module_conf, "validator iterator") != 0 in morechecks()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-zephyr.c223 if (!lose && strcmp(ackdata, "SENT")) in zephyr_print()
228 if (!strcmp(z.class, "USER_LOCATE")) { in zephyr_print()
229 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
231 else if (!strcmp(z.opcode, "USER_UNHIDE")) in zephyr_print()
238 if (!strcmp(z.class, "ZEPHYR_ADMIN")) { in zephyr_print()
243 if (!strcmp(z.class, "ZEPHYR_CTL")) { in zephyr_print()
244 if (!strcmp(z.inst, "CLIENT")) { in zephyr_print()
245 if (!strcmp(z.opcode, "SUBSCRIBE") || in zephyr_print()
246 !strcmp(z.opcode, "SUBSCRIBE_NODEFS") || in zephyr_print()
247 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
[all …]
/freebsd/tools/tools/cxgbtool/
H A Dcxgbtool.c274 if (!block_name || !strcmp(block_name, "sge")) in dump_regs_t2()
276 if (!block_name || !strcmp(block_name, "mc3")) in dump_regs_t2()
278 if (!block_name || !strcmp(block_name, "mc4")) in dump_regs_t2()
280 if (!block_name || !strcmp(block_name, "tpi")) in dump_regs_t2()
282 if (!block_name || !strcmp(block_name, "tp")) in dump_regs_t2()
284 if (!block_name || !strcmp(block_name, "rat")) in dump_regs_t2()
286 if (!block_name || !strcmp(block_name, "cspi")) in dump_regs_t2()
288 if (!block_name || !strcmp(block_name, "espi")) in dump_regs_t2()
290 if (!block_name || !strcmp(block_name, "ulp")) in dump_regs_t2()
292 if (!block_name || !strcmp(block_name, "pl")) in dump_regs_t2()
[all …]
/freebsd/usr.sbin/ctld/
H A Duclparse.c300 if (strcmp(key, "debug") == 0) { in uclparse_toplevel()
309 if (strcmp(key, "timeout") == 0) { in uclparse_toplevel()
318 if (strcmp(key, "maxproc") == 0) { in uclparse_toplevel()
327 if (strcmp(key, "pidfile") == 0) { in uclparse_toplevel()
338 if (strcmp(key, "isns-server") == 0) { in uclparse_toplevel()
357 if (strcmp(key, "isns-period") == 0) { in uclparse_toplevel()
366 if (strcmp(key, "isns-timeout") == 0) { in uclparse_toplevel()
375 if (strcmp(key, "auth-group") == 0) { in uclparse_toplevel()
389 if (strcmp(key, "portal-group") == 0) { in uclparse_toplevel()
403 if (strcmp(key, "lun") == 0) { in uclparse_toplevel()
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-env-var-test_.cc48 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()
68 if (strcmp(flag, "death_test_use_fork") == 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()
[all …]
/freebsd/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()
812 } else if (strcmp(name, "stratum") == 0 || in fetch_sysinfo()
813 strcmp(name, "sys.stratum") == 0) { in fetch_sysinfo()
817 } else if (strcmp(name, "precision") == 0 || in fetch_sysinfo()
818 strcmp(name, "sys.precision") == 0) { in fetch_sysinfo()
822 } else if (strcmp(name, "rootdelay") == 0 || in fetch_sysinfo()
823 strcmp(name, "sys.rootdelay") == 0) { in fetch_sysinfo()
826 } else if (strcmp(name, "rootdispersion") == 0 || in fetch_sysinfo()
827 strcmp(name, "sys.rootdispersion") == 0) { in fetch_sysinfo()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/rtest/
H A Dmain.c90 if (func && !strcmp(func, functions[i].name)) { in find_function()
116 if (!strcmp(str, specials[i].name) || in get_operand()
118 !strcmp(str+1, specials[i].name))) { in get_operand()
187 if (!strcmp(q, functions[i].name)) { in dofile()
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()
220 } else if (!strcmp(q, "op2r")) { in dofile()
223 } else if (!strcmp(q, "op2i")) { in dofile()
226 } else if (!strcmp(q, "result") || !strcmp(q, "resultr")) { in dofile()
[all …]
/freebsd/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()
121 ATF_CHECK(strcmp(buf1 + 3, buf2 + 3) == 0); in ATF_TC_BODY()
[all …]
/freebsd/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/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1806 if (strcmp(attr->name, "id") == 0) in file_new()
1850 if (strcmp(attr->name, "id") == 0) in xattr_new()
1879 if (strcmp(attr->name, "style") == 0) { in getencoding()
1880 if (strcmp(attr->value, "application/octet-stream") == 0) in getencoding()
1882 else if (strcmp(attr->value, "application/x-gzip") == 0) in getencoding()
1884 else if (strcmp(attr->value, "application/x-bzip2") == 0) in getencoding()
1886 else if (strcmp(attr->value, "application/x-lzma") == 0) in getencoding()
1888 else if (strcmp(attr->value, "application/x-xz") == 0) in getencoding()
1902 if (strcmp(attr->name, "style") == 0) { in getsumalgorithm()
1950 if (strcmp(tag->name.s, name) == 0) { in unknowntag_end()
[all …]
/freebsd/sys/contrib/openzfs/etc/systemd/system-generators/
H A Dzfs-mount-generator.c53 #define STRCMP ((int(*)(const void *, const void *))&strcmp)
143 (strcmp(what + what_l - suff_l, suff) == 0)); in strendswith()
150 if (strcmp(input, "/") == 0) { in systemd_escape_path()
262 if (strcmp(p_systemd_after, "-") == 0) in line_worker()
264 if (strcmp(p_systemd_before, "-") == 0) in line_worker()
266 if (strcmp(p_systemd_requires, "-") == 0) in line_worker()
268 if (strcmp(p_systemd_requiresmountsfor, "-") == 0) in line_worker()
272 if (strcmp(p_encroot, "-") != 0) { in line_worker()
278 if (strcmp(dataset, p_encroot) == 0) { in line_worker()
293 if (strcmp(scheme, "https") == 0 || in line_worker()
[all …]
/freebsd/contrib/bc/tests/
H A Dbcl.c131 if (strcmp(res, "-25452.9108273")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
142 if (strcmp(res, "-25452.9108273")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
155 if (strcmp(res, "-351137.0060159482")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
159 if (strcmp(res, ".00000152374405414")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
169 if (strcmp(res, "-351137.0060159482")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
173 if (strcmp(res, ".00000152374405414")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
185 if (strcmp(res, "94538.1346457028")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
195 if (strcmp(res, "94538.13464570280000000000")) in main()
206 if (strcmp(res, "94538")) err(BCL_ERROR_FATAL_UNKNOWN_ERR); in main()
222 if (strcmp(re in main()
[all...]
/freebsd/tools/tools/ath/athspectral/
H A Dathspectral.c219 if (strcmp(param, "ss_short_report") == 0) { in spectral_set_param()
221 } else if (strcmp(param, "ss_fft_period") == 0) { in spectral_set_param()
223 } else if (strcmp(param, "ss_period") == 0) { in spectral_set_param()
225 } else if (strcmp(param, "ss_count") == 0) { in spectral_set_param()
227 } else if (strcmp(param, "ss_spectral_pri") == 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()
[all …]
/freebsd/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/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()
203 else if (strcmp(word, "MASQUERADE") == 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()
[all …]
/freebsd/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/usr.sbin/kbdmap/
H A Dkbdmap.c85 if (!strcmp(km->keym, key)) in get_keymap()
115 if (!strcmp(keym, km->keym)) { in remove_keymap()
133 if (!strcmp(km->keym, keym)) { in add_keymap()
162 strcmp(term, "vt") != 0) in check_vt()
181 if (!strcmp(locale, "C")) in get_locale()
240 if (strcmp(buf, "NO")) { in get_font()
375 if (font && strcmp(font, font_current)) in show_dialog()
401 if (!strcmp(program, "kbdmap")) in show_dialog()
410 if (font != NULL && strcmp(font, font_current)) in show_dialog()
436 if (strcmp(buffer_tmp, token) == 0) { in find_token()
[all …]
/freebsd/tools/tools/ath/athradar/
H A Dathradar.c200 if (strcmp(param, "enabled") == 0) { in radar_set_param()
202 } else if (strcmp(param, "firpwr") == 0) { in radar_set_param()
204 } else if (strcmp(param, "rrssi") == 0) { in radar_set_param()
206 } else if (strcmp(param, "height") == 0) { in radar_set_param()
208 } else if (strcmp(param, "prssi") == 0) { in radar_set_param()
210 } else if (strcmp(param, "inband") == 0) { in radar_set_param()
212 } else if (strcmp(param, "relpwr") == 0) { in radar_set_param()
214 } else if (strcmp(param, "relstep") == 0) { in radar_set_param()
216 } else if (strcmp(param, "maxlen") == 0) { in radar_set_param()
218 } else if (strcmp(param, "usefir128") == 0) { in radar_set_param()
[all …]
/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c86 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 …]
/freebsd/usr.sbin/iscsid/
H A Dlogin.c315 if (strcmp(token, choice1) == 0) { in login_list_prefers()
319 if (strcmp(token, choice2) == 0) { in login_list_prefers()
336 if (strcmp(name, "TargetAlias") == 0) { in login_negotiate_key()
339 } else if (strcmp(value, "Irrelevant") == 0) { in login_negotiate_key()
341 } else if (strcmp(name, "iSCSIProtocolLevel") == 0) { in login_negotiate_key()
346 } else if (strcmp(name, "HeaderDigest") == 0) { in login_negotiate_key()
363 } else if (strcmp(name, "DataDigest") == 0) { in login_negotiate_key()
380 } else if (strcmp(name, "MaxConnections") == 0) { in login_negotiate_key()
382 } else if (strcmp(name, "InitialR2T") == 0) { in login_negotiate_key()
383 if (strcmp(value, "Yes") == 0) in login_negotiate_key()
[all …]

12345678910>>...107