Searched refs:strcmp (Results 1 - 25 of 3289) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dunlink.c33 if (strcmp(path, "/etc/utmp") == 0 ||
34 strcmp(path, "/var/adm/utmp") == 0)
36 else if (strcmp(path, "/var/adm/wtmp") == 0)
H A Drename.c35 if (strcmp(path1, "/etc/utmp") == 0 ||
36 strcmp(path1, "/var/adm/utmp") == 0) {
41 } else if (strcmp(path1, "/var/adm/wtmp") == 0) {
/illumos-gate/usr/src/tools/protocmp/
H A Darch.c40 if (strcmp(architecture, "sparc") == 0)
42 else if (strcmp(architecture, "ISA") == 0)
44 else if (strcmp(architecture, "all") == 0)
46 else if (strcmp(architecture, "sparc.sun4") == 0)
48 else if (strcmp(architecture, "sparc.sun4c") == 0)
50 else if (strcmp(architecture, "sparc.sun4u") == 0)
52 else if (strcmp(architecture, "sparc.sun4d") == 0)
54 else if (strcmp(architecture, "sparc.sun4e") == 0)
56 else if (strcmp(architecture, "sparc.sun4m") == 0)
58 else if (strcmp(architectur
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dstate.c28 #undef strcmp macro
35 strcmp, /* collate */
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_access.c35 if (strcmp(path, "/etc/mtab") == 0 ||
36 strcmp(path, "/etc/fstab") == 0) {
43 if (strcmp(path, "/etc/utmp") == 0 ||
44 strcmp(path, "/var/adm/utmp") == 0)
46 else if (strcmp(path, "/var/adm/wtmp") == 0)
H A Dgettimeofday.c81 (strcmp(zonename, "PST8PDT") == 0) ||
82 (strcmp(zonename, "MST7MDT") == 0) ||
83 (strcmp(zonename, "CST6CDT") == 0) ||
84 (strcmp(zonename, "EST5EDT") == 0) ||
91 if (strcmp(zonename, "WET") == 0)
94 if (strcmp(zonename, "MET") == 0)
97 if (strcmp(zonename, "EET") == 0)
103 if ((strcmp(zonename, "GB") == 0) ||
104 (strcmp(zonename, "GB-Eire") == 0))
112 if (strcmp(zonenam
[all...]
H A D_creat.c41 if (strcmp(path, "/etc/mtab") == 0 ||
42 strcmp(path, "/etc/fstab") == 0) {
46 if (strcmp(path, "/var/adm/wtmp") == 0) {
52 if (strcmp(path, "/etc/utmp") == 0 ||
53 strcmp(path, "/var/adm/utmp") == 0) {
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparc/
H A Dm_utils.c34 if (strcmp(varname, "ins") == 0) {
38 if (strcmp(varname, "globs") == 0) {
42 if (strcmp(varname, "outs") == 0) {
46 if (strcmp(varname, "locs") == 0) {
50 if (strcmp(varname, "specs") == 0) {
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparcv9/
H A Dm_utils.c34 if (strcmp(varname, "ins") == 0) {
38 if (strcmp(varname, "globs") == 0) {
42 if (strcmp(varname, "outs") == 0) {
46 if (strcmp(varname, "locs") == 0) {
50 if (strcmp(varname, "specs") == 0) {
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_all_func_returns.c45 if (strcmp(func, "memcpy") == 0 ||
46 strcmp(func, "memmove") == 0 ||
47 strcmp(func, "memset") == 0)
55 if (strcmp(func, "printf") == 0 || strcmp(func, "vprintf") == 0)
58 if (strcmp(func, "fprintf") == 0 || strcmp(func, "vfprintf")) {
62 (strcmp(arg0, "(&__iob[1])") == 0 ||
63 strcmp(arg0, "(&__iob[2])") == 0))
H A Dcheck_type.c28 if (!strcmp(cur_func, fn))
46 if (!strcmp("sk_buff", type->ident->name)) {
48 } else if (!strcmp("net_device", type->ident->name)) {
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintifname.c22 if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*")) {
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/lib/libbc/libc/sys/4.2/
H A Dunlink.c36 if (strcmp(path, "/etc/utmp") == 0 ||
37 strcmp(path, "/var/adm/utmp") == 0)
39 else if (strcmp(path, "/var/adm/wtmp") == 0)
H A Drename.c44 if (strcmp(path1, "/etc/utmp") == 0 ||
45 strcmp(path1, "/var/adm/utmp") == 0) {
50 } else if (strcmp(path1, "/var/adm/wtmp") == 0) {
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc225 if ((strcmp(khz, "khz") == 0) ||
226 (strcmp(khz, "khertz") == 0) ||
227 (strcmp(khz, "kilohertz") == 0) ||
228 (strcmp(khz, "k") == 0) ||
231 } else if ((strcmp(khz, "hz") != 0) &&
232 (strcmp(khz, "hertz") != 0) &&
277 if ((strcmp(cstr, "-channel") != 0) &&
278 (strcmp(cstr, "-chan") != 0) &&
292 if ((strcmp(cstr, "mono") == 0) ||
293 (strcmp(cst
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc.c70 if (strcmp(ep->family, "inet6") == 0) {
83 if (strcmp(nc->nc_protofmly, ep->family) != 0)
86 if (strcmp(ep->family, "inet6") == 0)
87 return (strcmp(nc->nc_netid, ep->proto) == 0 ||
88 strcmp(nc->nc_proto, ep->proto) == 0);
90 return (strcmp(nc->nc_proto, ep->proto) == 0);
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstrings.h39 int strcmp();
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlinktest_stand.c36 void strcmp(void) {} function
/illumos-gate/usr/src/tools/ctf/common/
H A Dsymbol.c50 if (strcmp(name, "_START_") == 0 || strcmp(name, "_END_") == 0)
/illumos-gate/usr/src/lib/libadm/common/
H A Dpkgnmchk.c61 if (wild && (strcmp(pkg, "all") == 0))
78 if ((strcmp(pt, WILD1) == 0) || (strcmp(pt, WILD2) == 0)) {
135 if ((spec == NULL) || (strcmp(spec, "all") == 0))
139 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0))
146 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0))
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_cfg_util.c31 if (strcmp(value, "required") == 0)
33 else if (strcmp(value, "enabled") == 0)
/illumos-gate/usr/src/lib/libpkg/common/
H A Dhandlelocalfs.c60 if (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED) == 0) {
69 } else if (strcmp(cur_smf_state, SCF_STATE_STRING_ONLINE)
73 } else if (strcmp(cur_smf_state, SCF_STATE_STRING_OFFLINE)
87 if (strcmp(cur_smf_state, SCF_STATE_STRING_ONLINE)
94 } else if ((strcmp(cur_smf_state,
96 (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED) == 0)) {
135 if (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dr.c81 if (strcmp(class, EC_DR) == 0) {
82 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) != 0 &&
83 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) != 0)
86 } else if (strcmp(class, EC_DEVFS) == 0) {
91 } else if (strcmp(class, EC_PLATFORM) == 0) {
97 if (strcmp(subclass, ESC_PLATFORM_SP_RESET) != 0)
99 } else if (strcmp(class, EC_DEV_ADD) == 0 ||
100 strcmp(class, EC_DEV_REMOVE) == 0) {
101 if (strcmp(subclass, ESC_DISK) != 0)
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_smfmonitor.c84 if (strcmp(state, SCF_STATE_STRING_UNINIT) == 0)
86 else if (strcmp(state, SCF_STATE_STRING_MAINT) == 0)
88 else if (strcmp(state, SCF_STATE_STRING_OFFLINE) == 0)
90 else if (strcmp(state, SCF_STATE_STRING_DISABLED) == 0)
92 else if (strcmp(state, SCF_STATE_STRING_ONLINE) == 0)
94 else if (strcmp(state, SCF_STATE_STRING_DEGRADED) == 0)
171 (strcmp(NSCD_NSW_SRC_NAME(srci), "files") == 0 ||
172 strcmp(NSCD_NSW_SRC_NAME(srci), "compat") == 0 ||
173 strcmp(NSCD_NSW_SRC_NAME(srci), "ad") == 0 ||
174 strcmp(NSCD_NSW_SRC_NAM
[all...]

Completed in 239 milliseconds

1234567891011>>