Home
last modified time | relevance | path

Searched refs:Replace (Results 1 – 25 of 30) sorted by relevance

12

/build/blueprint/bootstrap/
Dcleanup.go54 ninjaBuildDir = replacer.Replace(ninjaBuildDir)
57 replacedTarget := replacer.Replace(target)
61 replacedTarget := replacer.Replace(target)
/build/soong/python/
Dbuilder.go106 "interp": strings.Replace(interpreter, "/", `\/`, -1),
107 "main": strings.Replace(main, "/", `\/`, -1),
135 "main": strings.Replace(strings.TrimSuffix(main, pyExt), "/", ".", -1),
/build/soong/makedeps/
Ddeps.go91 fmt.Fprintf(b, "%s:", replacer.Replace(d.Output))
93 fmt.Fprintf(b, " %s", replacer.Replace(input))
/build/soong/android/
Ddefs.go197 s = shellUnescaper.Replace(s)
212 content = echoUnescaper.Replace(content)
Darch.go848 archVariant := variantReplacer.Replace(archVariant)
852 feature := variantReplacer.Replace(feature)
1233 v := variantReplacer.Replace(arch.ArchVariant)
1249 c := variantReplacer.Replace(arch.CpuVariant)
Dmakevars.go421 return ninjaDescaper.Replace(s), nil
/build/blueprint/
Dninja_strings.go289 return defaultEscaper.Replace(n.strings[0])
299 w.WriteString(escaper.Replace(n.strings[0]))
304 w.WriteString(escaper.Replace(n.strings[i+1]))
329 return defaultEscaper.Replace(string(l))
334 w.WriteString(escaper.Replace(string(l)))
/build/blueprint/deptools/
Ddepfile.go45 escapedDeps = append(escapedDeps, pathEscaper.Replace(dep))
/build/soong/cc/
Drs.go37 var rsCppCmdLine = strings.Replace(`
Dvendor_public_library_test.go73 …cc := ctx.ModuleForTests("libsystem", strings.Replace(coreVariant, "_shared", "_static", 1)).Rule(…
Dcmakelists.go108 dst := strings.Replace(path, cLionAggregateProjectsDirectory, cLionOutputProjectsDirectory, 1)
207 return strings.Replace(s, "@", "-", -1)
434 p = strings.Replace(p, `'\''`, `'`, -1)
Dcflag_artifacts.go69 cleanedName := strings.Replace(flag, "=", "_", -1)
Dcompiler.go483 cStd = gnuToCReplacer.Replace(cStd)
484 cppStd = gnuToCReplacer.Replace(cppStd)
/build/soong/scripts/
Djsonmodify.py55 class Replace(str): class
90 parser.add_argument("-s", "--replace", type=Replace,
/build/blueprint/proptools/
Descape.go38 return ninjaEscaper.Replace(s)
Dextend.go153 Replace const
179 return Replace, nil
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go43 return strings.Replace(dir, "/", ".", -1)
/build/soong/java/
Dlint_test.go241 thisBp := strings.Replace(bp, "XXX", testCase, 1)
281 thisBp := strings.Replace(bp, "XXX", testCase, 1)
Djacoco.go132 spec := strings.Replace(filter, ".", "/", -1)
/build/soong/genrule/
Dgenrule.go851 cmd = strings.Replace(*m.properties.Cmd, "$(in)", "$(SRCS)", -1)
852 cmd = strings.Replace(cmd, "$(out)", "$(OUTS)", -1)
853 cmd = strings.Replace(cmd, "$(genDir)", "$(GENDIR)", -1)
855 …cmd = strings.Replace(cmd, "$(location)", fmt.Sprintf("$(location %s)", tools.Value.Includes[0].La…
856 …cmd = strings.Replace(cmd, "$(locations)", fmt.Sprintf("$(locations %s)", tools.Value.Includes[0].…
863 cmd = strings.Replace(cmd, bpLoc, bazelLoc, -1)
864 cmd = strings.Replace(cmd, bpLocs, bazelLocs, -1)
/build/soong/cmd/sbox/
Dsbox.go244 rawCommand = strings.Replace(rawCommand, depFilePlaceholder, depFile, -1)
248 rawCommand = strings.Replace(rawCommand, sandboxDirPlaceholder, pathToTempDirInSbox, -1)
/build/soong/ui/build/
Dkati.go49 katiSuffix += "-" + spaceSlashReplacer.Replace(strings.Join(args, "_"))
/build/soong/bp2build/
Dbuild_conversion.go558 return strings.Replace(c.ModuleName(logicModule), bazel.BazelTargetModuleNamePrefix, "", 1)
570 return strings.Replace(name, "//", "", 1)
/build/soong/androidmk/parser/
Dmake_strings.go277 ms.Strings[i] = strings.Replace(ms.Strings[i], input, output, -1)
/build/blueprint/pathtools/
Dglob.go433 return matchEscaper.Replace(s)

12