Searched refs:ps (Results 1 – 17 of 17) sorted by relevance
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 38 ps map[string]*PropertyStruct // Map of module type name to property struct, protected by mutex member 45 ps: make(map[string]*PropertyStruct), 87 ps := r.getPropertyStruct(pkgPath, name) 89 if ps == nil { 97 ps, err = newPropertyStruct(t) 101 ps = r.putPropertyStruct(pkgPath, name, ps) 106 if ps == nil { 110 ps = ps.Clone() 111 ps.SetDefaults(defaults) 113 return ps, nil [all …]
|
D | reader_test.go | 156 ps, err := r.PropertyStruct(pkgPath, "props", reflect.ValueOf(props{A: "B"})) 161 if ps.Text != "props docs.\n" { 162 t.Errorf("unexpected docs %q", ps.Text) 164 if len(ps.Properties) != 1 { 165 t.Fatalf("want 1 property, got %d", len(ps.Properties)) 168 …if ps.Properties[0].Name != "a" || ps.Properties[0].Text != "A docs.\n\n" || ps.Properties[0].Defa… 170 ps.Properties[0].Name, ps.Properties[0].Text, ps.Properties[0].Default)
|
D | properties.go | 35 func (ps *PropertyStruct) Clone() *PropertyStruct { 36 ret := *ps 63 func (ps *PropertyStruct) SetDefaults(defaults reflect.Value) { 64 setDefaults(ps.Properties, defaults) 141 func (ps *PropertyStruct) GetByName(name string) *Property { 142 return getByName(name, "", &ps.Properties) 145 func (ps *PropertyStruct) Nest(nested *PropertyStruct) { 146 ps.Properties = append(ps.Properties, nested.Properties...) 170 ps := PropertyStruct{ 181 ps.Properties, err = structProperties(structType) [all …]
|
D | bpdoc.go | 128 ps, err := r.PropertyStruct(t.PkgPath(), t.Name(), v) 132 ps.ExcludeByTag("blueprint", "mutated") 149 ps.Nest(nested) 151 nestPoint := ps.GetByName(nestedName) 163 nestedProp := ps.GetByName(nestedName) 171 mt.PropertyStructs = append(mt.PropertyStructs, ps) 274 for _, ps := range mt.PropertyStructs { 275 ps.Properties = removeAnonymousProps(ps.Properties) 313 for _, ps := range mt.PropertyStructs { 314 collapseNestedProperties(&ps.Properties) [all …]
|
/build/soong/android/soongconfig/ |
D | modules_test.go | 73 ps interface{} 79 ps: struct { 87 ps: struct { 95 ps: struct { 103 ps: struct { 113 ps: struct { 123 ps: struct { 131 ps: struct { 141 ps: struct { 153 ps: struct { [all …]
|
D | modules.go | 360 for _, ps := range psList { 361 if typ := typeForPropertyFromPropertyStruct(ps, property); typ != nil { 369 func typeForPropertyFromPropertyStruct(ps interface{}, property string) reflect.Type { 370 v := reflect.ValueOf(ps) 420 if ps, err := c.PropertiesToApply(config, props.Field(i)); err != nil { 422 } else if ps != nil { 423 ret = append(ret, ps)
|
/build/soong/android/ |
D | path_properties.go | 44 for _, ps := range props { 45 pathProperties = append(pathProperties, pathPropertiesForPropertyStruct(ps)...) 62 func pathPropertiesForPropertyStruct(ps interface{}) []string { 63 v := reflect.ValueOf(ps) 77 pathPropertyIndexes := pathPropertyIndexesForPropertyStruct(ps) 163 func pathPropertyIndexesForPropertyStruct(ps interface{}) [][]int { 164 key := NewCustomOnceKey(reflect.TypeOf(ps)) 166 return proptools.PropertyIndexesWithTag(ps, "android", "path")
|
D | packaging.go | 208 for _, ps := range child.TransitivePackagingSpecs() { 209 if _, ok := m[ps.relPathInPackage]; !ok { 210 m[ps.relPathInPackage] = ps 228 ps := m[k] 229 destPath := dir.Join(ctx, ps.relPathInPackage).String() 231 entries = append(entries, ps.relPathInPackage) 236 if ps.symlinkTarget == "" { 237 builder.Command().Text("cp").Input(ps.srcPath).Text(destPath) 239 builder.Command().Text("ln").Flag("-sf").Text(ps.symlinkTarget).Text(destPath) 241 if ps.executable {
|
D | soong_config_modules.go | 433 for _, ps := range newProps { 434 ctx.AppendProperties(ps)
|
/build/blueprint/ |
D | ninja_strings.go | 71 func (ps *parseState) pushVariable(v Variable) { 72 if len(ps.result.variables) == len(ps.result.strings) { 74 ps.result.strings = append(ps.result.strings, "") 76 if ps.pendingStr != "" { 79 ps.result.variables = append(ps.result.variables, v) 82 func (ps *parseState) pushString(s string) { 83 if len(ps.result.strings) != len(ps.result.variables) { 86 ps.result.strings = append(ps.result.strings, ps.pendingStr+s) 87 ps.pendingStr = ""
|
/build/soong/kernel/ |
D | prebuilt_kernel_modules_test.go | 52 for _, ps := range ctx.ModuleForTests("foo", "android_arm64_armv8-a").Module().PackagingSpecs() { 53 actual = append(actual, ps.RelPathInPackage())
|
/build/soong/cc/ |
D | stub_library.go | 39 for _, ps := range m.PackagingSpecs() { 40 if name := ps.FileName(); name != "" {
|
/build/blueprint/proptools/ |
D | tag.go | 44 func PropertyIndexesWithTag(ps interface{}, key, value string) [][]int { 45 t := reflect.TypeOf(ps)
|
/build/soong/filesystem/ |
D | system_image.go | 58 for _, ps := range child.PackagingSpecs() { 59 if _, ok := deps[ps.RelPathInPackage()]; ok {
|
/build/soong/ui/build/sandbox/darwin/ |
D | global.sb | 38 ; Allow suid /bin/ps to function 39 (allow process-exec (literal "/bin/ps") (with no-sandbox))
|
/build/soong/linkerconfig/ |
D | linkerconfig.go | 118 for _, ps := range c.PackagingSpecs() { 119 provideLibs = append(provideLibs, ps.FileName())
|
/build/make/ |
D | envsetup.sh | 939 adb shell ps \
|