Home
last modified time | relevance | path

Searched refs:varName (Results 1 – 19 of 19) sorted by relevance

/build/make/tools/product_config/src/com/android/build/config/
DConvertMakeToGenericConfig.java84 final String varName = entry.getKey(); in convert() local
86 block.getInheritedFile(), products.getVarType(varName), varName, in convert()
87 entry.getValue(), prevBlock.getVar(varName)); in convert()
125 final String varName = var.getKey(); in convert() local
126 if (expandInitial.containsKey(varName) && !productsFinal.containsKey(varName)) { in convert()
129 finalFinal.put(varName, var.getValue()); in convert()
139 VarType varType, String varName, Str varVal, Str prevVal) { in convertAssignment() argument
142 return new GenericConfig.Assign(varName, varVal); in convertAssignment()
147 return new GenericConfig.Assign(varName, varVal); in convertAssignment()
156 return new GenericConfig.Assign(varName, varVal); in convertAssignment()
[all …]
DFlattenConfig.java139 final String varName = assign.getName(); in forEachStatement() local
143 assertVarType(filename, varName); in forEachStatement()
145 if (mGenericConfig.getVarType(varName) == varType) { in forEachStatement()
237 final String varName = entry.getKey(); in flattenListVars()
239 appendToListVar(result, varName, varVal.getList()); in flattenListVars()
262 final String varName = assign.getName(); in flattenSingleVars()
263 Value v = mVariables.get(varName); in flattenSingleVars()
265 Value value = mVariables.get(varName); in flattenSingleVars()
266 if (!mVariables.containsKey(varName)) { in flattenSingleVars()
277 + varName + " size=" + valueList.size() in flattenSingleVars()
[all …]
DGenericConfig.java82 public Assign(String varName, Str value) { in Assign() argument
83 mVarName = varName; in Assign()
92 public Assign(String varName, List<Str> value) { in Assign() argument
93 mVarName = varName; in Assign()
DOutputChecker.java172 final String varName = afterEntry.getKey(); in getModifiedVars() local
174 final Str beforeValue = before.get(varName); in getModifiedVars()
176 result.put(varName, afterValue); in getModifiedVars()
182 final String varName = beforeEntry.getKey(); in getModifiedVars() local
183 if (!after.containsKey(varName)) { in getModifiedVars()
184 result.put(varName, new Str("")); in getModifiedVars()
DMakeWriter.java80 final String varName = statement.getName(); in writeAssign() local
87 out.print(varName + " := " + value); in writeAssign()
92 out.print(varName + " += " + value); in writeAssign()
96 out.print(varName + " := " + values.get(0)); in writeAssign()
98 out.print("$(" + varName + ") " + values.get(i)); in writeAssign()
103 out.print(" # " + config.getVarType(varName) + " " + pos); in writeAssign()
DMakeConfig.java83 public void addVar(String varName, Str varValue) { in addVar() argument
84 mValues.put(varName, varValue); in addVar()
87 public Str getVar(String varName) { in getVar() argument
88 return mValues.get(varName); in getVar()
DDumpConfigParser.java229 final String varName = fields.get(3); in parseImpl() local
235 initialVariables.put(varName, str); in parseImpl()
237 finalVariables.put(varName, str); in parseImpl()
261 block.addVar(varName, str); in parseImpl()
/build/soong/mk2rbc/
Dconfig_variables.go52 varName := asgn.Name.Strings[0]
54 if varName == "_product_list_vars" {
56 } else if varName == "_product_single_value_vars" {
Dnode.go300 varName string member
308 gctx.writef("for %s in ", f.varName)
Dmk2rbc.go694 var varName string
703 varName = name[pos+1:]
708 if varName == "" {
719 if !ctx.hasNamespaceVar(namespaceName, varName) {
720 … variable in %s namespace, please use add_soong_config_var_value instead", varName, namespaceName)}
728 …]starlarkExpr{&globalsExpr{}, &stringLiteralExpr{namespaceName}, &stringLiteralExpr{varName}, val},
1687 varName: loopVarName,
1772 varName: loopVarName,
2163 func (ctx *parseContext) hasNamespaceVar(namespaceName string, varName string) bool {
2166 _, ok = vars[varName]
Dexpr.go670 varName string member
678 gctx.write(" for " + f.varName + " in ")
/build/make/tools/rbcrun/rbcrun/
Drbcrun.go128 varName := varNameStarlark.GoString()
129 if !identifierRe.MatchString(varName) {
130 …rf("all variables at the top level starlark file must be valid c identifiers, but got %q", varName)
132 if varName == "LOADED_STARLARK_FILES" {
140 fmt.Printf("%s :=$= %s\n", varName, valueMake)
/build/blueprint/
Dninja_strings_test.go155 for _, varName := range testCase.vars {
156 _, err := scope.LookupVariable(varName)
158 v, err := scope.AddLocalVariable(varName, strings.ToUpper(varName))
162 variablesMap[v] = simpleNinjaString(strings.ToUpper(varName))
Dscope.go116 varName := name[dotIndex+1:]
118 first, _ := utf8.DecodeRuneInString(varName)
128 v, ok := importedScope.variables[varName]
131 pkgName, varName)
/build/soong/androidmk/androidmk/
Dandroid.go497 varName := "stem"
501 varName = "suffix"
506 return setVariable(ctx.file, ctx.append, ctx.prefix, varName, val, true)
1051 for varName, moduleName := range moduleTypes {
1052 path := varName
1053 globalScope.Set(varName, path)
1056 for varName, moduleName := range prebuiltTypes {
1057 includePathToModule[varName] = moduleName
/build/soong/cmd/soong_ui/
Dmain.go325 varName := flags.Arg(0)
326 if varName == "report_config" {
334 varData, err := build.DumpMakeVars(ctx, config, nil, []string{varName})
341 for _, path := range strings.Fields(varData[varName]) {
350 fmt.Println(varData[varName])
/build/bazel/mkcompare/cmd/
Dmkcompare.go71 for varName, mods := range modulesByVar {
72 printModulesByType(fmt.Sprintf(" %s, by type:", varName), mods, mkFile)
/build/soong/android/soongconfig/
Dmodules.go68 for _, varName := range moduleType.variableNames {
69 if v, ok := mtDef.variables[varName]; ok {
73 fmt.Errorf("unknown variable %q in module type %q", varName, name),
/build/soong/android/
Dandroidmk.go1032 func AndroidMkEmitAssignList(w io.Writer, varName string, lists ...[]string) {
1042 fmt.Fprint(w, varName, " :=")