Home
last modified time | relevance | path

Searched refs:pkgNames (Results 1 – 6 of 6) sorted by relevance

/build/blueprint/
Dpackage_ctx.go296 func (v *staticVariable) fullName(pkgNames map[*packageContext]string) string {
300 return packageNamespacePrefix(pkgNames[v.pctx]) + v.name_
303 func (v *staticVariable) memoizeFullName(pkgNames map[*packageContext]string) {
304 v.fullName_ = v.fullName(pkgNames)
412 func (v *variableFunc) fullName(pkgNames map[*packageContext]string) string {
416 return packageNamespacePrefix(pkgNames[v.pctx]) + v.name_
419 func (v *variableFunc) memoizeFullName(pkgNames map[*packageContext]string) {
420 v.fullName_ = v.fullName(pkgNames)
479 func (v *argVariable) fullName(pkgNames map[*packageContext]string) string {
483 func (v *argVariable) memoizeFullName(pkgNames map[*packageContext]string) {
[all …]
Dninja_defs.go233 pkgNames map[*packageContext]string) error {
248 err = nw.ScopedAssign("pool", r.Pool.fullName(pkgNames))
254 err = writeVariables(nw, r.Variables, pkgNames)
391 func (b *buildDef) WriteTo(nw *ninjaWriter, pkgNames map[*packageContext]string) error {
394 rule = b.Rule.fullName(pkgNames)
408 …ent, rule, outputs, implicitOuts, explicitDeps, implicitDeps, orderOnlyDeps, validations, pkgNames)
413 err = writeVariables(nw, b.Variables, pkgNames)
425 fullName := argVar.fullName(pkgNames)
426 args = append(args, nameValuePair{fullName, value.Value(pkgNames)})
438 err = nw.Default(pkgNames, outputs...)
[all …]
Dscope.go30 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
31 memoizeFullName(pkgNames map[*packageContext]string) // precompute fullName if desired
41 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
42 memoizeFullName(pkgNames map[*packageContext]string) // precompute fullName if desired
52 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
53 memoizeFullName(pkgNames map[*packageContext]string) // precompute fullName if desired
368 func (l *localVariable) fullName(pkgNames map[*packageContext]string) string {
372 func (l *localVariable) memoizeFullName(pkgNames map[*packageContext]string) {
400 func (l *localRule) fullName(pkgNames map[*packageContext]string) string {
404 func (l *localRule) memoizeFullName(pkgNames map[*packageContext]string) {
Dninja_writer.go118 pkgNames map[*packageContext]string) error {
141 output.ValueWithEscaper(wrapper, pkgNames, outputEscaper)
149 out.ValueWithEscaper(wrapper, pkgNames, outputEscaper)
159 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
167 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
176 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
185 dep.ValueWithEscaper(wrapper, pkgNames, inputEscaper)
238 func (n *ninjaWriter) Default(pkgNames map[*packageContext]string, targets ...ninjaString) error {
253 target.ValueWithEscaper(wrapper, pkgNames, outputEscaper)
Dninja_strings.go39 Value(pkgNames map[*packageContext]string) string
40 ValueWithEscaper(w io.StringWriter, pkgNames map[*packageContext]string, escaper *strings.Replacer)
287 func (n varNinjaString) Value(pkgNames map[*packageContext]string) string {
292 n.ValueWithEscaper(str, pkgNames, defaultEscaper)
296 func (n varNinjaString) ValueWithEscaper(w io.StringWriter, pkgNames map[*packageContext]string,
302 w.WriteString(v.fullName(pkgNames))
328 func (l literalNinjaString) Value(pkgNames map[*packageContext]string) string {
332 func (l literalNinjaString) ValueWithEscaper(w io.StringWriter, pkgNames map[*packageContext]string,
Dcontext.go98 pkgNames map[*packageContext]string member
2384 pkgNames, depsPackages := c.makeUniquePackageNames(c.liveGlobals)
2388 c.memoizeFullNames(c.liveGlobals, pkgNames)
2391 c.checkForVariableReferenceCycles(c.liveGlobals.variables, pkgNames)
2393 c.pkgNames = pkgNames
3199 pkgNames := make(map[*packageContext]string)
3207 if _, ok := pkgNames[pctx]; ok {
3222 pkgNames[pctx] = pctx.shortName
3242 pkgNames[pctx] = pctx.fullName
3251 return pkgNames, deps
[all …]