Searched refs:HasSuffix (Results 1 – 25 of 37) sorted by relevance
12
/build/kati/ |
D | strutil_test.cc | 53 assert(HasSuffix("bar", "bar")); in TestHasSuffix() 54 assert(HasSuffix("bar", "ar")); in TestHasSuffix() 55 assert(HasSuffix("bar", "")); in TestHasSuffix() 56 assert(!HasSuffix("bar", "bbar")); in TestHasSuffix()
|
D | ninja.cc | 85 if (HasSuffix(cmd, "ccache")) { in GetGomaccPosForAndroidCompileCommand() 94 if (!HasSuffix(cmd, "gcc") && !HasSuffix(cmd, "g++") && in GetGomaccPosForAndroidCompileCommand() 95 !HasSuffix(cmd, "clang") && !HasSuffix(cmd, "clang++")) { in GetGomaccPosForAndroidCompileCommand()
|
D | strutil.go | 136 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:]) 144 return bytes.HasPrefix(str, pat[:i]) && bytes.HasSuffix(str, pat[i+1:])
|
D | strutil.h | 88 bool HasSuffix(StringPiece str, StringPiece suffix);
|
D | rule_parser.go | 33 return strings.HasPrefix(s, p.prefix) && strings.HasSuffix(s, p.suffix)
|
D | strutil.cc | 158 bool HasSuffix(StringPiece str, StringPiece suffix) { in HasSuffix() function 199 HasSuffix(str, pat_.substr(percent_index_ + 1))); in MatchImpl()
|
D | evalcmd.go | 256 if len(runners) > 0 && strings.HasSuffix(runners[len(runners)-1].cmd, "\\") {
|
/build/soong/java/ |
D | jacoco.go | 113 recursiveWildcard := strings.HasSuffix(filter, "**") 116 nonRecursiveWildcard = strings.HasSuffix(filter, "*") 122 if recursiveWildcard && !(strings.HasSuffix(filter, ".") || filter == "") {
|
D | support_libraries.go | 46 if strings.HasSuffix(name, "-nodeps") {
|
D | java_resources.go | 105 if !strings.HasSuffix(path, rel) {
|
D | android_resources.go | 124 if !strings.HasSuffix(f, "/") {
|
D | builder.go | 415 if optName != "" && !strings.HasSuffix(optName, "=") && !strings.HasSuffix(optName, " ") {
|
/build/soong/jar/ |
D | jar.go | 49 if strings.HasSuffix(pattern, "*") {
|
/build/soong/cc/ |
D | sabi.go | 53 …if (f == flag) || (strings.HasSuffix(f, "*") && strings.HasPrefix(flag, strings.TrimSuffix(f, "*")…
|
D | ndk_library.go | 240 if strings.HasSuffix(name, ndkLibrarySuffix) { 302 if !strings.HasSuffix(String(c.properties.Symbol_file), ".map.txt") {
|
D | vendor_public_library.go | 79 if strings.HasSuffix(name, vendorPublicLibrarySuffix) {
|
D | cmakelists.go | 384 if !strings.HasPrefix(p, "'") || !strings.HasSuffix(p, "'") || len(p) < 3 {
|
/build/soong/ui/status/ |
D | log.go | 30 if !strings.HasSuffix(filename, ".gz") {
|
/build/soong/android/ |
D | util.go | 244 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
|
/build/soong/ui/tracer/ |
D | tracer.go | 135 if !strings.HasSuffix(filename, ".gz") {
|
/build/blueprint/microfactory/ |
D | microfactory.go | 267 if fi.IsDir() || strings.HasSuffix(name, "_test.go") || name[0] == '.' || name[0] == '_' { 270 if runtime.GOOS != "darwin" && strings.HasSuffix(name, "_darwin.go") { 273 if runtime.GOOS != "linux" && strings.HasSuffix(name, "_linux.go") {
|
/build/soong/cmd/soong_ui/ |
D | main.go | 122 if !strings.HasSuffix(start, "N") {
|
/build/blueprint/ |
D | unpack.go | 380 if !strings.HasPrefix(entry, "filter(") || !strings.HasSuffix(entry, ")") {
|
/build/soong/apex/ |
D | apex_test.go | 343 if strings.HasSuffix(cmd, "bin/foo") { 345 } else if strings.HasSuffix(cmd, "bin/foo_link_64") {
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 273 if strings.HasSuffix(name, "_"+x.mk) {
|
12