Home | History | Annotate | Download | only in reflect

Lines Matching defs:Chan

110 	//	Chan: ChanDir, Elem
123 // It panics if the type's Kind is not Chan.
141 // It panics if the type's Kind is not Array, Chan, Map, Ptr, or Slice.
244 Chan
340 RecvDir ChanDir = 1 << iota // <-chan
341 SendDir // chan<-
342 BothDir = RecvDir | SendDir // chan
355 rtype `reflect:"chan"`
616 Chan: "chan",
717 case Chan:
921 if t.Kind() != Chan {
922 panic("reflect: ChanDir of non-chan type")
941 case Chan:
1069 return "chan<-"
1071 return "<-chan"
1073 return "chan"
1635 case Chan:
1845 // For example, if t represents int, ChanOf(RecvDir, t) represents <-chan int.
1853 ckey := cacheKey{Chan, typ, nil, uintptr(dir)}
1872 s = "chan<- " + typ.String()
1874 s = "<-chan " + typ.String()
1876 s = "chan " + typ.String()
1886 var ichan interface{} = (chan unsafe.Pointer)(nil)
2138 case Bool, Int, Int8, Int16, Int32, Int64, Uint, Uint8, Uint16, Uint32, Uint64, Uintptr, Chan, Ptr, String, UnsafePointer:
2162 case Bool, Int, Int8, Int16, Int32, Int64, Uint, Uint8, Uint16, Uint32, Uint64, Uintptr, Chan, Ptr, UnsafePointer:
3186 case Chan, Func, Map, Ptr, Slice, String, UnsafePointer: