Searched refs:TrimSuffix (Results 1 – 25 of 43) sorted by relevance
12
/build/kati/ |
D | strutil_test.cc | 67 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()
|
D | strutil.go | 165 trimed = strings.TrimSuffix(in, ps[1]) 196 trimed = bytes.TrimSuffix(in, pat[i+1:]) 214 str = strings.TrimSuffix(str, pat)
|
D | strutil.h | 94 StringPiece TrimSuffix(StringPiece str, StringPiece suffix);
|
D | rule_parser.go | 47 trimed = strings.TrimSuffix(in, p.suffix)
|
D | strutil.cc | 182 StringPiece TrimSuffix(StringPiece str, StringPiece suffix) { in TrimSuffix() function 245 StringPiece s = TrimSuffix(str, pat_); in AppendSubstRef()
|
/build/soong/cc/ |
D | makevars.go | 269 …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…
|
D | sabi.go | 53 …if (f == flag) || (strings.HasSuffix(f, "*") && strings.HasPrefix(flag, strings.TrimSuffix(f, "*")…
|
D | vendor_public_library.go | 112 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), vendorPublicLibrarySuffix)
|
D | vndk_prebuilt.go | 105 p.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(), p.NameSuffix())
|
D | util.go | 127 root := strings.TrimSuffix(name, ext)
|
D | vndk.go | 209 name := strings.TrimSuffix(m.Name(), llndkLibrarySuffix)
|
D | llndk_library.go | 106 stub.libraryDecorator.libName = strings.TrimSuffix(ctx.ModuleName(),
|
/build/soong/java/ |
D | jacoco.go | 117 filter = strings.TrimSuffix(filter, "*") 119 filter = strings.TrimSuffix(filter, "**")
|
D | prebuilt_apis.go | 53 module = strings.TrimSuffix(elements[2], ".jar") 68 module = strings.TrimSuffix(elements[3], ".txt")
|
D | java_resources.go | 108 dir := filepath.Clean(strings.TrimSuffix(path, rel))
|
D | hiddenapi.go | 65 bootJarName := strings.TrimSuffix(name, "-hiddenapi")
|
D | aapt2.go | 40 name = strings.TrimSuffix(name, ".xml") + ".arsc"
|
D | app_builder.go | 68 unsignedApkName := strings.TrimSuffix(outputFile.Base(), ".apk") + "-unsigned.apk"
|
/build/soong/ui/build/ |
D | cleanbuild.go | 166 prevConfig := strings.TrimPrefix(strings.TrimSuffix(string(prev), suffix), prefix) 167 currentConfig := strings.TrimPrefix(strings.TrimSuffix(currentProduct, suffix), prefix)
|
D | kati.go | 58 …if err := ioutil.WriteFile(strings.TrimSuffix(config.KatiBuildNinjaFile(), "ninja")+"suf", []byte(…
|
/build/soong/jar/ |
D | jar.go | 50 return strings.HasPrefix(name, strings.TrimSuffix(pattern, "*"))
|
/build/soong/python/ |
D | androidmk.go | 94 stem := strings.TrimSuffix(file, filepath.Ext(file))
|
D | builder.go | 135 "main": strings.Replace(strings.TrimSuffix(main, pyExt), "/", ".", -1),
|
/build/soong/android/ |
D | proto.go | 134 protoBase = strings.TrimSuffix(protoFile.String(), rel)
|
D | util.go | 225 trimed = strings.TrimSuffix(in, ps[1])
|
12