Lines Matching refs:ps
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
146 return r.ps[name]
149 func (r *Reader) putPropertyStruct(pkgPath, name string, ps *PropertyStruct) *PropertyStruct {
155 if r.ps[name] != nil {
156 return r.ps[name]
158 r.ps[name] = ps
159 return ps