Home
last modified time | relevance | path

Searched refs:HasSuffix (Results 1 – 25 of 37) sorted by relevance

12

/build/kati/
Dstrutil_test.cc53 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()
Dninja.cc85 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()
Dstrutil.go136 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:])
Dstrutil.h88 bool HasSuffix(StringPiece str, StringPiece suffix);
Drule_parser.go33 return strings.HasPrefix(s, p.prefix) && strings.HasSuffix(s, p.suffix)
Dstrutil.cc158 bool HasSuffix(StringPiece str, StringPiece suffix) { in HasSuffix() function
199 HasSuffix(str, pat_.substr(percent_index_ + 1))); in MatchImpl()
Devalcmd.go256 if len(runners) > 0 && strings.HasSuffix(runners[len(runners)-1].cmd, "\\") {
/build/soong/java/
Djacoco.go113 recursiveWildcard := strings.HasSuffix(filter, "**")
116 nonRecursiveWildcard = strings.HasSuffix(filter, "*")
122 if recursiveWildcard && !(strings.HasSuffix(filter, ".") || filter == "") {
Dsupport_libraries.go46 if strings.HasSuffix(name, "-nodeps") {
Djava_resources.go105 if !strings.HasSuffix(path, rel) {
Dandroid_resources.go124 if !strings.HasSuffix(f, "/") {
Dbuilder.go415 if optName != "" && !strings.HasSuffix(optName, "=") && !strings.HasSuffix(optName, " ") {
/build/soong/jar/
Djar.go49 if strings.HasSuffix(pattern, "*") {
/build/soong/cc/
Dsabi.go53 …if (f == flag) || (strings.HasSuffix(f, "*") && strings.HasPrefix(flag, strings.TrimSuffix(f, "*")…
Dndk_library.go240 if strings.HasSuffix(name, ndkLibrarySuffix) {
302 if !strings.HasSuffix(String(c.properties.Symbol_file), ".map.txt") {
Dvendor_public_library.go79 if strings.HasSuffix(name, vendorPublicLibrarySuffix) {
Dcmakelists.go384 if !strings.HasPrefix(p, "'") || !strings.HasSuffix(p, "'") || len(p) < 3 {
/build/soong/ui/status/
Dlog.go30 if !strings.HasSuffix(filename, ".gz") {
/build/soong/android/
Dutil.go244 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:])
/build/soong/ui/tracer/
Dtracer.go135 if !strings.HasSuffix(filename, ".gz") {
/build/blueprint/microfactory/
Dmicrofactory.go267 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/
Dmain.go122 if !strings.HasSuffix(start, "N") {
/build/blueprint/
Dunpack.go380 if !strings.HasPrefix(entry, "filter(") || !strings.HasSuffix(entry, ")") {
/build/soong/apex/
Dapex_test.go343 if strings.HasSuffix(cmd, "bin/foo") {
345 } else if strings.HasSuffix(cmd, "bin/foo_link_64") {
/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go273 if strings.HasSuffix(name, "_"+x.mk) {

12