Home
last modified time | relevance | path

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

12

/build/soong/androidmk/parser/
Dmake_strings_test.go35 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 …]
Dscope.go77 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
Dast.go100 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
Dmake_strings.go36 Variables []Variable
72 func (ms *MakeString) appendVariable(v Variable) {
75 ms.Variables = []Variable{v}
Dparser.go331 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/
Dparser_test.go578 Value: &Variable{
586 OrigValue: &Variable{
609 &Variable{
617 &Variable{
620 Value: &Variable{
639 &Variable{
647 &Variable{
650 Value: &Variable{
670 &Variable{
681 &Variable{
[all …]
Dast.go219 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
Dsort.go82 case *Variable:
/build/soong/android/
Dpackage_ctx.go73 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 {
Dsingleton.go36 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)
Dmodule.go207 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/
Dninja_strings.go40 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 {
Dlive_tracker.go27 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 {
Dscope.go27 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) {
Dpackage_ctx.go61 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 {
Dninja_strings_test.go113 expectedVars := []Variable{}
172 expect := []Variable{ImpVar}
Dsingleton_ctx.go63 Variable(pctx PackageContext, name, value string) methodSpec
216 func (s *singletonContext) Variable(pctx PackageContext, name, value string) { func
Dninja_defs.go262 Args map[Variable]ninjaString
349 b.Args = make(map[Variable]ninjaString)
Dcontext.go99 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/
Dvalues.go82 tmp := &bpparser.Variable{
151 listOfListValues = append(listOfListValues, &bpparser.Variable{
216 return &bpparser.Variable{
Dandroid.go263 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/
Dconfig.go26 func bootstrapVariable(name string, value func() string) blueprint.Variable {
/build/soong/partner/bpfix/extensions/
Dheaders.go46 arg0, ok := op.Args[0].(*parser.Variable)
/build/soong/bpfix/bpfix/
Dbpfix.go500 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/
Dbpmodify.go163 if _, ok := value.(*parser.Variable); ok {

12