Home
last modified time | relevance | path

Searched refs:TrimPrefix (Results 1 – 25 of 35) sorted by relevance

12

/build/kati/
Dlog.cc34 StringPiece filtered = TrimPrefix(msg, "*** "); in ColorErrorLog()
50 StringPiece filtered = TrimPrefix(msg, "*warning*: "); in ColorWarnLog()
51 filtered = TrimPrefix(filtered, "warning: "); in ColorWarnLog()
Dstrutil_test.cc60 ASSERT_EQ(TrimPrefix("foo", "foo"), ""); in TestTrimPrefix()
61 ASSERT_EQ(TrimPrefix("foo", "fo"), "o"); in TestTrimPrefix()
62 ASSERT_EQ(TrimPrefix("foo", ""), "foo"); in TestTrimPrefix()
63 ASSERT_EQ(TrimPrefix("foo", "fooo"), "foo"); in TestTrimPrefix()
Dstrutil.go158 trimed = strings.TrimPrefix(in, ps[0])
189 trimed = bytes.TrimPrefix(in, pat[:i])
Dstrutil.h92 StringPiece TrimPrefix(StringPiece str, StringPiece suffix);
Drule_parser.go40 trimed = strings.TrimPrefix(in, p.prefix)
/build/soong/ui/build/
Dcleanbuild.go166 prevConfig := strings.TrimPrefix(strings.TrimSuffix(string(prev), suffix), prefix)
167 currentConfig := strings.TrimPrefix(strings.TrimSuffix(currentProduct, suffix), prefix)
/build/soong/cmd/diff_target_files/
Dtarget_files.go58 f.Name = strings.ToLower(p) + strings.TrimPrefix(f.Name, p)
/build/soong/cc/
Dndk_prebuilt.go53 name := strings.Split(strings.TrimPrefix(ctx.ModuleName(), "ndk_"), ".")[0]
142 libName := strings.TrimPrefix(ctx.ModuleName(), "ndk_")
Dvndk.go224 name := strings.TrimPrefix(m.Name(), "prebuilt_")
Dcmakelists.go325 append(compilerParameters.headerSearchPath, strings.TrimPrefix(param, "-I"))
Dmakevars.go319 flags = strings.TrimPrefix(flags, prefix)
/build/soong/java/
Dprebuilt_apis.go121 localPath := strings.TrimPrefix(f, mydir)
148 localPath := strings.TrimPrefix(f, mydir)
/build/soong/symbol_inject/
Dmacho.go59 Name: strings.TrimPrefix(symbol.Name, "_"),
Dpe.go63 Name: strings.TrimPrefix(symbol.Name, prefix),
/build/soong/cmd/pom2bp/
Dpom2bp.go414 line = strings.TrimPrefix(line, "// pom2bp ")
416 line = strings.TrimPrefix(line, "// pom2mk ")
418 line = strings.TrimPrefix(line, "# pom2mk ")
/build/soong/android/
Dutil.go218 trimed = strings.TrimPrefix(in, ps[0])
Dnamespace.go221 name = strings.TrimPrefix(name, namespacePrefix)
/build/soong/zip/cmd/
Dmain.go118 bytes, err := ioutil.ReadFile(strings.TrimPrefix(arg, "@"))
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go129 installPath := installDir.Join(ctx, strings.TrimPrefix(install.To, "/"))
/build/blueprint/bootstrap/bpdoc/
Dreader.go70 factoryName := strings.TrimPrefix(f.Name(), pkgPath+".")
/build/soong/cmd/sbox/
Dsbox.go144 outputsVarEntries[i] = strings.TrimPrefix(filePath, "__SBOX_OUT_DIR__/")
/build/blueprint/parser/
Dast.go464 comment = strings.TrimPrefix(comment, "/*")
470 comment = strings.TrimPrefix(comment, "//")
/build/soong/genrule/
Dgenrule.go321 label := strings.TrimSpace(strings.TrimPrefix(name, "location "))
334 label := strings.TrimSpace(strings.TrimPrefix(name, "locations "))
/build/soong/dexpreopt/
Dconfig.go148 return android.PathForOutput(ctx, strings.TrimPrefix(path, buildDirPrefix))
/build/blueprint/
Dunpack.go383 entry = strings.TrimPrefix(entry, "filter(")

12