Lines Matching full:nil
33 checkCopyLocksFunc(f, "func", nil, node.Type)
42 if recv != nil && len(recv.List) > 0 {
44 if path := lockPath(f.pkg.typesPkg, f.pkg.types[expr].Type); path != nil {
49 if typ.Params != nil {
52 if path := lockPath(f.pkg.typesPkg, f.pkg.types[expr].Type); path != nil {
58 if typ.Results != nil {
61 if path := lockPath(f.pkg.typesPkg, f.pkg.types[expr].Type); path != nil {
77 if e == nil {
91 if obj == nil {
99 if typ == nil {
102 if path := lockPath(f.pkg.typesPkg, typ); path != nil {
124 // contained in typ. If there is no contained lock, it returns nil.
126 if typ == nil {
127 return nil
134 return nil
140 if plock := types.NewMethodSet(types.NewPointer(typ)).Lookup(tpkg, "Lock"); plock != nil {
141 if lock := types.NewMethodSet(typ).Lookup(tpkg, "Lock"); lock == nil {
150 if subpath != nil {
155 return nil