/build/soong/androidmk/parser/ |
D | make_strings_test.go | 35 Variables: []Variable{ 36 Variable{Name: SimpleMakeString("var1", NoPos)}, 37 Variable{Name: SimpleMakeString("var2", NoPos)}, 47 Variables: []Variable{ 48 Variable{Name: SimpleMakeString("var1", NoPos)}, 54 Variables: []Variable{ 55 Variable{Name: SimpleMakeString("var2", NoPos)}, 70 Variables: []Variable{ 71 Variable{Name: SimpleMakeString("var1", NoPos)}, 72 Variable{Name: SimpleMakeString("var2", NoPos)}, [all …]
|
D | scope.go | 77 func (v Variable) EvalFunction(scope Scope) ([]string, bool) { 99 func (v Variable) Value(scope Scope) string { 112 func toVariable(ms *MakeString) (Variable, bool) { 116 return Variable{}, false
|
D | ast.go | 100 type Variable struct { struct 104 func (x *Variable) Pos() Pos { return x.Name.Pos() } argument 105 func (x *Variable) End() Pos { return x.Name.End() } argument 107 func (x *Variable) Dump() string { argument
|
D | make_strings.go | 36 Variables []Variable 72 func (ms *MakeString) appendVariable(v Variable) { 75 ms.Variables = []Variable{v}
|
D | parser.go | 331 var variable Variable 358 func (p *parser) parseVariable() Variable { 380 func (p *parser) parseBracketedVariable(start, end rune, pos Pos) Variable { 387 func (p *parser) nameToVariable(name *MakeString) Variable { 388 return Variable{
|
/build/blueprint/parser/ |
D | parser_test.go | 578 Value: &Variable{ 586 OrigValue: &Variable{ 609 &Variable{ 617 &Variable{ 620 Value: &Variable{ 639 &Variable{ 647 &Variable{ 650 Value: &Variable{ 670 &Variable{ 681 &Variable{ [all …]
|
D | ast.go | 219 type Variable struct { struct 225 func (x *Variable) Pos() scanner.Position { return x.NamePos } argument 226 func (x *Variable) End() scanner.Position { return endPos(x.NamePos, len(x.Name)) } argument 228 func (x *Variable) Copy() Expression { argument 233 func (x *Variable) Eval() Expression { argument 237 func (x *Variable) String() string { argument 241 func (x *Variable) Type() Type { return x.Value.Type() } argument
|
D | sort.go | 82 case *Variable:
|
/build/soong/android/ |
D | package_ctx.go | 73 f func(PackageVarContext) string) blueprint.Variable { 125 func (p PackageContext) SourcePathVariable(name, path string) blueprint.Variable { 139 …p PackageContext) SourcePathsVariable(name, separator string, paths ...string) blueprint.Variable { 158 …c (p PackageContext) SourcePathVariableWithEnvOverride(name, path, env string) blueprint.Variable { 172 func (p PackageContext) HostBinToolVariable(name, path string) blueprint.Variable { 182 func (p PackageContext) HostJNIToolVariable(name, path string) blueprint.Variable { 192 func (p PackageContext) HostJavaToolVariable(name, path string) blueprint.Variable { 202 func (p PackageContext) IntermediatesPathVariable(name, path string) blueprint.Variable { 213 name, prefix string, paths []string) blueprint.Variable {
|
D | singleton.go | 36 Variable(pctx PackageContext, name, value string) methodSpec 132 func (s *singletonContextAdaptor) Variable(pctx PackageContext, name, value string) { func 133 s.SingletonContext.Variable(pctx.PackageContext, name, value)
|
D | module.go | 207 Variable(pctx PackageContext, name, value string) methodSpec 1321 ctx.Variable(pctx, "moduleDesc", desc) 1327 ctx.Variable(pctx, "moduleDescSuffix", s) 1607 func (m *moduleContext) Variable(pctx PackageContext, name, value string) { func 1612 m.bp.Variable(pctx.PackageContext, name, value)
|
/build/blueprint/ |
D | ninja_strings.go | 40 Eval(variables map[Variable]ninjaString) (string, error) 41 Variables() []Variable 46 variables []Variable 52 LookupVariable(name string) (Variable, error) 70 func (ps *parseState) pushVariable(v Variable) { 105 variables: make([]Variable, 0, n), 309 func (n varNinjaString) Eval(variables map[Variable]ninjaString) (string, error) { 325 func (n varNinjaString) Variables() []Variable { 338 func (l literalNinjaString) Eval(variables map[Variable]ninjaString) (string, error) { 342 func (l literalNinjaString) Variables() []Variable {
|
D | live_tracker.go | 27 variables map[Variable]ninjaString 35 variables: make(map[Variable]ninjaString), 153 func (l *liveTracker) addVariable(v Variable) error { 198 func (l *liveTracker) RemoveVariableIfLive(v Variable) bool {
|
D | scope.go | 27 type Variable interface { interface 59 variables map[string]Variable 68 variables: make(map[string]Variable), 103 func (s *basicScope) LookupVariable(name string) (Variable, error) { 217 func (s *basicScope) AddVariable(v Variable) error { 267 func (s *localScope) LookupVariable(name string) (Variable, error) {
|
D | package_ctx.go | 61 StaticVariable(name, value string) Variable 62 VariableFunc(name string, f func(config interface{}) (string, error)) Variable 63 VariableConfigMethod(name string, method interface{}) Variable 267 func (p *packageContext) StaticVariable(name, value string) Variable { 326 f func(config interface{}) (string, error)) Variable { 356 method interface{}) Variable {
|
D | ninja_strings_test.go | 113 expectedVars := []Variable{} 172 expect := []Variable{ImpVar}
|
D | singleton_ctx.go | 63 Variable(pctx PackageContext, name, value string) methodSpec 216 func (s *singletonContext) Variable(pctx PackageContext, name, value string) { func
|
D | ninja_defs.go | 262 Args map[Variable]ninjaString 349 b.Args = make(map[Variable]ninjaString)
|
D | context.go | 99 globalVariables map[Variable]ninjaString 2905 variables map[Variable]ninjaString, pkgNames map[*packageContext]string) { 2907 visited := make(map[Variable]bool) // variables that were already checked 2908 checking := make(map[Variable]bool) // variables actively being checked 2910 var check func(v Variable) []Variable 2912 check = func(v Variable) []Variable { 2921 return []Variable{dep, v} 3390 visited := make(map[Variable]bool) 3392 var walk func(v Variable) error 3393 walk = func(v Variable) error { [all …]
|
/build/soong/androidmk/androidmk/ |
D | values.go | 82 tmp := &bpparser.Variable{ 151 listOfListValues = append(listOfListValues, &bpparser.Variable{ 216 return &bpparser.Variable{
|
D | android.go | 263 case *bpparser.Variable: 299 case *bpparser.Variable: 327 if variable, ok := firstOperand.(*bpparser.Variable); !ok || variable.Name != "LOCAL_PATH" { 475 if variable, ok := exp.Args[0].(*bpparser.Variable); ok && variable.Name == "LOCAL_MODULE" { 533 case *bpparser.Variable, *bpparser.Operator: 607 func varLiteralName(variable mkparser.Variable) string { argument 669 if v, ok := exp2.Args[1].(*bpparser.Variable); !ok || v.Name != "LOCAL_PATH" {
|
/build/blueprint/bootstrap/ |
D | config.go | 26 func bootstrapVariable(name string, value func() string) blueprint.Variable {
|
/build/soong/partner/bpfix/extensions/ |
D | headers.go | 46 arg0, ok := op.Args[0].(*parser.Variable)
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 500 if varLocalName, ok := val.(*parser.Variable); ok { 813 } else if _, ok = srcs.Value.(*parser.Variable); ok { 1026 if _, isVar := a.Value.(*parser.Variable); isVar { 1029 if _, isVar := b.Value.(*parser.Variable); isVar {
|
/build/blueprint/bpmodify/ |
D | bpmodify.go | 163 if _, ok := value.(*parser.Variable); ok {
|