github.com/jxskiss/gopkg/v2@v2.14.9-0.20240514120614-899f3e7952b4/internal/linkname/reflect_rtype.go (about) 1 package linkname 2 3 import ( 4 "reflect" 5 "unsafe" 6 ) 7 8 // -------- reflect.Type methods -------- 9 10 //go:linkname Reflect_rtype_Align reflect.(*rtype).Align 11 //go:noescape 12 func Reflect_rtype_Align(unsafe.Pointer) int 13 14 //go:linkname Reflect_rtype_FieldAlign reflect.(*rtype).FieldAlign 15 //go:noescape 16 func Reflect_rtype_FieldAlign(unsafe.Pointer) int 17 18 //go:linkname Reflect_rtype_Method reflect.(*rtype).Method 19 //go:noescape 20 func Reflect_rtype_Method(unsafe.Pointer, int) reflect.Method 21 22 //go:linkname Reflect_rtype_MethodByName reflect.(*rtype).MethodByName 23 //go:noescape 24 func Reflect_rtype_MethodByName(unsafe.Pointer, string) (reflect.Method, bool) 25 26 //go:linkname Reflect_rtype_NumMethod reflect.(*rtype).NumMethod 27 //go:noescape 28 func Reflect_rtype_NumMethod(unsafe.Pointer) int 29 30 //go:linkname Reflect_rtype_Name reflect.(*rtype).Name 31 //go:noescape 32 func Reflect_rtype_Name(unsafe.Pointer) string 33 34 //go:linkname Reflect_rtype_PkgPath reflect.(*rtype).PkgPath 35 //go:noescape 36 func Reflect_rtype_PkgPath(unsafe.Pointer) string 37 38 //go:linkname Reflect_rtype_Size reflect.(*rtype).Size 39 //go:noescape 40 func Reflect_rtype_Size(unsafe.Pointer) uintptr 41 42 //go:linkname Reflect_rtype_String reflect.(*rtype).String 43 //go:noescape 44 func Reflect_rtype_String(unsafe.Pointer) string 45 46 //go:linkname Reflect_rtype_Kind reflect.(*rtype).Kind 47 //go:noescape 48 func Reflect_rtype_Kind(unsafe.Pointer) reflect.Kind 49 50 //go:linkname Reflect_rtype_Implements reflect.(*rtype).Implements 51 //go:noescape 52 func Reflect_rtype_Implements(unsafe.Pointer, reflect.Type) bool 53 54 //go:linkname Reflect_rtype_AssignableTo reflect.(*rtype).AssignableTo 55 //go:noescape 56 func Reflect_rtype_AssignableTo(unsafe.Pointer, reflect.Type) bool 57 58 //go:linkname Reflect_rtype_ConvertibleTo reflect.(*rtype).ConvertibleTo 59 //go:noescape 60 func Reflect_rtype_ConvertibleTo(unsafe.Pointer, reflect.Type) bool 61 62 //go:linkname Reflect_rtype_Comparable reflect.(*rtype).Comparable 63 //go:noescape 64 func Reflect_rtype_Comparable(unsafe.Pointer) bool 65 66 //go:linkname Reflect_rtype_Bits reflect.(*rtype).Bits 67 //go:noescape 68 func Reflect_rtype_Bits(unsafe.Pointer) int 69 70 //go:linkname Reflect_rtype_ChanDir reflect.(*rtype).ChanDir 71 //go:noescape 72 func Reflect_rtype_ChanDir(unsafe.Pointer) reflect.ChanDir 73 74 //go:linkname Reflect_rtype_IsVariadic reflect.(*rtype).IsVariadic 75 //go:noescape 76 func Reflect_rtype_IsVariadic(unsafe.Pointer) bool 77 78 //go:linkname Reflect_rtype_Elem reflect.(*rtype).Elem 79 //go:noescape 80 func Reflect_rtype_Elem(unsafe.Pointer) reflect.Type 81 82 //go:linkname Reflect_rtype_Field reflect.(*rtype).Field 83 //go:noescape 84 func Reflect_rtype_Field(unsafe.Pointer, int) reflect.StructField 85 86 //go:linkname Reflect_rtype_FieldByIndex reflect.(*rtype).FieldByIndex 87 //go:noescape 88 func Reflect_rtype_FieldByIndex(unsafe.Pointer, []int) reflect.StructField 89 90 //go:linkname Reflect_rtype_FieldByName reflect.(*rtype).FieldByName 91 //go:noescape 92 func Reflect_rtype_FieldByName(unsafe.Pointer, string) (reflect.StructField, bool) 93 94 //go:linkname Reflect_rtype_FieldByNameFunc reflect.(*rtype).FieldByNameFunc 95 //go:noescape 96 func Reflect_rtype_FieldByNameFunc(unsafe.Pointer, func(string) bool) (reflect.StructField, bool) 97 98 //go:linkname Reflect_rtype_In reflect.(*rtype).In 99 //go:noescape 100 func Reflect_rtype_In(unsafe.Pointer, int) reflect.Type 101 102 //go:linkname Reflect_rtype_Key reflect.(*rtype).Key 103 //go:noescape 104 func Reflect_rtype_Key(unsafe.Pointer) reflect.Type 105 106 //go:linkname Reflect_rtype_Len reflect.(*rtype).Len 107 //go:noescape 108 func Reflect_rtype_Len(unsafe.Pointer) int 109 110 //go:linkname Reflect_rtype_NumField reflect.(*rtype).NumField 111 //go:noescape 112 func Reflect_rtype_NumField(unsafe.Pointer) int 113 114 //go:linkname Reflect_rtype_NumIn reflect.(*rtype).NumIn 115 //go:noescape 116 func Reflect_rtype_NumIn(unsafe.Pointer) int 117 118 //go:linkname Reflect_rtype_NumOut reflect.(*rtype).NumOut 119 //go:noescape 120 func Reflect_rtype_NumOut(unsafe.Pointer) int 121 122 //go:linkname Reflect_rtype_Out reflect.(*rtype).Out 123 //go:noescape 124 func Reflect_rtype_Out(unsafe.Pointer, int) reflect.Type