Home
last modified time | relevance | path

Searched refs:valueType (Results 1 – 8 of 8) sorted by relevance

/build/soong/mk2rbc/
Dsoong_variables.go67 var valueType starlarkType
74 valueType = starlarkTypeString
77 valueType = starlarkTypeList
79 valueType = starlarkTypeList
81 valueType = starlarkTypeString
84 valueType = starlarkTypeInt
89 ctx.registrar.NewVariable(name, VarClassSoong, valueType)
Dvariable.go26 valueType() starlarkType methodSpec
42 func (v baseVariable) valueType() starlarkType { func
64 if v, ok := defaultValuesByType[v.valueType()]; ok {
67 panic(fmt.Errorf("%s has unknown type %q", v.name(), v.valueType()))
82 if pcv.valueType() == starlarkTypeString {
143 if scv.valueType() == starlarkTypeString {
205 if lv.valueType() == starlarkTypeString {
293 v = &productConfigVariable{baseVariable{nam: name, typ: vi.valueType, preset: preset}}
295 v = &otherGlobalVariable{baseVariable{nam: name, typ: vi.valueType, preset: preset}}
307 vt = vi.valueType
Dconfig_variables_test.go34 func (v *testVariables) NewVariable(name string, varClass varClass, valueType starlarkType) {
35 v.v = append(v.v, testVar{name, varClass, valueType})
Dtypes.go74 NewVariable(name string, varClass varClass, valueType starlarkType)
Dmk2rbc.go405 valueType starlarkType member
410 func (pcv knownVariables) NewVariable(name string, varClass varClass, valueType starlarkType) {
413 pcv[name] = knownVariable{name, varClass, valueType}
428 if valueType != v.valueType {
429 if valueType != starlarkTypeUnknown {
430 if v.valueType == starlarkTypeUnknown {
431 v.valueType = valueType
439 name, varClass, valueType, v.class, v.valueType)
600 if lhs.valueType() == starlarkTypeUnknown {
608 if lhs.valueType() == starlarkTypeList {
[all …]
Dexpr.go250 return v.ref.valueType()
/build/soong/sdk/
Dbuild_release.go308 valueType := fieldType.Elem()
310 if valueType.Kind() == reflect.Ptr {
311 valueType = valueType.Elem()
313 if valueType.Kind() == reflect.Struct {
323 valuePruner := newPropertyPrunerForStructType(valueType, selector)
Dupdate.go924 valueType := value.Type()
925 switch valueType.Kind() {
967 for f := 0; f < valueType.NumField(); f++ {
968 fieldType := valueType.Field(f)