Searched refs:pat (Results 1 – 7 of 7) sorted by relevance
/build/blueprint/gotestmain/ |
D | gotestmain.go | 143 func MatchString(pat, str string) (result bool, err error) { 144 if matchRe == nil || matchPat != pat { 145 matchPat = pat 154 func (matchString) MatchString(pat, str string) (bool, error) { 155 return MatchString(pat, str)
|
/build/soong/android/ |
D | util.go | 481 func substPattern(pat, repl, str string) string { argument 482 ps := strings.SplitN(pat, "%", 2) 484 if str == pat { 513 func matchPattern(pat, str string) bool { argument 514 i := strings.IndexByte(pat, '%') 516 return pat == str 518 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
|
/build/blueprint/parser/ |
D | printer.go | 198 for i, pat := range c.Patterns { 199 switch pat := pat.(type) { 201 if pat.Value != default_select_branch_name { 202 p.printToken(strconv.Quote(pat.Value), pat.LiteralPos) 204 p.printToken("default", pat.LiteralPos) 208 if pat.Value { 211 p.printToken(s, pat.LiteralPos)
|
/build/blueprint/proptools/ |
D | unpack.go | 459 for i, pat := range c.Patterns { 460 switch pat := pat.(type) { 462 if pat.Value == "__soong_conditions_default__" { 466 patterns[i].stringValue = pat.Value 470 patterns[i].boolValue = pat.Value
|
D | configurable.go | 490 for i, pat := range case_.patterns { 491 if !pat.matchesValueType(values[i]) { 492 … %s to have type %s, found %s", c.conditions[i].String(), values[i].typ.String(), pat.typ.String()) 495 if !pat.matchesValue(values[i]) {
|
/build/make/tools/warn/ |
D | cpp_warn_patterns.py | 527 for pat in i['patterns']: 528 i['compiled_patterns'].append(re.compile(pat))
|
/build/make/tools/releasetools/ |
D | ota_utils.py | 1088 return any([fnmatch.fnmatch(filename, pat) for pat in pattersn])
|