Searched refs:strmatch (Results 1 - 25 of 73) sorted by relevance

123

/ast/src/lib/libast/path/
H A Dpathcheck.c58 if (strmatch(tool, PARANOID) && environ && (s = *environ) && *s++ == '_' && *s++ == '=' && !stat(s, &st))
75 if (strmatch(s, PARANOID_PAY))
80 else if (*s != '#' && !isspace(*s) && !strneq(s, "127.", 4) && !strmatch(s, PARANOID_FREE) && o++ > 4)
H A Dpathshell.c62 if ((sh = getenv("SHELL")) && *sh == '/' && strmatch(sh, "*/(sh|*[!cC]sh)*([[:digit:]])?(-+([.[:alnum:]]))?(.exe)"))
68 if (ru != st.st_uid && !strmatch(sh, "?(/usr)?(/local)/?([ls])bin/?([[:lower:]])sh?(.exe)"))
/ast/src/lib/libpp/
H A Dppargs.c172 if (strmatch(comment, "(ARGSUSED|PRINTFLIKE|PROTOLIB|SCANFLIKE|VARARGS)*([0-9])|CONSTCOND|CONSTANTCOND|CONSTANTCONDITION|EMPTY|FALLTHRU|FALLTHROUGH|LINTLIBRARY|LINTED*|NOTREACHED"))
313 if (strmatch(s, "__GNUC__*"))
315 else if (strmatch(s, "__(ANSI|STDC|STRICT)__*") || !(pp.arg_style & STYLE_gnu) && strmatch(s, "__STRICT_ANSI__*"))
317 else if (strmatch(s, "__cplusplus*"))
543 if (strmatch(s, "i*.h"))
545 else if (strmatch(s, "*@(nostandard|nostdinc)*"))
547 else if (strmatch(s, "*@(exten|xansi)*|std"))
552 else if (strmatch(s, "*@(ansi|conform|pedantic|stand|std1|strict[!-])*"))
556 if (strmatch(
[all...]
/ast/src/cmd/3d/
H A Dast_3d.h50 #define strmatch _3d_strmatch macro
/ast/src/lib/libcs/
H A Dcsinfo.c42 if (strmatch(file, "*[ \t\n=]*")) sp = tokline(file, SF_STRING, line);
/ast/src/cmd/msgcc/
H A Dmsgcpp.c241 if (x > 0 && !strmatch(pp.token, OMIT))
270 if (c == '=' && (c = pplex()) == T_STRING && !strmatch(pp.token, OMIT))
/ast/src/lib/libardir/
H A Dar-port.c149 if (strmatch(name, SYMDIR_port) || strmatch(name, SYMDIR_rand) && (ar->flags |= ARDIR_RANLIB))
155 if ((ar->flags & ARDIR_RANLIB) && (sfsscanf(hdr->ar_date, "%lu", &ar->symtime) != 1 || (unsigned long)ar->st.st_mtime > ar->symtime + (strmatch(name, SYMDIR_strict) ? 0 : SYMDIR_age)))
168 if (strchr(name, TERM_port) && strmatch(name, SYMDIR_other))
H A Dar-local.c108 if (state->count++ || !strmatch(t, SYMDIR_local))
H A Dardir.c56 if ((!skip || !strmatch(meth->name, skip)) && !(*meth->openf)(ar, buf, n))
/ast/src/lib/libast/string/
H A Dstrmatch.c177 strmatch(const char* s, const char* p) function
/ast/src/cmd/ksh93/bltins/
H A Dcflow.c55 if(!strmatch(argv[opt_info.index],"[+-]+([0-9])"))
H A Dgetopts.c134 if(strmatch(opt_info.arg,"*unknown*"))
/ast/src/cmd/cs/vcs_src/
H A Difs_gopher.c54 strmatch( buf, "*\terror.host\t*" ) ) {
/ast/src/cmd/coshell/
H A Dmisc.c155 r = (strmatch(vp, sb) || strchr(vp, '|') && strmatch(sb, vp)) == (op == EQ);
H A Dservice.h88 #define match(p,a,o) ((!((a)->set&SETNAME)||strmatch((p)->name,(a)->name))&&((((a)->set|o)&(SETMISC|DEF|NEW|SET))==SETMISC?miscmatch(p,(a)->misc):((a)->set&SETNAME)?1:streq((p)->type,state.home->type)))
/ast/src/lib/libast/astsa/
H A Dast.h153 extern int strmatch(const char*, const char*);
/ast/src/cmd/std/
H A Dfile.c169 else if (strmatch(s, pattern))
/ast/src/cmd/html/
H A Dhtmlrefs.c235 if (strmatch(s, state->skip.data))
305 if (!strmatch(s, state->hosts.data))
522 perlwarn = state->perlwarn && strmatch(path, "*.(html|htm|HTML|HTM)");
1072 if (state->internal.size && strmatch(p, state->internal.data))
1077 if (state->limit.size && !strmatch(p, state->limit.data))
1084 if (strmatch(p, "*/cgi-bin/*|*.cgi|*.html"))
1178 if ((!(fp = dtmatch(state->files, ent->fts_path)) || !(fp->flags & COPIED)) && (!state->ignore.size || !strmatch(ent->fts_path, state->ignore.data)) && (!state->limit.size || strmatch(ent->fts_path, state->limit.data)))
1208 if (!dtmatch(state->files, ent->fts_path) && (!strmatch(ent->fts_name, state->keep.data) || state->skip.size && strmatch(en
[all...]
/ast/src/lib/libcoshell/
H A Dcoopen.c239 if (flags || (co->flags & CO_DEVFD) && strmatch(s, "*ksh*"))
396 if (!(s = sh[1]) || (s = (t = strrchr(s, '/')) ? (t + 1) : s) && !strmatch(s, "?(k)sh") && !streq(s, CO_ID))
/ast/src/cmd/mam/
H A Dmamnew.c148 if (!strmatch(s, "include|lib"))
368 if (strmatch(x->base, "lib*.a"))
H A Dmamold.c293 if (strmatch(r->name, d->data))
/ast/src/lib/libdss/
H A Dcxeval.c61 else if (method && expr->query->method && !strmatch(expr->query->method, method))
/ast/src/cmd/nmake/
H A Dmam.c135 if (strmatch(r->name, "${mam_*}"))
/ast/src/cmd/sort/
H A Dsfopen.c215 if ((!mp->pattern || strmatch(error_info.id, mp->pattern)) && (io = mp->io[n]))
/ast/src/lib/libtksh/src/
H A Dlist.c253 match = strmatch(string, regexp);

Completed in 502 milliseconds

123