Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 9 of 9) sorted by relevance

/build/blueprint/proptools/
Dproptools.go29 func PropertyNameForField(fieldName string) string {
30 r, size := utf8.DecodeRuneInString(fieldName)
32 if size == len(fieldName) {
35 if strings.IndexFunc(fieldName[size:], unicode.IsLower) == -1 &&
36 strings.IndexFunc(fieldName[size:], unicode.IsUpper) != -1 {
37 return fieldName
39 if len(fieldName) > size {
40 propertyName += fieldName[size:]
49 fieldName := string(unicode.ToUpper(r))
51 fieldName += propertyName[size:]
[all …]
Dunpack.go193 func fieldPath(prefix, fieldName string) string {
195 return fieldName
197 return prefix + "." + fieldName
/build/soong/android/soongconfig/
Dmodules.go707 func (s *valueVariable) printfIntoPropertyRecursive(fieldName []string, propStruct reflect.Value, c…
722 fieldName = append(fieldName, propStruct.Type().Field(i).Name)
723 …return fmt.Errorf("soong_config_variables.%s.%s: %s", s.variable, strings.Join(fieldName, "."), er…
729 fieldName = append(fieldName, propStruct.Type().Field(i).Name)
730 …return fmt.Errorf("soong_config_variables.%s.%s: %s", s.variable, strings.Join(fieldName, "."), er…
738 fieldName = append(fieldName, propStruct.Type().Field(i).Name)
739 …return fmt.Errorf("soong_config_variables.%s.%s: %s", s.variable, strings.Join(fieldName, "."), er…
742 fieldName = append(fieldName, propStruct.Type().Field(i).Name)
743 if err := s.printfIntoPropertyRecursive(fieldName, field, configValue); err != nil {
746 fieldName = fieldName[:len(fieldName)-1]
[all …]
/build/blueprint/bootstrap/bpdoc/
Dbpdoc.go182 var nestStruct func(field reflect.StructField, value reflect.Value, fieldName string)
183 nestStruct = func(field reflect.StructField, value reflect.Value, fieldName string) {
188 nestPoint = nestPoint + proptools.PropertyNameForField(fieldName)
Dproperties.go71 fieldName := proptools.FieldNameForProperty(prop.Name)
72 f := defaults.FieldByName(fieldName)
74 panic(fmt.Errorf("property %q does not exist in %q", fieldName, defaults.Type()))
/build/make/tools/check-flagged-apis/src/com/android/checkflaggedapis/
DMain.kt354 val fieldName = in parseApiVersions() constant
362 output.add(Symbol.createField(className, fieldName)) in parseApiVersions()
/build/soong/bpfix/bpfix/
Dbpfix.go529 func getStringProperty(prop *parser.Property, fieldName string) string {
532 if fieldName == propField.Name {
/build/soong/java/
Dsdk_library.go104 fieldName string member
177 scope.fieldName = proptools.FieldNameForProperty(scope.propertyName)
2712 Name: apiScope.fieldName,
2729 field := allScopePropertiesStruct.FieldByName(apiScope.fieldName)
/build/soong/sdk/
Dupdate.go973 fieldName := fieldType.Name
974 propertyName := proptools.PropertyNameForField(fieldName)