Searched refs:pat (Results 1 – 3 of 3) sorted by relevance
/build/blueprint/gotestmain/ |
D | gotestmain.go | 142 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/ |
D | util.go | 314 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/ |
D | cpp_warn_patterns.py | 481 for pat in i['patterns']: 482 i['compiled_patterns'].append(re.compile(pat))
|