Home
last modified time | relevance | path

Searched refs:TrimSuffix (Results 1 – 25 of 43) sorted by relevance

12

/build/kati/
Dstrutil_test.cc67 ASSERT_EQ(TrimSuffix("bar", "bar"), ""); in TestTrimSuffix()
68 ASSERT_EQ(TrimSuffix("bar", "ar"), "b"); in TestTrimSuffix()
69 ASSERT_EQ(TrimSuffix("bar", ""), "bar"); in TestTrimSuffix()
70 ASSERT_EQ(TrimSuffix("bar", "bbar"), "bar"); in TestTrimSuffix()
Dstrutil.go165 trimed = strings.TrimSuffix(in, ps[1])
196 trimed = bytes.TrimSuffix(in, pat[i+1:])
214 str = strings.TrimSuffix(str, pat)
Dstrutil.h94 StringPiece TrimSuffix(StringPiece str, StringPiece suffix);
Drule_parser.go47 trimed = strings.TrimSuffix(in, p.suffix)
Dstrutil.cc182 StringPiece TrimSuffix(StringPiece str, StringPiece suffix) { in TrimSuffix() function
245 StringPiece s = TrimSuffix(str, pat_); in AppendSubstRef()
/build/soong/cc/
Dmakevars.go269 …ctx.Strict(secondPrefix+"ADDRESS_SANITIZER_RUNTIME_LIBRARY", strings.TrimSuffix(config.AddressSani…
270 …ctx.Strict(secondPrefix+"HWADDRESS_SANITIZER_RUNTIME_LIBRARY", strings.TrimSuffix(config.HWAddress…
271 …ctx.Strict(secondPrefix+"HWADDRESS_SANITIZER_STATIC_LIBRARY", strings.TrimSuffix(config.HWAddressS…
272 …ctx.Strict(secondPrefix+"UBSAN_RUNTIME_LIBRARY", strings.TrimSuffix(config.UndefinedBehaviorSaniti…
273 …ctx.Strict(secondPrefix+"UBSAN_MINIMAL_RUNTIME_LIBRARY", strings.TrimSuffix(config.UndefinedBehavi…
274 …ctx.Strict(secondPrefix+"TSAN_RUNTIME_LIBRARY", strings.TrimSuffix(config.ThreadSanitizerRuntimeLi…
275 …ctx.Strict(secondPrefix+"SCUDO_RUNTIME_LIBRARY", strings.TrimSuffix(config.ScudoRuntimeLibrary(too…
276 …ctx.Strict(secondPrefix+"SCUDO_MINIMAL_RUNTIME_LIBRARY", strings.TrimSuffix(config.ScudoMinimalRun…
Dsabi.go53 …if (f == flag) || (strings.HasSuffix(f, "*") && strings.HasPrefix(flag, strings.TrimSuffix(f, "*")…
Dvendor_public_library.go112 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), vendorPublicLibrarySuffix)
Dvndk_prebuilt.go105 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
Dutil.go127 root := strings.TrimSuffix(name, ext)
Dvndk.go209 name := strings.TrimSuffix(m.Name(), llndkLibrarySuffix)
Dllndk_library.go106 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(),
/build/soong/java/
Djacoco.go117 filter = strings.TrimSuffix(filter, "*")
119 filter = strings.TrimSuffix(filter, "**")
Dprebuilt_apis.go53 module = strings.TrimSuffix(elements[2], ".jar")
68 module = strings.TrimSuffix(elements[3], ".txt")
Djava_resources.go108 dir := filepath.Clean(strings.TrimSuffix(path, rel))
Dhiddenapi.go65 bootJarName := strings.TrimSuffix(name, "-hiddenapi")
Daapt2.go40 name = strings.TrimSuffix(name, ".xml") + ".arsc"
Dapp_builder.go68 unsignedApkName := strings.TrimSuffix(outputFile.Base(), ".apk") + "-unsigned.apk"
/build/soong/ui/build/
Dcleanbuild.go166 prevConfig := strings.TrimPrefix(strings.TrimSuffix(string(prev), suffix), prefix)
167 currentConfig := strings.TrimPrefix(strings.TrimSuffix(currentProduct, suffix), prefix)
Dkati.go58 …if err := ioutil.WriteFile(strings.TrimSuffix(config.KatiBuildNinjaFile(), "ninja")+"suf", []byte(…
/build/soong/jar/
Djar.go50 return strings.HasPrefix(name, strings.TrimSuffix(pattern, "*"))
/build/soong/python/
Dandroidmk.go94 stem := strings.TrimSuffix(file, filepath.Ext(file))
Dbuilder.go135 "main": strings.Replace(strings.TrimSuffix(main, pyExt), "/", ".", -1),
/build/soong/android/
Dproto.go134 protoBase = strings.TrimSuffix(protoFile.String(), rel)
Dutil.go225 trimed = strings.TrimSuffix(in, ps[1])

12