Home
last modified time | relevance | path

Searched refs:pat (Results 1 – 3 of 3) sorted by relevance

/build/blueprint/gotestmain/
Dgotestmain.go142 func MatchString(pat, str string) (result bool, err error) {
143 if matchRe == nil || matchPat != pat {
144 matchPat = pat
153 func (matchString) MatchString(pat, str string) (bool, error) {
154 return MatchString(pat, str)
/build/soong/android/
Dutil.go314 func substPattern(pat, repl, str string) string { argument
315 ps := strings.SplitN(pat, "%", 2)
317 if str == pat {
346 func matchPattern(pat, str string) bool { argument
347 i := strings.IndexByte(pat, '%')
349 return pat == str
351 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
/build/make/tools/warn/
Dcpp_warn_patterns.py481 for pat in i['patterns']:
482 i['compiled_patterns'].append(re.compile(pat))