Home
last modified time | relevance | path

Searched refs:streq (Results 1 – 25 of 102) sorted by relevance

12345

/titanic_41/usr/src/lib/libcmd/common/
H A Dvmstate.c72 if (!(s = fp->t_str) || streq(s, "size")) in key()
74 else if (streq(s, "region")) in key()
76 else if (streq(s, "segments")) in key()
78 else if (streq(s, "busy_size")) in key()
80 else if (streq(s, "busy_blocks")) in key()
82 else if (streq(s, "busy_max")) in key()
84 else if (streq(s, "free_size")) in key()
86 else if (streq(s, "free_blocks")) in key()
88 else if (streq(s, "free_max")) in key()
90 else if (streq(s, "format")) in key()
H A Dpids.c65 if (!(s = fp->t_str) || streq(s, "pid")) in key()
67 else if (streq(s, "pgid")) in key()
69 else if (streq(s, "ppid")) in key()
71 else if (streq(s, "tid") || streq(s, "tty")) in key()
78 else if (streq(s, "sid")) in key()
80 else if (streq(s, "format")) in key()
H A Dgetconf.c226 else if (streq(name, empty)) in b_getconf()
232 if (streq(path, empty)) in b_getconf()
249 if (streq(path, empty)) in b_getconf()
254 if ((value = *++argv) && (streq(value, empty))) in b_getconf()
H A Dcksum.c153 if (!path || streq(path, "-") || streq(path, "/dev/stdin") || streq(path, "/dev/fd/0")) in openfile()
311 if (!streq(s, t)) in verify()
395 else if (streq(s, "permissions")) in verify()
436 if (streq(s, "methods")) in optinfo()
H A Dcomm.c179 if(streq(cp,"-")) in b_comm()
184 if(streq(cp,"-")) in b_comm()
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_sample.c101 if (!streq(proc->res_type, "oneway")) { in write_sample_client()
103 if (!streq(proc->res_type, "void")) in write_sample_client()
117 if (!streq(proc->args.decls->decl.type, "void")) in write_sample_client()
126 } else if (!streq(proc->args.decls->decl.type, "void")) { in write_sample_client()
157 if (streq(proc->args.decls->decl.type, "void")) in write_sample_client()
163 if (streq(proc->res_type, "oneway")) in write_sample_client()
171 } else if (streq(proc->args.decls->decl.type, "void")) { in write_sample_client()
173 if (streq(proc->res_type, "oneway")) in write_sample_client()
187 if (!streq(proc->res_type, "oneway")) in write_sample_client()
235 if ((!streq(proc->res_type, "void")) && in write_sample_server()
[all …]
H A Drpc_hout.c209 if (streq(decl->type, "bool")) in puniondef()
219 if (decl && !streq(decl->type, "void")) in puniondef()
256 if (streq(proc->proc_name, stop->proc_name)) in define_printed()
382 int oneway = streq(proc->res_type, "oneway"); in parglist()
386 streq(proc->args.decls->decl.type, "void")) { in parglist()
446 if (!streq(name, old)) { in ptypedef()
447 if (streq(old, "string")) { in ptypedef()
450 } else if (streq(old, "opaque")) { in ptypedef()
452 } else if (streq(old, "bool")) { in ptypedef()
490 if (streq(dec->type, "void")) in pdeclaration()
[all …]
H A Drpc_util.c87 streq(char *a, char *b) in streq() function
125 return (streq(def->def_name, type)); in findit()
138 if (streq(def->def.ty.old_type, "opaque")) in fixit()
158 if (streq(type, "string")) in stringfix()
167 if (streq(prefix, "enum")) { in ptype()
173 if (streq(type, "bool")) { in ptype()
175 } else if (streq(type, "string")) { in ptype()
177 } else if (streq(type, "oneway")) { in ptype()
189 return (streq(def->def_name, type)); in typedefed()
200 return (!streq(type, "string")); in isvectordef()
H A Drpc_cout.c111 return (streq(def->def_name, type)); in findtype()
178 if (streq(name, "rpcprog_t") || in print_ifopen()
179 streq(name, "rpcvers_t") || in print_ifopen()
180 streq(name, "rpcproc_t") || in print_ifopen()
181 streq(name, "rpcprot_t") || in print_ifopen()
182 streq(name, "rpcport_t")) in print_ifopen()
202 if (streq(type, "bool")) { in print_ifsizeof()
235 if (streq(type, "string")) in print_ifstat()
237 else if (streq(type, "opaque")) in print_ifstat()
252 if (streq(type, "string")) in print_ifstat()
[all …]
H A Drpc_parse.c131 if (streq(defp->def_name, type) && defp->def_kind == DEF_TYPEDEF) in cmptype()
314 if (streq(plist->res_type, "opaque")) { in def_program()
329 if (streq(dec.type, "void")) in def_program()
343 if (streq(dec.type, "void")) in def_program()
572 if (streq(dec->type, "void")) in get_declaration()
603 if (streq(dec->type, "opaque")) { in get_declaration()
607 } else if (streq(dec->type, "string")) { in get_declaration()
642 if (streq(dec->type, "void")) in get_prog_declaration()
645 if (streq(dec->type, "opaque")) in get_prog_declaration()
648 if (streq(dec->type, "string")) { in get_prog_declaration()
[all …]
H A Drpc_clntout.c114 bool_t oneway = streq(proc->res_type, "oneway"); in printarglist()
158 } else if (streq(proc->args.decls->decl.type, "void")) { in printarglist()
235 bool_t oneway = streq(proc->res_type, "oneway"); in printbody()
248 if (streq(proc->res_type, "void")) { in printbody()
261 (streq(proc->args.decls->decl.type, "void"))) { in printbody()
348 if (streq(proc->res_type, "void")) { in printbody()
368 (streq(proc->args.decls->decl.type, "void"))) { in printbody()
H A Drpc_tblout.c168 if (streq(type, "oneway")) in printit()
182 if (streq(type, "void") || streq(type, "oneway")) { in printit()
H A Drpc_svcout.c357 int oneway = streq(proc->res_type, "oneway"); in write_real_program()
361 streq(proc->args.decls->decl.type, "void")) { in write_real_program()
421 if (!streq(proc->args.decls->decl.type, "void")) in write_real_program()
468 if (streq(proc->args.decls->decl.type, in write_program()
497 if (streq(proc->res_type, "void") || in write_program()
498 streq(proc->res_type, "oneway")) in write_program()
566 if (streq(proc->res_type, "oneway")) { in write_program()
694 if (streq(proc->proc_num, "0")) in nullproc()
1133 if (streq(transp, "udp")) in write_inetd_register()
/titanic_41/usr/src/lib/libpp/common/
H A Dppargs.c474 if (streq(s, "-$")) in ppargs()
479 else if (streq(s, "-dD")) in ppargs()
484 else if (streq(s, "-dM")) in ppargs()
491 else if (streq(s, "-imacros")) in ppargs()
501 else if (streq(s, "-include")) in ppargs()
515 if (streq(s, "c")) in ppargs()
517 else if (streq(s, "c++")) in ppargs()
519 else if (streq(s, "objc")) in ppargs()
521 else if (streq(s, "objc++")) in ppargs()
533 else if (streq(s, "-lint")) in ppargs()
H A Dppop.c185 if (streq(fp->name, ".")) in ppmapinclude()
203 if (streq(pp.token, "all")) in ppmapinclude()
208 else if (streq(pp.token, "hosted")) in ppmapinclude()
213 else if (streq(pp.token, "nohosted")) in ppmapinclude()
380 else if (streq(p, "-")) in ppop()
539 else if (streq(p, "-")) in ppop()
1445 if (streq(p, "count")) in ppop()
1447 else if (streq(p, "hashcount")) in ppop()
1449 else if (streq(p, "hashdump")) in ppop()
1451 else if (streq(p, "hit")) in ppop()
[all …]
H A Dppbuiltin.c341 if (streq(p, "for") || streq(p, "if") || streq(p, "switch") || streq(p, "while")) in ppbuiltin()
H A Dppsearch.c290 if (!streq(s, VDB_DIRECTORY)) in search()
327 if (streq(fp->name, ".")) in search()
374 if (!xp || !streq(xp->name, pp.path)) in search()
427 if (streq(error_info.file, pp.path)) in search()
433 if (in->type == IN_FILE && in->file && streq(in->file, pp.path)) in search()
498 while ((up = up->next) && !streq(up->name, dp->name)); in search()
659 if (n < m || !streq(fp->name + 4, error_info.file + n - m)) in ppsearch()
731 if (!streq(fp->name, pp.in->prefix)) in ppsearch()
/titanic_41/usr/src/cmd/adbgen/common/
H A Dadbgen1.c41 #define streq(s1, s2) (strcmp(s1, s2) == 0) macro
141 if (streq(optarg, "ilp32")) in main()
143 else if (streq(optarg, "lp64")) in main()
399 if (streq(member, "SIZEOF")) { in get_type()
402 if (streq(member, "OFFSETOK")) { in get_type()
405 if (streq(member, "END")) { in get_type()
409 if (streq(member, adbgen_fmt_tbl[i].f_str)) in get_type()
417 if (streq(member, "EXPR")) { in get_type()
507 if (streq(cp, fmt_request)) { in emit_print()
/titanic_41/usr/src/tools/ctf/cvt/
H A Dfixup_tdescs.c70 if (streq(ml->ml_name, mems[i])) in fix_ptrptr_to_struct()
82 if (act->t_type != STRUCT || !streq(act->t_name, acts[i])) in fix_ptrptr_to_struct()
124 if (mems[i] && !streq(ml->ml_name, mems[i])) in fix_ptr_to_struct()
131 !streq(ml->ml_type->t_tdesc->t_name, "vmem")) in fix_ptr_to_struct()
168 if (!streq(iidesc->ii_name, match->m_name)) in matching_iidesc()
223 if (!streq(cpu->t_name, "cpu") || cpu->t_type != STRUCT) in fix_small_cpu_struct()
245 if (!streq(lml->ml_name, "cpu_m_pad") && in fix_small_cpu_struct()
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathtemp.c121 if (streq(pfx, "cycle")) in pathtemp()
130 tmp.manual = streq(dir, "manual"); in pathtemp()
133 else if (streq(pfx, "prefix")) in pathtemp()
140 else if (streq(pfx, "private")) in pathtemp()
145 else if (streq(pfx, "public")) in pathtemp()
150 else if (streq(pfx, "seed")) in pathtemp()
155 else if (streq(pfx, TMP_ENV)) in pathtemp()
167 else if (streq(pfx, TMP_PATH_ENV)) in pathtemp()
H A Dpathfind.c35 #define regular(p,s) (stat((p),(s))>=0&&(S_ISREG((s)->st_mode)||streq(p,"/dev/null")))
59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st)) in pathinclude()
62 if (streq(dir, dp->dir)) in pathinclude()
/titanic_41/usr/src/lib/libast/common/port/
H A Dastconf.c78 #define STANDARD(v) (streq(v,"standard")||streq(v,"strict")||streq(v,"posix")||streq(v,"xopen"))
509 ok = streq(_UNIV_DEFAULT, DEFAULT(OP_universe)); in initialize()
620 n = state.std = streq(fp->value, fp->std); in format()
691 while (n < univ_max && !streq(value, univ_name[n]) in format()
711 if (value && streq(path, "=")) in format()
741 if (streq(path, "=")) in format()
758 if (value && (streq(value, "-") || streq(value, "0")))
760 for (fp = state.features; fp && !streq(fp->name, name); fp = fp->next);
793 if (state.notify && !streq(fp->value, value) && !(*state.notify)(name, path, value))
886 } while (mid-- > lo && streq(mid->name, look->name));
[all …]
H A Dlc.c298 …if (tp && tp != &lc_territories[0] && (!(flags & (LC_abbreviated|LC_default)) || !lp || !streq(lp-… in canonical()
365 else if (streq(lc->charset->ms, code)) in lccanon()
418 if (streq(t, mp->code)) in lcmake()
518 for (lp = lc_languages; lp->code && !streq(s, lp->code); lp++); in lcmake()
526 for (lp = lc_languages; lp->code && !streq(s, lp->code); lp++); in lcmake()
542 for (tp = lc_territories; tp->code && !streq(s, tp->code); tp++); in lcmake()
614 if (streq(s, tp->code)) in lcmake()
/titanic_41/usr/src/cmd/ast/msgcc/
H A Dmsggen.c156 if (streq(px->name, s)) in translation()
387 if (streq(t, "delset")) in main()
396 else if (streq(t, "quote")) in main()
398 else if (streq(t, "set")) in main()
408 else if (streq(t, "translation")) in main()
H A Dmsgget.c81 if (streq(s, "-")) in main()
89 if (streq(loc, "-")) in main()

12345