Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dvmstate.c77 else if (streq(s, "region")) in key()
79 else if (streq(s, "segments")) in key()
81 else if (streq(s, "busy_size")) in key()
83 else if (streq(s, "busy_blocks")) in key()
85 else if (streq(s, "busy_max")) in key()
87 else if (streq(s, "flags")) in key()
105 else if (streq(s, "free_size")) in key()
107 else if (streq(s, "free_blocks")) in key()
109 else if (streq(s, "free_max")) in key()
111 else if (streq(s, "format")) in key()
[all …]
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()
84 else if (streq(s, "format")) in key()
H A Dgetconf.c229 else if (streq(name, empty)) in b_getconf()
235 if (streq(path, empty)) in b_getconf()
253 if (streq(path, empty)) in b_getconf()
258 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()
/illumos-gate/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()
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()
236 (!streq(proc->res_type, "oneway"))) 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()
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()
495 if (streq(dec->type, "string")) { in pdeclaration()
499 if (streq(dec->type, "bool")) { in pdeclaration()
547 if (streq(def->def_name, stop)) in undefined2()
[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.c177 if (streq(name, "rpcprog_t") || in print_ifopen()
178 streq(name, "rpcvers_t") || in print_ifopen()
179 streq(name, "rpcproc_t") || in print_ifopen()
180 streq(name, "rpcprot_t") || in print_ifopen()
181 streq(name, "rpcport_t")) in print_ifopen()
201 if (streq(type, "bool")) { in print_ifsizeof()
234 if (streq(type, "string")) in print_ifstat()
236 else if (streq(type, "opaque")) in print_ifstat()
251 if (streq(type, "string")) in print_ifstat()
253 else if (streq(type, "opaque")) in print_ifstat()
[all …]
H A Drpc_parse.c314 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()
658 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.c358 int oneway = streq(proc->res_type, "oneway"); in write_real_program()
362 streq(proc->args.decls->decl.type, "void")) { in write_real_program()
422 if (!streq(proc->args.decls->decl.type, "void")) in write_real_program()
469 if (streq(proc->args.decls->decl.type, in write_program()
498 if (streq(proc->res_type, "void") || in write_program()
499 streq(proc->res_type, "oneway")) in write_program()
567 if (streq(proc->res_type, "oneway")) { in write_program()
695 if (streq(proc->proc_num, "0")) in nullproc()
1134 if (streq(transp, "udp")) in write_inetd_register()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppargs.c477 if (streq(s, "-$")) in ppargs()
482 else if (streq(s, "-dD")) in ppargs()
487 else if (streq(s, "-dM")) in ppargs()
494 else if (streq(s, "-imacros")) in ppargs()
504 else if (streq(s, "-include")) in ppargs()
518 if (streq(s, "c")) in ppargs()
520 else if (streq(s, "c++")) in ppargs()
522 else if (streq(s, "objc")) in ppargs()
524 else if (streq(s, "objc++")) in ppargs()
536 else if (streq(s, "-lint")) in ppargs()
H A Dppop.c191 if (streq(fp->name, ".")) in ppmapinclude()
209 if (streq(pp.token, "all")) in ppmapinclude()
414 else if (streq(p, "-")) in ppop()
575 else if (streq(p, "-")) in ppop()
1493 if (streq(p, "count")) in ppop()
1497 else if (streq(p, "hashdump")) in ppop()
1499 else if (streq(p, "hit")) in ppop()
1501 else if (streq(p, "init")) in ppop()
1503 else if (streq(p, "noise")) in ppop()
1505 else if (streq(p, "proto")) in ppop()
[all …]
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()
662 if (n < m || !streq(fp->name + 4, error_info.file + n - m)) in ppsearch()
734 if (!streq(fp->name, pp.in->prefix)) in ppsearch()
H A Dppbuiltin.c341 if (streq(p, "for") || streq(p, "if") || streq(p, "switch") || streq(p, "while")) in ppbuiltin()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen1.c39 #define streq(s1, s2) (strcmp(s1, s2) == 0) macro
139 if (streq(optarg, "ilp32")) in main()
141 else if (streq(optarg, "lp64")) in main()
397 if (streq(member, "SIZEOF")) { in get_type()
400 if (streq(member, "OFFSETOK")) { in get_type()
403 if (streq(member, "END")) { in get_type()
407 if (streq(member, adbgen_fmt_tbl[i].f_str)) in get_type()
415 if (streq(member, "EXPR")) { in get_type()
505 if (streq(cp, fmt_request)) { in emit_print()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddll_lib.c52 if (strneq(name, id, n) && (streq(name + n, "_s") || streq(name + n, "_t"))) in dllnames()
128 if (streq(names->base, lib->base)) in dll_lib()
138 …_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names… in dll_lib()
/illumos-gate/usr/src/test/libc-tests/tests/regex/
H A Dtestregex.c311 #ifndef streq
889 if (streq(ans, "OK")) in matchcheck()
1348 if (streq(state.file, "-") || streq(state.file, "/dev/stdin") || streq(state.file, "/dev/fd/0")) in main()
1508 if (streq(s, "NIL")) in main()
1510 else if (streq(s, "NULL")) in main()
1570 if (!s || streq(s, "POSIX")) in main()
1574 if (!ans || !streq(ans, s) && streq(s, "C")) in main()
1578 if (!ans || !streq(ans, s) && streq(s, "C")) in main()
1806 if (streq(re, "SAME")) in main()
2175 else if (streq(ans, "NOMATCH")) in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastconf.c80 #define STANDARD(v) (streq(v,"standard")||streq(v,"strict")||streq(v,"posix")||streq(v,"xopen"))
528 ok = streq(_UNIV_DEFAULT, DEFAULT(OP_universe)); in initialize()
672 state.std = streq(fp->value, fp->std); in format()
767 if (value && streq(path, "=")) in format()
800 if (streq(path, "=")) in format()
816 if (value && (streq(value, "-") || streq(value, "0"))) in feature()
948 while (++mid < hi && streq(mid->name, look->name)) in lookup()
1180 if (streq(p->name, "VERSION")) in print()
1364 if (streq(name, fp->name)) in print()
1481 if (streq(name + n - 3, "DEV")) in astgetconf()
[all …]
H A Dlc.c314 if ((flags & (LC_abbreviated|LC_default)) && streq(lp->code, tp->code)) in canonical()
356 if (streq(cp->code, "utf8") && (t = _locale_utf8_str)) in canonical()
401 else if (streq(lc->charset->ms, code)) in lccanon()
455 if (streq(t, mp->code)) in lcmake()
559 for (lp = lc_languages; lp->code && !streq(s, lp->code); lp++); in lcmake()
567 for (lp = lc_languages; lp->code && !streq(s, lp->code); lp++); in lcmake()
573 else if (streq(s, "c") || streq(s, "posix")) in lcmake()
585 for (tp = lc_territories; tp->code && !streq(s, tp->code); tp++); in lcmake()
665 if (streq(s, tp->code)) in lcmake()
792 if (streq(lc->charset->code, "utf8")) in lcmake()
/illumos-gate/usr/src/contrib/ast/src/cmd/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()

1234