Searched refs:TrimPrefix (Results 1 – 25 of 35) sorted by relevance
12
/build/kati/ |
D | log.cc | 34 StringPiece filtered = TrimPrefix(msg, "*** "); in ColorErrorLog() 50 StringPiece filtered = TrimPrefix(msg, "*warning*: "); in ColorWarnLog() 51 filtered = TrimPrefix(filtered, "warning: "); in ColorWarnLog()
|
D | strutil_test.cc | 60 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()
|
D | strutil.go | 158 trimed = strings.TrimPrefix(in, ps[0]) 189 trimed = bytes.TrimPrefix(in, pat[:i])
|
D | strutil.h | 92 StringPiece TrimPrefix(StringPiece str, StringPiece suffix);
|
D | rule_parser.go | 40 trimed = strings.TrimPrefix(in, p.prefix)
|
/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)
|
/build/soong/cmd/diff_target_files/ |
D | target_files.go | 58 f.Name = strings.ToLower(p) + strings.TrimPrefix(f.Name, p)
|
/build/soong/cc/ |
D | ndk_prebuilt.go | 53 name := strings.Split(strings.TrimPrefix(ctx.ModuleName(), "ndk_"), ".")[0] 142 libName := strings.TrimPrefix(ctx.ModuleName(), "ndk_")
|
D | vndk.go | 224 name := strings.TrimPrefix(m.Name(), "prebuilt_")
|
D | cmakelists.go | 325 append(compilerParameters.headerSearchPath, strings.TrimPrefix(param, "-I"))
|
D | makevars.go | 319 flags = strings.TrimPrefix(flags, prefix)
|
/build/soong/java/ |
D | prebuilt_apis.go | 121 localPath := strings.TrimPrefix(f, mydir) 148 localPath := strings.TrimPrefix(f, mydir)
|
/build/soong/symbol_inject/ |
D | macho.go | 59 Name: strings.TrimPrefix(symbol.Name, "_"),
|
D | pe.go | 63 Name: strings.TrimPrefix(symbol.Name, prefix),
|
/build/soong/cmd/pom2bp/ |
D | pom2bp.go | 414 line = strings.TrimPrefix(line, "// pom2bp ") 416 line = strings.TrimPrefix(line, "// pom2mk ") 418 line = strings.TrimPrefix(line, "# pom2mk ")
|
/build/soong/android/ |
D | util.go | 218 trimed = strings.TrimPrefix(in, ps[0])
|
D | namespace.go | 221 name = strings.TrimPrefix(name, namespacePrefix)
|
/build/soong/zip/cmd/ |
D | main.go | 118 bytes, err := ioutil.ReadFile(strings.TrimPrefix(arg, "@"))
|
/build/soong/dexpreopt/dexpreopt_gen/ |
D | dexpreopt_gen.go | 129 installPath := installDir.Join(ctx, strings.TrimPrefix(install.To, "/"))
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 70 factoryName := strings.TrimPrefix(f.Name(), pkgPath+".")
|
/build/soong/cmd/sbox/ |
D | sbox.go | 144 outputsVarEntries[i] = strings.TrimPrefix(filePath, "__SBOX_OUT_DIR__/")
|
/build/blueprint/parser/ |
D | ast.go | 464 comment = strings.TrimPrefix(comment, "/*") 470 comment = strings.TrimPrefix(comment, "//")
|
/build/soong/genrule/ |
D | genrule.go | 321 label := strings.TrimSpace(strings.TrimPrefix(name, "location ")) 334 label := strings.TrimSpace(strings.TrimPrefix(name, "locations "))
|
/build/soong/dexpreopt/ |
D | config.go | 148 return android.PathForOutput(ctx, strings.TrimPrefix(path, buildDirPrefix))
|
/build/blueprint/ |
D | unpack.go | 383 entry = strings.TrimPrefix(entry, "filter(")
|
12