Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 130) sorted by relevance

123456

/build/soong/ui/metrics/proc/
Dstatus.go68 v := strToUint64(value)
71 s.VmPeak = v
73 s.VmSize = v
75 s.VmLck = v
77 s.VmPin = v
79 s.VmHWM = v
81 s.VmRss = v
83 s.RssAnon = v
85 s.RssShmem = v
87 s.VmData = v
[all …]
/build/soong/android/
Dpath_properties.go63 v := reflect.ValueOf(ps)
64 if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct {
65 panic(fmt.Errorf("type %s is not a pointer to a struct", v.Type()))
69 if v.IsNil() {
74 v = v.Elem()
83 fieldsByIndex(v, i, &values)
106 v.Type().FieldByIndex(i).Name, v.Type(), sv.Type()))
116 func fieldsByIndex(v reflect.Value, index []int, values *[]reflect.Value) {
119 if isSliceOfStruct(v) {
120 for i := 0; i < v.Len(); i++ {
[all …]
Donceper.go47 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)
Dneverallow.go471 for _, v := range r.paths {
472 s += " dir:" + v + "*"
474 for _, v := range r.unlessPaths {
475 s += " -dir:" + v + "*"
477 for _, v := range r.moduleTypes {
478 s += " type:" + v
480 for _, v := range r.unlessModuleTypes {
481 s += " -type:" + v
483 for _, v := range r.props {
484 s += " " + strings.Join(v.fields, ".") + v.matcher.String()
[all …]
Dvisibility.go258 for i, v := range visibility {
259 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
274 ctx.PropertyErrorf(property, "unrecognized visibility rule %q", v)
279 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
282 ctx.PropertyErrorf(property, "cannot mix %q with any other visibility rules", v)
293 " targets within //vendor, they can only use //vendor:__subpackages__.", v)
331 for _, v := range visibility {
332 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
366 v)
526 func (v *visibilityRuleSet) Widen(extra []string) error {
[all …]
Dconfig_test.go91 func verifyProductVariableMarshaling(t *testing.T, v productVariables) {
94 err := saveToConfigFile(&v, path)
106 v := productVariables{}
107 v.SetDefaultConfig()
108 verifyProductVariableMarshaling(t, v)
112 v := productVariables{}
113 v.SetDefaultConfig()
114 v.BootJars = ConfiguredJarList{
119 verifyProductVariableMarshaling(t, v)
/build/soong/ui/logger/
Dlogger.go47 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/filesystem/
Dvbmeta.go101 func (v *vbmeta) DepsMutator(ctx android.BottomUpMutatorContext) {
102 ctx.AddDependency(ctx.Module(), vbmetaPartitionDep, v.properties.Partitions...)
105 func (v *vbmeta) installFileName() string {
106 return proptools.StringDefault(v.properties.Stem, v.BaseModuleName()+".img")
109 func (v *vbmeta) partitionName() string {
110 return proptools.StringDefault(v.properties.Partition_name, v.BaseModuleName())
116 func (v *vbmeta) GenerateAndroidBuildActions(ctx android.ModuleContext) {
117 extractedPublicKeys := v.extractPublicKeys(ctx)
119 v.output = android.PathForModuleOut(ctx, v.installFileName()).OutputPath
124 key := android.PathForModuleSrc(ctx, proptools.String(v.properties.Private_key))
[all …]
/build/blueprint/
Dpackage_ctx.go275 v := &staticVariable{
280 err = p.scope.AddVariable(v)
285 return v
288 func (v *staticVariable) packageContext() *packageContext {
289 return v.pctx
292 func (v *staticVariable) name() string {
293 return v.name_
296 func (v *staticVariable) fullName(pkgNames map[*packageContext]string) string {
297 if v.fullName_ != "" {
298 return v.fullName_
[all …]
Dninja_strings.go71 func (ps *parseState) pushVariable(v Variable) {
79 ps.result.variables = append(ps.result.variables, v)
197 v, err := state.scope.LookupVariable(state.str[state.varStart:i])
202 state.pushVariable(v)
210 v, err := state.scope.LookupVariable(state.str[state.varStart:i])
215 state.pushVariable(v)
225 v, err := state.scope.LookupVariable(state.str[state.varStart:i])
230 state.pushVariable(v)
251 v, err := state.scope.LookupVariable(state.str[state.varStart:i])
256 state.pushVariable(v)
[all …]
/build/soong/android/soongconfig/
Dconfig.go39 for k, v := range vars {
40 configVars[k] = v
52 v := strings.ToLower(c[name])
53 return v == "1" || v == "y" || v == "yes" || v == "on" || v == "true"
Dmodules.go70 if v, ok := mtDef.variables[varName]; ok {
71 moduleType.Variables = append(moduleType.Variables, v)
83 func processImportModuleDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
86 return processModuleTypeDef(v, def)
88 return processStringVariableDef(v, def)
90 return processBoolVariableDef(v, def)
125 func processModuleTypeDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
153 v.ModuleTypes[props.Name] = mt
167 func processStringVariableDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
185 v.variables[base.variable] = &stringVariable{
[all …]
/build/blueprint/proptools/
Dtypeequal.go81 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/make/core/
Dnode_fns.mk30 $(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 …]
Ddevice.mk24 $(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))))
Ddumpvar.mk31 @$(foreach v, $(DUMP_MANY_VARS),\
33 $(foreach part, $(wordlist 2, $(words $($(v))), $($(v))),\
/build/soong/bazel/
Dproperties.go369 var v *LabelList
370 if v = attrs.archValuePtrs()[arch]; v == nil {
373 return *v
378 var v *LabelList
379 if v = attrs.archValuePtrs()[arch]; v == nil {
382 *v = value
399 var v *LabelList
400 if v = attrs.osValuePtrs()[os]; v == nil {
403 return *v
408 var v *LabelList
[all …]
/build/soong/ui/metrics/
Dmetrics.go124 for k, v := range metadata {
127 m.metrics.BuildId = proto.String(v)
129 m.metrics.PlatformVersionCodename = proto.String(v)
131 m.metrics.TargetProduct = proto.String(v)
133 switch v {
142 m.metrics.TargetArch = arch(v)
144 m.metrics.TargetArchVariant = proto.String(v)
146 m.metrics.TargetCpuVariant = proto.String(v)
148 m.metrics.HostArch = arch(v)
150 m.metrics.Host_2NdArch = arch(v)
[all …]
/build/soong/ui/build/
Dconfig.go296 for k, v := range getRBEVars(ctx, Config{ret}) {
297 ret.environ.Set(k, v)
609 } else if k, v, ok := decodeKeyValue(arg); ok && len(k) > 0 {
613 c.environ.Set(k, v)
805 func (c *configImpl) SetSkipNinja(v bool) {
806 c.skipNinja = v
814 if v, ok := c.environ.Get("TARGET_PRODUCT"); ok {
815 return v
829 if v, ok := c.environ.Get("TARGET_BUILD_VARIANT"); ok {
830 return v
[all …]
/build/soong/cc/config/
Dbp2build.go40 func (m exportedVariablesMap) Set(k string, v variableValue) {
41 m[k] = v
110 for _, v := range strings.Split(toExpand, " ") {
111 matches := r.FindStringSubmatch(v)
113 return []string{v}
119 v,
/build/soong/androidmk/androidmk/
Dandroid.go248 for k, v := range listsA {
249 if !emptyList(v) {
250 lists[k] = v
280 for _, v := range val.Values {
281 key, value, err := keyFunc(v)
302 switch v := value.(type) {
304 if v.Name == "LOCAL_PATH" {
313 if v.Type() != bpparser.StringType {
314 return "", nil, fmt.Errorf("classifyLocalOrGlobalPath expected a string, got %s", v.Type())
317 if v.Operator != '+' {
[all …]
/build/soong/remoteexec/
Dremoteexec.go111 for k, v := range labels {
112 kvs = append(kvs, k+"="+v)
118 for k, v := range r.Platform {
119 if v == "" {
122 platform = append(platform, k+"="+v)
/build/soong/ui/status/
Dlog.go55 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/androidmk/parser/
Dscope.go77 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/make/tools/
Dcompare_fileslist.py22 for v in row:
23 if v:
25 val = v
27 if val != v:

123456