Home
last modified time | relevance | path

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

12345678

/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)
/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/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/cmd/extract_apks/bundle_proto/
Dtargeting.pb.go2318 file_targeting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2319 switch v := v.(*VariantTargeting); i {
2321 return &v.state
2323 return &v.sizeCache
2325 return &v.unknownFields
2330 file_targeting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2331 switch v := v.(*ApkTargeting); i {
2333 return &v.state
2335 return &v.sizeCache
2337 return &v.unknownFields
[all …]
Dconfig.pb.go1248 file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1249 switch v := v.(*BundleConfig); i {
1251 return &v.state
1253 return &v.sizeCache
1255 return &v.unknownFields
1260 file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1261 switch v := v.(*Bundletool); i {
1263 return &v.state
1265 return &v.sizeCache
1267 return &v.unknownFields
[all …]
Dcommands.pb.go1361 file_commands_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1362 switch v := v.(*BuildApksResult); i {
1364 return &v.state
1366 return &v.sizeCache
1368 return &v.unknownFields
1373 file_commands_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1374 switch v := v.(*Variant); i {
1376 return &v.state
1378 return &v.sizeCache
1380 return &v.unknownFields
[all …]
/build/soong/android/soongconfig/
Dmodules.go73 if v, ok := mtDef.variables[varName]; ok {
74 moduleType.Variables = append(moduleType.Variables, v)
86 func processImportModuleDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
89 return processModuleTypeDef(v, def)
91 return processStringVariableDef(v, def)
93 return processBoolVariableDef(v, def)
128 func processModuleTypeDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
156 v.ModuleTypes[props.Name] = mt
170 func processStringVariableDef(v *SoongConfigDefinition, def *parser.Module) (errs []error) {
192 v.variables[base.variable] = &stringVariable{
[all …]
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"
/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 …]
/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/soong/cmd/sbox/sbox_proto/
Dsbox.pb.go457 file_sbox_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
458 switch v := v.(*Manifest); i {
460 return &v.state
462 return &v.sizeCache
464 return &v.unknownFields
469 file_sbox_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
470 switch v := v.(*Command); i {
472 return &v.state
474 return &v.sizeCache
476 return &v.unknownFields
[all …]
/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))))
/build/soong/ui/status/ninja_frontend/
Dfrontend.pb.go787 file_frontend_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
788 switch v := v.(*Status); i {
790 return &v.state
792 return &v.sizeCache
794 return &v.unknownFields
799 file_frontend_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
800 switch v := v.(*Status_TotalEdges); i {
802 return &v.state
804 return &v.sizeCache
806 return &v.unknownFields
[all …]
/build/soong/mk2rbc/
Dvariable.go38 func (v baseVariable) name() string {
39 return v.nam
42 func (v baseVariable) valueType() starlarkType {
43 return v.typ
46 func (v *baseVariable) setValueType(t starlarkType) {
47 v.typ = t
50 func (v baseVariable) isPreset() bool {
51 return v.preset
63 func (v baseVariable) defaultValueString() string {
64 if v, ok := defaultValuesByType[v.valueType()]; ok {
[all …]
Dconfig_variables_test.go31 v []testVar member
34 func (v *testVariables) NewVariable(name string, varClass varClass, valueType starlarkType) {
35 v.v = append(v.v, testVar{name, varClass, valueType})
/build/soong/ui/metrics/
Dmetrics.go147 for k, v := range metadata {
150 m.metrics.BuildId = proto.String(v)
152 m.metrics.PlatformVersionCodename = proto.String(v)
154 m.metrics.TargetProduct = proto.String(v)
156 switch v {
165 m.metrics.TargetArch = arch(v)
167 m.metrics.TargetArchVariant = proto.String(v)
169 m.metrics.TargetCpuVariant = proto.String(v)
171 m.metrics.HostArch = arch(v)
173 m.metrics.Host_2NdArch = arch(v)
[all …]
/build/soong/ui/metrics/metrics_proto/
Dmetrics.pb.go1592 file_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1593 switch v := v.(*MetricsBase); i {
1595 return &v.state
1597 return &v.sizeCache
1599 return &v.unknownFields
1604 file_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1605 switch v := v.(*BuildConfig); i {
1607 return &v.state
1609 return &v.sizeCache
1611 return &v.unknownFields
[all …]
/build/soong/compliance/license_metadata_proto/
Dlicense_metadata.pb.go396 file_license_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
397 switch v := v.(*LicenseMetadata); i {
399 return &v.state
401 return &v.sizeCache
403 return &v.unknownFields
408 file_license_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
409 switch v := v.(*InstallMap); i {
411 return &v.state
413 return &v.sizeCache
415 return &v.unknownFields
[all …]
/build/soong/ui/status/build_error_proto/
Dbuild_error.pb.go241 file_build_error_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
242 switch v := v.(*BuildError); i {
244 return &v.state
246 return &v.sizeCache
248 return &v.unknownFields
253 file_build_error_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
254 switch v := v.(*BuildActionError); i {
256 return &v.state
258 return &v.sizeCache
260 return &v.unknownFields
/build/soong/ui/build/
Dconfig.go225 for k, v := range envVars["env"] {
229 config.environ.Set(k, v)
427 for k, v := range getRBEVars(ctx, Config{ret}) {
428 ret.environ.Set(k, v)
761 } else if k, v, ok := decodeKeyValue(arg); ok && len(k) > 0 {
765 c.environ.Set(k, v)
1005 func (c *configImpl) SetSkipNinja(v bool) {
1006 c.skipNinja = v
1014 if v, ok := c.environ.Get("TARGET_PRODUCT"); ok {
1015 return v
[all …]
/build/soong/ui/metrics/bp2build_metrics_proto/
Dbp2build_metrics.pb.go329 file_bp2build_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
330 switch v := v.(*Bp2BuildMetrics); i {
332 return &v.state
334 return &v.sizeCache
336 return &v.unknownFields
341 file_bp2build_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
342 switch v := v.(*Event); i {
344 return &v.state
346 return &v.sizeCache
348 return &v.unknownFields
/build/soong/cmd/symbols_map/symbols_map_proto/
Dsymbols_map.pb.go271 file_symbols_map_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
272 switch v := v.(*Mapping); i {
274 return &v.state
276 return &v.sizeCache
278 return &v.unknownFields
283 file_symbols_map_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
284 switch v := v.(*Mappings); i {
286 return &v.state
288 return &v.sizeCache
290 return &v.unknownFields

12345678