Home
last modified time | relevance | path

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

12345678910>>...79

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc225 if ((strcmp(khz, "khz") == 0) || in RateParse()
226 (strcmp(khz, "khertz") == 0) || in RateParse()
228 (strcmp(khz, "k") == 0) || in RateParse()
232 (strcmp(khz, "hertz") != 0) && in RateParse()
292 if ((strcmp(cstr, "mono") == 0) || in ChannelParse()
297 (strcmp(cstr, "dual") == 0) || in ChannelParse()
364 if ((strcmp(xp, "bit") != 0) && in EncodingParse()
381 if ((strcmp(xp, "bit") == 0) || in EncodingParse()
400 if (strcmp(xtra, "adpcm") == 0) { in EncodingParse()
430 (strcmp(estr, "lin") == 0) || in EncodingParse()
[all …]
/illumos-gate/usr/src/tools/protocmp/
H A Darch.c40 if (strcmp(architecture, "sparc") == 0) in assign_arch()
42 else if (strcmp(architecture, "ISA") == 0) in assign_arch()
44 else if (strcmp(architecture, "all") == 0) in assign_arch()
46 else if (strcmp(architecture, "sparc.sun4") == 0) in assign_arch()
61 if (strcmp(architecture, "i386") == 0) in assign_arch()
63 else if (strcmp(architecture, "ISA") == 0) in assign_arch()
65 else if (strcmp(architecture, "all") == 0) in assign_arch()
70 if (strcmp(architecture, "ppc") == 0) in assign_arch()
72 else if (strcmp(architecture, "ISA") == 0) in assign_arch()
74 else if (strcmp(architecture, "all") == 0) in assign_arch()
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dmakedev.c139 else if (strcmp(cmd, "res") == 0) { in main()
141 } else if (strcmp(cmd, "hor") == 0) { in main()
143 } else if (strcmp(cmd, "vert") == 0) { in main()
239 else if (strcmp(cmd, "name") == 0)
243 else if (strcmp(cmd, "special") == 0)
245 else if (strcmp(cmd, "spare1") == 0)
321 if (strcmp(temp, "fi") == 0)
323 else if (strcmp(temp, "fl") == 0)
325 else if (strcmp(temp, "ff") == 0)
327 else if (strcmp(temp, "ffi") == 0)
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c144 else if (strcmp(cmd, "res") == 0) { in main()
146 } else if (strcmp(cmd, "hor") == 0) { in main()
148 } else if (strcmp(cmd, "vert") == 0) { in main()
249 else if (strcmp(cmd, "name") == 0) in dofont()
253 else if (strcmp(cmd, "special") == 0) in dofont()
255 else if (strcmp(cmd, "spare1") == 0) in dofont()
338 if (strcmp(temp, "fi") == 0) in getlig()
340 else if (strcmp(temp, "fl") == 0) in getlig()
342 else if (strcmp(temp, "ff") == 0) in getlig()
344 else if (strcmp(temp, "ffi") == 0) in getlig()
[all …]
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrtext.c172 if (strcmp(token, "nochange") == 0) { in errverb()
180 } else if (strcmp(token, "silent") == 0) { in errverb()
198 } else if (strcmp(token, "expert") == 0) { in errverb()
207 } else if (strcmp(token, "bell") == 0) { in errverb()
209 } else if (strcmp(token, "nobell") == 0) { in errverb()
211 } else if (strcmp(token, "tag") == 0) { in errverb()
213 } else if (strcmp(token, "notag") == 0) { in errverb()
215 } else if (strcmp(token, "text") == 0) { in errverb()
217 } else if (strcmp(token, "notext") == 0) { in errverb()
219 } else if (strcmp(token, "tofix") == 0) { in errverb()
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c136 if (!strcmp(argv[i], "-maxtktlife")) {
150 } else if (!strcmp(argv[i], "-maxrenewlife")) {
354 if (strcmp(argv[i], "-force") == 0) {
384 if (strcmp(buf, yes)) {
466 if (!strcmp(argv[i], "-maxtktlife")) {
476 !strcmp((argv[i] + 1), "allow_dup_skey") ||
479 !strcmp((argv[i] + 1), "allow_svr") ||
480 !strcmp((argv[i] + 1), "allow_tgs_req") ||
481 !strcmp((argv[i] + 1), "allow_tix") ||
482 !strcmp((argv[i] + 1), "needchange") ||
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c225 (strcmp(name, AFB_NAME) == 0) || in walk()
226 (strcmp(type, "cpu") == 0) || in walk()
229 (strcmp(name, "ac") != 0)) || in walk()
231 ((strcmp(name, "pci") == 0) && in walk()
232 (strcmp(model, "SUNW,psycho") == 0)) || in walk()
234 ((strcmp(name, "pci") == 0) && in walk()
235 (strcmp(model, "SUNW,sabre") == 0)) || in walk()
237 ((strcmp(name, "pci") == 0) && in walk()
240 ((strcmp(name, "pci") == 0) && in walk()
241 (strcmp(model, "SUNW,xmits") == 0)) || in walk()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-strl.c42 SM_TEST(strcmp(s1, s3) == 0);
46 SM_TEST(strcmp(s3, r) == 0);
50 SM_TEST(strcmp(s3, r) == 0);
54 SM_TEST(strcmp(s3, r) == 0);
60 SM_TEST(strcmp(s3, r) == 0);
66 SM_TEST(strcmp(s3, r) == 0);
72 SM_TEST(strcmp(s3, r) == 0);
78 SM_TEST(strcmp(s3, r) == 0);
84 SM_TEST(strcmp(s3, r) == 0);
90 SM_TEST(strcmp(s3, r) == 0);
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c53 if (strcmp(name, SES_PROP_IDENT) == 0) in elem_setprop_device()
94 if (strcmp(name, SES_PROP_IDENT) == 0) in elem_setprop_psu()
129 if (strcmp(name, SES_PROP_IDENT) == 0) in elem_setprop_cooling()
156 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_temp()
181 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_lock()
208 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_alarm()
245 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_esc()
272 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_scc()
297 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_ups()
322 if (strcmp(name, SES_PROP_FAIL) == 0) in elem_setprop_cache()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_all_func_returns.c45 if (strcmp(func, "memcpy") == 0 || in check_func_return()
46 strcmp(func, "memmove") == 0 || in check_func_return()
47 strcmp(func, "memset") == 0) in check_func_return()
55 if (strcmp(func, "printf") == 0 || strcmp(func, "vprintf") == 0) in check_func_return()
58 if (strcmp(func, "fprintf") == 0 || strcmp(func, "vfprintf")) { in check_func_return()
62 (strcmp(arg0, "(&__iob[1])") == 0 || in check_func_return()
63 strcmp(arg0, "(&__iob[2])") == 0)) in check_func_return()
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c86 else if (strcmp(s, "EPERM") == 0) in geterrno()
88 else if (strcmp(s, "ENOENT") == 0) in geterrno()
90 else if (strcmp(s, "ESRCH") == 0) in geterrno()
92 else if (strcmp(s, "ENOMEM") == 0) in geterrno()
94 else if (strcmp(s, "EACCES") == 0) in geterrno()
96 else if (strcmp(s, "EINVAL") == 0) in geterrno()
98 else if (strcmp(s, "ERANGE") == 0) in geterrno()
100 else if (strcmp(s, "ENOMSG") == 0) in geterrno()
102 else if (strcmp(s, "ENOTSUP") == 0) in geterrno()
292 if (strcmp(keystr, argv[3])) in do_code2key()
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_set_property.c161 if (strcmp (opt, "help") == 0) { in main()
164 } else if (strcmp (opt, "key") == 0) { in main()
166 } else if (strcmp (opt, "string") == 0) { in main()
169 } else if (strcmp (opt, "int") == 0) { in main()
172 } else if (strcmp (opt, "uint64") == 0) { in main()
175 } else if (strcmp (opt, "double") == 0) { in main()
178 } else if (strcmp (opt, "bool") == 0) { in main()
179 if (strcmp (optarg, "true") == 0) in main()
181 else if (strcmp (optarg, "false") == 0) in main()
197 } else if (strcmp (opt, "remove") == 0) { in main()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_smfmonitor.c84 if (strcmp(state, SCF_STATE_STRING_UNINIT) == 0) in query_smf_state()
86 else if (strcmp(state, SCF_STATE_STRING_MAINT) == 0) in query_smf_state()
88 else if (strcmp(state, SCF_STATE_STRING_OFFLINE) == 0) in query_smf_state()
90 else if (strcmp(state, SCF_STATE_STRING_DISABLED) == 0) in query_smf_state()
92 else if (strcmp(state, SCF_STATE_STRING_ONLINE) == 0) in query_smf_state()
94 else if (strcmp(state, SCF_STATE_STRING_DEGRADED) == 0) in query_smf_state()
171 (strcmp(NSCD_NSW_SRC_NAME(srci), "files") == 0 || in _nscd_get_smf_state()
172 strcmp(NSCD_NSW_SRC_NAME(srci), "compat") == 0 || in _nscd_get_smf_state()
173 strcmp(NSCD_NSW_SRC_NAME(srci), "ad") == 0 || in _nscd_get_smf_state()
174 strcmp(NSCD_NSW_SRC_NAME(srci), "dns") == 0)) { in _nscd_get_smf_state()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c180 if (strcmp(class, EC_DEVFS) == 0) { in sysevent_dev_handler()
193 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler()
198 } else if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler()
211 if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler()
216 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler()
280 if (strcmp(class, EC_DEV_ADD) == 0) { in sysevent_iochannel_data()
281 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
288 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
303 } else if (strcmp(class, EC_DR) == 0) { in sysevent_iochannel_data()
462 (strcmp (driver_name, "usbprn") == 0)) in sysevent_devfs_add()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dr.c81 if (strcmp(class, EC_DR) == 0) { in fmd_dr_event()
82 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) != 0 && in fmd_dr_event()
83 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) != 0) in fmd_dr_event()
86 } else if (strcmp(class, EC_DEVFS) == 0) { in fmd_dr_event()
91 } else if (strcmp(class, EC_PLATFORM) == 0) { in fmd_dr_event()
97 if (strcmp(subclass, ESC_PLATFORM_SP_RESET) != 0) in fmd_dr_event()
99 } else if (strcmp(class, EC_DEV_ADD) == 0 || in fmd_dr_event()
100 strcmp(class, EC_DEV_REMOVE) == 0) { in fmd_dr_event()
101 if (strcmp(subclass, ESC_DISK) != 0) in fmd_dr_event()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dargs.c1490 if ((strcmp(p, in parseopt_pass1()
1492 (strcmp(p, in parseopt_pass1()
1495 } else if ((strcmp(p, in parseopt_pass1()
1497 (strcmp(p, in parseopt_pass1()
1562 if (strcmp(p, in parseopt_pass1()
1565 } else if (strcmp(p, in parseopt_pass1()
1568 } else if (strcmp(p, in parseopt_pass1()
1571 } else if (strcmp(p, in parseopt_pass1()
1680 else if (strcmp(optarg, in parseopt_pass1()
1683 else if (strcmp(optarg, in parseopt_pass1()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c341 if (strcmp (attr[0], "key") != 0) in handle_match()
587 if (strcmp (str, needle) == 0) { in handle_match()
686 if (strcmp (attr[0], "key") != 0) in handle_merge()
690 if (strcmp (attr[2], "type") != 0) in handle_merge()
745 if (strcmp (attr[0], "key") != 0) in handle_append_prepend()
749 if (strcmp (attr[2], "type") != 0) in handle_append_prepend()
789 if (strcmp (attr[0], "udi") != 0) in handle_spawn()
817 if (strcmp (attr[0], "key") != 0) in handle_remove()
859 if (strcmp (attr[0], "key") != 0) in handle_clear()
914 if (strcmp (el, "match") == 0) { in start()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c63 if (strcmp(path, HURON_NIU) == 0) { in huron_get_bus_type()
73 if (strcmp(path, HURON_N2_XAUI0) == 0) { in huron_get_slot_number()
112 if (strcmp(path, HURON_NETWORK_0) == 0) { in huron_get_network_instance()
163 if (strcmp(piclclass, "pciex") == 0) { in huron_pci_callback()
169 if (strcmp(piclclass, "sun4v") == 0) { in huron_pci_callback()
192 if (strcmp(parent_path, HURON_NIU) == 0) in huron_pci_callback()
198 if ((strcmp(name, NETWORK) == 0) && in huron_pci_callback()
309 if ((strcmp(path, HURON_NETWORK_0) == 0) || in huron_hw_rev_callback()
310 (strcmp(path, HURON_NETWORK_1) == 0)) { in huron_hw_rev_callback()
318 if ((strcmp(path, HURON_NETWORK_2) == 0) || in huron_hw_rev_callback()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c180 if (strcmp(addr, "0,0") == 0) { in diskette()
181 if (strcmp(mn, "c") == 0) { in diskette()
192 if (strcmp(mn, "c") == 0) { in diskette()
222 if (strcmp(addr, "1,3bc") == 0) { in lp()
272 if (strcmp(mn, "a") == 0) { in serial()
275 } else if (strcmp(mn, "b") == 0) { in serial()
278 } else if (strcmp(mn, "c") == 0) { in serial()
281 } else if (strcmp(mn, "d") == 0) { in serial()
298 if (strcmp(mn, "a,cu") == 0) { in serial_dialout()
302 } else if (strcmp(mn, "b,cu") == 0) { in serial_dialout()
[all …]
/illumos-gate/usr/src/cmd/devctl/
H A Ddevctl.c214 if (strcmp(devctl_cmdname, "list") == 0) { in main()
235 strcmp(devctl_cmdname, "bus-devcreate") == 0) { in main()
272 strcmp(devctl_cmdname, "bus-idlecomp") == 0 || in main()
273 strcmp(devctl_cmdname, "bus-busycomp") == 0 || in main()
274 strcmp(devctl_cmdname, "bus-testbusy") == 0 || in main()
276 strcmp(devctl_cmdname, "bus-teststrict") == 0 || in main()
277 strcmp(devctl_cmdname, "bus-noinvol") == 0) { in main()
297 strcmp(devctl_cmdname, "dev-idlecomp") == 0 || in main()
298 strcmp(devctl_cmdname, "dev-busycomp") == 0 || in main()
299 strcmp(devctl_cmdname, "dev-testbusy") == 0 || in main()
[all …]
/illumos-gate/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c145 if (strcmp (privilege, "hal-storage-removable-mount") == 0) { in libpolkit_is_uid_allowed_for_privilege()
147 } else if (strcmp (privilege, "hal-storage-removable-mount-all-options") == 0) { in libpolkit_is_uid_allowed_for_privilege()
149 } else if (strcmp (privilege, "hal-storage-fixed-mount") == 0) { in libpolkit_is_uid_allowed_for_privilege()
151 } else if (strcmp (privilege, "hal-storage-fixed-mount-all-options") == 0) { in libpolkit_is_uid_allowed_for_privilege()
153 } else if (strcmp(privilege, "hal-power-suspend") == 0) { in libpolkit_is_uid_allowed_for_privilege()
155 } else if (strcmp(privilege, "hal-power-hibernate") == 0) { in libpolkit_is_uid_allowed_for_privilege()
157 } else if ((strcmp(privilege, "hal-power-shutdown") == 0) || in libpolkit_is_uid_allowed_for_privilege()
158 (strcmp(privilege, "hal-power-reboot") == 0)) { in libpolkit_is_uid_allowed_for_privilege()
160 } else if (strcmp(privilege, "hal-power-cpu") == 0) { in libpolkit_is_uid_allowed_for_privilege()
162 } else if (strcmp(privilege, "hal-power-brightness") == 0) { in libpolkit_is_uid_allowed_for_privilege()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/newlocale/
H A Dnewlocale_test.c75 if (strcmp(day, l->day1) != 0) { in testlocale_thr_one()
83 if (strcmp(day, "Sunday") != 0) { in testlocale_thr_one()
88 if (strcmp(lc->currency_symbol, "") != 0) { in testlocale_thr_one()
98 if (strcmp(day, l->day1) != 0) { in testlocale_thr_one()
104 if (strcmp(lc->currency_symbol, l->cursym) != 0) { in testlocale_thr_one()
146 if (strcmp(day, "Sonntag") != 0) { in test_newlocale_negative()
155 if (strcmp(day, "Sonntag") != 0) { in test_newlocale_negative()
185 if ((yes == NULL) || (strcmp(yes, "да") != 0)) { in test_newlocale_categories()
189 if ((cur == NULL) || (strcmp(cur, "-$") != 0)) { in test_newlocale_categories()
219 if ((yes == NULL) || (strcmp(yes, "да") != 0)) { in test_newlocale_composite()
[all …]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c164 if (strcmp(name, PK11_TOKEN) == 0) { in pkcs11_parse_uri()
172 } else if (strcmp(name, PK11_MANUF) == 0) { in pkcs11_parse_uri()
180 } else if (strcmp(name, PK11_SERIAL) == 0) { in pkcs11_parse_uri()
188 } else if (strcmp(name, PK11_MODEL) == 0) { in pkcs11_parse_uri()
196 } else if (strcmp(name, PK11_ID) == 0) { in pkcs11_parse_uri()
230 if (strcmp(l2, "public") == 0) in pkcs11_parse_uri()
232 else if (strcmp(l2, "private") == 0) in pkcs11_parse_uri()
234 else if (strcmp(l2, "cert") == 0) in pkcs11_parse_uri()
236 else if (strcmp(l2, "secretkey") == 0) in pkcs11_parse_uri()
238 else if (strcmp(l2, "data") == 0) in pkcs11_parse_uri()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dports.c35 if (!strcmp(**seg, "<>"))
37 else if (!strcmp(**seg, "><"))
53 } else if (!strcmp(**seg, "=") || !strcasecmp(**seg, "eq"))
55 else if (!strcmp(**seg, "!=") || !strcasecmp(**seg, "ne"))
57 else if (!strcmp(**seg, "<") || !strcasecmp(**seg, "lt"))
59 else if (!strcmp(**seg, ">") || !strcasecmp(**seg, "gt"))
61 else if (!strcmp(**seg, "<=") || !strcasecmp(**seg, "le"))
63 else if (!strcmp(**seg, ">=") || !strcasecmp(**seg, "ge"))
/illumos-gate/usr/src/tools/cw/
H A Dcw.c600 (strcmp(ext, "cc") == 0) || in is_source_file()
601 (strcmp(ext, "i") == 0) || in is_source_file()
603 (strcmp(ext, "cpp") == 0)) { in is_source_file()
711 if (strcmp(arg, "-xwe") == 0) { in do_gcc()
827 if (strcmp(arg, in do_gcc()
857 if (strcmp(arg, "-mt") == 0) { in do_gcc()
861 if (strcmp(arg, "-m64") == 0) { in do_gcc()
991 if (strcmp(arg, "-Xa") == 0 || in do_gcc()
992 strcmp(arg, "-Xt") == 0) { in do_gcc()
995 if (strcmp(arg, "-Xs") == 0) { in do_gcc()
[all …]

12345678910>>...79