/build/soong/ui/logger/ |
D | logger.go | 47 Print(v ...interface{}) 49 Printf(format string, v ...interface{}) 51 Println(v ...interface{}) 55 Verbose(v ...interface{}) 56 Verbosef(format string, v ...interface{}) 57 Verboseln(v ...interface{}) 62 Fatal(v ...interface{}) 63 Fatalf(format string, v ...interface{}) 64 Fatalln(v ...interface{}) 67 Panic(v ...interface{}) [all …]
|
/build/soong/android/ |
D | path_properties.go | 55 v := reflect.ValueOf(ps) 56 if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct { 57 panic(fmt.Errorf("type %s is not a pointer to a struct", v.Type())) 59 if v.IsNil() { 62 v = v.Elem() 69 sv := fieldByIndex(v, i) 87 v.Type().FieldByIndex(i).Name, v.Type(), sv.Type())) 96 func fieldByIndex(v reflect.Value, index []int) reflect.Value { 98 return v.Field(index[0]) 101 if v.Kind() == reflect.Ptr { [all …]
|
D | onceper.go | 47 if v, ok := once.values.Load(key); ok { 48 return once.maybeWaitFor(key, v) 53 if v, loaded := once.values.LoadOrStore(key, waiter); loaded { 55 return once.maybeWaitFor(key, v) 60 var v interface{} 62 once.values.Store(key, v) 66 v = value() 68 return v 74 v, ok := once.values.Load(key) 79 return once.maybeWaitFor(key, v)
|
D | neverallow.go | 470 for _, v := range r.paths { 471 s += " dir:" + v + "*" 473 for _, v := range r.unlessPaths { 474 s += " -dir:" + v + "*" 476 for _, v := range r.moduleTypes { 477 s += " type:" + v 479 for _, v := range r.unlessModuleTypes { 480 s += " -type:" + v 482 for _, v := range r.props { 483 s += " " + strings.Join(v.fields, ".") + v.matcher.String() [all …]
|
D | util.go | 83 v := reflect.ValueOf(m) 84 if v.Kind() != reflect.Map { 87 keys := v.MapKeys() 97 v := reflect.ValueOf(m) 98 if v.Kind() != reflect.Map { 101 keys := v.MapKeys() 104 s = append(s, v.MapIndex(key).String()) 306 func GetNumericSdkVersion(v string) string { 307 if strings.Contains(v, "system_") { 308 return strings.Replace(v, "system_", "", 1) [all …]
|
/build/soong/android/soongconfig/ |
D | modules.go | 68 if v, ok := mtDef.variables[varName]; ok { 69 moduleType.Variables = append(moduleType.Variables, v) 81 func processImportModuleDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) { 84 return processModuleTypeDef(v, def) 86 return processStringVariableDef(v, def) 88 return processBoolVariableDef(v, def) 123 func processModuleTypeDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) { 154 v.ModuleTypes[props.Name] = mt 191 func processStringVariableDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) { 203 v.variables[base.variable] = &stringVariable{ [all …]
|
D | config.go | 40 v := strings.ToLower(c[name]) 41 return v == "1" || v == "y" || v == "yes" || v == "on" || v == "true"
|
/build/make/core/ |
D | node_fns.mk | 30 $(foreach v,$(1),$(eval $(v):=)) 48 $(foreach v,$(2),$(eval $(strip $(1)).$(v):=$($(v)))) 71 $(foreach v,$(3), \ 72 $(eval $(2).$(v) := $($(1).$(v))) \ 73 $(eval $(1).$(v) :=) \ 132 $(foreach v,$(2),$($(1).$(v))) \ 149 $(foreach v,$(3), \ 151 $(eval _eiv_tv := $(1).$(2).$(v)) \ 159 $(eval _eiv_sv := $(filter $(v),$(4))) \ 167 $($(1).$(i).$(v)) \ [all …]
|
D | device.mk | 24 $(foreach v,$(_device_var_list),\ 25 $(info DEVICES.$(1).$(v) := $(DEVICES.$(1).$(v))))\ 37 $(foreach v,$(_device_var_list), \ 38 $(eval $(v) := $($(v)) $(INHERIT_TAG)$(strip $(1))))
|
/build/blueprint/proptools/ |
D | typeequal.go | 81 func concreteType(v reflect.Value) bool { 82 if v.Kind() == reflect.Interface { 86 if v.Kind() == reflect.Ptr { 87 if v.IsNil() { 90 v = v.Elem() 93 if v.Kind() != reflect.Struct { 97 for i := 0; i < v.NumField(); i++ { 98 v := v.Field(i) 100 switch kind := v.Kind(); kind { 102 if !concreteType(v) {
|
/build/soong/ui/metrics/ |
D | metrics.go | 69 for k, v := range metadata { 72 m.metrics.BuildId = proto.String(v) 75 m.metrics.PlatformVersionCodename = proto.String(v) 78 m.metrics.TargetProduct = proto.String(v) 81 switch v { 92 m.metrics.TargetArch = m.getArch(v) 94 m.metrics.TargetArchVariant = proto.String(v) 96 m.metrics.TargetCpuVariant = proto.String(v) 98 m.metrics.HostArch = m.getArch(v) 100 m.metrics.Host_2NdArch = m.getArch(v) [all …]
|
/build/blueprint/ |
D | package_ctx.go | 274 v := &staticVariable{p, name, value} 275 err = p.scope.AddVariable(v) 280 return v 283 func (v *staticVariable) packageContext() *packageContext { 284 return v.pctx 287 func (v *staticVariable) name() string { 288 return v.name_ 291 func (v *staticVariable) fullName(pkgNames map[*packageContext]string) string { 292 return packageNamespacePrefix(pkgNames[v.pctx]) + v.name_ 295 func (v *staticVariable) value(interface{}) (ninjaString, error) { [all …]
|
D | live_tracker.go | 153 func (l *liveTracker) addVariable(v Variable) error { 154 _, ok := l.variables[v] 156 value, err := v.value(l.config) 167 l.variables[v] = value 189 for _, v := range str.Variables() { 190 err := l.addVariable(v) 198 func (l *liveTracker) RemoveVariableIfLive(v Variable) bool { 202 _, isLive := l.variables[v] 204 delete(l.variables, v)
|
D | ninja_strings.go | 70 func (ps *parseState) pushVariable(v Variable) { 78 ps.result.variables = append(ps.result.variables, v) 196 v, err := state.scope.LookupVariable(state.str[state.varStart:i]) 201 state.pushVariable(v) 209 v, err := state.scope.LookupVariable(state.str[state.varStart:i]) 214 state.pushVariable(v) 224 v, err := state.scope.LookupVariable(state.str[state.varStart:i]) 229 state.pushVariable(v) 250 v, err := state.scope.LookupVariable(state.str[state.varStart:i]) 255 state.pushVariable(v) [all …]
|
/build/blueprint/parser/ |
D | modify.go | 25 for _, v := range list.Values { 26 if v.Type() != StringType { 27 panic(fmt.Errorf("expected string in list, got %s", v.Type())) 30 if sv, ok := v.(*String); ok && sv.Value == s { 45 for i, v := range list.Values { 46 if v.Type() != StringType { 47 panic(fmt.Errorf("expected string in list, got %s", v.Type())) 50 if sv, ok := v.(*String); ok && sv.Value == s {
|
D | sort.go | 81 switch v := value.(type) { 85 sortListsInValue(v.Args[0], file) 86 sortListsInValue(v.Args[1], file) 88 for _, p := range v.Properties { 92 SortList(file, v) 101 for i, v := range values { 102 s, ok := v.(*String) 110 l[i] = elem{s.Value, i, v.Pos(), n} 148 for _, v := range values { 149 s, ok := v.(*String)
|
D | printer.go | 113 switch v := value.(type) { 115 p.printToken(v.Name, v.NamePos) 117 p.printOperator(v) 120 if v.Value { 125 p.printToken(s, v.LiteralPos) 127 p.printToken(strconv.FormatInt(v.Value, 10), v.LiteralPos) 129 p.printToken(strconv.Quote(v.Value), v.LiteralPos) 131 p.printList(v.Values, v.LBracePos, v.RBracePos) 133 p.printMap(v)
|
/build/soong/ui/build/ |
D | config.go | 263 for k, v := range getRBEVars(ctx, tmpDir) { 264 ret.environ.Set(k, v) 523 } else if k, v, ok := decodeKeyValue(arg); ok && len(k) > 0 { 527 c.environ.Set(k, v) 700 if v, ok := c.environ.Get("TARGET_PRODUCT"); ok { 701 return v 715 if v, ok := c.environ.Get("TARGET_BUILD_VARIANT"); ok { 716 return v 764 if v, ok := c.environ.Get("USE_GOMA"); ok { 765 v = strings.TrimSpace(v) [all …]
|
/build/soong/androidmk/androidmk/ |
D | android.go | 244 for k, v := range listsA { 245 if !emptyList(v) { 246 lists[k] = v 276 for _, v := range val.Values { 277 key, value, err := keyFunc(v) 298 switch v := value.(type) { 300 if v.Name == "LOCAL_PATH" { 309 if v.Type() != bpparser.StringType { 310 return "", nil, fmt.Errorf("classifyLocalOrGlobalPath expected a string, got %s", v.Type()) 313 if v.Operator != '+' { [all …]
|
/build/soong/ui/status/ |
D | log.go | 55 func (v *verboseLog) StartAction(action *Action, counts Counts) {} 57 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) { 63 fmt.Fprintf(v.w, "[%d/%d] %s\n", counts.FinishedActions, counts.TotalActions, cmd) 66 fmt.Fprintf(v.w, "FAILED: %s\n", strings.Join(result.Outputs, " ")) 70 fmt.Fprintln(v.w, result.Output) 74 func (v *verboseLog) Flush() { 75 v.w.Close() 78 func (v *verboseLog) Message(level MsgLevel, message string) { 79 fmt.Fprintf(v.w, "%s%s\n", level.Prefix(), message) 82 func (v *verboseLog) Write(p []byte) (int, error) { [all …]
|
/build/soong/remoteexec/ |
D | remoteexec.go | 118 for k, v := range labels { 119 kvs = append(kvs, k+"="+v) 125 for k, v := range r.Platform { 126 if v == "" { 129 platform = append(platform, k+"="+v) 188 for k, v := range reParams { 190 ruleParamsRE.Command = strings.ReplaceAll(ruleParamsRE.Command, k, v.Template())
|
/build/soong/androidmk/parser/ |
D | scope.go | 77 func (v Variable) EvalFunction(scope Scope) ([]string, bool) { 78 f := v.Name.SplitN(" \t", 2) 99 func (v Variable) Value(scope Scope) string { 100 if ret, ok := v.EvalFunction(scope); ok { 109 return scope.Get(v.Name.Value(scope))
|
/build/soong/cc/ |
D | genrule_test.go | 70 t.Errorf(`want arm inputs %v, got %v`, expected, gen.Inputs.Strings()) 76 t.Errorf(`want arm64 inputs %v, got %v`, expected, gen.Inputs.Strings())
|
/build/make/tools/ |
D | compare_fileslist.py | 22 for v in row: 23 if v: 25 val = v 27 if val != v:
|
/build/soong/java/ |
D | kotlin_test.go | 50 t.Errorf(`foo kotlinc inputs %v != ["a.java", "b.kt"]`, fooKotlinc.Inputs) 54 t.Errorf(`foo inputs %v != ["a.java"]`, fooJavac.Inputs) 72 t.Errorf(`bar kotlinc inputs %v != ["b.kt"]`, barKotlinc.Inputs) 76 t.Errorf(`expected %q in bar implicits %v`, 81 t.Errorf(`expected %q in bar implicits %v`, 118 t.Errorf(`foo kapt inputs %v != ["a.java", "b.kt"]`, kapt.Inputs) 121 t.Errorf(`foo kotlinc inputs %v != ["a.java", "b.kt"]`, kotlinc.Inputs) 126 t.Errorf(`foo inputs %v != ["a.java"]`, javac.Inputs)
|